zhulizhen1111 4 years ago
parent
commit
2b8a1d274d

+ 5 - 0
src/components/Legend/src/legend.vue

@@ -204,6 +204,11 @@ export default {
                 }
             },
             deep: true
+        },
+        '$refs.viewLengend':{
+            handler(newV,oldV) {
+                this.$refs.viewLengend.setSelected()
+            }
         }
     },
     methods: {

+ 1 - 1
src/views/equipment/table/eqDetaileDialog.vue

@@ -239,7 +239,7 @@ export default {
             //输入框搜索
             data.keyword = ''
             if (this.sbjc) {
-                data.keyword += `${this.sbglgs}:sbjc,assetnum;`
+                data.keyword += `${this.sbjc}:type_name,assetnum;`
             }
             if (this.brand) {
                 data.keyword += `${this.brand}:brand,sbxh;`

+ 1 - 1
src/views/equipment/table/eqListTable.vue

@@ -141,7 +141,7 @@ export default {
                 data.keyword += `${this.keyword}:brand,sbxh;`
             }
             if (this.sbjc) {
-                data.keyword += `${this.sbjc}:sbjc;`
+                data.keyword += `${this.sbjc}:type_name;`
             }
             if (this.manufacturer) {
                 data.keyword += `${this.manufacturer}:manufacturer;`

+ 1 - 1
src/views/equipment/table/standTable.vue

@@ -152,7 +152,7 @@ export default {
                 data.keyword += `${this.keyword}:brand,sbxh;`
             }
             if (this.sbjc) {
-                data.keyword += `${this.sbjc}:sbjc;`
+                data.keyword += `${this.sbjc}:type_name;`
             }
             if (this.manufacturer) {
                 data.keyword += `${this.manufacturer}:manufacturer;`