|
|
|
@ -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;
|
|
|
|
|