From 6f29427894e117b41c8b6a589fb55f0ac298f739 Mon Sep 17 00:00:00 2001 From: liang <594755172@qq.com> Date: Thu, 8 Jan 2026 17:03:30 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=A2=9E=E5=8A=A0=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=97=A5=E5=8E=86=E7=9A=84=E6=98=BE=E7=A4=BA=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=EF=BC=9B=202.=20=E5=A2=9E=E5=8A=A0=E4=B8=80=E9=94=AE=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=88=9B=E5=BB=BA=E4=B8=8E=E5=88=86=E9=85=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/stand.js | 20 +- src/layout/standSettings.vue | 46 ++++ src/layout/workDateTable.vue | 366 ++++++++++++++++++++++++++ src/layout/workSummary.vue | 491 ++++++++++++++++++----------------- src/router/index.js | 2 +- 5 files changed, 679 insertions(+), 246 deletions(-) create mode 100755 src/layout/workDateTable.vue diff --git a/src/api/stand.js b/src/api/stand.js index 9deb18d..dc1c9f2 100644 --- a/src/api/stand.js +++ b/src/api/stand.js @@ -16,7 +16,25 @@ const updateStandInfo = (params) => { }) } +const switchToCreate = (params) => { + return request({ + url: '/stand/switchToCreate', + method: 'post', + data: params + }) +} + +const switchToDistribute = (params) => { + return request({ + url: '/stand/switchToDistribute', + method: 'post', + data: params + }) +} + export { getStandsByPage, - updateStandInfo + updateStandInfo, + switchToCreate, + switchToDistribute } \ No newline at end of file diff --git a/src/layout/standSettings.vue b/src/layout/standSettings.vue index 2dffe82..969b91b 100644 --- a/src/layout/standSettings.vue +++ b/src/layout/standSettings.vue @@ -13,6 +13,8 @@ placeholder="是否允许平地机" :options="yesOrNoOptions" @change="search()"> 搜索 重置 + 一键切换创建工作 + 一键切换分配工作 @@ -156,6 +158,10 @@ import {Search} from '@element-plus/icons-vue' import zhCn from 'element-plus/dist/locale/zh-cn.mjs' + + + \ No newline at end of file diff --git a/src/layout/workSummary.vue b/src/layout/workSummary.vue index 73cb86e..f3d611c 100644 --- a/src/layout/workSummary.vue +++ b/src/layout/workSummary.vue @@ -1,306 +1,309 @@ - - - - - - - - - - - + + + + + + + + + + - 搜索 - 重置 - - - 导出 - - - - 搜索 + 重置 + + + 导出 + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index ac7696b..eb92efa 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -44,7 +44,7 @@ const routes = [ { path: '/stockUpdateRecord', component: () => import('@/layout/stockUpdateRecord.vue') },// 库存更新记录 { path: '/roleUser', component: () => import('@/layout/role_user.vue') },// 角色——用户列表 { path: '/rolePermission', component: () => import('@/layout/role_permission.vue') },// 角色——权限列表 - + { path: '/workDateTable', component: () => import('@/layout/workDateTable.vue') },// 工作日历 ] }, {