feature/2.10.1.2401.01-工资单模板复制以及移动端地址配置

This commit is contained in:
黎永顺 2024-01-26 09:30:38 +08:00
parent 314b3f594c
commit fe83bf0286
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
* Date: 2024/1/25
*/
import React, { Component } from "react";
import { WeaLocaleProvider } from "ecCom";
import { WeaLocaleProvider, WeaTools } from "ecCom";
import { MonthRangePicker } from "../reportView/components/statisticalMicroSettingsSlide";
import Payroll from "../mySalaryBenefits/components/payrollTable";
import moment from "moment";
@ -28,6 +28,8 @@ class Index extends Component {
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);
return (
<div className="history-payroll-box">
<div className="topQuery">