diff --git a/src/pages/localTool/standContrast/pages/comparisonClauses.vue b/src/pages/localTool/standContrast/pages/comparisonClauses.vue
index d43bfe37b..605f9eb58 100644
--- a/src/pages/localTool/standContrast/pages/comparisonClauses.vue
+++ b/src/pages/localTool/standContrast/pages/comparisonClauses.vue
@@ -57,7 +57,9 @@
-
+
+
+
@@ -110,7 +112,9 @@
-
+
+
+
@@ -206,6 +210,7 @@ export default {
})
}
this.spinShow = true
+
let itemsEoPage = {
oldItemId: this.saveItemId,
newItemId: this.saveItemIdRight,
@@ -215,8 +220,18 @@ export default {
_this: this
}, res => {
this.comparisonFlag = '2'
- this.leftString = res.data.leftString
- this.rightString = res.data.rightString
+ this.leftString = []
+ 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
if (parseFloat(res.data.similarityDegree) < parseFloat('75%')) {
this.textcontent = '不相似'
diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
index 42aac9d03..623c3b029 100644
--- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
@@ -546,7 +546,7 @@
class="add-form-item"
>
标准体系
-
diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
index 94d17a0fe..6f0635a76 100644
--- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
@@ -1030,7 +1030,7 @@
class="add-form-item"
>
标准体系
-
@@ -3045,7 +3045,16 @@ export default {
this.sarStandardsInfoEO = JSON.parse(JSON.stringify(item))
this.defaultCheckedKeys = [this.sarStandardsInfoEO.standSystem];
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
if (this.sarStandardsInfoEO.putTime != null && this.sarStandardsInfoEO.putTime !== '') {