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 (