feature/2.10.1.2401.01-工资单查看与调薪记录分开展示
This commit is contained in:
parent
fe83bf0286
commit
93c17d1a35
|
|
@ -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 (
|
||||
<div className="history-payroll-box">
|
||||
<div className="topQuery">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* Date: 2024/1/25
|
||||
*/
|
||||
import React, { Component } from "react";
|
||||
import { WeaLocaleProvider } from "ecCom";
|
||||
import { WeaLocaleProvider, WeaTools } from "ecCom";
|
||||
import SalaryAdjustmentRecords from "../mySalaryBenefits/components/SalaryAdjustmentRecords";
|
||||
import "../historicalPayroll/index.less";
|
||||
|
||||
|
|
@ -13,8 +13,7 @@ const getLabel = WeaLocaleProvider.getLabel;
|
|||
|
||||
class Index extends Component {
|
||||
render() {
|
||||
const index1 = window.location.hash.lastIndexOf("/") + 1, index2 = window.location.hash.lastIndexOf("?");
|
||||
const employeeId = window.location.hash.slice(index1, index2);
|
||||
const employeeId = WeaTools.getUrlParams().hrmResourceID;
|
||||
return (
|
||||
<div className="history-payroll-box">
|
||||
<SalaryAdjustmentRecords type="mySalaryRecordList4Card" employeeId={employeeId}/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue