From b6dde18192ee88896fe32a3653b8f1c38162c78b Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Fri, 14 Feb 2025 10:51:41 +0800 Subject: [PATCH] =?UTF-8?q?custom/=E9=A2=86=E6=82=A6=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ly_checkSecondaryVerifyDialog.js | 25 +++++++++++++++++++ .../hrmSalary/pages/mobilePayroll/index.js | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/ly_checkSecondaryVerifyDialog.js diff --git a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/ly_checkSecondaryVerifyDialog.js b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/ly_checkSecondaryVerifyDialog.js new file mode 100644 index 00000000..c3975998 --- /dev/null +++ b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/components/ly_checkSecondaryVerifyDialog.js @@ -0,0 +1,25 @@ +/* + * 领悦二开 + * 工资单查看启用二次验证弹框 + * @Author: 黎永顺 + * @Date: 2025/2/14 + * @Wechat: + * @Email: 971387674@qq.com + * @description: +*/ +import React, { Component } from "react"; +import { WeaLocaleProvider } from "ecCom"; + +const getLabel = WeaLocaleProvider.getLabel; + +class LyCheckSecondaryVerifyDialog extends Component { + render() { + return ( +
+ +
+ ); + } +} + +export default LyCheckSecondaryVerifyDialog; diff --git a/pc4mobx/hrmSalary/pages/mobilePayroll/index.js b/pc4mobx/hrmSalary/pages/mobilePayroll/index.js index 1b598371..b155e6cb 100644 --- a/pc4mobx/hrmSalary/pages/mobilePayroll/index.js +++ b/pc4mobx/hrmSalary/pages/mobilePayroll/index.js @@ -46,7 +46,9 @@ export default class MobilePayroll extends React.Component { if (type !== "phone") { const { data, status } = await payrollCheckType(); if (status && data === "PWD") { - init(false, () => this.getMySalaryBill(this.id)); + // init(false, () => this.getMySalaryBill(this.id)); + //领悦二开 + this.initLY(); } else { this.setState({ captchaVisible: true }); } @@ -54,6 +56,9 @@ export default class MobilePayroll extends React.Component { type === "phone" && await this.initMobile(); } + initLY = () => { + + }; initMobile = async () => { const { mySalaryStore: { setInitEmVerify } } = this.props; if (window.em) {