diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue index 0d44e7924..0d73dd9a0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue @@ -354,7 +354,6 @@ this.form.cid = data.cid this.form.endTime = data.endTime this.form.cname = data.cname - console.log(data); this.oldData = JSON.parse(JSON.stringify(data.summaryList)) data.summaryList.forEach( item => { if (item.state) { diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue index 813827b12..61b4a50d7 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue @@ -366,6 +366,7 @@ }) this.json = data this.data = arr + this.oldData = data.oldinfo }).catch(e => { }) diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue index 864bd9717..8250bbdc8 100644 --- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue +++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue @@ -60,6 +60,24 @@ align="center" label="修改意见内容(包括理由或依据)" > + + + + + +
- - + + - - + + + + + + + +
@@ -139,14 +163,22 @@ isSubmit: false, opinionContent: { // 抽屉数据 partCode: '', - content: '', + oldText: '', + newText: '', + reason: '' }, opinionContentRules: { partCode: [ { required: true, message: '请输入章节编号', trigger: 'blur' }, ], - content: [ - { required: true, message: '请输入修改意见内容(包括理由或依据)', trigger: 'blur' } + oldText: [ + { required: true, message: '请输入修改前内容', trigger: 'blur' } + ], + newText: [ + { required: true, message: '请输入修改后内容', trigger: 'blur' } + ], + reason: [ + { required: true, message: '请输入修改理由', trigger: 'blur' } ], }, standinfoList: [], // 详情列表 @@ -231,12 +263,16 @@ this.id = row.id this.opiniontitle = '编辑意见内容' this.opinionContent.partCode = row.partCode - this.opinionContent.content = row.content + this.opinionContent.reason = row.reason + this.opinionContent.oldText = row.oldText + this.opinionContent.newText = row.newText } else { this.id = '' this.opiniontitle = '新增意见' this.opinionContent.partCode = '' - this.opinionContent.content = '' + this.opinionContent.reason = '' + this.opinionContent.oldText = '' + this.opinionContent.newText = '' } this.isDialog = true }, @@ -275,6 +311,9 @@ var form = { cid: this.$route.query.item.cid, content: this.opinionContent.content, + oldText: this.opinionContent.oldText, + newText: this.opinionContent.newText, + reason: this.opinionContent.reason, partCode: this.opinionContent.partCode, userId: this.$store.getters.userInfo.userId || '', userName: this.$store.getters.userInfo.userName || '',