diff --git a/platform-code/src/microhost/components/rightInfo/index.tsx b/platform-code/src/microhost/components/rightInfo/index.tsx index f215520..63a1a90 100644 --- a/platform-code/src/microhost/components/rightInfo/index.tsx +++ b/platform-code/src/microhost/components/rightInfo/index.tsx @@ -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 = () => { , label: 修改密码, onClick: () => { + key: "changePassword", icon: , + label: 修改密码, + onClick: () => { setShowFuncs(false) Modal.confirm({ prefixCls: "daye-modal", @@ -314,16 +301,20 @@ const RightInfo = () => {
-
{!nickname ? "-" : `${nickname},您好!`}{!nickname ? "-" : `${nickname},您好!`} - onClick={(event) => { - gomsglog() - // Cookies.set('InputListData', JSON.stringify(record)); - }} - id='MSGNUM' style={{ fontSize: '16PX', color: 'rgb(225 70 70)' }}>{`您有${msgnum}条待办`}
+
+ { + gomsglog() + // Cookies.set('InputListData', JSON.stringify(record)); + }} + id='MSGNUM' style={{ fontSize: '16PX', color: 'rgb(225 70 70)' }}>{`您有${msgnum}条待办`} + {/* */} < UserEditor visible={showEditor} userData={userInfo} callback={(ret: any) => {