diff --git a/hb_client/src/api/hrm.js b/hb_client/src/api/hrm.js new file mode 100644 index 0000000..beca22f --- /dev/null +++ b/hb_client/src/api/hrm.js @@ -0,0 +1,15 @@ +import request from '@/utils/request' +export function faceLogin(data) { + return request({ + url: '/hrm/facelogin/', + method: 'post', + data + }) +} +export function clockRecord(data) { + return request({ + url: '/hrm/clock_record/', + method: 'post', + data + }) +} diff --git a/hb_client/src/components/faceLogin/tracking.vue b/hb_client/src/components/faceLogin/tracking.vue index 4ef978b..bb11c75 100644 --- a/hb_client/src/components/faceLogin/tracking.vue +++ b/hb_client/src/components/faceLogin/tracking.vue @@ -10,8 +10,7 @@ diff --git a/hb_client/src/views/qm/producttest.vue b/hb_client/src/views/qm/producttest.vue index c8e9e87..763842d 100644 --- a/hb_client/src/views/qm/producttest.vue +++ b/hb_client/src/views/qm/producttest.vue @@ -96,6 +96,14 @@ + + + + + +