From 21813293163b148d84a52af88dd5216b204f2eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E5=87=AF?= <2448379534@qq.com> Date: Wed, 29 Apr 2026 10:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E5=85=B8=E7=BB=9F=E4=B8=80=E5=8F=98?= =?UTF-8?q?=E5=8A=A8=EF=BC=8C=E9=87=8D=E7=BD=AE=E5=AF=86=E7=A0=81=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E7=94=A8=E6=88=B7=E5=AE=A1=E6=A0=B8=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=EF=BC=8C=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BC=98=E5=8C=96=EF=BC=8C=E5=AE=A1=E6=89=B9=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E6=B3=A8=E5=86=8C=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/register/index.vue | 41 +++++---- .../{ => shengPiJiLu}/approvalLogSearch.vue | 0 .../{ => shengPiJiLu}/changeLogSearch.vue | 0 .../index.vue} | 91 +++++++++---------- .../{ => shengPiJiLu}/shengPiJiLuSearch.vue | 2 +- frontend/src/views/system/review/index.vue | 82 ++++++++++++----- 6 files changed, 123 insertions(+), 93 deletions(-) rename frontend/src/views/shuJuTianBao/{ => shengPiJiLu}/approvalLogSearch.vue (100%) rename frontend/src/views/shuJuTianBao/{ => shengPiJiLu}/changeLogSearch.vue (100%) rename frontend/src/views/shuJuTianBao/{shengPiJiLu.vue => shengPiJiLu/index.vue} (84%) rename frontend/src/views/shuJuTianBao/{ => shengPiJiLu}/shengPiJiLuSearch.vue (96%) diff --git a/frontend/src/views/register/index.vue b/frontend/src/views/register/index.vue index 910f9d3..3236617 100644 --- a/frontend/src/views/register/index.vue +++ b/frontend/src/views/register/index.vue @@ -96,15 +96,16 @@ + @ok="onRegister" @cancel="handleModalCancel" :maskClosable="false"> - + show-search :filter-option="filterOption" @change="onGroupChange"> + {{ item.hynm }} @@ -371,7 +372,7 @@ const loadGroupList = async () => { const res = await getGroupList(); groupList.value = res.data || []; } catch (error) { - console.error("加载集团列表失败", error); + // console.error("加载集团列表失败", error); } }; @@ -380,10 +381,12 @@ const onGroupChange = async () => { // 加载公司列表 // if (value) { try { + // const res = await getCompanyList(organizationData.groupCode ? organizationData.groupCode : ''); const res = await getCompanyList(); companyList.value = res.data || []; + } catch (error) { - message.error("加载公司列表失败"); + // message.error("加载公司列表失败"); } // } }; @@ -396,7 +399,7 @@ const onCompanyChange = async () => { const res = await getBasinList(); basinList.value = res.data || []; } catch (error) { - message.error("加载流域列表失败"); + // message.error("加载流域列表失败"); } // } }; @@ -409,7 +412,7 @@ const onBasinChange = async (ids: any) => { const res = await getStationList(ids); stationList.value = res.data || []; } catch (error) { - message.error("加载电站列表失败"); + // message.error("加载电站列表失败"); } // } }; @@ -449,7 +452,7 @@ const handleSendSms = async () => { } }, 1000); } catch (error: any) { - message.error(error.message || "发送失败,请重试"); + // message.error(error.message || "发送失败,请重试"); } }; @@ -484,7 +487,7 @@ const onRegister = async () => { try { await organizationFormRef.value.validate(); } catch (error) { - message.error("请完善组织信息"); + // message.error("请完善组织信息"); return; // 验证失败,阻止提交 } @@ -569,6 +572,7 @@ onMounted(() => { loadGroupList() onGroupChange() onCompanyChange() + // modalVisible.value = true }); @@ -617,7 +621,7 @@ const filterOption = (inputValue: string, option: any) => { color: #040504; font-size: clamp(24px, 3vw, 40px); // 响应式字体大小 line-height: 1.5; - + p { margin: 0; word-wrap: break-word; // 允许长文本换行 @@ -644,12 +648,12 @@ const filterOption = (inputValue: string, option: any) => { &::-webkit-scrollbar { width: 6px; } - + &::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.2); border-radius: 3px; } - + &::-webkit-scrollbar-track { background-color: transparent; } @@ -786,15 +790,16 @@ const filterOption = (inputValue: string, option: any) => { } // 高缩放比例适配(125%、150%等) -@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { +@media (-webkit-min-device-pixel-ratio: 1.25), +(min-resolution: 120dpi) { .register-container { .right-section { padding: clamp(12px, 1.5vw, 20px); - + .form-section { margin-bottom: clamp(10px, 1.2vh, 16px); } - + :deep(.ant-form-item) { margin-bottom: clamp(8px, 1vh, 14px); } @@ -808,17 +813,17 @@ const filterOption = (inputValue: string, option: any) => { .right-section { max-height: 95vh; padding: 10px 15px; - + .form-section { margin-bottom: 8px; - + .section-title { margin-bottom: 6px; padding-bottom: 6px; font-size: 13px; } } - + :deep(.ant-form-item) { margin-bottom: 8px; } diff --git a/frontend/src/views/shuJuTianBao/approvalLogSearch.vue b/frontend/src/views/shuJuTianBao/shengPiJiLu/approvalLogSearch.vue similarity index 100% rename from frontend/src/views/shuJuTianBao/approvalLogSearch.vue rename to frontend/src/views/shuJuTianBao/shengPiJiLu/approvalLogSearch.vue diff --git a/frontend/src/views/shuJuTianBao/changeLogSearch.vue b/frontend/src/views/shuJuTianBao/shengPiJiLu/changeLogSearch.vue similarity index 100% rename from frontend/src/views/shuJuTianBao/changeLogSearch.vue rename to frontend/src/views/shuJuTianBao/shengPiJiLu/changeLogSearch.vue diff --git a/frontend/src/views/shuJuTianBao/shengPiJiLu.vue b/frontend/src/views/shuJuTianBao/shengPiJiLu/index.vue similarity index 84% rename from frontend/src/views/shuJuTianBao/shengPiJiLu.vue rename to frontend/src/views/shuJuTianBao/shengPiJiLu/index.vue index 9d1bb16..a9d3ec3 100644 --- a/frontend/src/views/shuJuTianBao/shengPiJiLu.vue +++ b/frontend/src/views/shuJuTianBao/shengPiJiLu/index.vue @@ -15,31 +15,19 @@ - - +
- - + +