|
@ -3,7 +3,7 @@ import request from '@/utils/request' |
|
|
// 查询业务编码配置列表
|
|
|
// 查询业务编码配置列表
|
|
|
export function listBusiCodeConfig(query) { |
|
|
export function listBusiCodeConfig(query) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/asset/busiCodeConfig/list', |
|
|
url: '/model/busiCodeConfig/list', |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
params: query |
|
|
params: query |
|
|
}) |
|
|
}) |
|
@ -12,7 +12,7 @@ export function listBusiCodeConfig(query) { |
|
|
// 查询业务编码配置详细
|
|
|
// 查询业务编码配置详细
|
|
|
export function getBusiCodeConfig(id) { |
|
|
export function getBusiCodeConfig(id) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/asset/busiCodeConfig/' + id, |
|
|
url: '/model/busiCodeConfig/' + id, |
|
|
method: 'get' |
|
|
method: 'get' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
@ -20,7 +20,7 @@ export function getBusiCodeConfig(id) { |
|
|
// 新增业务编码配置
|
|
|
// 新增业务编码配置
|
|
|
export function addBusiCodeConfig(data) { |
|
|
export function addBusiCodeConfig(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/asset/busiCodeConfig', |
|
|
url: '/model/busiCodeConfig', |
|
|
method: 'post', |
|
|
method: 'post', |
|
|
data: data |
|
|
data: data |
|
|
}) |
|
|
}) |
|
@ -29,7 +29,7 @@ export function addBusiCodeConfig(data) { |
|
|
// 修改业务编码配置
|
|
|
// 修改业务编码配置
|
|
|
export function updateBusiCodeConfig(data) { |
|
|
export function updateBusiCodeConfig(data) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/asset/busiCodeConfig', |
|
|
url: '/model/busiCodeConfig', |
|
|
method: 'put', |
|
|
method: 'put', |
|
|
data: data |
|
|
data: data |
|
|
}) |
|
|
}) |
|
@ -38,7 +38,7 @@ export function updateBusiCodeConfig(data) { |
|
|
// 删除业务编码配置
|
|
|
// 删除业务编码配置
|
|
|
export function delBusiCodeConfig(id) { |
|
|
export function delBusiCodeConfig(id) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/asset/busiCodeConfig/' + id, |
|
|
url: '/model/busiCodeConfig/' + id, |
|
|
method: 'delete' |
|
|
method: 'delete' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
@ -46,7 +46,7 @@ export function delBusiCodeConfig(id) { |
|
|
// 查询编码规则列表
|
|
|
// 查询编码规则列表
|
|
|
export function listCodeConfig(query) { |
|
|
export function listCodeConfig(query) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: '/asset/codeDefine/list', |
|
|
url: '/model/codeDefine/list', |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
params: query |
|
|
params: query |
|
|
}) |
|
|
}) |