diff --git a/public/glb/photon4.glb b/public/glb/photon4.glb new file mode 100644 index 00000000..1090c305 Binary files /dev/null and b/public/glb/photon4.glb differ diff --git a/src/api/model/hrm.js b/src/api/model/hrm.js index 7b21e21e..5f55e757 100644 --- a/src/api/model/hrm.js +++ b/src/api/model/hrm.js @@ -117,5 +117,48 @@ export default { ); } } + }, + attendance:{ + list: { + name: "列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/hrm/attendance/`, + data + ); + } + }, + item: { + name: "到岗记录", + req: async function(id){ + return await http.get( + `${config.API_URL}/hrm/attendance/${id}/`, + ); + } + }, + create: { + name: "新增", + req: async function(data){ + return await http.post( + `${config.API_URL}/hrm/attendance/`, + data); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/hrm/attendance/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/hrm/attendance/${id}/` + ); + } + } } } diff --git a/src/config/route.js b/src/config/route.js index 5ce39bc1..7e36f495 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -1611,8 +1611,7 @@ const routes = [ "perms": ["certificate"] }, "component": "hrm/certificate" - } - , + }, { "name": "clockRecord", "path": "/hrm/clock_record", @@ -1623,6 +1622,16 @@ const routes = [ }, "component": "hrm/clock_record" }, + { + "name": "attendance", + "path": "/hrm/attendance", + "meta": { + "title": "到岗记录", + "icon": "el-icon-check", + "perms": ["attendance_record"] + }, + "component": "hrm/attendance" + }, { "name": "certificate", "path": "/hrm/certificate", diff --git a/src/style/youShe.ttf b/src/style/youShe.ttf new file mode 100644 index 00000000..3729151a Binary files /dev/null and b/src/style/youShe.ttf differ diff --git a/src/views/bigScreen/index_10dept.vue b/src/views/bigScreen/index_10dept.vue index fad518b1..acc818ae 100644 --- a/src/views/bigScreen/index_10dept.vue +++ b/src/views/bigScreen/index_10dept.vue @@ -1,7 +1,7 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/bigScreen/index_6dept.vue b/src/views/bigScreen/index_6dept.vue index 213b801d..0c9cb30a 100644 --- a/src/views/bigScreen/index_6dept.vue +++ b/src/views/bigScreen/index_6dept.vue @@ -1,7 +1,7 @@