|
|
@@ -321,7 +321,7 @@ class GroupBox extends React.Component {
|
|
|
}
|
|
|
|
|
|
render() {
|
|
|
- let { visibleBox, hideBox, okHandler } = this.props;
|
|
|
+ let { visibleBox, hideBox, okHandler, typeText } = this.props;
|
|
|
let { groupData, expandedKeys, selectedGroup, autoExpandParent, aGroups, mGroups, dGroups, visibleDeleteGroupBox, willDeleteGroup, saving } = this.state;
|
|
|
let treeData = arrayToTree(groupData, '-1', 'code', 'pcode', 'children');
|
|
|
return <Modal
|
|
|
@@ -378,7 +378,7 @@ class GroupBox extends React.Component {
|
|
|
</Row>
|
|
|
{visibleDeleteGroupBox && <DeleteBox
|
|
|
visibleBox={visibleDeleteGroupBox}
|
|
|
- text={<div><span>确定要删除分组【{willDeleteGroup.label}】吗?</span><br/><span style={{ color: 'red' }}>*该组所有数据源将移动到未分组</span></div>}
|
|
|
+ text={<div><span>确定要删除分组【{willDeleteGroup.label}】吗?</span><br/><span style={{ color: 'red' }}>{`*该组所有${typeText}将移动到未分组`}</span></div>}
|
|
|
hideBox={() => {
|
|
|
this.setState({
|
|
|
visibleDeleteGroupBox: false
|