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 @@ + + - 总量 + 有效来信数 + + + + + + - - - + 信件办理 + + + @@ -213,7 +220,13 @@ - + + + + {{ item }} + + + 详情 @@ -399,15 +412,9 @@ function getList() { if (useRouterParams.params.mailState) query.value.mailState = useRouterParams.params.mailState - //特定请求携带参数 - if (useRouterParams.params.signDeptId) - query.value.signDeptId = useRouterParams.params.signDeptId - if (useRouterParams.params.deptId) { query.value.deptId = useRouterParams.params.deptId } - if (useRouterParams.params.signRoleId) - query.value.signRoleId = useRouterParams.params.signRoleId if (useRouterParams.params.mailCategory) query.value.mailCategory = useRouterParams.params.mailCategory @@ -473,7 +480,6 @@ function getList() { } //清除隐藏参数 delete query.value.signDeptId - delete query.value.signRoleId }); } diff --git a/src/views/work/components/ConfirmedCompletion.vue b/src/views/work/components/ConfirmedCompletion.vue index 11333ae..58cda12 100644 --- a/src/views/work/components/ConfirmedCompletion.vue +++ b/src/views/work/components/ConfirmedCompletion.vue @@ -344,12 +344,7 @@ h2 { margin-bottom: 16px; color: #333; } -.col { - label { - width: 160px; - text-align: right; - } -} + .el-divider--horizontal { margin: 10px 0; } diff --git a/src/views/work/components/MailDialog.vue b/src/views/work/components/MailDialog.vue index fc7bffe..022c5a1 100644 --- a/src/views/work/components/MailDialog.vue +++ b/src/views/work/components/MailDialog.vue @@ -105,8 +105,8 @@ - 信件分类 - + 信件分类 + - 省厅下发意见 {{ mail.distributeComment }} - - + 附件材料 - 市州下发意见 {{ mail.firstDistributeComment }} - - + 附件材料 - + 县市区主责单位 {{ @@ -368,7 +370,7 @@ - 县市区下发意见 {{ mail.secondDistributeComment }} - - + 附件材料 - + 三级主责单位 {{ @@ -433,7 +436,7 @@ 信件已退回 - - 退回单位 + + 退回单位 {{ item.handlerDeptName }} @@ -44,9 +44,7 @@ const props = defineProps({ const expand = ref(false);