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