45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
/*
|
|
* 考勤引用数据编辑
|
|
* @Author: 黎永顺
|
|
* @Date: 2025/4/23
|
|
* @Wechat:
|
|
* @Email: 971387674@qq.com
|
|
* @description:
|
|
*/
|
|
import React, { Component } from "react";
|
|
import { WeaLocaleProvider, WeaSlideModal } from "ecCom";
|
|
import { Button } from "antd";
|
|
import "./index.less";
|
|
|
|
const { getLabel } = WeaLocaleProvider;
|
|
|
|
class AttendanceDataEditSlide extends Component {
|
|
constructor(props) {
|
|
super(props);
|
|
this.state = {};
|
|
}
|
|
|
|
componentWillReceiveProps(nextProps, nextContext) {
|
|
if (nextProps.visible !== this.props.visible && nextProps.visible) {
|
|
document.querySelector(".attendanceRefWrapper").classList.add("zIndex0-attendance");
|
|
} else if (nextProps.visible !== this.props.visible && !nextProps.visible) {
|
|
document.querySelector(".attendanceRefWrapper").classList.remove("zIndex0-attendance");
|
|
}
|
|
}
|
|
|
|
render() {
|
|
const btns = [
|
|
<Button type="primary" onClick={this.handleExportAttendQuote}>{getLabel(111, "保存")}</Button>
|
|
];
|
|
return (
|
|
<WeaSlideModal {...this.props} className="attendanceSlideWrapper" top={0} height={100} width={800}
|
|
measureX="px" measureT="%" measureY="%" direction="right"
|
|
title="郑世珍"
|
|
content={<div></div>}
|
|
/>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default AttendanceDataEditSlide;
|