From 67a31c9faebae8e18828139652e854a91ddf9c6a Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Thu, 6 Nov 2025 16:39:50 +0800 Subject: [PATCH] 251106 --- src/api/setting/dict.ts | 5 + src/components/DictTreeSelect.vue | 28 +++++ src/permission.ts | 1 - src/style/public.scss | 7 +- src/views/data/data.vue | 8 +- src/views/work/Query.vue | 30 +++-- .../work/components/ConfirmedCompletion.vue | 7 +- src/views/work/components/MailDialog.vue | 43 ++++---- .../work/components/MailReturnDetail.vue | 8 +- .../components/templates/CompletionDetail.vue | 6 +- .../components/templates/ThreeHandling.vue | 103 ++++++++++++++---- .../templates/ThreeHandlingDetail.vue | 19 +++- 12 files changed, 188 insertions(+), 77 deletions(-) create mode 100644 src/components/DictTreeSelect.vue diff --git a/src/api/setting/dict.ts b/src/api/setting/dict.ts index 1d5d2a8..cc7f16d 100644 --- a/src/api/setting/dict.ts +++ b/src/api/setting/dict.ts @@ -59,3 +59,8 @@ export function dictDataEdit(params: any) { export function dictDataDelete(params: any) { return request.post({ url: '/setting/dict/data/del', params }) } + + +export function dictDataTree(type) { + return request.get({ url: '/setting/dict/data/tree?type=' + type }) +} diff --git a/src/components/DictTreeSelect.vue b/src/components/DictTreeSelect.vue new file mode 100644 index 0000000..a241e11 --- /dev/null +++ b/src/components/DictTreeSelect.vue @@ -0,0 +1,28 @@ + + \ No newline at end of file diff --git a/src/permission.ts b/src/permission.ts index 6d538b7..2d7adb8 100644 --- a/src/permission.ts +++ b/src/permission.ts @@ -57,7 +57,6 @@ router.beforeEach(async (to, from, next) => { // 动态添加index路由 router.addRoute(INDEX_ROUTE) - console.log(routes) routes.forEach((route: any) => { // https 则不插入 if (isExternal(route.path)) { diff --git a/src/style/public.scss b/src/style/public.scss index 51af0d3..235e140 100644 --- a/src/style/public.scss +++ b/src/style/public.scss @@ -298,17 +298,20 @@ svg+span { .col { display: flex; gap: 16px; - + --label-width: 60px; &.short { width: 140px; } label { color: #888; + width: var(--label-width); + text-align: right; } - >span { + > span { color: #222; + width: calc(100% - var(--label-width) - 16px); } } diff --git a/src/views/data/data.vue b/src/views/data/data.vue index d93c742..f013c93 100644 --- a/src/views/data/data.vue +++ b/src/views/data/data.vue @@ -62,10 +62,16 @@ + + - + + +