From 6771a91e40487e5869d35f0f204ee09a92b00a77 Mon Sep 17 00:00:00 2001 From: liyuchen <791867849@qq.com> Date: Thu, 27 Apr 2023 14:46:07 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=8A=B6=E6=80=81-liyuchen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/DisasterTable.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/table/DisasterTable.vue b/src/components/table/DisasterTable.vue index 982ccb3..fa81599 100644 --- a/src/components/table/DisasterTable.vue +++ b/src/components/table/DisasterTable.vue @@ -5,6 +5,11 @@ v-model="state.search.disasterType"> + + + + @@ -40,7 +45,8 @@ const emit = defineEmits(["click"]); const props = defineProps({ //响应状态 status: { - type: Number + type: Number, + default: 2 }, }) const state = reactive({ @@ -76,6 +82,7 @@ const getDictBizData = () => { } //获取灾害列表 const getDisasterTable = () => { + convert(); getPage(state.disasterData.param.pageNum, state.disasterData.param.pageSize, state.search).then(res => { state.disasterData.data = res.records; state.disasterData.data.forEach(item => { @@ -85,6 +92,10 @@ const getDisasterTable = () => { state.disasterData.total = res.total; }) } +//判断查询条件 +const convert = () => { + state.search.disasterStatus ? state.search.respondStatus = state.search.disasterStatus : state.search.respondStatus = 2 +} // 分页改变 const onHandleDisasterSizeChange = (val) => { state.disasterData.param.pageSize = val; From 186519cc7b0aad511f2b780654fb3658a8db4b12 Mon Sep 17 00:00:00 2001 From: qqGroup0 <253114712@qq.com> Date: Thu, 27 Apr 2023 15:05:44 +0800 Subject: [PATCH 2/4] =?UTF-8?q?zqq:=E6=9B=B4=E6=94=B9=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/router/route.js b/src/router/route.js index 96e8da1..806bdc2 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -73,7 +73,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'iconfont icon-caidan', + icon: 'ele-FolderChecked', zh: '用户响应管理', }, }, @@ -89,7 +89,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'iconfont icon-icon-', + icon: 'ele-DocumentChecked', zh: '数据上传管理', }, }, @@ -105,7 +105,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'iconfont icon-icon-', + icon: 'ele-Tools', zh: 'tool管理', }, }, @@ -121,7 +121,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'iconfont icon-icon-', + icon: 'ele-Cellphone', zh: 'tool管理', }, }, @@ -156,7 +156,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'iconfont icon-caidan', + icon: 'ele-Monitor', zh: '多媒体数据', }, }, @@ -172,7 +172,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'ele-ColdDrink', + icon: 'ele-MapLocation', zh: '遥感数据', }, }, @@ -188,7 +188,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'ele-ColdDrink', + icon: 'ele-Document', zh: '其他数据服务', }, }, @@ -204,7 +204,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'ele-ColdDrink', + icon: 'ele-PieChart', zh: '其他数据服务', }, }, @@ -220,7 +220,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'ele-ColdDrink', + icon: 'ele-Picture', zh: '其他数据服务', }, }, @@ -255,7 +255,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-ColdDrink', + icon: 'ele-User', zh: '管理员管理', }, }, @@ -271,7 +271,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin'], - icon: 'iconfont icon-caidan', + icon: 'ele-MessageBox', zh: '普通管理员管理', }, }, From 209340dbeb4f7b9df175da193fa8b43cbc1be8b3 Mon Sep 17 00:00:00 2001 From: glj Date: Thu, 4 May 2023 09:32:34 +0800 Subject: [PATCH 3/4] =?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/components/table/DisasterTable.vue | 2 +- .../dataService/multimediaData/index.vue | 40 ++-- .../pictureInfo/component/upload.vue | 4 + .../components/retrievalCondition.vue | 99 ++-------- .../components/searchCondition.vue | 2 +- .../responseManagement/dataUpload/index.vue | 21 +- .../responseManagement/userResponse/index.vue | 180 +++++++++++------- .../component/disasterInfo.vue | 17 +- 8 files changed, 166 insertions(+), 199 deletions(-) diff --git a/src/components/table/DisasterTable.vue b/src/components/table/DisasterTable.vue index fa81599..fe6835a 100644 --- a/src/components/table/DisasterTable.vue +++ b/src/components/table/DisasterTable.vue @@ -21,7 +21,7 @@ - + diff --git a/src/views/dataService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue index 63e54a5..982ddf5 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -17,15 +17,15 @@
-