Commit 4cfd0a61 authored by 廖旭伟's avatar 廖旭伟

Merge remote-tracking branch 'origin/master'

parents 6918630e 619b968b
......@@ -400,6 +400,7 @@ export default {
siteId: local.getLocal("siteId"),
deptData: [], // 部门数据
windowData: [], // 窗口数据
windowFilterData: [], // 过滤工作人员所属窗口数据
WorkmanData: [], // 工作人员列表
deptSearch: "", //部门搜索
windowSearch: "", // 窗口搜索
......@@ -445,6 +446,9 @@ export default {
});
let { data } = res.data.data;
this.windowData = data;
if (!this.deptSearch) {
this.windowFilterData = data;
}
},
// 获取工作人员列表
async getWorkmanData(search = {}) {
......@@ -639,7 +643,12 @@ export default {
},
// 过滤窗口
filterWindow(id) {
return this.windowData.find((v) => v.id == id).fromnum;
let fromnum = "--";
let row = this.windowFilterData.find((v) => v.id == id);
if (row) {
fromnum = row.fromnum;
}
return fromnum;
},
},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment