feat: There is no way the, 56689 标准比对-条款比对 字段显示有问题
This commit is contained in:
@@ -57,7 +57,9 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div v-html="leftString" v-if="comparisonFlag === '2'"></div>-->
|
<!-- <div v-html="leftString" v-if="comparisonFlag === '2'"></div>-->
|
||||||
<div v-for="(item,index) in leftString" v-html="item" :key="index" v-if="comparisonFlag === '2'"></div>
|
<div v-if="comparisonFlag === '2'">
|
||||||
|
<span v-for="(item,index) in leftString" v-html="item" :key="index"></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -110,7 +112,9 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<div v-for="(item,index) in rightString" v-html="item" :key="index" v-if="comparisonFlag === '2'"></div>
|
<div v-if="comparisonFlag === '2'">
|
||||||
|
<span v-for="(item,index) in rightString" v-html="item" :key="index"></span>
|
||||||
|
</div>
|
||||||
<!-- <div v-html="rightString" v-if="comparisonFlag === '2'"></div>-->
|
<!-- <div v-html="rightString" v-if="comparisonFlag === '2'"></div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -206,6 +210,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.spinShow = true
|
this.spinShow = true
|
||||||
|
|
||||||
let itemsEoPage = {
|
let itemsEoPage = {
|
||||||
oldItemId: this.saveItemId,
|
oldItemId: this.saveItemId,
|
||||||
newItemId: this.saveItemIdRight,
|
newItemId: this.saveItemIdRight,
|
||||||
@@ -215,8 +220,18 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.comparisonFlag = '2'
|
this.comparisonFlag = '2'
|
||||||
|
this.leftString = []
|
||||||
|
if((typeof res.data.leftString) === "string"){
|
||||||
|
this.leftString.push(res.data.leftString)
|
||||||
|
}else {
|
||||||
this.leftString = res.data.leftString
|
this.leftString = res.data.leftString
|
||||||
|
}
|
||||||
|
this.rightString = []
|
||||||
|
if((typeof res.data.rightString) === "string"){
|
||||||
|
this.rightString.push(res.data.rightString)
|
||||||
|
}else {
|
||||||
this.rightString = res.data.rightString
|
this.rightString = res.data.rightString
|
||||||
|
}
|
||||||
this.text = res.data.similarityDegree
|
this.text = res.data.similarityDegree
|
||||||
if (parseFloat(res.data.similarityDegree) < parseFloat('75%')) {
|
if (parseFloat(res.data.similarityDegree) < parseFloat('75%')) {
|
||||||
this.textcontent = '不相似'
|
this.textcontent = '不相似'
|
||||||
|
|||||||
Reference in New Issue
Block a user