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 @@ + + + + + \ 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 @@ + + + + + \ 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 @@ @@ -71,6 +72,7 @@ + @@ -79,12 +81,36 @@