diff --git a/gear-ui3/src/App.vue b/gear-ui3/src/App.vue index 47ef027..91444df 100644 --- a/gear-ui3/src/App.vue +++ b/gear-ui3/src/App.vue @@ -14,7 +14,7 @@ const isDark = useDark() onMounted(() => { nextTick(() => { console.log(isDark.value) - if (!isDark.value) { + if (isDark.value) { useSettingsStore().toggleTheme() } handleThemeStyle(useSettingsStore().theme) diff --git a/gear-ui3/src/api/oa/attendancePieceDetail.js b/gear-ui3/src/api/oa/attendancePieceDetail.js new file mode 100644 index 0000000..83249f9 --- /dev/null +++ b/gear-ui3/src/api/oa/attendancePieceDetail.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询考勤计件明细 - 记录具体工件的数量和单价信息列表 +export function listAttendancePieceDetail(query) { + return request({ + url: '/oa/attendancePieceDetail/list', + method: 'get', + params: query + }) +} + +// 查询考勤计件明细 - 记录具体工件的数量和单价信息详细 +export function getAttendancePieceDetail(detailId) { + return request({ + url: '/oa/attendancePieceDetail/' + detailId, + method: 'get' + }) +} + +// 新增考勤计件明细 - 记录具体工件的数量和单价信息 +export function addAttendancePieceDetail(data) { + return request({ + url: '/oa/attendancePieceDetail', + method: 'post', + data: data + }) +} + +// 修改考勤计件明细 - 记录具体工件的数量和单价信息 +export function updateAttendancePieceDetail(data) { + return request({ + url: '/oa/attendancePieceDetail', + method: 'put', + data: data + }) +} + +// 删除考勤计件明细 - 记录具体工件的数量和单价信息 +export function delAttendancePieceDetail(detailId) { + return request({ + url: '/oa/attendancePieceDetail/' + detailId, + method: 'delete' + }) +} diff --git a/gear-ui3/src/components/AllApplications.vue b/gear-ui3/src/components/AllApplications.vue index 994e142..5b92dc8 100644 --- a/gear-ui3/src/components/AllApplications.vue +++ b/gear-ui3/src/components/AllApplications.vue @@ -1,5 +1,5 @@ diff --git a/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue b/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue index 5ada332..4b928c3 100644 --- a/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue +++ b/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue @@ -1,7 +1,13 @@ - + + + + + + + + + + diff --git a/gear-ui3/src/views/peoples/attendance/components/detail.vue b/gear-ui3/src/views/peoples/attendance/components/detail.vue new file mode 100644 index 0000000..4128e34 --- /dev/null +++ b/gear-ui3/src/views/peoples/attendance/components/detail.vue @@ -0,0 +1,259 @@ + + + diff --git a/gear-ui3/src/views/product/info/index.vue b/gear-ui3/src/views/product/info/index.vue index 19e0b9d..272e3da 100644 --- a/gear-ui3/src/views/product/info/index.vue +++ b/gear-ui3/src/views/product/info/index.vue @@ -50,6 +50,11 @@ + + +