From b7f29bd8f1f0070c46e8187f41f2737f9d817b1b Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期五, 01 三月 2024 14:37:55 +0800 Subject: [PATCH] 超限报警设备编号条件查询 --- src/store/modules/Departs.js | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/store/modules/Departs.js b/src/store/modules/Departs.js index f1835e5..2189cd2 100644 --- a/src/store/modules/Departs.js +++ b/src/store/modules/Departs.js @@ -2,9 +2,9 @@ import { queryTreeListByDepart } from "@/api/Tree" import { SYS_DEPART } from "@/store/mutation-types" import { getAction } from '@/api/manage' - -const Depart = { +const Departs = { state: { + token: '', //閮ㄩ棬鏍� DepartTree:[] @@ -25,7 +25,6 @@ QueryDepart({ commit }) { return new Promise((resolve, reject) => { getAction("/mdc/mdcEquipment/queryTreeListByDepart").then(response => { - console.log("----閮ㄩ棬鏍�--------",response); if(response.success){ const result = response.result Vue.ls.set(SYS_DEPART, result) @@ -44,4 +43,4 @@ } } -export default Depart \ No newline at end of file +export default Departs \ No newline at end of file -- Gitblit v1.9.3