字典、统计
This commit is contained in:
@@ -28,6 +28,10 @@ const getFunctionNoiseBill = function (id) {
|
||||
}
|
||||
// -------------------------数据---------------------
|
||||
const pageFunctionNoiseUrl = '/sound/function/noise/page';
|
||||
const listAllFunctionNoiseUrl = '/sound/function/noise';
|
||||
const listAllFunctionNoise = function (params){
|
||||
return axios.get(listAllFunctionNoiseUrl, {params})
|
||||
}
|
||||
// 添加
|
||||
const saveFunctionNoise = function (data) {
|
||||
return axios.post("/sound/function/noise",data)
|
||||
@@ -79,6 +83,8 @@ export {
|
||||
getHistoryyears,
|
||||
getColumnOptions,
|
||||
getGisBase,
|
||||
getGisArea
|
||||
getGisArea,
|
||||
listAllFunctionNoiseUrl,
|
||||
listAllFunctionNoise
|
||||
|
||||
}
|
||||
|
||||
32
src/api/ecology/noise/zone-noise-leq-level.js
Normal file
32
src/api/ecology/noise/zone-noise-leq-level.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/sound/zone/noiseLeqLevel";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveLeqLevel = function (data) {
|
||||
return axios.post("/sound/zone/noiseLeqLevel",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeLeqLevel = function (id) {
|
||||
return axios.delete(`/sound/zone/noiseLeqLevel/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchLeqLevel = function (ids) {
|
||||
return axios.delete("/sound/zone/noiseLeqLevel/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateLeqLevel = function (data) {
|
||||
return axios.put("/sound/zone/noiseLeqLevel",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveLeqLevel,
|
||||
updateLeqLevel,
|
||||
removeBatchLeqLevel,
|
||||
removeLeqLevel
|
||||
|
||||
}
|
||||
32
src/api/ecology/noise/zone-noise-place.js
Normal file
32
src/api/ecology/noise/zone-noise-place.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/sound/zone/place";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const savePlace = function (data) {
|
||||
return axios.post("/sound/zone/place",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removePlace = function (id) {
|
||||
return axios.delete(`/sound/zone/place/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchPlace = function (ids) {
|
||||
return axios.delete("/sound/zone/place/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updatePlace = function (data) {
|
||||
return axios.put("/sound/zone/place",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
savePlace,
|
||||
updatePlace,
|
||||
removeBatchPlace,
|
||||
removePlace
|
||||
|
||||
}
|
||||
@@ -28,6 +28,10 @@ const getZoneNoiseBill = function (id) {
|
||||
}
|
||||
// -------------------------数据---------------------
|
||||
const pageZoneNoiseUrl = '/sound/zone/noise/page';
|
||||
const listAllZoneNoiseUrl = '/sound/zone/noise';
|
||||
const listALlZoneNoise = function (params){
|
||||
return axios.get(listAllZoneNoiseUrl,{params})
|
||||
}
|
||||
// 添加
|
||||
const saveZoneNoise = function (data) {
|
||||
return axios.post("/sound/zone/noise",data)
|
||||
@@ -75,6 +79,7 @@ export {
|
||||
getHistoryyears,
|
||||
getColumnOptions,
|
||||
statisticSourceUrl,
|
||||
statisticYearUrl
|
||||
statisticYearUrl,
|
||||
listALlZoneNoise
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user