feature/2.9.42310.01-薪资项目拓扑图

This commit is contained in:
lys 2024-11-27 14:26:36 +08:00
parent 4ff9bda282
commit ef37ad4806
1 changed files with 3 additions and 3 deletions

View File

@ -179,6 +179,9 @@ const index: FunctionComponent<Props> = (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> = (props) => {
}
/>
);
const handleDiagramTd = (salaryItemId: string, acctEmpId: string) => {
window.parent.postMessage({ type: "turn", payload: { id: "DIAGRAM", params: { salaryItemId, acctEmpId } } }, "*");
};
};
export default index;