From 5cb02fd0b441d0caa9b24e92fc0a91c94d59bd6e Mon Sep 17 00:00:00 2001 From: 18652063575 Date: Mon, 7 Nov 2022 14:12:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E9=85=8D=E7=BD=AE=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=98=AF=E5=90=A6=E6=98=BE=E7=A4=BA=E8=84=B1=E6=95=8F?= =?UTF-8?q?=E8=A1=A8=E4=BA=BA=E5=91=98=E4=BF=A1=E6=81=AF=E7=9A=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/appConfig/index.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/appConfig/index.js b/pc4mobx/hrmSalary/pages/appConfig/index.js index d7754d54..898308cb 100644 --- a/pc4mobx/hrmSalary/pages/appConfig/index.js +++ b/pc4mobx/hrmSalary/pages/appConfig/index.js @@ -14,6 +14,7 @@ class AppConfig extends Component { super(props); this.state = { openAcctResultSum: "0", + displayPersonalInfo: "0", loading: false }; } @@ -45,7 +46,7 @@ class AppConfig extends Component { }; render() { - const { openAcctResultSum, loading } = this.state; + const { openAcctResultSum,displayPersonalInfo, loading } = this.state; const btns = []; const items = [ { @@ -56,6 +57,15 @@ class AppConfig extends Component { this.setState({ openAcctResultSum }); } }) + }, + { + com: CheckBox({ + label: "是否显示脱敏表人员信息", + value: displayPersonalInfo, + onChange: (displayPersonalInfo) => { + this.setState({ displayPersonalInfo }); + } + }) } ]; return (