工资单发放bug的修复
This commit is contained in:
parent
8a3ff43bb4
commit
c582fb2182
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue