This commit is contained in:
Taric Xin
2022-04-26 15:36:41 +08:00
parent 75f9653524
commit 359b34dcfa
4 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
<div class="modal-header">
<div class="modal-title">{{ params.id === 0 ? '新增角色' : '编辑角色' }}</div>
<div class="modal-title">{{ params.id === 0 ? '新增组织' : '编辑组织' }}</div>
</div>

View File

@ -31,21 +31,21 @@ export class OrganizationModalComponent implements OnInit {
this.schema = {
properties: {
roleName: {
title: '角色名称',
title: '组织名称',
type: 'string',
maxLength: 20,
ui: {
placeholder: '请输入角色名称'
placeholder: '请输入组织名称'
}
},
roleDescription: {
title: '角色描述',
title: '组织描述',
type: 'string',
maxLength: 50,
ui: {
autosize: { minRows: 3 },
hidden: this.params.lookType === 'detail',
placeholder: '请输入角色描述',
placeholder: '请输入组织描述',
widget: 'textarea'
}
}
@ -66,7 +66,7 @@ export class OrganizationModalComponent implements OnInit {
}
sure() {
if (!this.sf?.valid) {
this.service.msgSrv.warning('角色名称不能为空');
this.service.msgSrv.warning('组织名称不能为空');
return;
}