From 64b68df1836acaf8741e9c438743d7ba6997c7bd Mon Sep 17 00:00:00 2001
From: "Mr.Z" <709235321@qq.com>
Date: Wed, 4 Aug 2021 14:30:36 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AA=E7=AC=A6=E5=90=88?=
=?UTF-8?q?=E9=A1=B9=E6=95=B4=E6=94=B9--=E7=94=B1=E9=A1=B9=E7=9B=AE?=
=?UTF-8?q?=E5=90=88=E8=A7=84=E8=AF=84=E4=BC=B0=E6=B5=81=E7=A8=8B-?=
=?UTF-8?q?=E6=A0=87=E5=87=86=E5=BD=92=E6=A1=A3=E5=88=B0=E6=9C=AA=E7=AC=A6?=
=?UTF-8?q?=E5=90=88=E9=A1=B9=E6=95=B4=E6=94=B9=E5=BA=93=E7=9A=84=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../nonConfomity/pages/historicalData.vue | 2 +-
.../pages/rectificationDatabase.vue | 24 ++++++++++---------
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue b/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue
index 92d3a7370..a520ab673 100644
--- a/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue
+++ b/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue
@@ -232,7 +232,7 @@
{{historySeeForm.qaEngineer}}
- {{historySeeForm.actualCloseTime.substring(0, 11)}}
+ {{historySeeForm.actualCloseTime}}
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
index 220bc4adc..01f2866bd 100644
--- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
+++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
@@ -269,7 +269,7 @@
{{historySeeForm.qaEngineer}}
- {{historySeeForm.planCloseTime.substring(0, 11)}}
+ {{historySeeForm.planCloseTime ? historySeeForm.planCloseTime.substring(0, 11) : '-'}}
@@ -384,7 +384,7 @@
验证时间:
-
{{(item.validTime ? item.validTime.substring(0, 11): '')}}
+
{{(item.validTime ? item.validTime.substring(0, 11) : '')}}
验证结果:
@@ -592,16 +592,18 @@ export default {
this.$nextTick(() => {
const arr = []
let questionType = []
- questionType = this.historySeeForm.quesType.split(',')
- questionType.map((item) => {
- this.optionList.map((opr) => {
- if (item === opr.value) {
- item = opr.label
- arr.push(item)
- }
+ if (this.historySeeForm.quesType) {
+ questionType = this.historySeeForm.quesType.split(',')
+ questionType.map((item) => {
+ this.optionList.map((opr) => {
+ if (item === opr.value) {
+ item = opr.label
+ arr.push(item)
+ }
+ })
})
- })
- this.historySeeForm.quesType = arr.toString()
+ this.historySeeForm.quesType = arr.toString()
+ }
})
},
//点击编辑按钮事件