소스 검색

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
                 }))
             },