@@ -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"
/>
);
}
From eed8d3a5bdd97143c31281aa32e6e98241cbcc1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 27 Oct 2023 16:14:59 +0800
Subject: [PATCH 3/3] =?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
---
pc4mobx/hrmSalary/index.js | 2 +
.../components/salaryEditCalc/diagramModal.js | 59 -------------------
.../salaryEditCalc/editCalcTable.js | 17 ++----
.../components/ledgerSalaryItemTable.js | 8 ++-
.../ledgerPage/components/ledgerSlide.js | 2 +-
.../pages/salaryItemDiagram/index.js | 4 +-
pc4mobx/hrmSalary/pages/topologyMap/index.js | 45 ++++++++++++++
7 files changed, 62 insertions(+), 75 deletions(-)
delete mode 100644 pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryEditCalc/diagramModal.js
create mode 100644 pc4mobx/hrmSalary/pages/topologyMap/index.js
diff --git a/pc4mobx/hrmSalary/index.js b/pc4mobx/hrmSalary/index.js
index af5bbfb0..115db668 100644
--- a/pc4mobx/hrmSalary/index.js
+++ b/pc4mobx/hrmSalary/index.js
@@ -42,6 +42,7 @@ import MySalaryView from "./pages/mySalary/mySalaryView";
import WatermarkPreview from "./pages/payroll/watermarkPreview";
import ExternalPersonManage from "./pages/externalPersonManage";
import AdjustSalaryManage from "./pages/adjustSalaryManage";
+import TopologyMap from "./pages/topologyMap";
import stores from "./stores";
import "./style/index";
@@ -168,6 +169,7 @@ const Routes = (