yunxing 4 年之前
父節點
當前提交
381d7ce64d
共有 1 個文件被更改,包括 3 次插入10 次删除
  1. 3 10
      src/views/equipmentFacilities/ElectricWell.vue

+ 3 - 10
src/views/equipmentFacilities/ElectricWell.vue

@@ -178,16 +178,9 @@ export default {
                 orderBy: `floor,1;welldesm,1;meterbox,1;`,
                 plazaId: this.plazaId,
             }
-            //  getParams.keyword = ''
-            // if (this.welldes) {
-            //     getParams.keyword += `${this.welldes}:welldes;`
-            // }
-            // if (this.shopsnum) {
-            //     getParams.keyword += `${this.shopsnum}:shopsnumList;`
-            // }
-            // if (getParams.keyword == '') {
-            //     delete getParams.keyword
-            // }
+            if (this.keyword) {
+                getParams.keyword = `${this.keyword}:welldes,shopsnumList;`
+            }
             let resData = await queryShops({ getParams })
             console.log(resData)
             if (!resData && !resData?.data) {