字典,统计
This commit is contained in:
32
src/api/ecology/noise/function-noise-function-type.js
Normal file
32
src/api/ecology/noise/function-noise-function-type.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/sound/function/functionType";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveFunctionType = function (data) {
|
||||
return axios.post("/sound/function/functionType",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeFunctionType = function (id) {
|
||||
return axios.delete(`/sound/function/functionType/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchFunctionType = function (ids) {
|
||||
return axios.delete("/sound/function/functionType/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateFunctionType = function (data) {
|
||||
return axios.put("/sound/function/functionType",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveFunctionType,
|
||||
updateFunctionType,
|
||||
removeBatchFunctionType,
|
||||
removeFunctionType
|
||||
|
||||
}
|
||||
32
src/api/ecology/noise/function-noise-leq-level.js
Normal file
32
src/api/ecology/noise/function-noise-leq-level.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/sound/function/noiseLeqLevel";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveLeqLevel = function (data) {
|
||||
return axios.post("/sound/function/noiseLeqLevel",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeLeqLevel = function (id) {
|
||||
return axios.delete(`/sound/function/noiseLeqLevel/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchLeqLevel = function (ids) {
|
||||
return axios.delete("/sound/function/noiseLeqLevel/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateLeqLevel = function (data) {
|
||||
return axios.put("/sound/function/noiseLeqLevel",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveLeqLevel,
|
||||
updateLeqLevel,
|
||||
removeBatchLeqLevel,
|
||||
removeLeqLevel
|
||||
|
||||
}
|
||||
32
src/api/ecology/noise/function-noise-place.js
Normal file
32
src/api/ecology/noise/function-noise-place.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/sound/function/place";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const savePlace = function (data) {
|
||||
return axios.post("/sound/function/place",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removePlace = function (id) {
|
||||
return axios.delete(`/sound/function/place/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchPlace = function (ids) {
|
||||
return axios.delete("/sound/function/place/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updatePlace = function (data) {
|
||||
return axios.put("/sound/function/place",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
savePlace,
|
||||
updatePlace,
|
||||
removeBatchPlace,
|
||||
removePlace
|
||||
|
||||
}
|
||||
32
src/api/ecology/noise/road-noise-leq-level.js
Normal file
32
src/api/ecology/noise/road-noise-leq-level.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/sound/road/noiseLeqLevel";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveLeqLevel = function (data) {
|
||||
return axios.post("/sound/road/noiseLeqLevel",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeLeqLevel = function (id) {
|
||||
return axios.delete(`/sound/road/noiseLeqLevel/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchLeqLevel = function (ids) {
|
||||
return axios.delete("/sound/road/noiseLeqLevel/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateLeqLevel = function (data) {
|
||||
return axios.put("/sound/road/noiseLeqLevel",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveLeqLevel,
|
||||
updateLeqLevel,
|
||||
removeBatchLeqLevel,
|
||||
removeLeqLevel
|
||||
|
||||
}
|
||||
32
src/api/ecology/noise/road-noise-place.js
Normal file
32
src/api/ecology/noise/road-noise-place.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/sound/road/place";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const savePlace = function (data) {
|
||||
return axios.post("/sound/road/place",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removePlace = function (id) {
|
||||
return axios.delete(`/sound/road/place/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchPlace = function (ids) {
|
||||
return axios.delete("/sound/road/place/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updatePlace = function (data) {
|
||||
return axios.put("/sound/road/place",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
savePlace,
|
||||
updatePlace,
|
||||
removeBatchPlace,
|
||||
removePlace
|
||||
|
||||
}
|
||||
@@ -56,6 +56,7 @@ const updateRoadNoise = function (data) {
|
||||
// -------------------------统计---------------------
|
||||
const pageRoadNoiseStatisticUrl = '/sound/road/noise/statistic';
|
||||
const pageRoadNoiseCompare = '/sound/road/noise/statistic/compare';
|
||||
const roadNoiseYearEnd = '/sound/road/noise/statistic/yearEnd';
|
||||
const getHistoryyears = function () {
|
||||
return axios.get("/sound/road/noise/history-year")
|
||||
}
|
||||
@@ -89,6 +90,7 @@ export {
|
||||
getColumnOptions,
|
||||
listAll,
|
||||
getGisBase,
|
||||
getGisArea
|
||||
getGisArea,
|
||||
roadNoiseYearEnd
|
||||
|
||||
}
|
||||
37
src/api/ecology/water/surface-water-standard.js
Normal file
37
src/api/ecology/water/surface-water-standard.js
Normal file
@@ -0,0 +1,37 @@
|
||||
import axios from "axios";
|
||||
|
||||
// const baseUri = "/api/waterFunctionArea/surfaceWaterEvaluationStandard";
|
||||
// 分页
|
||||
const pageSurfaceWaterStandardUrl = '/waterFunctionArea/surfaceWaterEvaluationStandard/page';
|
||||
const pageSurfaceWaterStandardAllUrl = '/waterFunctionArea/surfaceWaterEvaluationStandard';
|
||||
// 全部
|
||||
const listAllSurfaceWaterStandard = function (){
|
||||
return axios .get("/waterFunctionArea/surfaceWaterEvaluationStandard")
|
||||
}
|
||||
// 添加
|
||||
const saveSurfaceWaterStandard = function (data) {
|
||||
return axios.post("/waterFunctionArea/surfaceWaterEvaluationStandard",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeSurfaceWaterStandard = function (id) {
|
||||
return axios.delete(`/waterFunctionArea/surfaceWaterEvaluationStandard/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchSurfaceWaterStandard = function (ids) {
|
||||
return axios.delete("/waterFunctionArea/surfaceWaterEvaluationStandard/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateSurfaceWaterStandard = function (data) {
|
||||
return axios.put("/waterFunctionArea/surfaceWaterEvaluationStandard",data)
|
||||
}
|
||||
export {
|
||||
pageSurfaceWaterStandardUrl,
|
||||
updateSurfaceWaterStandard,
|
||||
removeBatchSurfaceWaterStandard,
|
||||
removeSurfaceWaterStandard,
|
||||
listAllSurfaceWaterStandard,
|
||||
saveSurfaceWaterStandard,
|
||||
pageSurfaceWaterStandardAllUrl
|
||||
}
|
||||
Reference in New Issue
Block a user