diff options
Diffstat (limited to 'usecaseui-portal/src/app/shared')
-rw-r--r-- | usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html | 8 | ||||
-rw-r--r-- | usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.ts | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html b/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html index 8a6cbf23..5a600ce3 100644 --- a/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html +++ b/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.html @@ -1,4 +1,4 @@ -<nz-list class="taskmodel_list" [nzDataSource]="checkDetail" nzBordered [nzHeader]="'配置审核详情:'" [nzFooter]="null" +<nz-list class="taskmodel_list" [nzDataSource]="checkDetail" nzBordered [nzHeader]="'配置审核详情:'" [nzFooter]="null" *ngIf="taskModel!==false" [nzRenderItem]="checkItem"> <ng-template #checkItem let-check> <nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8"> @@ -28,7 +28,11 @@ <ng-template #businessItem let-item> <nz-list-item nz-row nzType="flex" nzJustify="start" [nzGutter]="8" *ngFor="let list of businessList "> <div nz-col [nzSpan]="list.length === 1 ? '24' : '8'" *ngFor="let ite of list"> - <span class="ant-typography">{{ ite.title }} : {{ item[ite.key] }}</span> + <span class="ant-typography" *ngIf="ite!=='区域'">{{ ite.title }} : {{ item[ite.key] }}</span> + <span class="ant-typography" *ngIf="ite==='区域'"> + {{ ite.title }} : + <span style="display: inline-block" *ngFor="let items of item[ite.key]">{{ items }} </span> + </span> </div> </nz-list-item> </ng-template> diff --git a/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.ts b/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.ts index 0f096b71..d718d9d3 100644 --- a/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.ts +++ b/usecaseui-portal/src/app/shared/components/basic-info/basic-info.component.ts @@ -10,6 +10,7 @@ export class BasicInfoComponent implements OnInit { @Input() checkDetail: any; @Input() businessRequirement: any; @Input() NSTinfo: any; + @Input() taskModel: any; // 业务需求列表 businessList: object[] = BUSINESS_REQUIREMENT; |