更新权限

This commit is contained in:
zoujiandong 2023-11-10 13:57:54 +08:00
parent 93ae44c789
commit aa36d30145
4 changed files with 8 additions and 9 deletions

View File

@ -173,7 +173,7 @@
</template>
<template #action="{ record }">
<a-space>
<a-button v-has="'admin:sysOrderList:detail'" type="text"
<a-button v-has="'admin:sysFinancialRecord:orderDetail'" type="text"
@click="handleDetail(record)"><icon-book />详情</a-button>
<!-- <a-button v-has="'admin:sysFamilyList:edit'" type="text" @click="handleUpdate(record)"><icon-edit />
修改</a-button> -->

View File

@ -95,16 +95,15 @@
<div class="action">
<a-space>
<a-button v-has="'admin:sysDoctorList:add'" type="primary" @click="handleAdd"><icon-plus /> 新增 </a-button>
<!-- <a-button v-has="'admin:sysDoctorList:remove'" type="primary" status="danger"><icon-delete /> 批量删除 </a-button> -->
</a-space>
</div>
<!-- table -->
<a-table :columns="columns" :data="tableData" :scroll="{ x: 1700 }"
:row-selection="{ type: 'checkbox', showCheckedAll: true }"
:row-selection="{ type: 'checkbox', showCheckedAll: true}"
:pagination="{ 'show-total': true, 'show-jumper': true, 'show-page-size': true, total: pager.total, current: currentPage }"
row-key="doctor_id" @selection-change="(selection) => {deleteData = selection;console.log(selection)}"
@page-change="handlePageChange" @page-size-change="handlepage_sizeChange">
@page-change="handlePageChange" @page-size-change="handlepage_sizeChange" @selectAll="(checked)=>{console.log(checked)}">
<template #doctor_id="{record,rowIndex}">
<div>{{(rowIndex+1)+(pager.page-1)*pager.page_size}}</div>
</template>
@ -575,7 +574,7 @@
<a-divider />
<div class="title">签章配置</div>
<a-space style="margin-top: 15px;">
<a-button type="primary" status="success" @click="()=>{okVisible=true;okStatus=4;}" v-has="'admin:sysDoctorList:applySign'">签章申请</a-button>
<a-button type="primary" status="success" @click="()=>{okVisible=true;okStatus=4;}" v-has="'admin:sysDoctorList:applySign'" :disabled="(modalForm.user_ca_cert && modalForm.user_ca_cert.is_sign_config==1)?true:false">签章申请</a-button>
<!-- <a-button type="primary" status="danger" @click="()=>{okVisible=true;okStatus=5;}">签章更新</a-button> -->
</a-space>
</a-form-item>
@ -641,7 +640,7 @@
getDoctorInfo(pager);
}
});
const showCheckedAll=ref(true);
const file = ref();
const oldFrontImg = ref(''), oldBackImg = ref(''), oldSignImg = ref('');
const { proxy } = getCurrentInstance();

View File

@ -180,7 +180,7 @@
pager.page = page;
//
currentPage.value = page;
getBankInfogetBankInfo({ ...pager, ...queryForm });
getBankInfo({ ...pager, ...queryForm });
};
//

View File

@ -182,7 +182,7 @@
pager.page = page;
//
currentPage.value = page;
getAccountInfogetAccountInfo({ ...pager, ...queryForm });
getAccountInfo({ ...pager, ...queryForm });
};
//