修改 标准解读流程
This commit is contained in:
@@ -766,14 +766,14 @@
|
|||||||
this.PLmodalType = type
|
this.PLmodalType = type
|
||||||
this.PLmodalIndex = index
|
this.PLmodalIndex = index
|
||||||
this.PLmodalTitle = '编辑'
|
this.PLmodalTitle = '编辑'
|
||||||
if (res.data.leftString === '' && res.data.rightString === '') {
|
if ((res.data.leftString === '' && res.data.rightString === '') || (res.data.leftString === [] && res.data.rightString === [])) {
|
||||||
this.BDtext = true
|
this.BDtext = true
|
||||||
} else if (!row.itemsId || !row.itemsId2) {
|
} else if (!row.itemsId || !row.itemsId2) {
|
||||||
this.BDtext = true
|
this.BDtext = true
|
||||||
} else {
|
} else {
|
||||||
this.BDtext = false
|
this.BDtext = false
|
||||||
this.leftData = res.data.leftString
|
this.leftData = Array.isArray(res.data.leftString) ? res.data.leftString.join('') : res.data.leftString
|
||||||
this.rightData = res.data.rightString
|
this.rightData = Array.isArray(res.data.rightString) ? res.data.rightString.join('') : res.data.rightString
|
||||||
this.similarityDegree = res.data.similarityDegree
|
this.similarityDegree = res.data.similarityDegree
|
||||||
}
|
}
|
||||||
this.plForm = {
|
this.plForm = {
|
||||||
|
|||||||
@@ -787,14 +787,14 @@
|
|||||||
this.PLmodalType = type
|
this.PLmodalType = type
|
||||||
this.PLmodalIndex = index
|
this.PLmodalIndex = index
|
||||||
this.PLmodalTitle = '编辑'
|
this.PLmodalTitle = '编辑'
|
||||||
if (res.data.leftString === '' && res.data.rightString === '') {
|
if ((res.data.leftString === '' && res.data.rightString === '') || (res.data.leftString === [] && res.data.rightString === [])) {
|
||||||
this.BDtext = true
|
this.BDtext = true
|
||||||
} else if (!row.itemsId || !row.itemsId2) {
|
} else if (!row.itemsId || !row.itemsId2) {
|
||||||
this.BDtext = true
|
this.BDtext = true
|
||||||
} else {
|
} else {
|
||||||
this.BDtext = false
|
this.BDtext = false
|
||||||
this.leftData = res.data.leftString
|
this.leftData = Array.isArray(res.data.leftString) ? res.data.leftString.join('') : res.data.leftString
|
||||||
this.rightData = res.data.rightString
|
this.rightData = Array.isArray(res.data.rightString) ? res.data.rightString.join('') : res.data.rightString
|
||||||
this.similarityDegree = res.data.similarityDegree
|
this.similarityDegree = res.data.similarityDegree
|
||||||
}
|
}
|
||||||
this.plForm = {
|
this.plForm = {
|
||||||
|
|||||||
Reference in New Issue
Block a user