|
|
@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
<template #bodyCell="{ column, record }"> |
|
|
|
<template v-if="column && record && column.key === 'action'"> |
|
|
|
<a-button type="link" @click="showAuditModal(record.id)" v-if="record.handleResult=='待处理'">审核</a-button> |
|
|
|
<a-button type="link" @click="showAuditModal(record.id)" v-if="record.handleResult=='待处理'&&roleList[0]!='yunwei'">审核</a-button> |
|
|
|
<a-button type="link" @click="showDrawer(record.id)">详情</a-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -22,6 +22,7 @@ |
|
|
|
import auditModal from './auditModal.vue'; |
|
|
|
import detailDrawer from './detailDrawer.vue'; |
|
|
|
import { ref,onActivated } from 'vue'; |
|
|
|
import { useUserStore } from '@/store/modules/user'; |
|
|
|
|
|
|
|
const [registerTable,{reload}] = useTable({ |
|
|
|
title: '延期审核', |
|
|
@ -47,6 +48,9 @@ |
|
|
|
fixed: 'right', |
|
|
|
}, |
|
|
|
}); |
|
|
|
//登录 |
|
|
|
const { roleList } = useUserStore(); |
|
|
|
console.log(roleList) |
|
|
|
//弹窗内容 |
|
|
|
const auditModalRef = ref(); |
|
|
|
const showAuditModal = (id:any) => { |
|
|
|