From 55c3b44a107a96698cd359bc535aa753b422650c Mon Sep 17 00:00:00 2001 From: zyn Date: Thu, 9 Nov 2023 10:50:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BF=E7=AD=96-=E5=B7=B2=E5=8A=9E-=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E6=B5=81=E7=A8=8B=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../creatProcess/policyMeetings/step1.vue | 11 ++++++----- .../policyRegulatoryMaterials/index.vue | 18 +++++++++++------- .../policyTopicEnrollment/index.vue | 18 +++++++++++------- .../policyTopicParticipation/index.vue | 18 +++++++++++------- .../creatProcess/policyWarehousing/step1.vue | 11 ++++++----- .../pages/processDetail/index.vue | 7 ++++--- 6 files changed, 49 insertions(+), 34 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/policyMeetings/step1.vue b/src/pages/processCenter/pages/creatProcess/policyMeetings/step1.vue index 5fed1ff5b..762b58c31 100644 --- a/src/pages/processCenter/pages/creatProcess/policyMeetings/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/policyMeetings/step1.vue @@ -219,16 +219,17 @@ export default { this.form.meetingTopicList = [ ...res ] }, getData () { - const { bpnId, taskIds, prcId, disabledXX, verifySarStandard } = this.$route.query + const { bpnId, taskIds, prcId, operate } = this.$route.query - if (disabledXX) { - this.disabled = disabledXX + if (operate === 'view') { + this.disabled = true } // 重新起草 if (taskIds) { - this.title = '重新起草' - if (verifySarStandard) { + if (operate === 'view') { this.title = '起草' + } else { + this.title = '重新起草' } this.showProcess = true inboundLiaisonDetail({ diff --git a/src/pages/processCenter/pages/creatProcess/policyRegulatoryMaterials/index.vue b/src/pages/processCenter/pages/creatProcess/policyRegulatoryMaterials/index.vue index 92a9aec1c..7e7263ae4 100644 --- a/src/pages/processCenter/pages/creatProcess/policyRegulatoryMaterials/index.vue +++ b/src/pages/processCenter/pages/creatProcess/policyRegulatoryMaterials/index.vue @@ -92,7 +92,7 @@ - +
@@ -255,22 +255,26 @@ export default { } switch (this.$route.params.type) { case 'step1': - this.disabled = false - this.showProcessFooter = true // 底部显隐 - this.showProcess = false // 审批历史 + // this.disabled = false + // this.showProcessFooter = true // 底部按钮显隐 + // this.showProcess = false // 审批历史 this.showTransfer = false // 转办 this.showOver2 = false // 驳回 this.showSave = true // 保存 this.showSubmit = true // 提交 - break - case 'step1_1': - if (this.$route.query.disabledXX) { + if (this.$route.query.operate === 'view') { this.disabled = true this.showProcessFooter = false + this.showProcess = true } else { this.disabled = false this.showProcessFooter = true + this.showProcess = false } + break + case 'step1_1': + this.disabled = false + this.showProcessFooter = true this.showProcess = true this.showTransfer = false this.showOver2 = false diff --git a/src/pages/processCenter/pages/creatProcess/policyTopicEnrollment/index.vue b/src/pages/processCenter/pages/creatProcess/policyTopicEnrollment/index.vue index ec6946c78..3c99fa3ea 100644 --- a/src/pages/processCenter/pages/creatProcess/policyTopicEnrollment/index.vue +++ b/src/pages/processCenter/pages/creatProcess/policyTopicEnrollment/index.vue @@ -66,7 +66,7 @@ @add="add('insideContactInformationList')" @delete="onDelete('insideContactInformationList', $event)" > - +
@@ -402,23 +402,27 @@ export default { } switch (this.$route.params.type) { case 'step1': - this.disabled = false - this.showProcessFooter = true // 底部显隐 - this.showProcess = false // 审批历史 + // this.disabled = false + // this.showProcessFooter = true // 底部按钮显隐 + // this.showProcess = false // 审批历史 this.showTransfer = false // 转办 this.showOver2 = false // 驳回 this.showSave = true // 报错 this.showSubmit = true // 提交 this.approval = false // 提交 -> 同意 - break - case 'step1_1': - if (this.$route.query.disabledXX) { + if (this.$route.query.operate === 'view') { this.disabled = true this.showProcessFooter = false + this.showProcess = true } else { this.disabled = false this.showProcessFooter = true + this.showProcess = false } + break + case 'step1_1': + this.disabled = false + this.showProcessFooter = true this.showProcess = true this.showTransfer = false this.showOver2 = false diff --git a/src/pages/processCenter/pages/creatProcess/policyTopicParticipation/index.vue b/src/pages/processCenter/pages/creatProcess/policyTopicParticipation/index.vue index b4d57628a..849060590 100644 --- a/src/pages/processCenter/pages/creatProcess/policyTopicParticipation/index.vue +++ b/src/pages/processCenter/pages/creatProcess/policyTopicParticipation/index.vue @@ -74,7 +74,7 @@
- +
@@ -280,23 +280,27 @@ export default { } switch (this.$route.params.type) { case 'step1': - this.disabled = false - this.showProcessFooter = true // 底部显隐 - this.showProcess = false // 审批历史 + // this.disabled = false + // this.showProcessFooter = true // 底部按钮显隐 + // this.showProcess = false // 审批历史 this.showTransfer = false // 转办 this.showOver2 = false // 驳回 this.showSave = true // 报错 this.showSubmit = true // 提交 this.approval = false // 提交 -> 同意 - break - case 'step1_1': - if (this.$route.query.disabledXX) { + if (this.$route.query.operate === 'view') { this.disabled = true this.showProcessFooter = false + this.showProcess = true } else { this.disabled = false this.showProcessFooter = true + this.showProcess = false } + break + case 'step1_1': + this.disabled = false + this.showProcessFooter = true this.showProcess = true this.showTransfer = false this.showOver2 = false diff --git a/src/pages/processCenter/pages/creatProcess/policyWarehousing/step1.vue b/src/pages/processCenter/pages/creatProcess/policyWarehousing/step1.vue index c0edd2a22..9a81eea7f 100644 --- a/src/pages/processCenter/pages/creatProcess/policyWarehousing/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/policyWarehousing/step1.vue @@ -288,16 +288,17 @@ export default { }) }, getData () { - const { taskIds, prcId, disabledXX, verifySarStandard } = this.$route.query + const { taskIds, prcId, operate } = this.$route.query - if (disabledXX) { - this.disabled = disabledXX + if (operate === 'view') { + this.disabled = true } // 重新起草 if (taskIds) { - this.title = '重新起草' - if (verifySarStandard) { + if (operate === 'view') { this.title = '起草' + } else { + this.title = '重新起草' } this.showProcess = true inboundLiaisonDetail({ diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue index cd279bb8e..9f53b1a9c 100644 --- a/src/pages/processCenter/pages/processDetail/index.vue +++ b/src/pages/processCenter/pages/processDetail/index.vue @@ -354,7 +354,7 @@ export default { }else if(prcType === 'laws1'){ //政策入库 // this.toProcessDetail('zcrkStep1',row) - this.toProcessDetail('policyWarehousing1',row) + this.toProcessDetailForParams('policyWarehousing1',row) }else if(prcType === 'laws2'){ //政策征求意见流程 this.toProcessDetail('zczqyjStep1',row) @@ -431,7 +431,8 @@ export default { this.toProcessDetail('zdrzbzORzchgxxmscStep1',row) }else if(prcType === '29'){ //内外部会议入库 - this.toProcessDetail('policyMeetings1',row) + // this.toProcessDetail('policyMeetings1',row) + this.toProcessDetailForParams('policyMeetings1',row) } else if(prcType === '30'){ //政策课题入会流程 const params = { type: 'step1' } @@ -484,7 +485,7 @@ export default { prcId: row.processInstanceId, prcNum: row.prcNum, prcName: row.prcName, - disabledXX: true, + operate: 'view' }, params })