提交: 补充区域建筑类型 api
This commit is contained in:
parent
9f541a4156
commit
3f918a7204
|
@ -11,8 +11,8 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
|||
port= 9988
|
||||
|
||||
# 服务端地址
|
||||
//target = http://192.168.18.134:8899
|
||||
target = http://192.168.18.140:8899
|
||||
//target = http://192.168.18.139:8899
|
||||
// target = http://192.168.18.136:8899
|
||||
//target = http://192.168.10.241:30646
|
||||
target = http://192.168.18.140:8899
|
||||
// target = http://192.168.10.241:30646
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询建筑类型列表
|
||||
export function listType(query) {
|
||||
return request({
|
||||
url: '/system/buildType/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询建筑类型详细
|
||||
export function getType(recordId) {
|
||||
return request({
|
||||
url: '/system/buildType/' + recordId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增建筑类型
|
||||
export function addType(data) {
|
||||
return request({
|
||||
url: '/system/buildType',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改建筑类型
|
||||
export function updateType(data) {
|
||||
return request({
|
||||
url: '/system/buildType',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除建筑类型
|
||||
export function delType(recordId) {
|
||||
return request({
|
||||
url: '/system/buildType/' + recordId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出建筑类型
|
||||
export function exportType(query) {
|
||||
return request({
|
||||
url: '/system/buildType/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue