-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- Search
-
+
+
+
+
+ Search
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/views/dataService/remoteSensingData/components/searchCondition.vue b/src/views/dataService/remoteSensingData/components/searchCondition.vue
index 4c7c55d..5d1c869 100644
--- a/src/views/dataService/remoteSensingData/components/searchCondition.vue
+++ b/src/views/dataService/remoteSensingData/components/searchCondition.vue
@@ -382,6 +382,10 @@ const ClearCondition = () => {
}
.coordinateBtn {
width: 90%;
+ word-break: keep-all;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.lowerBtn {
width: 90%;
diff --git a/vite.config.js b/vite.config.js
index a395073..f7632fb 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -30,7 +30,7 @@ const viteConfig = defineConfig((mode) => {
hmr: true,
proxy: {
'/api': {
- target: 'http://192.168.31.250:9090',
+ target: 'http://192.168.31.14:9090',
ws: true,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
From 7ef200e8790e1bbc61f74910d21d02e5f3097545 Mon Sep 17 00:00:00 2001
From: liyuchen <791867849@qq.com>
Date: Mon, 17 Apr 2023 17:17:32 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=91=98=E7=AE=A1=E7=90=86=E7=81=BE=E5=AE=B3=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?-liyuchen?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/disasterInfo/index.js | 30 ++++
src/views/home/index.vue | 2 +-
.../component/disasterInfo.vue | 122 ++++++++++++++
.../component/manageDisaster.vue | 158 ++++++++++++++++++
.../chiefAdministrator/index.vue | 33 ++++
5 files changed, 344 insertions(+), 1 deletion(-)
create mode 100644 src/views/systemManagement/chiefAdministrator/component/disasterInfo.vue
create mode 100644 src/views/systemManagement/chiefAdministrator/component/manageDisaster.vue
diff --git a/src/api/disasterInfo/index.js b/src/api/disasterInfo/index.js
index d45f047..3d4777f 100644
--- a/src/api/disasterInfo/index.js
+++ b/src/api/disasterInfo/index.js
@@ -8,6 +8,36 @@ export function getList(params) {
params,
});
}
+
+export function getPage(current,size,params) {
+ return request({
+ url: '/api/'+moduleName+'/ui/disasterInfo/list',
+ method: 'get',
+ params:{
+ current,
+ size,
+ ...params
+ },
+ });
+}
+
+export function updateDisasterManage(data){
+ return request({
+ url: '/api/'+moduleName+'/ui/disasterInfo/updateBatch',
+ method: 'put',
+ data: data,
+ });
+}
+
+export function removeManage(data){
+ return request({
+ url: '/api/'+moduleName+'/ui/disasterInfo/removeManage',
+ method: 'put',
+ data: data,
+ });
+}
+
+
//review
export function review(data) {
return request({
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 82d0295..d245a83 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -558,7 +558,7 @@ const setApplyDisaster = (data) => {
})
setTimeout(() => {
initBarChart(xData,yData);
- }, 1000);
+ }, 700);
}
/**
* 设置灾种数量占比
diff --git a/src/views/systemManagement/chiefAdministrator/component/disasterInfo.vue b/src/views/systemManagement/chiefAdministrator/component/disasterInfo.vue
new file mode 100644
index 0000000..7353c4e
--- /dev/null
+++ b/src/views/systemManagement/chiefAdministrator/component/disasterInfo.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+ search
+
+
+
+
+
+
+ d
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/systemManagement/chiefAdministrator/component/manageDisaster.vue b/src/views/systemManagement/chiefAdministrator/component/manageDisaster.vue
new file mode 100644
index 0000000..4d05ad2
--- /dev/null
+++ b/src/views/systemManagement/chiefAdministrator/component/manageDisaster.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+ search
+
+
+
+
+
+ add
+
+
+
+
+
+ batch delete
+
+
+
+
+
+
+
+
+
+ Delete
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/systemManagement/chiefAdministrator/index.vue b/src/views/systemManagement/chiefAdministrator/index.vue
index 34cb779..951e476 100644
--- a/src/views/systemManagement/chiefAdministrator/index.vue
+++ b/src/views/systemManagement/chiefAdministrator/index.vue
@@ -53,6 +53,7 @@
Edit
Delete
+ Manage
@@ -71,6 +72,7 @@