WIN-B904R0U0NNS\Administrator hace 2 años
padre
commit
5c46529f4b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/views/settings/components/modules/dictionaryInfoLeft.vue

+ 3 - 1
src/views/settings/components/modules/dictionaryInfoLeft.vue

@@ -39,9 +39,11 @@
 
             queryTreeData(keyword) {
                 console.log('获取数据')
+                let storeInfo = JSON.parse(localStorage.getItem("storeInfo"))
                 this.commonRequestThen(queryBusDictTreeList({
                     departName: keyword ? keyword : undefined,
-                    ids: this.dictId ? this.dictId : undefined
+                    ids: this.dictId ? this.dictId : undefined,
+                    hotelId: storeInfo ? storeInfo.id : undefined
                 }))
             },