feature/2.9.42310.01-薪资项目拓扑图
This commit is contained in:
parent
4ff9bda282
commit
ef37ad4806
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue