diff --git a/src/api/longoPeration/RiverSection.js b/src/api/longoPeration/RiverSection.js index 0ff8e42..c6493e8 100644 --- a/src/api/longoPeration/RiverSection.js +++ b/src/api/longoPeration/RiverSection.js @@ -45,7 +45,7 @@ // 供水厂-搜索 export function waterCompPage(query) { return request({ - url: '/business/riverSection/page', + url: '/scada/waterPlantInfo/page', method: 'get', params: query, }); @@ -54,7 +54,7 @@ // 供水厂-新增 export function waterCompAdd(data) { return request({ - url: '/business/riverSection/add', + url: '/scada/waterPlantInfo/add', method: 'post', data: data, }); @@ -63,7 +63,7 @@ // 供水厂-修改 export function waterCompEdit(data) { return request({ - url: '/business/riverSection/edit', + url: '/scada/waterPlantInfo/edit', method: 'put', data: data, }); @@ -72,7 +72,7 @@ // 供水厂-删除 export function waterCompDelete(id) { return request({ - url: '/business/riverSection/' + id, + url: '/scada/waterPlantInfo/' + id, method: 'delete', }); } diff --git a/src/api/longoPeration/RiverSection.js b/src/api/longoPeration/RiverSection.js index 0ff8e42..c6493e8 100644 --- a/src/api/longoPeration/RiverSection.js +++ b/src/api/longoPeration/RiverSection.js @@ -45,7 +45,7 @@ // 供水厂-搜索 export function waterCompPage(query) { return request({ - url: '/business/riverSection/page', + url: '/scada/waterPlantInfo/page', method: 'get', params: query, }); @@ -54,7 +54,7 @@ // 供水厂-新增 export function waterCompAdd(data) { return request({ - url: '/business/riverSection/add', + url: '/scada/waterPlantInfo/add', method: 'post', data: data, }); @@ -63,7 +63,7 @@ // 供水厂-修改 export function waterCompEdit(data) { return request({ - url: '/business/riverSection/edit', + url: '/scada/waterPlantInfo/edit', method: 'put', data: data, }); @@ -72,7 +72,7 @@ // 供水厂-删除 export function waterCompDelete(id) { return request({ - url: '/business/riverSection/' + id, + url: '/scada/waterPlantInfo/' + id, method: 'delete', }); } diff --git a/src/views/floodSys/assetManage/WaterSupplyWaterPlants.vue b/src/views/floodSys/assetManage/WaterSupplyWaterPlants.vue index ab0397f..f40ec08 100644 --- a/src/views/floodSys/assetManage/WaterSupplyWaterPlants.vue +++ b/src/views/floodSys/assetManage/WaterSupplyWaterPlants.vue @@ -2,14 +2,8 @@
- - - - - - - - + + 搜索 @@ -26,18 +20,18 @@ - - - - - - - - - - - - + + + + + + + + + + + +