系统管理完善
This commit is contained in:
39
rc_autoplc_front/src/api/business/islandinfo.ts
Normal file
39
rc_autoplc_front/src/api/business/islandinfo.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function islandInfoadd(data: any) {
|
||||
return request({
|
||||
url: '/islandInfo/add',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
export function islandInfodel(id: string | number) {
|
||||
return request({
|
||||
url: `/islandInfo/del/${id}`,
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
export function islandInfoupd(data: any) {
|
||||
return request({
|
||||
url: '/islandInfo/update',
|
||||
method: 'put',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
export function islandInfolist(data: any) {
|
||||
return request({
|
||||
url: '/islandInfo/listPage',
|
||||
method: 'get',
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
|
||||
export function islandInfobyid(id: string | number) {
|
||||
return request({
|
||||
url: `/islandInfo/getById/${id}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user