From ef37ad480631d991c68a4e0d41b610b713a882ac Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Wed, 27 Nov 2024 14:26:36 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.9.42310.01-=E8=96=AA=E8=B5=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8B=93=E6=89=91=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/calcTable/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/calcTable/index.tsx b/src/pages/calcTable/index.tsx index fb4520c..91c003a 100644 --- a/src/pages/calcTable/index.tsx +++ b/src/pages/calcTable/index.tsx @@ -179,6 +179,9 @@ const index: FunctionComponent = (props) => { const handleFormulaTd = (dataIndex: string) => { window.parent.postMessage({ type: "turn", payload: { id: "FORMULA", params: { dataIndex } } }, "*"); }; + const handleDiagramTd = (salaryItemId: string, acctEmpId: string) => { + window.parent.postMessage({ type: "turn", payload: { id: "DIAGRAM", params: { salaryItemId, acctEmpId } } }, "*"); + }; const handleEdit = (id: string) => { window.parent.postMessage({ type: "turn", payload: { id: "EDIT", params: { id } } }, "*"); }; @@ -247,9 +250,6 @@ const index: FunctionComponent = (props) => { } /> ); - const handleDiagramTd = (salaryItemId: string, acctEmpId: string) => { - window.parent.postMessage({ type: "turn", payload: { id: "DIAGRAM", params: { salaryItemId, acctEmpId } } }, "*"); - }; }; export default index;