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 @@ - - +
- - + +