WIN-B904R0U0NNS\Administrator лет назад: 2
Родитель
Сommit
5c46529f4b
1 измененных файлов с 3 добавлено и 1 удалено
  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
                 }))
             },