按钮。

This commit is contained in:
tengge1 2019-10-23 20:24:45 +08:00
parent 5031d76806
commit 40285517f4
3 changed files with 13 additions and 8 deletions

View File

@ -10,7 +10,7 @@
"is not existed in the scene.": "在场景中不存在。",
"No Colors": "无颜色",
"Background": "背景",
"Add": "加",
"Add": "加",
"PhysicsEnvironment": "物理环境",
"Penumbra": "半阴影",
"Rotate(E)": "旋转(E)",
@ -878,5 +878,7 @@
"The system has not been initialized.": "系统尚未被初始化。",
"All roles and users will be deleted and the pre-initial state will be restored. Is it reset?": "将删除所有角色和用户,恢复初始化前状态。是否重置?",
"Reset successfully!": "重置成功!",
"Reset System": "重置系统"
"Reset System": "重置系统",
"Add together": "相加",
"Add Child": "添加子节点"
}

View File

@ -21,7 +21,7 @@ class HalftoneComponent extends React.Component {
this.blendingMode = {
1: _t('Linear'),
2: _t('Multiply'),
3: _t('Add'),
3: _t('Add together'),
4: _t('Lighter'),
5: _t('Darker'),
};

View File

@ -1,5 +1,5 @@
import './css/DepartmentManagementWindow.css';
import { Window, Content, Toolbar, Button, DataGrid, Column, ToolbarFiller, SearchField, HBoxLayout, Form, FormControl, Label, CheckBox } from '../../third_party';
import { Window, Content, Toolbar, Button, DataGrid, Column, ToolbarFiller, SearchField, HBoxLayout, Tree } from '../../third_party';
/**
* 组织机构管理窗口
@ -32,10 +32,13 @@ class DepartmentManagementWindow extends React.Component {
style={{ width: '600px', height: '400px' }}
mask={false}
onClose={this.handleClose}
>
>
<Content>
<Toolbar>
<Button onClick={this.handleSave}>{_t('Save')}</Button>
<Button>{_t('Add')}</Button>
<Button>{_t('Add Child')}</Button>
<Button>{_t('Edit')}</Button>
<Button>{_t('Delete')}</Button>
<ToolbarFiller />
</Toolbar>
<HBoxLayout className={'hbox'}>
@ -126,8 +129,8 @@ class DepartmentManagementWindow extends React.Component {
let body = `RoleID=${roleID}`;
authorities.forEach(n => {
if(n.Enabled) {
body += `&Authorities[]=${n.ID}`;
if (n.Enabled) {
body += `&Authorities[]=${n.ID}`;
}
});