From ab93488683042f1bdfe58f0d0b1ac4e9cbc2ee06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E6=96=8C?= <1134087124@qq.com> Date: Tue, 23 Sep 2025 09:15:13 +0800 Subject: [PATCH] fixbug --- public/static/loading.css | 8 +- src/router/common.routes.js | 18 +- src/router/workbench.routes.js | 17 +- .../workbench/components/oaWorkbench.vue | 1817 ----------------- src/views/workbench/components/quickIndex.vue | 880 -------- src/views/workbench/index.vue | 8 +- vite.config.js | 1 - 7 files changed, 11 insertions(+), 2738 deletions(-) delete mode 100644 src/views/workbench/components/oaWorkbench.vue delete mode 100644 src/views/workbench/components/quickIndex.vue diff --git a/public/static/loading.css b/public/static/loading.css index 618ab10..d2234ed 100644 --- a/public/static/loading.css +++ b/public/static/loading.css @@ -3,10 +3,10 @@ .first-loading-wrp .content { box-sizing: content-box!important; - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); overflow: hidden; display: flex; align-items: center; diff --git a/src/router/common.routes.js b/src/router/common.routes.js index 7c0aff6..818b464 100644 --- a/src/router/common.routes.js +++ b/src/router/common.routes.js @@ -19,22 +19,8 @@ const commonRoute = [ }, component: () => import("../views/workbench/index"), }, - { - path: "/szhWorkBentch", - name: "SzhWorkBentch", - meta: { - title: "数字化工作台", - }, - component: () => import("../views/workbench/components/quickIndex"), - }, - { - path: "/jzWorkBentch", - name: "JzWorkBentch", - meta: { - title: "鉴证科工作台", - }, - component: () => import("../views/workbench/components/quickIndex"), - }, + + { path: "/masterBench", name: "MasterBench", diff --git a/src/router/workbench.routes.js b/src/router/workbench.routes.js index 5ccf44c..8428e09 100644 --- a/src/router/workbench.routes.js +++ b/src/router/workbench.routes.js @@ -1,22 +1,7 @@ /* 工作台模块-----路由 */ const workbenchRoute = [ - { - path: "/szhWorkBentch", - name: "SzhWorkBentch", - meta: { - title: "数字化工作台", - }, - component: () => import("../views/workbench/components/quickIndex"), - }, - { - path: "/jzWorkBentch", - name: "JzWorkBentch", - meta: { - title: "鉴证科工作台", - }, - component: () => import("../views/workbench/components/quickIndex"), - }, + { path: "/masterBench", name: "MasterBench", diff --git a/src/views/workbench/components/oaWorkbench.vue b/src/views/workbench/components/oaWorkbench.vue deleted file mode 100644 index b5b7c94..0000000 --- a/src/views/workbench/components/oaWorkbench.vue +++ /dev/null @@ -1,1817 +0,0 @@ - - - - - - - 今日 - {{ moment().format("YYYY年M月DD日") }} - {{ weekDay }} - - - - - - - - - - - - 添加绑定打卡机 - 解绑打卡机 - - - 导出 - - > - - - - - - - - - {{ record[column.dataIndex] == false ? "异常" : "正常" }} - - - {{ record[column.dataIndex] }} - - - - - - - - - 详情 - - - - - - - - {{ - record.ApplyTimes[0].Date + - " " + - record.ApplyTimes[0].Hour + - " " + - record.ApplyTimes[0].M - }} - - - - - {{ - record.ApplyTimes[1].Date + - " " + - record.ApplyTimes[1].Hour + - " " + - record.ApplyTimes[1].M - }} - - - - - {{ record.Days || record.Hours }} - - - - - 材料{{ index + 1 }}: - - - - {{ item }} - - - - - - - - - - - - - - - 离职 - - 在职 - - - - {{ record.LeftDate }} - 修改 - - 离职 - - - - 删除 - - - - - - - - - - - 新增员工 - - - - - - - - - - - {{ state.searchData.month }} - - - 有{{ state.outWorkTotal }}次外勤申请 - - - 核对 - - - - - - - {{ state.searchData.month }} - - - 有{{ state.makeUpTotal }}次补卡申请 - - 查看 - - - - - - - 有{{ - state.fullAttendance - }}名员工 - - - 本月全勤 - - - - - - - - 有{{ state.abnormal }}人存在异常 - - - 本月内 - - - - - - - - - - - - - - - - {{ state.actType == "add" ? "添加绑定打卡机" : "解除绑定打卡机" }} - - - - 打卡机 - - - - {{ item.label }} - - - - - - - - - - - - - diff --git a/src/views/workbench/components/quickIndex.vue b/src/views/workbench/components/quickIndex.vue deleted file mode 100644 index b13bcd2..0000000 --- a/src/views/workbench/components/quickIndex.vue +++ /dev/null @@ -1,880 +0,0 @@ - - - - - - {{ - checked ? "已完成" : "未完成" - }} - 导出画作数据 - 批量上传 - 添加 - - - - handleUpload(Signpic.text, e, 'Signpic')" - /> - - - - - handleLayoutUpload(e, 'DigiArtImg', DigiArtImg.text) - " - /> - - - - - handleUpload(Sealpic.text, e, 'Sealpic')" - /> - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index 4dbc325..d7ea3d5 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -1,9 +1,9 @@ - + - + @@ -12,9 +12,9 @@