From 8d8d798ad6e61f1ca1a292c1e0bcb79fb9991471 Mon Sep 17 00:00:00 2001 From: wuzuowei Date: Sat, 9 Mar 2024 10:42:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=8A=9E=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../microhost/components/rightInfo/index.tsx | 43 ++++++++----------- 1 file changed, 17 insertions(+), 26 deletions(-) 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) => {