@@ -273,29 +267,37 @@ class SalaryDetails extends Component {
{/*/>*/}
{/*默认显示列,薪资模板列表*/}
this.transferRef = dom}
- buttons={[
- ,
-
- ]}
- titleOptsComs={
- }
onCancel={() => this.setState({
- transferDialog: {
- ...transferDialog, completeURL: "", visible: false, type: "default"
- }
- })}/>
+ transferDialog: { ...transferDialog, completeURL: "", visible: false }
+ })}
+ buttons={
+ dialogType === "temp" ? [
+ ,
+
+ ] : []
+ }
+ titleOptsComs={
+ dialogType === "temp" ?
+ : null
+ }/>
{/*薪资明细模板设置*/}
this.setState({
tempDialog: { ...tempDialog, visible: false, setting: [] }
}, () => callback && callback())}
- onSuccess={() => {
- this.getPageListTemplatelist();
- this.getSalaryList();
- }}/>
+ onSuccess={this.getPageListTemplatelist}/>
+ this.setState({
+ tempManageDialog: { ...tempManageDialog, completeURL: "", visible: false }
+ })}/>
);
diff --git a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryTempMangerDialog.js b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryTempMangerDialog.js
new file mode 100644
index 00000000..cf9ea23b
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryTempMangerDialog.js
@@ -0,0 +1,22 @@
+/*
+ * 薪酬报表-薪酬明细
+ * 模板管理弹框
+ * @Author: 黎永顺
+ * @Date: 2024/12/4
+ * @Wechat:
+ * @Email: 971387674@qq.com
+ * @description:
+*/
+import React, { Component } from "react";
+import { WeaLocaleProvider } from "ecCom";
+import CustomTransferDialog from "../../../components/CustomBrowser/components/customTransferDialog";
+
+const getLabel = WeaLocaleProvider.getLabel;
+
+class SalaryTempMangerDialog extends Component {
+ render() {
+ return (