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 })