|
|
@ -7,6 +7,7 @@ enum Api { |
|
|
|
list = '/AnnualCompPoint/annualCompPoint/list', |
|
|
|
list = '/AnnualCompPoint/annualCompPoint/list', |
|
|
|
save='/AnnualCompPoint/annualCompPoint/add', |
|
|
|
save='/AnnualCompPoint/annualCompPoint/add', |
|
|
|
edit='/AnnualCompPoint/annualCompPoint/edit', |
|
|
|
edit='/AnnualCompPoint/annualCompPoint/edit', |
|
|
|
|
|
|
|
edit1='/AnnualCompPoint/annualCompPoint/edit1', |
|
|
|
deleteOne = '/AnnualCompPoint/annualCompPoint/delete', |
|
|
|
deleteOne = '/AnnualCompPoint/annualCompPoint/delete', |
|
|
|
deleteBatch = '/AnnualCompPoint/annualCompPoint/deleteBatch', |
|
|
|
deleteBatch = '/AnnualCompPoint/annualCompPoint/deleteBatch', |
|
|
|
importExcel = '/AnnualCompPoint/annualCompPoint/importExcel', |
|
|
|
importExcel = '/AnnualCompPoint/annualCompPoint/importExcel', |
|
|
@ -106,6 +107,11 @@ export const saveOrUpdate = (params, isUpdate) => { |
|
|
|
return defHttp.post({ url: url, params }, { isTransformResponse: false }); |
|
|
|
return defHttp.post({ url: url, params }, { isTransformResponse: false }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const saveOrUpdate1 = (params, isUpdate) => { |
|
|
|
|
|
|
|
let url = isUpdate ? Api.edit1 : Api.save; |
|
|
|
|
|
|
|
return defHttp.post({ url: url, params }, { isTransformResponse: false }); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 提交或申请修改 |
|
|
|
* 提交或申请修改 |
|
|
|
* @param params |
|
|
|
* @param params |
|
|
|