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