update 流程详情流程图获取,征求意见流程调整
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
<!--模块负责人-->
|
||||
<a-form-item :label="$t('workCenter.standardConsultationProcess.moduleOwner')">
|
||||
<user-selection v-decorator="['moduleOwnerId', validatorRules.moduleOwnerId]"
|
||||
:name-str="dispatchInfo.moduleOwnerId"
|
||||
:name-str="dispatchInfo.moduleOwnerId_dictText"
|
||||
type="checkbox"
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.moduleOwner')" />
|
||||
</a-form-item>
|
||||
@@ -147,7 +147,7 @@
|
||||
<!--设计工程师-->
|
||||
<a-form-item :label="$t('workCenter.standardConsultationProcess.designEngineer')">
|
||||
<user-selection v-decorator="['designEngineerId', validatorRules.designEngineerId]"
|
||||
:name-str="dispatchInfo.designEngineerId"
|
||||
:name-str="dispatchInfo.designEngineerId_dictText"
|
||||
type="checkbox"
|
||||
:placeholder="$t('pleaseSelect') + $t('workCenter.standardConsultationProcess.designEngineer')" />
|
||||
</a-form-item>
|
||||
@@ -237,7 +237,7 @@
|
||||
|
||||
<!--人员信息-->
|
||||
<div class="detail-page-scroll-content p-0" v-show="switchValue === 'user'">
|
||||
<process-detail-list>
|
||||
<process-detail-list :process-key="processKey">
|
||||
<template #personnelInfo>
|
||||
<personnel-info ref="personnelInfo" :data="personnelInfoData" />
|
||||
</template>
|
||||
@@ -718,6 +718,10 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 流程的key
|
||||
processKey () {
|
||||
return ProcessKey.CONSULTATION.value
|
||||
},
|
||||
pageTitle () {
|
||||
const subTitle = this.$route.query.taskName || ConsultationProcess.initiate.text
|
||||
return `${this.$t('flowCenter')}${this.$route.meta.title}(${subTitle})`
|
||||
@@ -777,7 +781,7 @@ export default {
|
||||
this.currentNode = ConsultationProcess.initiate.value
|
||||
}
|
||||
// 获取人员信息数据
|
||||
this.getPersonInfoStructure(ProcessKey.CONSULTATION.value, () => {
|
||||
this.getPersonInfoStructure(this.processKey, () => {
|
||||
this.initPersonInfoData(this.currentNode.indexOf(ConsultationProcess.initiate.value) === 0)
|
||||
})
|
||||
// 找不到这个节点默认使用审批节点页面及按钮,发起除外
|
||||
@@ -808,6 +812,9 @@ export default {
|
||||
}
|
||||
// 业务分派信息
|
||||
this.dispatchInfo = Object.assign({}, result.businessInfoDTO.processFbConsultationUserLink || {})
|
||||
if (this.dispatchInfo.userType) {
|
||||
this.handleSenderTypeChange(this.dispatchInfo.userType)
|
||||
}
|
||||
// 征求意见列表
|
||||
this.dataSource = result.businessInfoDTO.processFbConsultationLists || []
|
||||
// 统一处理表单回显
|
||||
|
||||
Reference in New Issue
Block a user