diff --git a/.eslintrc.js b/.eslintrc.js index 7ff6239..9985178 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -34,6 +34,7 @@ module.exports = { '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', 'vue/no-multiple-template-root': 'off', + 'vue/no-v-model-argument': 'off', 'no-useless-escape': 'off', 'vue/html-self-closing': [ 'error', diff --git a/index.html b/index.html index e2a940b..9ba8b3b 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + diff --git a/src/api/getApi.ts b/src/api/getApi.ts index 1e69fac..ffecda7 100644 --- a/src/api/getApi.ts +++ b/src/api/getApi.ts @@ -66,3 +66,11 @@ export function getSerialNum() { method: 'GET' }) } + +export function getWorkerAttendance(params: any) { + return defaultRequest.request({ + url: '/sys/person/attendance', + method: 'GET', + params + }) +} diff --git a/src/api/type.ts b/src/api/type.ts index c30463d..8dfb05d 100644 --- a/src/api/type.ts +++ b/src/api/type.ts @@ -7,6 +7,7 @@ interface BaseReturnType { interface dataStructure { result?: any code: number + total: number } export interface ReutrnDataType extends BaseReturnType { diff --git a/src/components/Button/src/Button.vue b/src/components/Button/src/Button.vue index 59c3d4a..a576302 100644 --- a/src/components/Button/src/Button.vue +++ b/src/components/Button/src/Button.vue @@ -3,14 +3,14 @@ * @Autor: YDKD * @Date: 2022-04-01 10:57:59 * @LastEditors: YDKD - * @LastEditTime: 2022-04-07 14:58:26 + * @LastEditTime: 2022-04-07 17:52:39 -->