应用配置添加是否显示脱敏表人员信息的配置项
This commit is contained in:
parent
c4c24dd159
commit
5cb02fd0b4
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Reference in New Issue