|
@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
|
<template #bodyCell="{ column, record }"> |
|
|
<template #bodyCell="{ column, record }"> |
|
|
<template v-if="column && record && column.key === 'action'"> |
|
|
<template v-if="column && record && column.key === 'action'"> |
|
|
<a-button type="link" @click="showAuditModal(record.id,record.status)">审核</a-button> |
|
|
<a-button type="link" @click="showAuditModal(record.id,record.status)" v-if="record.status!=6">审核</a-button> |
|
|
<a-button type="link" @click="showDrawer(record.id)">详情</a-button> |
|
|
<a-button type="link" @click="showDrawer(record.id)">详情</a-button> |
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
@ -21,7 +21,7 @@ |
|
|
import { formSchemas, columns } from './data'; |
|
|
import { formSchemas, columns } from './data'; |
|
|
import auditModal from './auditModal.vue'; |
|
|
import auditModal from './auditModal.vue'; |
|
|
import detailDrawer from './detailDrawer.vue'; |
|
|
import detailDrawer from './detailDrawer.vue'; |
|
|
import { ref } from 'vue'; |
|
|
import { ref,onActivated } from 'vue'; |
|
|
|
|
|
|
|
|
const [registerTable,{reload}] = useTable({ |
|
|
const [registerTable,{reload}] = useTable({ |
|
|
title: '工单审核', |
|
|
title: '工单审核', |
|
@ -71,6 +71,9 @@ |
|
|
getProjectOptions(); |
|
|
getProjectOptions(); |
|
|
}; |
|
|
}; |
|
|
getOptions(); |
|
|
getOptions(); |
|
|
|
|
|
onActivated(()=>{ |
|
|
|
|
|
reload() |
|
|
|
|
|
}) |
|
|
// 前往审批记录页面 |
|
|
// 前往审批记录页面 |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|