update 征求意见流程、展开的表格upload修改

This commit is contained in:
赵霄
2023-11-28 14:50:39 +08:00
parent dafa3b67bd
commit 8861a496e8
2 changed files with 7 additions and 4 deletions
+2
View File
@@ -37,6 +37,7 @@
</template>
<template v-else-if="form.fieldShowType === 2">
<j-upload
return-id
v-model="record[form.dbFieldName]"
:disabled="allDisabled || form.isDisabled || false"
:file-type="form.fileType || canUploadType">
@@ -76,6 +77,7 @@
</template>
<template v-else-if="form.fieldShowType === 2">
<j-upload
return-id
v-model="record[form.dbFieldName]"
:disabled="allDisabled || form.isDisabled || false"
:file-type="form.fileType || canUploadType">
@@ -541,7 +541,7 @@ export default {
title: this.$t('workCenter.standardConsultationProcess.designEngineer'),
width: 180,
align: 'center',
dataIndex: 'designEngineerId_dictText',
dataIndex: 'designEngineerName',
scopedSlots: { customRender: 'text' }
},
{ // 意见
@@ -703,7 +703,7 @@ export default {
title: this.$t('workCenter.standardConsultationProcess.designEngineer'),
width: 180,
align: 'center',
dataIndex: 'designEngineerId_dictText',
dataIndex: 'designEngineerName',
scopedSlots: { customRender: 'text' }
},
{ // 意见
@@ -718,7 +718,8 @@ export default {
},
computed: {
pageTitle () {
return `${this.$t('flowCenter')}${this.$route.meta.title}`
const subTitle = this.$route.query.taskName || ConsultationProcess.initiate.text
return `${this.$t('flowCenter')}${this.$route.meta.title}${subTitle}`
},
// 是否展示业务分派信息,各部所主管级领导分发、模块负责人分发显示
showDispatchInformation () {
@@ -970,7 +971,7 @@ export default {
dispatchInfo = Object.assign({}, this.dispatchInfo)
}
// 征求意见列表
if (this.showConsultationList && this.currentNode === ConsultationProcess.moduleOwnerSummary.value && !this.$refs.expandTable.submit()) {
if (this.showConsultationList && (this.currentNode.indexOf(ConsultationProcess.moduleOwnerSummary.value) !== -1 || this.currentNode.indexOf(ConsultationProcess.leaderSummary.value) !== -1) && !this.$refs.expandTable.submit()) {
flag = false
}
// 用户信息