-
-
+
+
-
-
+
+
+
+
+
+
+
+
@@ -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 || '',
From 6195d17afc530aba3128c0ca026578de2a8643e6 Mon Sep 17 00:00:00 2001
From: "Mr.Z" <709235321@qq.com>
Date: Thu, 19 Aug 2021 15:55:21 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E6=9C=AA=E7=AC=A6=E5=90=88=E9=A1=B9?=
=?UTF-8?q?=E6=95=B4=E6=94=B9=E5=BA=93=E5=88=86=E9=A1=B5bug=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../nonConfomity/pages/rectificationDatabase.vue | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
index 612bd54e5..9198a2f34 100644
--- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
+++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
@@ -214,11 +214,7 @@