{getLabel(111, "保存")}
+ ]}
+ >
+ {getSearchs(tempForm, tempConditions, 1, false)}
+
+ );
+ }
+}
+
+export default TempDialog;
diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/expTempManagementDialog/index.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/expTempManagementDialog/index.js
new file mode 100644
index 00000000..8e19670e
--- /dev/null
+++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/expTempManagementDialog/index.js
@@ -0,0 +1,96 @@
+/*
+ * Author: 黎永顺
+ * name: 自定义导出-导出模板管理
+ * Description:
+ * Date: 2024/3/28
+ */
+import React, { Component } from "react";
+import { WeaButtonIcon, WeaDialog, WeaInputSearch, WeaLocaleProvider, WeaTab, WeaTable } from "ecCom";
+import ExpFieldsSetDialog from "../expFieldsSetDialog";
+import * as API from "../../../../../apis/calculate";
+
+const getLabel = WeaLocaleProvider.getLabel;
+
+class Index extends Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ pageInfo: { current: 1, pageSize: 10, total: 0 }, dataSource: [], columns: [], loading: false,
+ fieldsSetDialog: { visible: false, salaryAcctRecordId: "" }, query: { templateName: "" },
+ selectedRowKeys: []
+ };
+ this.dialogRef = null;
+ }
+
+ componentWillReceiveProps(nextProps, nextContext) {
+ if (nextProps.visible !== this.props.visible && nextProps.visible) this.getExportTemplateList(nextProps);
+ if (nextProps.visible !== this.props.visible && !nextProps.visible) this.setState({ selectedRowKeys: [] });
+ }
+
+ getExportTemplateList = (props) => {
+ const { pageInfo, query } = this.state;
+ const { salaryAcctRecordId } = props;
+ const payload = { ...pageInfo, ...query, salaryAcctRecordId };
+ this.setState({ loading: true });
+ API.getExportTemplateList(payload).then(({ status, data }) => {
+ this.setState({ loading: false });
+ if (status) {
+ const {} = data;
+ }
+ }).catch(() => this.setState({ loading: false }));
+ };
+
+ render() {
+ const { fieldsSetDialog, query, pageInfo, selectedRowKeys, dataSource, columns } = this.state;
+ const { salaryAcctRecordId } = this.props;
+ const dialogBodyHeight = this.dialogRef ? this.dialogRef.state.height : 600;
+ const pagination = {
+ ...pageInfo,
+ showTotal: total => `${getLabel(18609, "共")} ${total} ${getLabel(18256, "条")}`,
+ showQuickJumper: true,
+ showSizeChanger: true,
+ pageSizeOptions: ["10", "20", "50", "100"],
+ onShowSizeChange: (current, pageSize) => {
+ this.setState({
+ pageInfo: { ...pageInfo, current, pageSize }
+ }, () => this.getExportTemplateList(this.props));
+ },
+ onChange: current => {
+ this.setState({
+ pageInfo: { ...pageInfo, current }
+ }, () => this.getExportTemplateList(this.props));
+ }
+ };
+ const rowSelection = {
+ selectedRowKeys, onChange: selectedRowKeys => this.setState({ selectedRowKeys })
+ };
+ return (
+