custom/领悦业务线

This commit is contained in:
lys 2025-02-14 10:51:41 +08:00
parent 1a8e4bc9a4
commit b6dde18192
2 changed files with 31 additions and 1 deletions

View File

@ -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 (
<div>
</div>
);
}
}
export default LyCheckSecondaryVerifyDialog;

View File

@ -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) {