代办跳转

master
wuzuowei 7 months ago
parent c899972071
commit 8d8d798ad6

@ -72,10 +72,10 @@ const RightInfo = () => {
.post("http://172.15.89.222:8081/WF/API/EmpWorksNums?UserNo=" + loginName)
.then(({ data }) => {
setmsgnum(data.replace("EmpWorksNums:", ""));
setTimeout(() => {
document.getElementById('MSGNUM').style.display = 'none';
// setIsVisible(false); // 2000ms后将isVisible设置为不可见状态
}, 60000);
// setTimeout(() => {
// document.getElementById('MSGNUM').style.display = 'none';
// // setIsVisible(false); // 2000ms后将isVisible设置为不可见状态
// }, 60000);
})
.catch((reason) => {
message.error('推送代办信息报错' + reason);
@ -98,21 +98,6 @@ const RightInfo = () => {
body.to = 'iBKLinker-union-framework';
body.from = 'prd';
window.top?.postMessage(body, '*');
// history.replace({
// pathname: '/NewProductCalculation/InputList/InputList',
// state: {
// recordData: record,
// },
// });
// setTab(() => {
// let titles: any = [];
// titles.push(
// '新成本测算输入表',
// '/NewProductCalculation/InputList/InputList',
// '/新成本测算/输入表数据回显',
// );
// return titles;
// });)
}, 300000)
, [])
@ -261,7 +246,9 @@ const RightInfo = () => {
<Dropdown overlay={
<Menu items={[
{
key: "changePassword", icon: <KeyOutlined style={{ color: "var(--daye-primary-color)" }} />, label: <span style={{ color: "var(--daye-primary-color)" }}></span>, onClick: () => {
key: "changePassword", icon: <KeyOutlined style={{ color: "var(--daye-primary-color)" }} />,
label: <span style={{ color: "var(--daye-primary-color)" }}></span>,
onClick: () => {
setShowFuncs(false)
Modal.confirm({
prefixCls: "daye-modal",
@ -314,16 +301,20 @@ const RightInfo = () => {
<div className={styles.info_content} style={{}}>
<span><UserOutlined /></span>
<div style={{ marginLeft: 8, whiteSpace: "nowrap" }}>{!nickname ? "-" : `${nickname},您好!`}<span
<div style={{ marginLeft: 8, whiteSpace: "nowrap" }}>{!nickname ? "-" : `${nickname},您好!`}
</div>
</div>
</Dropdown >
<span
onClick={(event) => {
gomsglog()
// Cookies.set('InputListData', JSON.stringify(record));
}}
id='MSGNUM' style={{ fontSize: '16PX', color: 'rgb(225 70 70)' }}>{`您有${msgnum}条待办`}</span></div>
</div>
</Dropdown >
id='MSGNUM' style={{ fontSize: '16PX', color: 'rgb(225 70 70)' }}>{`您有${msgnum}条待办`}
</span>
{/* </Popover> */}
< UserEditor visible={showEditor} userData={userInfo} callback={(ret: any) => {

Loading…
Cancel
Save