main
Gitea 1 year ago
parent 308a3c7afe
commit 7966a8878a
  1. 38
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPoint.api.ts

@ -13,6 +13,7 @@ enum Api {
exportXls = '/AnnualCompPoint/annualCompPoint/exportXls',
updateApply = '/AnnualCompPoint/annualCompPoint/updateApply',
collectScore = '/annualScore/personalCompScore/collectScore',
pj = '/AnnualCompPoint/annualCompPoint/pj',
}
/**
@ -43,6 +44,12 @@ export const deleteOne = (params,handleSuccess) => {
});
}
export const pj = (params,handleSuccess) => {
return defHttp.get({url: Api.pj, params}, {joinParamsToUrl: true}).then(() => {
handleSuccess();
});
}
/**
*
* @param params
@ -62,6 +69,21 @@ export const batchDelete = (params, handleSuccess) => {
}
});
}
// 个人积分汇总
export const collectScore = (params,handleSuccess) => {
createConfirm({
iconType: 'warning',
title: '确认操作',
content: '确认发送请求吗',
okText: '确认',
cancelText: '取消',
onOk: () => {
return defHttp.post({url: Api.collectScore,params}, {joinParamsToUrl: true}).then(() => {
handleSuccess();
});
}
});
}
/**
*
@ -92,19 +114,3 @@ export const updateApply = (params,handleSuccess) => {
}
});
}
// 个人积分汇总
export const collectScore = (params,handleSuccess) => {
createConfirm({
iconType: 'warning',
title: '确认操作',
content: '确认发送请求吗',
okText: '确认',
cancelText: '取消',
onOk: () => {
return defHttp.post({url: Api.collectScore,params}, {joinParamsToUrl: true}).then(() => {
handleSuccess();
});
}
});
}

Loading…
Cancel
Save