@@ -125,7 +138,7 @@ class EditCalcTable extends Component {
"当前状态未锁定,点击锁定": getLabel(111, "当前状态未锁定,点击锁定"),
"共": getLabel(18609, "共"), "条": getLabel(18256, "条"),
"总计": getLabel(523, "总计"), "批量解锁": getLabel(111, "批量解锁"),
- "批量锁定": getLabel(111, "批量锁定")
+ "批量锁定": getLabel(111, "批量锁定"), "查看拓扑图": getLabel(111, "查看拓扑图")
};
const childFrameObj = document.getElementById("atdTable");
childFrameObj.contentWindow.postMessage(JSON.stringify({ ...payload, i18n }), "*");
@@ -160,7 +173,7 @@ class EditCalcTable extends Component {
};
render() {
- const { loading, progressVisible, progress, salaryCalcSlide } = this.state;
+ const { loading, progressVisible, progress, salaryCalcSlide, diagramModal } = this.state;
return (
@@ -177,6 +190,10 @@ class EditCalcTable extends Component {
id: ""
}
}, () => isFresh === "true" && this.queryCalcResultList())}/>
+ {
+ diagramModal.visible &&
+ this.setState({ diagramModal: { visible: false } })}/>
+ }
{
progressVisible &&
-
this.calcTableRef = dom}
+ this.calcTableRef = dom} salarySobId={salarySobCycle.salarySobId}
{...this.props} showTotalCell={showTotalCell}
onShowFormulaTd={this.handleShowFormulaTa}/>
diff --git a/pc4mobx/hrmSalary/pages/salaryItemDiagram/index.js b/pc4mobx/hrmSalary/pages/salaryItemDiagram/index.js
index 6de256d3..51e16088 100644
--- a/pc4mobx/hrmSalary/pages/salaryItemDiagram/index.js
+++ b/pc4mobx/hrmSalary/pages/salaryItemDiagram/index.js
@@ -13,7 +13,7 @@ class Index extends Component {
style={{ border: 0, width: "100%", height: "100%" }}
src="http://localhost:7607/#/salaryItemDiagram"
// src="/spa/hrmSalary/hrmSalaryCalculateDetail/index.html#/salaryItemDiagram"
- id="atdTable"
+ id="topologyDiagram"
/>
);
}