mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
组织类型公司、分支机构、部门
This commit is contained in:
parent
aa2380e090
commit
b12e7b7049
@ -40,6 +40,9 @@
|
|||||||
</nz-form-label>
|
</nz-form-label>
|
||||||
<nz-form-control [nzSm]="18" [nzMd]="18" [nzXs]="36" [nzXl]="48" nzErrorTip="The input is not valid type!">
|
<nz-form-control [nzSm]="18" [nzMd]="18" [nzXs]="36" [nzXl]="48" nzErrorTip="The input is not valid type!">
|
||||||
<nz-select name="type" [(ngModel)]="form.model.type" [ngModelOptions]="{ standalone: true }">
|
<nz-select name="type" [(ngModel)]="form.model.type" [ngModelOptions]="{ standalone: true }">
|
||||||
|
<nz-option nzValue="company" nzLabel="{{ 'mxk.organizations.type.company' | i18n }}"></nz-option>
|
||||||
|
<nz-option nzValue="division" nzLabel="{{ 'mxk.organizations.type.division' | i18n }}"></nz-option>
|
||||||
|
<nz-option nzValue="department" nzLabel="{{ 'mxk.organizations.type.department' | i18n }}"></nz-option>
|
||||||
<nz-option nzValue="entity" nzLabel="{{ 'mxk.organizations.type.entity' | i18n }}"></nz-option>
|
<nz-option nzValue="entity" nzLabel="{{ 'mxk.organizations.type.entity' | i18n }}"></nz-option>
|
||||||
<nz-option nzValue="virtual" nzLabel="{{ 'mxk.organizations.type.virtual' | i18n }}"></nz-option>
|
<nz-option nzValue="virtual" nzLabel="{{ 'mxk.organizations.type.virtual' | i18n }}"></nz-option>
|
||||||
</nz-select>
|
</nz-select>
|
||||||
|
|||||||
@ -78,9 +78,11 @@
|
|||||||
<span>{{ data.id }}</span>
|
<span>{{ data.id }}</span>
|
||||||
</td>
|
</td>
|
||||||
<td nzAlign="left"> {{ data.orgName }}</td>
|
<td nzAlign="left"> {{ data.orgName }}</td>
|
||||||
<td nzAlign="left">
|
<td nzAlign="left" *ngIf="data.type == 'company'"> {{ 'mxk.organizations.type.company' | i18n }}</td>
|
||||||
{{ data.type == 'entity' ? ('mxk.organizations.type.entity' | i18n) : ('mxk.organizations.type.virtual' |
|
<td nzAlign="left" *ngIf="data.type == 'division'"> {{ 'mxk.organizations.type.division' | i18n }}</td>
|
||||||
i18n) }}</td>
|
<td nzAlign="left" *ngIf="data.type == 'department'"> {{ 'mxk.organizations.type.department' | i18n }}</td>
|
||||||
|
<td nzAlign="left" *ngIf="data.type == 'entity'"> {{ 'mxk.organizations.type.entity' | i18n }}</td>
|
||||||
|
<td nzAlign="left" *ngIf="data.type == 'virtual'"> {{ 'mxk.organizations.type.virtual' | i18n }}</td>
|
||||||
<td nzAlign="center"> {{ data.sortIndex }}</td>
|
<td nzAlign="center"> {{ data.sortIndex }}</td>
|
||||||
<td nzAlign="center"> <i *ngIf="data.status == 1" nz-icon nzType="check-circle" nzTheme="fill"
|
<td nzAlign="center"> <i *ngIf="data.status == 1" nz-icon nzType="check-circle" nzTheme="fill"
|
||||||
style="color: green"></i></td>
|
style="color: green"></i></td>
|
||||||
|
|||||||
@ -190,6 +190,9 @@
|
|||||||
"parentCode": "Parent Code",
|
"parentCode": "Parent Code",
|
||||||
"parentName": "Parent Name",
|
"parentName": "Parent Name",
|
||||||
"type": "Type",
|
"type": "Type",
|
||||||
|
"type.company": "Company",
|
||||||
|
"type.division": "Division",
|
||||||
|
"type.department": "Department",
|
||||||
"type.entity": "Entity",
|
"type.entity": "Entity",
|
||||||
"type.virtual": "Virtual",
|
"type.virtual": "Virtual",
|
||||||
"codePath": "Code Path",
|
"codePath": "Code Path",
|
||||||
|
|||||||
@ -191,6 +191,9 @@
|
|||||||
"parentCode": "父级编码",
|
"parentCode": "父级编码",
|
||||||
"parentName": "父级名称",
|
"parentName": "父级名称",
|
||||||
"type": "类型",
|
"type": "类型",
|
||||||
|
"type.company": "公司",
|
||||||
|
"type.division": "分支机构",
|
||||||
|
"type.department": "部门",
|
||||||
"type.entity": "实体",
|
"type.entity": "实体",
|
||||||
"type.virtual": "虚拟",
|
"type.virtual": "虚拟",
|
||||||
"codePath": "编码路径",
|
"codePath": "编码路径",
|
||||||
|
|||||||
@ -192,6 +192,9 @@
|
|||||||
"parentCode": "父級編碼",
|
"parentCode": "父級編碼",
|
||||||
"parentName": "父級名稱",
|
"parentName": "父級名稱",
|
||||||
"type": "類型",
|
"type": "類型",
|
||||||
|
"type.company": "公司",
|
||||||
|
"type.division": "分支機搆",
|
||||||
|
"type.department": "部門",
|
||||||
"type.entity": "實體",
|
"type.entity": "實體",
|
||||||
"type.virtual": "虛擬",
|
"type.virtual": "虛擬",
|
||||||
"codePath": "編碼路徑",
|
"codePath": "編碼路徑",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user