工资单发放bug的修复

This commit is contained in:
liyongshun 2022-06-24 11:59:29 +08:00
parent 8a3ff43bb4
commit c582fb2182
1 changed files with 26 additions and 0 deletions

View File

@ -536,4 +536,30 @@ export class payrollStore {
});
});
};
// 工资单-工资单撤回
@action
getSendBtnStatus = (params = {}) => {
return new Promise((resolve, reject) => {
API.getSendBtnStatus(params).then(res => {
if (res.status) {
resolve(res.data);
} else {
reject();
}
});
});
};
// 工资单-流程发起
@action
grantProxy = (params = {}) => {
return new Promise((resolve, reject) => {
API.grantProxy(params).then(res => {
if (res.status) {
resolve();
} else {
reject();
}
});
});
};
}