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 -