From c582fb218279f022e79b2d6eb78f0760c1739079 Mon Sep 17 00:00:00 2001 From: liyongshun <971387674@qq.com> Date: Fri, 24 Jun 2022 11:59:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=B5=84=E5=8D=95=E5=8F=91=E6=94=BEbu?= =?UTF-8?q?g=E7=9A=84=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/stores/payroll.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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(); + } + }); + }); + }; }