|
|
@ -5,6 +5,7 @@ const {createConfirm} = useMessage(); |
|
|
|
|
|
|
|
|
|
|
|
enum Api { |
|
|
|
enum Api { |
|
|
|
list = '/project/project/list', |
|
|
|
list = '/project/project/list', |
|
|
|
|
|
|
|
getOne = '/project/project/getById', |
|
|
|
save = '/project/project/add', |
|
|
|
save = '/project/project/add', |
|
|
|
shenbao = '/project/project/save4shenbao', |
|
|
|
shenbao = '/project/project/save4shenbao', |
|
|
|
edit = '/project/project/edit', |
|
|
|
edit = '/project/project/edit', |
|
|
@ -30,6 +31,10 @@ export const getImportUrl = Api.importExcel; |
|
|
|
export const list = (params) => |
|
|
|
export const list = (params) => |
|
|
|
defHttp.get({url: Api.list, params}); |
|
|
|
defHttp.get({url: Api.list, params}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const getById = (params) => |
|
|
|
|
|
|
|
defHttp.get({url: Api.getOne, params}); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 删除单个 |
|
|
|
* 删除单个 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|