}
- iconBgcolor="#F14A2D" buttons={showOperateBtn ? rightBtns : []}>
+ iconBgcolor="#F14A2D" buttons={showOperateBtn ? rightBtns : []}
+ showDropIcon onDropMenuClick={this.onDropMenuClick}
+ dropMenuDatas={[
+ {
+ key: "log", icon:
,
+ content: getLabel(545781, "操作日志")
+ }
+ ]}
+ >
{
@@ -129,6 +148,9 @@ class StandingBook extends Component {
accountDialog: { ...accountDialog, visible: false, title: "", loading: false }
})} onOk={this.handleAccount}
/>
+ {/*操作日志*/}
+ this.setState({ logDialogVisible: false })}/>
{/*核算进度条*/}
{
this.state.progressVisible &&
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/logDialog/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/logDialog/index.js
index 2ac65e14..d23c813c 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/logDialog/index.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/logDialog/index.js
@@ -89,7 +89,7 @@ class Index extends Component {
const scrollHeight = this.logRef ? this.logRef.state.height - 210 : 606.6;
return (
this.logRef = dom} className="logDialog" initLoadCss
style={{
width: 1150,
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js
index 580f695b..55459f95 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/config.js
@@ -140,9 +140,13 @@ export const welfareTipList = [
];
export const renderDropMenuDatas = (selectedKey, getLabel, showOperateBtn) => {
let menus = [{
+ key: "record",
+ icon: ,
+ content: getLabel(111, "基数调整记录")
+ },{
key: "log",
icon: ,
- content: getLabel(111, "操作日志")
+ content: getLabel(545781, "操作日志")
}];
if (showOperateBtn) {
switch (selectedKey) {
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/index.js
index f0b9ba9f..afd726f5 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/index.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/index.js
@@ -12,7 +12,8 @@ import WelfareAdvanceSearchPannel from "./components/welfareAdvanceSearchPannel"
import WelfareTableList from "./components/welfareTableList";
import WelfareArchivesImportDialog from "./components/welfareArchivesImportDialog";
import WelfareTip from "./components/welfareTip";
-import LogDialog from "./components/logDialog";
+import RecordDialog from "./components/logDialog";
+import LogDialog from "../../../components/logViewModal";
import * as API from "../../../apis/welfareArchive";
import { sysinfo } from "../../../apis/ruleconfig";
import { optTypeEnum, renderDropMenuDatas, renderReqBtns, tabList, welfareTipList } from "./config";
@@ -35,7 +36,7 @@ class Index extends Component {
selectedKey: "1", showSearchAd: false, isQuery: false, logDialogVisible: false,
topTabCount: { stayAdd: 0, paying: 0, stayDel: 0, stopPay: 0, ext: 0 },
welfareImpDialog: { visible: false, title: getLabel(24023, "数据导入"), runStatuses: "" },
- showExtEmpsWitch: false
+ showExtEmpsWitch: false, recordDialogVisible: false
};
}
@@ -84,6 +85,9 @@ class Index extends Component {
case "exportSelected":
this.handleExport(key);
break;
+ case "record":
+ this.setState({ recordDialogVisible: true });
+ break;
case "log":
this.setState({ logDialogVisible: true });
break;
@@ -127,7 +131,7 @@ class Index extends Component {
render() {
const {
- selectedKey, topTabCount, showSearchAd, isQuery,
+ selectedKey, topTabCount, showSearchAd, isQuery, recordDialogVisible,
logDialogVisible, welfareImpDialog, showExtEmpsWitch
} = this.state;
const { taxAgentStore: { showOperateBtn } } = this.props;
@@ -162,8 +166,11 @@ class Index extends Component {
/>
{/*提示*/}
{!_.isEmpty(tipList) && }
+ {/*基数调整记录*/}
+ this.setState({ recordDialogVisible: false })}/>
{/*操作日志*/}
- this.setState({ logDialogVisible: false })}/>
+ this.setState({ logDialogVisible: false })}/>
{/* 导入*/}
{