diff --git a/public/img/left_arrow.png b/public/img/left_arrow.png new file mode 100644 index 00000000..3957dd1e Binary files /dev/null and b/public/img/left_arrow.png differ diff --git a/public/img/v_track.png b/public/img/v_track.png new file mode 100644 index 00000000..a1b80150 Binary files /dev/null and b/public/img/v_track.png differ diff --git a/public/img/v_view.png b/public/img/v_view.png new file mode 100644 index 00000000..c1e424ed Binary files /dev/null and b/public/img/v_view.png differ diff --git a/src/api/model/hrm.js b/src/api/model/hrm.js index 714bba48..f3d0d18c 100644 --- a/src/api/model/hrm.js +++ b/src/api/model/hrm.js @@ -12,6 +12,14 @@ export default { ); } }, + item: { + name: "获取企业员工", + req: async function(id){ + return await http.get( + `${config.API_URL}/hrm/employee/${id}/`, + ); + } + }, create: { name: "新增员工", req: async function(data){ diff --git a/src/api/model/system.js b/src/api/model/system.js index b8eff89a..8225a7c9 100644 --- a/src/api/model/system.js +++ b/src/api/model/system.js @@ -341,8 +341,8 @@ export default { list: { url: `${config.API_URL}/system/user_post/`, name: "用户/岗位关系", - req: async function(params){ - return await http.get(this.url, params); + req: async function(data){ + return await http.get(this.url, data); } }, create: { diff --git a/src/api/model/third.js b/src/api/model/third.js index 0ee19e60..05831b4b 100644 --- a/src/api/model/third.js +++ b/src/api/model/third.js @@ -14,4 +14,35 @@ export default { }, }, + blt:{ + all:{ + name: "全部在线标签列表信息", + req: async function(data){ + return await http.post( + `${config.API_URL}/third/tdevice/blt/all/`, + data + ); + } + }, + countBind:{ + name: "统计绑定定位卡人/设备数", + req: async function(data){ + return await http.get( + `${config.API_URL}/third/tdevice/blt/count_bind/`, + data + ); + } + }, + countNow:{ + name: "统计在厂终端数", + req: async function(data){ + return await http.get( + `${config.API_URL}/third/tdevice/blt/count_now/`, + data + ); + } + } + + }, + } diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue index ec424bd6..600de877 100644 --- a/src/views/bigScreen/index.vue +++ b/src/views/bigScreen/index.vue @@ -2,7 +2,7 @@