启用
This commit is contained in:
parent
e50c02ab78
commit
1e42268963
@ -25,12 +25,12 @@
|
|||||||
<a-divider />
|
<a-divider />
|
||||||
|
|
||||||
<!-- action -->
|
<!-- action -->
|
||||||
<div class="action">
|
<!-- <div class="action">
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button v-has="'admin:sysFamilyList:add'" type="primary" @click="handleAdd"><icon-plus /> 新增 </a-button>
|
<a-button v-has="'admin:sysFamilyList:add'" type="primary" @click="handleAdd"><icon-plus /> 新增 </a-button>
|
||||||
<!-- <a-button v-has="'admin:sysFamilyList:remove'" type="primary" status="danger"><icon-delete /> 批量删除 </a-button> -->
|
<a-button v-has="'admin:sysFamilyList:remove'" type="primary" status="danger"><icon-delete /> 批量删除 </a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<!-- table -->
|
<!-- table -->
|
||||||
<a-table :columns="columns" :data="tableData"
|
<a-table :columns="columns" :data="tableData"
|
||||||
|
|||||||
@ -25,12 +25,12 @@
|
|||||||
<a-divider />
|
<a-divider />
|
||||||
|
|
||||||
<!-- action -->
|
<!-- action -->
|
||||||
<div class="action">
|
<!-- <div class="action">
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button v-has="'admin:sysPatientList:add'" type="primary" @click="handleAdd"><icon-plus /> 新增 </a-button>
|
<a-button v-has="'admin:sysPatientList:add'" type="primary" @click="handleAdd"><icon-plus /> 新增 </a-button>
|
||||||
<!-- <a-button v-has="'admin:sysPatientList:remove'" type="primary" status="danger"><icon-delete /> 批量删除 </a-button> -->
|
<a-button v-has="'admin:sysPatientList:remove'" type="primary" status="danger"><icon-delete /> 批量删除 </a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<!-- table -->
|
<!-- table -->
|
||||||
<a-table :columns="columns" :data="tableData"
|
<a-table :columns="columns" :data="tableData"
|
||||||
@ -184,7 +184,7 @@
|
|||||||
<a-form-item field="" label="" no-style>
|
<a-form-item field="" label="" no-style>
|
||||||
<a-space >
|
<a-space >
|
||||||
<a-button type="primary" v-has="'admin:sysPatientList:disable'" status="danger" @click="handleChangeStatus('0')" v-if="modalForm.status==1">禁用</a-button>
|
<a-button type="primary" v-has="'admin:sysPatientList:disable'" status="danger" @click="handleChangeStatus('0')" v-if="modalForm.status==1">禁用</a-button>
|
||||||
<!-- <a-button type="primary" status="success" @click="handleChangeStatus('1')" v-if="modalForm.status==0">启用</a-button> -->
|
<a-button type="primary" status="success" @click="handleChangeStatus('1')" v-if="modalForm.status==0">启用</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
<!-- <a-space v-if="modalSatus=='edit'">
|
<!-- <a-space v-if="modalSatus=='edit'">
|
||||||
<a-button type="primary" status="warning">拉黑</a-button>
|
<a-button type="primary" status="warning">拉黑</a-button>
|
||||||
@ -365,6 +365,10 @@ const handleChangeStatus=async(status)=>{
|
|||||||
if(status==0){
|
if(status==0){
|
||||||
cur_parent_id.value=modalForm.patient_id;
|
cur_parent_id.value=modalForm.patient_id;
|
||||||
okVisible.value=true;
|
okVisible.value=true;
|
||||||
|
}else{
|
||||||
|
switchStatus(modalForm.patient_id,{
|
||||||
|
status:1
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// if(record.status==0){
|
// if(record.status==0){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user