fix : 修复专项资金/费用分摊,编辑,审批记录展示

This commit is contained in:
2024-06-20 15:08:12 +08:00
parent 4c8959e3c4
commit 57f27c2b84
2 changed files with 14 additions and 23 deletions

View File

@@ -126,7 +126,8 @@
</div>
<div class="approval-record">
<div class="approval-title">
<baseTitle title="审批记录"></baseTitle>
<baseTitle title="审批记录" v-if="processDiagramViewer&& opentionData.operationList"></baseTitle>
<div v-else></div>
<div style="display: flex;align-items: center;justify-content: flex-end;">
<div class="base-title">流程图</div>
<el-switch
@@ -332,7 +333,7 @@ const handleResubmit = (instance) => {
})
}
const getDetailInfo = async () => {
const getDetailInfo = () => {
loading.value = true
getAllocationDetail(route.query.id).then(res => {
ElNotification({
@@ -399,10 +400,10 @@ const init = async () => {
const handleBack = () => {
history.back()
}
onMounted(async () => {
await init()
onMounted( () => {
init()
if (route.query.id) {
await getDetailInfo()
getDetailInfo()
}
})
</script>