edit
This commit is contained in:
@ -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>
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user