From 233de67ea08090646eaa60bc83bfa403ce39bce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 12 Apr 2022 13:47:36 +0800 Subject: [PATCH] =?UTF-8?q?52498=20=E3=80=90=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E3=80=91=E6=A0=87=E5=87=86=E8=A7=A3=E8=AF=BB=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=20=E5=BD=93=E5=AD=98=E5=9C=A8=E4=B8=8A=E4=B8=8A=E4=B8=80?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=A0=87=E5=87=86=E5=8F=B7=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E5=8F=8A=E5=90=8E=E7=BB=AD=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E9=83=BD=E8=A6=81=E6=9C=89=E6=9F=A5=E7=9C=8B=E6=AF=94=E5=AF=B9?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/phone/bzjd/step4.vue | 266 ++++++++++------- .../processCenter/pages/phone/bzjd/step5.vue | 267 ++++++++++------- .../processCenter/pages/phone/bzjd/step6.vue | 269 +++++++++++------- 3 files changed, 475 insertions(+), 327 deletions(-) diff --git a/src/pages/processCenter/pages/phone/bzjd/step4.vue b/src/pages/processCenter/pages/phone/bzjd/step4.vue index 93a5e11f3..c7a1b468d 100644 --- a/src/pages/processCenter/pages/phone/bzjd/step4.vue +++ b/src/pages/processCenter/pages/phone/bzjd/step4.vue @@ -88,115 +88,124 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 加载更多... @@ -219,13 +228,23 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" - @save="handleSave" @submit="handleSubmit" show-back @back="handleSubmitNo" submitBTNText="同意" > + +
比对条款: {{ itemsNum }}
+
相似度:{{ similarityDegree }}
+
+
+
+
+
@@ -246,6 +265,11 @@ return { tableIndex: 0, itemLists: [], + itemsNum: '', + similarityDegree: '', + BDmodel: false, + leftData: '', + rightData: '', dialogMadal: false, drawerModal: false, //折叠的标志,true为折叠,false为不折叠 @@ -336,6 +360,30 @@ this.dialogMadal = true this.itermsConditionsTitle = row }, + checkBD (id,id2,itemsNum) { + let itemsEoPage = { + oldItemId: id, + newItemId: id2, + flag: 1 + } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } + this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { + _this: this + }, res => { + if (res.data.leftString === '' && res.data.rightString === '') { + this.$message.warning('暂无找到相似的文本') + } else { + this.itemsNum = itemsNum + this.leftData = res.data.leftString + this.rightData = res.data.rightString + this.BDmodel = true + this.similarityDegree = res.data.similarityDegree + } + }) + }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { prcNum: this.$route.query.prcNum, diff --git a/src/pages/processCenter/pages/phone/bzjd/step5.vue b/src/pages/processCenter/pages/phone/bzjd/step5.vue index 076bca762..67887e78d 100644 --- a/src/pages/processCenter/pages/phone/bzjd/step5.vue +++ b/src/pages/processCenter/pages/phone/bzjd/step5.vue @@ -86,115 +86,124 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 加载更多... @@ -210,6 +219,17 @@ + +
比对条款: {{ itemsNum }}
+
相似度:{{ similarityDegree }}
+
+
+
+
+
@@ -217,13 +237,13 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" - @save="handleSave" @submit="handleSubmit" show-back @back="handleSubmitNo" submitBTNText="同意" > +
@@ -242,6 +262,11 @@ name: "phoneBzjdStep5", data() { return { + BDmodel: false, + itemsNum: '', + similarityDegree: '', + leftData: '', + rightData: '', commentText5: '', tableIndex: 0, itemLists: [], @@ -334,6 +359,30 @@ this.dialogMadal = true this.itermsConditionsTitle = row }, + checkBD (id,id2,itemsNum) { + let itemsEoPage = { + oldItemId: id, + newItemId: id2, + flag: 1 + } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } + this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { + _this: this + }, res => { + if (res.data.leftString === '' && res.data.rightString === '') { + this.$message.warning('暂无找到相似的文本') + } else { + this.itemsNum = itemsNum + this.leftData = res.data.leftString + this.rightData = res.data.rightString + this.BDmodel = true + this.similarityDegree = res.data.similarityDegree + } + }) + }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { prcNum: this.$route.query.prcNum, diff --git a/src/pages/processCenter/pages/phone/bzjd/step6.vue b/src/pages/processCenter/pages/phone/bzjd/step6.vue index 2570fa5be..728faffaf 100644 --- a/src/pages/processCenter/pages/phone/bzjd/step6.vue +++ b/src/pages/processCenter/pages/phone/bzjd/step6.vue @@ -86,115 +86,127 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 加载更多... @@ -217,13 +229,23 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" - @save="handleSave" @submit="handleSubmit" show-back @back="handleSubmitNo" submitBTNText="同意" > + +
比对条款: {{ itemsNum }}
+
相似度:{{ similarityDegree }}
+
+
+
+
+
@@ -243,6 +265,11 @@ data() { return { commentText6: '', + BDmodel: false, + itemsNum: '', + similarityDegree: '', + leftData: '', + rightData: '', tableIndex: 0, itemLists: [], dialogMadal: false, @@ -334,6 +361,30 @@ this.dialogMadal = true this.itermsConditionsTitle = row }, + checkBD (id,id2,itemsNum) { + let itemsEoPage = { + oldItemId: id, + newItemId: id2, + flag: 1 + } + if (!id || !id2) { + this.$message.warning('暂无找到相似的文本') + return + } + this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, { + _this: this + }, res => { + if (res.data.leftString === '' && res.data.rightString === '') { + this.$message.warning('暂无找到相似的文本') + } else { + this.itemsNum = itemsNum + this.leftData = res.data.leftString + this.rightData = res.data.rightString + this.BDmodel = true + this.similarityDegree = res.data.similarityDegree + } + }) + }, getHistoryData () { this.$http.get('lawss/activiti/get_list_by_instance', { prcNum: this.$route.query.prcNum,