diff --git a/src/views/Main/Dike/components/BaseInfo.vue b/src/views/Main/Dike/components/BaseInfo.vue index 7e88999..8756c94 100644 --- a/src/views/Main/Dike/components/BaseInfo.vue +++ b/src/views/Main/Dike/components/BaseInfo.vue @@ -142,7 +142,7 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + > + {{ form.dikeName }} + , @@ -446,7 +277,6 @@ const hdmzData: any=ref([]); const overflows: any=ref([]) const form: any = ref({}); const emits = defineEmits(["getResInfo"]); - function initBaseInfo() { getJbxx(props.resCode).then((res) => { if (res) { @@ -509,6 +339,8 @@ function initBaseAndRsppInfo() { function initData() { activeName.value = "1"; initBaseAndRsppInfo(); + initHdmtzz(); + initJyjl() } function handleChangeTab() { diff --git a/src/views/Main/Dike/components/safetyAppraisal.vue b/src/views/Main/Dike/components/safetyAppraisal.vue index 015f0e1..9056a83 100644 --- a/src/views/Main/Dike/components/safetyAppraisal.vue +++ b/src/views/Main/Dike/components/safetyAppraisal.vue @@ -9,11 +9,11 @@ format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="选择日期" - @change="initSafe" style="color: black" />
+ 查询 重置
@@ -139,7 +139,9 @@ const currentRow = reactive({ unitQualification: '', mainIssues: '' }); - +const handleSearch = () => { + initSafe(); +}; // Dialog visibility const dialogVisible = ref(false); diff --git a/src/views/Main/Sluice/components/BaseInfo.vue b/src/views/Main/Sluice/components/BaseInfo.vue index 30dc91e..9fdb74f 100644 --- a/src/views/Main/Sluice/components/BaseInfo.vue +++ b/src/views/Main/Sluice/components/BaseInfo.vue @@ -428,7 +428,6 @@ import { getDictLabel } from "@/utils/dictUtils"; const props = defineProps({ resCode: { type: String, - default: "HP0074405150000010", }, projTypeOptions: { type: Array<{ dictLabel: string; dictValue: string }>, diff --git a/src/views/Main/Sluice/components/safetyAppraisal.vue b/src/views/Main/Sluice/components/safetyAppraisal.vue index 616bb40..1c24c4b 100644 --- a/src/views/Main/Sluice/components/safetyAppraisal.vue +++ b/src/views/Main/Sluice/components/safetyAppraisal.vue @@ -9,11 +9,11 @@ format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="选择日期" - @change="initSafe" style="color: black" />
+ 查询 重置
@@ -126,6 +126,12 @@ const currentRow = reactive({ unitQualification: '', mainIssues: '' }); +const handleSearch = () => { + initSafe(); +}; +const handleOverlayClick = (e: MouseEvent) => { + dialogVisible.value = false; +}; // View function const handleView = (row: any) => { diff --git a/src/views/Main/index.vue b/src/views/Main/index.vue index 14dae55..3667a04 100644 --- a/src/views/Main/index.vue +++ b/src/views/Main/index.vue @@ -60,9 +60,9 @@ const showBottomPanel = ref(true); const showLayerTree = ref(false); const showReservoir = ref(false); // 水库详情弹窗 const reservoirData = ref({}); -const showSluice = ref(true); // 水闸详情弹窗 +const showSluice = ref(false); // 水闸详情弹窗 const sluiceData = ref({}); -const showDike = ref(false); // 堤防详情弹窗 +const showDike = ref(true); // 堤防详情弹窗 const dikeData = ref({}); function layerTreeChange(val: boolean) { showLayerTree.value = val;