提交: 补充区域建筑类型 api

This commit is contained in:
23688nl 2022-08-11 17:45:40 +08:00
parent 9f541a4156
commit 3f918a7204
3 changed files with 1476 additions and 1331 deletions

View File

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

View File

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

2750
yarn.lock

File diff suppressed because it is too large Load Diff