From c2d2e2405b5f9bd4b9353f123cca042acbb3401d Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 21 Jan 2022 17:14:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E8=AE=B0=E5=BD=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=93=8D=E4=BD=9C=E4=BA=BA=E9=A6=96=E9=A1=B5=E5=BE=AE?= =?UTF-8?q?=E8=B0=83=E5=88=B7=E8=84=B8=E7=AD=BE=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_client/src/api/hrm.js | 15 ++++ .../src/components/faceLogin/tracking.vue | 36 ++------ hb_client/src/router/index.js | 2 +- hb_client/src/views/dashboard/index.vue | 84 +++++++++++++++++-- hb_client/src/views/qm/producttest.vue | 54 +++++++++--- hb_client/src/views/qm/taskrecordfrom.vue | 28 ++++++- hb_client/src/views/wpm/need.vue | 26 +++++- 7 files changed, 192 insertions(+), 53 deletions(-) create mode 100644 hb_client/src/api/hrm.js 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 @@ + + + + + +