空气字典 统计
This commit is contained in:
32
src/api/ecology/atmosphere/air-evaluation-standard.js
Normal file
32
src/api/ecology/atmosphere/air-evaluation-standard.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/ambientAir/airEvaluationStandard";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveStandard = function (data) {
|
||||
return axios.post("/ambientAir/airEvaluationStandard",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeStandard = function (id) {
|
||||
return axios.delete(`/ambientAir/airEvaluationStandard/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchStandard = function (ids) {
|
||||
return axios.delete("/ambientAir/airEvaluationStandard/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateStandard = function (data) {
|
||||
return axios.put("/ambientAir/airEvaluationStandard",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveStandard,
|
||||
updateStandard,
|
||||
removeBatchStandard,
|
||||
removeStandard
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user