From 770565cc13e4a8f1a07d430f9068b62203c0daeb Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Wed, 17 Aug 2022 15:53:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E2=80=8556982=20=EF=BC=8C=E7=BA=BF=E4=B8=8A=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=20=E8=A7=A3=E8=AF=BB=E6=B5=81=E7=A8=8B=EF=BC=8C=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E6=AF=94=E5=AF=B9=E9=87=8C=E8=BE=B9=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzjd/step3.vue | 64 +++++++++++++++++-- 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue index 475ccd070..5180f92ef 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue @@ -469,9 +469,13 @@ size="1100px">
比对条款: {{ itemsNum }}
相似度: {{ similarityDegree }}
-
-
-
+
+
+
+
+
+
+
@@ -625,8 +629,19 @@ this.$message.warning('暂无找到相似的文本') } else { this.itemsNum = itemsNum - this.leftData = res.data.leftString - this.rightData = res.data.rightString + + this.leftData = [] + if((typeof res.data.leftString) === "string"){ + this.leftData.push(res.data.leftString) + }else { + this.leftData = res.data.leftString + } + this.rightData = [] + if((typeof res.data.rightString) === "string"){ + this.rightData.push(res.data.rightString) + }else { + this.rightData = res.data.rightString + } this.BDmodel = true this.similarityDegree = res.data.similarityDegree } @@ -648,8 +663,18 @@ this.BDtext = true } else { this.BDtext = false - this.leftData = res.data.leftString - this.rightData = res.data.rightString + this.leftData = [] + if((typeof res.data.leftString) === "string"){ + this.leftData.push(res.data.leftString) + }else { + this.leftData = res.data.leftString + } + this.rightData = [] + if((typeof res.data.rightString) === "string"){ + this.rightData.push(res.data.rightString) + }else { + this.rightData = res.data.rightString + } this.similarityDegree = res.data.similarityDegree } this.itemId = row.id @@ -983,6 +1008,31 @@ padding: 0 20px 0; } } + .contentCom{ + border-top: 1px solid #EDEDED; + min-height: 349px; + max-height: 549px; + display: flex; + display: -ms-flex; + display: -moz-flex; + display: -webkit-flex; + font-size: 15px; + .content-left{ + border: 1px solid #EDEDED; + border-top-color: transparent; + flex: 0 0 50%; + line-height: 30px; + padding: 0 15px; + } + .content-right{ + flex: 0 0 50%; + line-height: 30px; + padding: 0 15px; + border: 1px solid #EDEDED; + border-left-color: transparent; + border-top-color: transparent; + } + } .myText { line-height: 20px; }