diff --git a/src/api/model/hrm.js b/src/api/model/hrm.js index 09c8c1ca..1ae804c6 100644 --- a/src/api/model/hrm.js +++ b/src/api/model/hrm.js @@ -89,4 +89,15 @@ export default { } } }, + clock_record: { + list: { + name: "打卡记录", + req: async function(data){ + return await http.get( + `${config.API_URL}/hrm/clock_record/`, + data + ); + } + }, + } } diff --git a/src/config/route.js b/src/config/route.js index daf30c5b..fa5cf8e5 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -612,6 +612,16 @@ const routes = [ "component": "hrm/certificate" } , + { + "name": "clockRecord", + "path": "/hrm/clock_record", + "meta": { + "title": "打卡记录", + "icon": "el-icon-check", + "perms": ["clock_record"] + }, + "component": "hrm/clock_record" + }, { "name": "certificate", "path": "/hrm/certificate", diff --git a/src/views/am/monitor.vue b/src/views/am/monitor.vue index 1c29351e..5faead09 100644 --- a/src/views/am/monitor.vue +++ b/src/views/am/monitor.vue @@ -139,7 +139,6 @@ export default { return { apiObj: this.$API.am.video.list, apiParams: { - "channelTypeList": ["1"] }, pageStr: "pageNum", pageSizeStr: "pageSize", diff --git a/src/views/ecm/event_handlefrom.vue b/src/views/ecm/event_handlefrom.vue index 303e6add..6cc0db45 100644 --- a/src/views/ecm/event_handlefrom.vue +++ b/src/views/ecm/event_handlefrom.vue @@ -23,8 +23,8 @@
- - + +
diff --git a/src/views/hrm/clock_record.vue b/src/views/hrm/clock_record.vue new file mode 100644 index 00000000..c5654279 --- /dev/null +++ b/src/views/hrm/clock_record.vue @@ -0,0 +1,75 @@ + + diff --git a/src/views/hrm/employee.vue b/src/views/hrm/employee.vue index bcc42b7e..745b6311 100644 --- a/src/views/hrm/employee.vue +++ b/src/views/hrm/employee.vue @@ -42,18 +42,15 @@