diff --git a/pc4mobx/hrmSalary/stores/payroll.js b/pc4mobx/hrmSalary/stores/payroll.js index 0e914a82..3afb7bc2 100644 --- a/pc4mobx/hrmSalary/stores/payroll.js +++ b/pc4mobx/hrmSalary/stores/payroll.js @@ -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(); + } + }); + }); + }; }