diff --git a/build/vite/index.ts b/build/vite/index.ts index 7d3aa5be..0e721ce9 100644 --- a/build/vite/index.ts +++ b/build/vite/index.ts @@ -98,7 +98,7 @@ export function createVitePlugins() { deleteOriginFile: false //压缩后是否删除源文件 }), ViteEjsPlugin(), - topLevelAwait({ + topLevelAwait({ // https://juejin.cn/post/7152191742513512485 // The export name of top-level await promise for each chunk module promiseExportName: '__tla', // The function to generate import names of top-level await promise in each chunk module diff --git a/package.json b/package.json index b7629029..6309ddc9 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "build:dev": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode dev", "build:test": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode test", "build:static": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode static", + "build:front": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode front", "serve:pro": "vite preview --mode pro", "serve:dev": "vite preview --mode dev", "serve:test": "vite preview --mode test", diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 92625cdc..2dc9522d 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -317,18 +317,6 @@ const remainingRouter: AppRouteRecordRaw[] = [ title: '查看 OA 请假', activeMenu: 'bpm/oa/leave/detail' } - }, - { - path: '/bpm/task/done', - component: () => import('@/views/bpm/task/done/index.vue'), - name: 'TaskDone', - meta: { - noCache: true, - hidden: true, - canTo: true, - title: '已办任务', - activeMenu: 'bpm/task/done/index' - } } ] }, diff --git a/src/views/bpm/task/done/Taskdetail.vue b/src/views/bpm/task/done/TaskDetail.vue similarity index 84% rename from src/views/bpm/task/done/Taskdetail.vue rename to src/views/bpm/task/done/TaskDetail.vue index cef57cb7..4c293c17 100644 --- a/src/views/bpm/task/done/Taskdetail.vue +++ b/src/views/bpm/task/done/TaskDetail.vue @@ -1,5 +1,5 @@ diff --git a/src/views/bpm/task/done/index.vue b/src/views/bpm/task/done/index.vue index 735f4edc..75ba0fef 100644 --- a/src/views/bpm/task/done/index.vue +++ b/src/views/bpm/task/done/index.vue @@ -14,36 +14,30 @@ placeholder="请输入任务名称" clearable @keyup.enter="handleQuery" + class="!w-240px" /> - - - - + + 搜索 重置 - - 导出 - + - + @@ -63,8 +57,8 @@ /> @@ -76,46 +70,28 @@ @pagination="getList" /> + - +