字典,统计

This commit is contained in:
weicw
2021-09-15 18:38:16 +08:00
parent c18e732ef4
commit 9c1f1c1b8c
68 changed files with 3856 additions and 779 deletions

View 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
}

View 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
}

View 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
}

View 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
}

View 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
}

View File

@@ -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
}

View 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
}