From 35a3eab82a407def39bfcca73a009ab0054e6703 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Tue, 18 Jan 2022 17:19:12 +0800 Subject: [PATCH] commit --- .../pages/creatProcess/bzjd/step1-1.vue | 8 ++++---- .../pages/creatProcess/bzjd/step1-6.vue | 13 ++++++++++++- .../pages/creatProcess/bzjd/step1.vue | 8 ++++---- .../pages/creatProcess/bzjd/step2.vue | 3 +-- .../pages/creatProcess/bzjd/step3.vue | 9 ++++----- .../pages/creatProcess/bzjd/step4.vue | 17 +---------------- .../pages/creatProcess/bzjd/step5.vue | 2 +- .../pages/creatProcess/bzjd/step6.vue | 2 +- 8 files changed, 28 insertions(+), 34 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue index cef2dd46c..35a648308 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue @@ -404,7 +404,7 @@
-
+
无内容
@@ -417,7 +417,7 @@
-
+
无内容
@@ -713,7 +713,7 @@ }) }, itemEdit (row, type, index) { - this.itermsConditions = row.itermsConditions + this.itermsConditions = row.itermsConditions.replace(/''/g, '\'') let itemsEoPage = { oldItemId: row.itemsId, newItemId: row.itemsId2, @@ -847,7 +847,7 @@ }, itermsConditionsOpen (row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, getData () { queryTaskFirst({ diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue index 036b5e14e..d76679f24 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue @@ -68,6 +68,15 @@ clearable > + + + +
@@ -383,6 +392,7 @@ export default { itemsName: '', itemsNum1: '', itemsName1: '', + endTime: '', }, json: {}, } @@ -463,7 +473,7 @@ export default { }, itermsConditionsOpen (row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { @@ -504,6 +514,7 @@ export default { pId: this.pId }).then(res => { let data = JSON.parse(res.mesg) + this.form.endTime = data.endTime || data.form.endTime this.form.itemsNum = data.itemsNum || data.form.itemsNum this.form.itemsName = data.itemsName || data.form.itemsName if (data.form) { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue index c5c999eca..2fe3ef083 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue @@ -412,7 +412,7 @@
-
+
无内容
@@ -425,7 +425,7 @@
-
+
无内容
@@ -726,7 +726,7 @@ export default { }) }, itemEdit (row, type, index) { - this.itermsConditions = row.itermsConditions + this.itermsConditions = row.itermsConditions.replace(/''/g, '\'') let itemsEoPage = { oldItemId: row.itemsId, newItemId: row.itemsId2, @@ -860,7 +860,7 @@ export default { }, itermsConditionsOpen(row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, showUser(row) { let routeUrl = this.$router.resolve({ diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue index 06cf69cc4..5f9c0d958 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue @@ -59,7 +59,6 @@ v-model="form.endTime" type="date" disabled - :picker-options="pickerOptions" placeholder="请选择截止日期" value-format="yyyy-MM-dd"> @@ -381,7 +380,7 @@ }, itermsConditionsOpen (row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue index 8f99d8266..ba8f527b2 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue @@ -59,7 +59,6 @@ v-model="form.endTime" type="date" disabled - :picker-options="pickerOptions" placeholder="请选择截止日期" value-format="yyyy-MM-dd"> @@ -368,7 +367,7 @@
-
+
无内容
@@ -381,7 +380,7 @@
-
+
无内容
@@ -624,7 +623,7 @@ }) }, itemEdit (row) { - this.itermsConditions = row.itermsConditions + this.itermsConditions = row.itermsConditions.replace(/''/g, '\'') let itemsEoPage = { oldItemId: row.itemsId, newItemId: row.itemsId2, @@ -718,7 +717,7 @@ }, itermsConditionsOpen (row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue index 1db15f42a..df4ea3dbb 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue @@ -389,21 +389,6 @@ } }) }, - itemEdit (row) { - this.itemId = row.id - this.modalshowflag2 = true - this.editForm = { - technicalRequir: row.technicalRequir, // 核心技术要求 - changePoint: row.changePoint, // 国内标准的差异点 - complianceRequir: row.complianceRequir || '1', // 符合性要求 - complianceState: row.complianceState, // 合规性分析 - newData: row.newData, // 新车型实施日期 - onlineData: row.onlineData, // 在产车实施日期 - applyArctic: row.applyArctic, // 适用车型 - itemsId: row.itemsId, - itemsId2: row.itemsId2 - } - }, phoneClick () { this.$router.push('/phoneBzjdStep4') }, @@ -449,7 +434,7 @@ }, itermsConditionsOpen (row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue index 35567373f..0a1a0c86c 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue @@ -431,7 +431,7 @@ }, itermsConditionsOpen (row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue index e6d96adb9..164ef2a68 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue @@ -429,7 +429,7 @@ }, itermsConditionsOpen (row) { this.itermsConditionsFlag = true - this.itermsConditionsTitle = row + this.itermsConditionsTitle = row.replace(/''/g, '\'') }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', {