diff --git a/src/views/workCenter/enterpriseStandardInitChange/PlanApprovalChangeFlow.vue b/src/views/workCenter/enterpriseStandardInitChange/PlanApprovalChangeFlow.vue index f5a41ec1..6f7d5b8b 100644 --- a/src/views/workCenter/enterpriseStandardInitChange/PlanApprovalChangeFlow.vue +++ b/src/views/workCenter/enterpriseStandardInitChange/PlanApprovalChangeFlow.vue @@ -336,10 +336,12 @@ export default { // 查询流程定义列表,通过查出的数据获取到流程定义id,如果已经发起过流程,用这个id和流程实例id去查人员信息数据 this.getPersonInfoStructure(ProcessKey.ES_INIT_CHANGE.value) // 根据流程节点初始化是否可以编辑 - if (this.currentNode === 1) { - this.disabled = false - } else { - this.disabled = true + if (this.$route.query.processInstanceId) { + if (this.currentNode === 1) { + this.disabled = false + } else { + this.disabled = true + } } if (this.$route.query.taskId) { // 有流程id说明是从流程中心来的,需要初始化数据 @@ -541,11 +543,14 @@ export default { // 变更的责任部门变更 this.resetPersonInfoStructure('3') } - if (this.currentNode === 1) { - this.initPersonInfoData(true) - } else { - // 如果不是第一个节点,人员信息全部不可选 - this.initPersonInfoData(false) + // 对人员信息进行处理 + if (this.$route.query.processInstanceId) { + if (this.currentNode === 1) { + this.initPersonInfoData(true) + } else { + // 如果不是第一个节点,人员信息全部不可选 + this.initPersonInfoData(false) + } } // 初始化业务基本信息中组件内容 if (this.formInline.applicationCategory === ApplicationCategory.INITIATION.value) { diff --git a/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfo.vue b/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfo.vue index 7f4b4af8..81794bad 100644 --- a/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfo.vue @@ -199,11 +199,13 @@ export default { handleAdd () { this.modalType = 'add' this.$refs.changeBaseInfoDrawer.add() + this.$refs.changeBaseInfoDrawer.title = this.$t('newlyAdded') }, // 编辑 handleEdit (record, index) { this.modalType = 'edit' + index this.$refs.changeBaseInfoDrawer.edit(record) + this.$refs.changeBaseInfoDrawer.title = this.$t('edit') }, // 删除 handleDelete (id, index) { diff --git a/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfoDrawer.vue b/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfoDrawer.vue index a7112035..2ddd89f0 100644 --- a/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfoDrawer.vue +++ b/src/views/workCenter/enterpriseStandardInitChange/modules/FinishTimeChangeBaseInfoDrawer.vue @@ -1,6 +1,6 @@