From 93c17d1a35383389ae32ea28e6e56f22a34296dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Fri, 26 Jan 2024 10:25:32 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.10.1.2401.01-=E5=B7=A5=E8=B5=84?= =?UTF-8?q?=E5=8D=95=E6=9F=A5=E7=9C=8B=E4=B8=8E=E8=B0=83=E8=96=AA=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=88=86=E5=BC=80=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/historicalPayroll/index.js | 5 +---- pc4mobx/hrmSalary/pages/salaryAdjustmentRecords/index.js | 5 ++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/historicalPayroll/index.js b/pc4mobx/hrmSalary/pages/historicalPayroll/index.js index 51e21047..342a69a2 100644 --- a/pc4mobx/hrmSalary/pages/historicalPayroll/index.js +++ b/pc4mobx/hrmSalary/pages/historicalPayroll/index.js @@ -26,10 +26,7 @@ class Index extends Component { render() { const { dateRange } = this.state; - const index1 = window.location.hash.lastIndexOf("/") + 1, index2 = window.location.hash.lastIndexOf("?"); - const employeeId = window.location.hash.slice(index1, index2); - console.log(WeaTools.getUrlParams(), window.location); - console.log(window.parent, window.parent.location.href); + const employeeId = WeaTools.getUrlParams().hrmResourceID; return (