From a9f005e2af294c47d7cd1e4b6ed401bf65f5b080 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期二, 04 三月 2025 16:44:09 +0800 Subject: [PATCH] art: 所有设备 台账 二保工单 根据设备id查询二保工单,并过滤掉已完成和已取消的二保工单 --- 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