应用配置添加是否显示脱敏表人员信息的配置项

This commit is contained in:
18652063575 2022-11-07 14:12:13 +08:00
parent c4c24dd159
commit 5cb02fd0b4
1 changed files with 11 additions and 1 deletions

View File

@ -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 = [<Button type="primary" loading={loading} onClick={this.appSettingSave}>保存</Button>];
const items = [
{
@ -56,6 +57,15 @@ class AppConfig extends Component {
this.setState({ openAcctResultSum });
}
})
},
{
com: CheckBox({
label: "是否显示脱敏表人员信息",
value: displayPersonalInfo,
onChange: (displayPersonalInfo) => {
this.setState({ displayPersonalInfo });
}
})
}
];
return (