diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue
index c36e59a94..84c33eb92 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue
@@ -67,7 +67,6 @@
批量编辑
- 查看比对
编辑
+ 查看比对
@@ -292,7 +292,7 @@
size="800px">
-
+
+ 查看比对
+ 相似度:{{ similarityDegree }}
-
-
-
-
{{ item1.itemsNum }}
-
-
-
-
-
-
-
-
{{ item2.itemsNum }}
-
-
-
-
+
+
@@ -463,11 +451,11 @@
name: "bzjdStep3",
data() {
return {
+ similarityDegree: '',
BDmodel: false,
oldNumber: '',
- leftData: [],
- rightData: [],
-
+ leftData: '',
+ rightData: '',
modalshowflag2: false,
itemId: '',
drawerModal: false,
@@ -504,6 +492,7 @@
newData: '', // 新车型实施日期
onlineData: '', // 在产车实施日期
applyArctic: '', // 适用车型
+ itemsId: '',
},
modalshowflag: false,
sarType: '',
@@ -543,7 +532,13 @@
}, {
_this: this
}, res => {
- this.leftData = res.data
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId = res.data[b].itemsId
+ }
+ }
+ }
}, e => {
})
this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', {
@@ -552,13 +547,34 @@
}, {
_this: this
}, res => {
- this.rightData = res.data
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId2 = res.data[b].itemsId
+ }
+ }
+ }
}, e => {
})
},
- checkBD () {
- this.BDmodel = true
- this.getBDList()
+ checkBD (id,id2) {
+ let itemsEoPage = {
+ oldItemId: id,
+ newItemId: id2,
+ flag: 1
+ }
+ this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
+ _this: this
+ }, res => {
+ if (res.data.leftString === '' && res.data.rightString === '') {
+ this.$message.warning('暂无找到相似的文本')
+ } else {
+ this.leftData = res.data.leftString
+ this.rightData = res.data.rightString
+ this.BDmodel = true
+ this.similarityDegree = res.data.similarityDegree
+ }
+ })
},
itemEdit (row) {
this.itemId = row.id
@@ -571,6 +587,8 @@
newData: row.newData, // 新车型实施日期
onlineData: row.onlineData, // 在产车实施日期
applyArctic: row.applyArctic, // 适用车型
+ itemsId: row.itemsId,
+ itemsId2: row.itemsId2
}
},
saveUserInfo2 () {
@@ -829,6 +847,7 @@
item.itemsTitle = item.itermsConditions
item.applyArctic = item.applyArctic || []
})
+ this.getBDList()
this.itemList = itemList
this.loading = false
}).catch(e => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
index 53cae2420..dfd12205e 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
@@ -101,6 +101,7 @@
show-overflow-tooltip
prop="technicalRequir"
width="200"
+ v-if="!form.itemsNum1"
label="核心技术要求"
align="center">
@@ -173,6 +174,14 @@
prop="zrUserIdName"
align="center">
+
+
+ 查看比对
+
+
@@ -270,6 +279,16 @@
关闭
+
+ 相似度:{{ similarityDegree }}
+
+
@@ -284,6 +303,11 @@
name: "bzjdStep4",
data() {
return {
+ similarityDegree: '',
+ BDmodel: false,
+ oldNumber: '',
+ leftData: '',
+ rightData: '',
drawerModal: false,
//折叠的标志,true为折叠,false为不折叠
foldFormFlag: false,
@@ -315,6 +339,72 @@
ProcessTitle
},
methods: {
+ getBDList () {
+ this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', {
+ standHisId: this.oldNumber,
+ leftOrRight: 'LEFT'
+ }, {
+ _this: this
+ }, res => {
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId = res.data[b].itemsId
+ }
+ }
+ }
+ }, e => {
+ })
+ this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', {
+ standHisId: this.oldNumber,
+ leftOrRight: 'RIGHT'
+ }, {
+ _this: this
+ }, res => {
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId2 = res.data[b].itemsId
+ }
+ }
+ }
+ }, e => {
+ })
+ },
+ checkBD (id,id2) {
+ let itemsEoPage = {
+ oldItemId: id,
+ newItemId: id2,
+ flag: 1
+ }
+ this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
+ _this: this
+ }, res => {
+ if (res.data.leftString === '' && res.data.rightString === '') {
+ this.$message.warning('暂无找到相似的文本')
+ } else {
+ this.leftData = res.data.leftString
+ this.rightData = res.data.rightString
+ this.BDmodel = true
+ this.similarityDegree = res.data.similarityDegree
+ }
+ })
+ },
+ 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')
},
@@ -431,6 +521,7 @@
this.json = data
this.itemList = data.itemList
this.loading = false
+ this.getBDList()
}).catch(e => {
})
})
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue
index 86a29e90e..34681ce08 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue
@@ -101,6 +101,7 @@
show-overflow-tooltip
prop="technicalRequir"
width="200"
+ v-if="!form.itemsNum1"
label="核心技术要求"
align="center">
@@ -173,6 +174,14 @@
prop="zrUserIdName"
align="center">
+
+
+ 查看比对
+
+
@@ -275,6 +284,16 @@
关闭
+
+ 相似度:{{ similarityDegree }}
+
+
加载中...
@@ -290,6 +309,11 @@
name: "bzjdStep5",
data() {
return {
+ similarityDegree: '',
+ BDmodel: false,
+ oldNumber: '',
+ leftData: '',
+ rightData: '',
drawerModal: false,
//折叠的标志,true为折叠,false为不折叠
foldFormFlag: false,
@@ -321,6 +345,72 @@
ProcessTitle
},
methods: {
+ getBDList () {
+ this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', {
+ standHisId: this.oldNumber,
+ leftOrRight: 'LEFT'
+ }, {
+ _this: this
+ }, res => {
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId = res.data[b].itemsId
+ }
+ }
+ }
+ }, e => {
+ })
+ this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', {
+ standHisId: this.oldNumber,
+ leftOrRight: 'RIGHT'
+ }, {
+ _this: this
+ }, res => {
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId2 = res.data[b].itemsId
+ }
+ }
+ }
+ }, e => {
+ })
+ },
+ checkBD (id,id2) {
+ let itemsEoPage = {
+ oldItemId: id,
+ newItemId: id2,
+ flag: 1
+ }
+ this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
+ _this: this
+ }, res => {
+ if (res.data.leftString === '' && res.data.rightString === '') {
+ this.$message.warning('暂无找到相似的文本')
+ } else {
+ this.leftData = res.data.leftString
+ this.rightData = res.data.rightString
+ this.BDmodel = true
+ this.similarityDegree = res.data.similarityDegree
+ }
+ })
+ },
+ 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
+ }
+ },
handleTransfer() {
this.drawerModal = true
},
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue
index a521f2e7f..e063a5855 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue
@@ -102,6 +102,7 @@
show-overflow-tooltip
prop="technicalRequir"
width="200"
+ v-if="!form.itemsNum1"
label="核心技术要求"
align="center">
@@ -174,6 +175,14 @@
prop="zrUserIdName"
align="center">
+
+
+ 查看比对
+
+
@@ -274,6 +283,16 @@
关闭
+
+ 相似度:{{ similarityDegree }}
+
+
加载中...
@@ -289,6 +308,11 @@
name: "bzjdStep6",
data() {
return {
+ similarityDegree: '',
+ BDmodel: false,
+ oldNumber: '',
+ leftData: '',
+ rightData: '',
drawerModal: false,
//折叠的标志,true为折叠,false为不折叠
foldFormFlag: false,
@@ -320,6 +344,72 @@
ProcessTitle
},
methods: {
+ getBDList () {
+ this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', {
+ standHisId: this.oldNumber,
+ leftOrRight: 'LEFT'
+ }, {
+ _this: this
+ }, res => {
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId = res.data[b].itemsId
+ }
+ }
+ }
+ }, e => {
+ })
+ this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', {
+ standHisId: this.oldNumber,
+ leftOrRight: 'RIGHT'
+ }, {
+ _this: this
+ }, res => {
+ for (let a = 0; a < this.itemList.length; a++) {
+ for (let b = 0; b < res.data.length; b++) {
+ if (this.itemList[a].itemsNum === res.data[b].itemsNum) {
+ this.itemList[a].itemsId2 = res.data[b].itemsId
+ }
+ }
+ }
+ }, e => {
+ })
+ },
+ checkBD (id,id2) {
+ let itemsEoPage = {
+ oldItemId: id,
+ newItemId: id2,
+ flag: 1
+ }
+ this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
+ _this: this
+ }, res => {
+ if (res.data.leftString === '' && res.data.rightString === '') {
+ this.$message.warning('暂无找到相似的文本')
+ } else {
+ this.leftData = res.data.leftString
+ this.rightData = res.data.rightString
+ this.BDmodel = true
+ this.similarityDegree = res.data.similarityDegree
+ }
+ })
+ },
+ 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
+ }
+ },
handleTransfer() {
this.drawerModal = true
},