From 448be3757c1a8f790cb10bcbd65eeac2e465b633 Mon Sep 17 00:00:00 2001 From: glj Date: Wed, 26 Apr 2023 18:31:19 +0800 Subject: [PATCH] =?UTF-8?q?glj-=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/footer/index.vue | 3 +- .../dataService/multimediaData/index.vue | 43 +++++++------------ .../otherData/component/upload.vue | 7 ++- src/views/dataService/otherData/index.vue | 6 ++- .../components/retrievalCondition.vue | 24 ++++------- .../dataService/remoteSensingData/index.vue | 12 ------ src/views/systemManagement/index.vue | 0 7 files changed, 36 insertions(+), 59 deletions(-) delete mode 100644 src/views/systemManagement/index.vue diff --git a/src/layout/footer/index.vue b/src/layout/footer/index.vue index b10d0d4..079ee42 100644 --- a/src/layout/footer/index.vue +++ b/src/layout/footer/index.vue @@ -1,8 +1,7 @@ diff --git a/src/views/dataService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue index 278421f..63e54a5 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -3,31 +3,16 @@ -
- - - - - - - - - +
+ + + - - - +
@@ -104,10 +89,11 @@
- + :total=" state.tableData.total ">
@@ -150,6 +136,7 @@ import { getDictionary } from '/@/api/system/dictbiz'; import { defineAsyncComponent, reactive, onMounted, ref } from 'vue'; import { ElMessageBox, ElMessage } from 'element-plus'; import boot from "./component/boot.vue"; +import disasterTable from "/@/components/table/DisasterTable.vue"; // 引入组件 const auditRef = ref(); const bootRef = ref(); @@ -250,8 +237,8 @@ const formatSizeUnits = (size) => { return (size / Math.pow(k, i)).toPrecision(3) + ' ' + sizes[i]; } //灾害表格点击事件 -const tableClick = (row, column, event) => { - state.disasterId = row.disasterId; +const tableClick = (i) => { + state.disasterId = i.disasterId; getTableData(); } // 初始化灾害表格数据 @@ -271,8 +258,8 @@ const getDisasterData = () => { } getList(param).then(res => { state.disasterData.data = res.records; - state.disasterData.data.forEach(item=>{ - let date = item.disasterTime.slice(0,10); + state.disasterData.data.forEach(item => { + let date = item.disasterTime.slice(0, 10); item.disasterTime = date; }) state.disasterData.total = res.total; @@ -377,11 +364,13 @@ onMounted(() => { .system-role-container { .system-role-padding { padding: 15px; + .el-table { flex: 1; } } } + .mt15 { display: flex; justify-content: end; diff --git a/src/views/dataService/otherData/component/upload.vue b/src/views/dataService/otherData/component/upload.vue index 29c6afa..74d3526 100644 --- a/src/views/dataService/otherData/component/upload.vue +++ b/src/views/dataService/otherData/component/upload.vue @@ -19,6 +19,10 @@ + + + @@ -27,7 +31,7 @@ - + @@ -154,6 +158,7 @@ const onSubmit = () => { state.dataForm.append('disasterId', state.disasterId); state.dataForm.append('visualFlag', state.ruleForm.visualFlag); state.dataForm.append('title', state.ruleForm.title); + state.dataForm.append('sourceOrganization', state.ruleForm.sourceOrganization); for (let [a, b] of state.dataForm.entries()) { console.log(a, b, '--------------'); } diff --git a/src/views/dataService/otherData/index.vue b/src/views/dataService/otherData/index.vue index fee7c2e..bbf09bf 100644 --- a/src/views/dataService/otherData/index.vue +++ b/src/views/dataService/otherData/index.vue @@ -46,7 +46,7 @@ YES -