Merge remote-tracking branch 'origin/develop' into develop
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 = res.data.leftString
|
this.leftString = []
|
||||||
this.rightString = res.data.rightString
|
if((typeof res.data.leftString) === "string"){
|
||||||
|
this.leftString.push(res.data.leftString)
|
||||||
|
}else {
|
||||||
|
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.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 = '不相似'
|
||||||
|
|||||||
@@ -546,7 +546,7 @@
|
|||||||
class="add-form-item"
|
class="add-form-item"
|
||||||
>
|
>
|
||||||
<template slot="label">标准体系</template>
|
<template slot="label">标准体系</template>
|
||||||
<el-input v-model="sarStandardsInfoEO.standSystem" placeholder="选择标准体系"
|
<el-input v-model="sarStandardsInfoEO.standSystem" placeholder="选择标准体系" readonly
|
||||||
@click.native="choiceZRR1('standSystem', '标准体系', sarStandardsInfoEO.standSystem)"></el-input>
|
@click.native="choiceZRR1('standSystem', '标准体系', sarStandardsInfoEO.standSystem)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1030,7 +1030,7 @@
|
|||||||
class="add-form-item"
|
class="add-form-item"
|
||||||
>
|
>
|
||||||
<template slot="label">标准体系</template>
|
<template slot="label">标准体系</template>
|
||||||
<el-input v-model="sarStandardsInfoEO.standSystem" placeholder="选择标准体系"
|
<el-input v-model="sarStandardsInfoEO.standSystem" placeholder="选择标准体系" readonly
|
||||||
@click.native="choiceZRR1('standSystem', '标准体系', sarStandardsInfoEO.standSystem)"></el-input>
|
@click.native="choiceZRR1('standSystem', '标准体系', sarStandardsInfoEO.standSystem)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
@@ -3045,7 +3045,16 @@ export default {
|
|||||||
this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item))
|
this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item))
|
||||||
this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem];
|
this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem];
|
||||||
if (item.country !== undefined && item.country !== null && item.country !== '') {
|
if (item.country !== undefined && item.country !== null && item.country !== '') {
|
||||||
this.sarStandardsInfoEO.country = item.country.split(",");
|
if((typeof item.country) === 'string' && item.country.indexOf("[") !== -1 && item.country.indexOf("]") !== -1){
|
||||||
|
const str = JSON.parse(item.country);
|
||||||
|
if((typeof str) === 'string'){
|
||||||
|
this.sarStandardsInfoEO.country = str.split(",");
|
||||||
|
}else {
|
||||||
|
this.sarStandardsInfoEO.country = str
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
this.sarStandardsInfoEO.country = item.country.split(",");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.sarStandardsInfoEO.standSort = item.standSort
|
this.sarStandardsInfoEO.standSort = item.standSort
|
||||||
if (this.sarStandardsInfoEO.putTime != null && this.sarStandardsInfoEO.putTime !== '') {
|
if (this.sarStandardsInfoEO.putTime != null && this.sarStandardsInfoEO.putTime !== '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user