签名照上传提示
This commit is contained in:
parent
b05c6c9404
commit
1f274c5dd3
@ -31,6 +31,7 @@ import {
|
|||||||
Table,
|
Table,
|
||||||
Button,
|
Button,
|
||||||
DatePicker,
|
DatePicker,
|
||||||
|
notification,
|
||||||
Select,
|
Select,
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import styles from "./dashboard.css";
|
import styles from "./dashboard.css";
|
||||||
@ -48,6 +49,17 @@ const formItemLayout = {
|
|||||||
labelCol: { span: 6 },
|
labelCol: { span: 6 },
|
||||||
wrapperCol: { span: 14 },
|
wrapperCol: { span: 14 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const openNotification = (placement) => {
|
||||||
|
notification.info({
|
||||||
|
duration: null,
|
||||||
|
top: 43,
|
||||||
|
message: `签名照上传提示:`,
|
||||||
|
description: "您还没上传自己的签名照片,请在我的资料中尽快上传您的签名照!",
|
||||||
|
placement,
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
const AllTech = (props) => {
|
const AllTech = (props) => {
|
||||||
return (
|
return (
|
||||||
<Col
|
<Col
|
||||||
@ -276,12 +288,13 @@ class Home extends React.Component {
|
|||||||
this.safeCheck();
|
this.safeCheck();
|
||||||
this.dangerChange();
|
this.dangerChange();
|
||||||
this.getUser();
|
this.getUser();
|
||||||
|
this.showModalSign();
|
||||||
//定时器功能,暂时不开启
|
//定时器功能,暂时不开启
|
||||||
this.timerID = setInterval(
|
this.timerID = setInterval(
|
||||||
() =>{this.getBaseData(1, this.state.tableKey, 5),this.getBaseData(1, this.state.overDataKey)} ,
|
() =>{this.getBaseData(1, this.state.tableKey, 5),this.getBaseData(1, this.state.overDataKey)} ,
|
||||||
120000
|
120000
|
||||||
);
|
);
|
||||||
this.showModalSign();
|
|
||||||
}
|
}
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.timerID && clearTimeout(this.timerID);
|
this.timerID && clearTimeout(this.timerID);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user