bladex前端ui项目,基于avue-cli2.0开发
包含基础工作流,不包含表单设计器
https://git.javablade.com/blade/Saber
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
865 B
53 lines
865 B
import request from '@/axios'; |
|
|
|
export const getList = (current, size, params) => { |
|
return request({ |
|
url: '/blade-system/region/list', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
|
|
export const getLazyTree = (parentCode, params) => { |
|
return request({ |
|
url: '/blade-system/region/lazy-tree', |
|
method: 'get', |
|
params: { |
|
...params, |
|
parentCode |
|
} |
|
}) |
|
} |
|
|
|
export const getDetail = (code) => { |
|
return request({ |
|
url: '/blade-system/region/detail', |
|
method: 'get', |
|
params: { |
|
code |
|
} |
|
}) |
|
} |
|
|
|
export const remove = (id) => { |
|
return request({ |
|
url: '/blade-system/region/remove', |
|
method: 'post', |
|
params: { |
|
id, |
|
} |
|
}) |
|
} |
|
|
|
export const submit = (row) => { |
|
return request({ |
|
url: '/blade-system/region/submit', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
|
|
|