fix : 修复专项资金/费用分摊,编辑,审批记录展示
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user