浏览代码

no message

WIN-B904R0U0NNS\Administrator 2 年之前
父节点
当前提交
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
                 }))
             },