From 8f8ffa5714d9bee3395e5905b42dfb39b346be24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 7 Mar 2023 18:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=96=AA=E8=B5=84=E6=A1=A3=E6=A1=88=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=9B=9E=E5=A4=8D=E5=88=97=E5=AE=9A=E5=88=B6=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/payrollFiles/index.js | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/index.js index 074a2d80..e52b9e38 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/index.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/index.js @@ -735,13 +735,23 @@ class Index extends Component { selectedRowKeys, onChange: (selectedRowKeys) => this.setState({ selectedRowKeys }) }; + const rightMenu = [ + { + key: "BTN_COLUMN", + icon: , + content: "显示列定制", + onClick: () => { + tableStore.setColSetVisible(true); + tableStore.tableColSet(true); + } + } + ]; return (
} // 左侧图标 - iconBgcolor="#F14A2D" // 左侧图标背景色 - showDropIcon={true} // 是否显示下拉按钮 + title="薪资档案" icon={} + iconBgcolor="#F14A2D" showDropIcon={true} + dropMenuDatas={rightMenu} >