This commit is contained in:
2023-09-11 21:56:39 +08:00
parent 7a43f39ec8
commit 4c2c1739fc
1719 changed files with 33351 additions and 103245 deletions

45
src/api/system/chzl.js Normal file
View File

@ -0,0 +1,45 @@
import request from '@/utils/request'
// 查询病害列表
export function listChzl(query) {
return request({
url: '/system/chzl/list',
method: 'get',
params: query
})
}
// 查询病害详细
export function getChzl(id) {
return request({
url: '/system/chzl/' + id,
method: 'get'
})
}
// 新增病害
export function addChzl(data) {
return request({
url: '/system/chzl/insert',
method: 'post',
data: data
})
}
// 修改病害
export function updateChzl(data) {
return request({
url: '/system/chzl',
method: 'put',
data: data
})
}
// 删除病害
export function delChzl(query) {
return request({
url: '/system/chzl/delete',
method: 'get',
params: query
})
}