feat: There is no way the, 56982 ,线上环境 解读流程,查看比对里边显示不对
This commit is contained in:
@@ -469,9 +469,13 @@
|
||||
size="1100px">
|
||||
<div>比对条款: {{ itemsNum }}</div>
|
||||
<div>相似度: {{ similarityDegree }}</div>
|
||||
<div style="height: 600px;overflow: auto;display: flex;">
|
||||
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||
<div v-html="rightData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||
<div class="contentCom">
|
||||
<div class="content-left">
|
||||
<div v-for="(item,index) in leftData" v-html="item" :key="index"></div>
|
||||
</div>
|
||||
<div class="content-right">
|
||||
<div v-for="(item,index) in rightData" v-html="item" :key="index"></div>
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user