Newer
Older
<div nz-col nzSpan="16">
<nz-breadcrumb class="padding-8-0">
<nz-breadcrumb-item>
首页
</nz-breadcrumb-item>
<nz-breadcrumb-item>
<a>运维工作</a>
</nz-breadcrumb-item>
<nz-breadcrumb-item>
事件处置
</nz-breadcrumb-item>
<nz-breadcrumb-item>
事件编号:{{event?.id}}
</nz-breadcrumb-item>
</nz-breadcrumb>
<button (click)="ngOnInit()" nz-button nzType="primary"><i class="anticon anticon-sync"></i></button>
<smart-full-screen></smart-full-screen>
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
</div>
<div nz-row>
<div nz-col nzSpan="12">
<h2>事件信息</h2>
<div nz-row>
<div nz-col nzSpan="4">事件编号:</div>
<div nz-col nzSpan="1"></div>
<div nz-col nzSpan="7">{{event?.id}}</div>
<div nz-col nzSpan="4">提交时间:</div>
<div nz-col nzSpan="1"></div>
<div nz-col nzSpan="7">{{event?.createTime | date:"yyyy-MM-dd HH:mm:ss"}}</div>
</div>
<div nz-row>
<div nz-col nzSpan="4">请求人:</div>
<div nz-col nzSpan="1"></div>
<div nz-col nzSpan="5">{{event?.requester}}</div>
<div nz-col nzSpan="5">{{event?.requesterPhone}}</div>
</div>
<div nz-row>
<div nz-col nzSpan="4">事件标题:</div>
<div nz-col nzSpan="1"></div>
<div nz-col nzSpan="7">{{event?.title}}</div>
<div nz-col nzSpan="4">事件分类:</div>
<div nz-col nzSpan="1"></div>
<div nz-col nzSpan="7">{{event?.typeName}}</div>
</div>
<div nz-row>
<div nz-col nzSpan="4">详细描述:</div>
<div nz-col nzSpan="1"></div>
<div nz-col nzSpan="7">{{event?.description}}</div>
</div>
<div nz-row>
<div nz-col nzSpan="4">附件:</div>
<div nz-col nzSpan="1"></div>
<div nz-col nzSpan="7">
<ng-container *ngIf="event?.fileName">
{{event?.fileName}}<span (click)="downLoad()" class="main-color cursor">下载</span>
<h2>流转记录</h2>
<ng-container *ngFor="let item of transforsList;">
<div nz-row>
<div nz-col nzSpan="4">{{item.requesterName}}</div>
<div nz-col class="text-center" nzSpan="2">转派给</div>
<div nz-col nzSpan="7">{{item.operatorInfo[1]}}</div>
</div>
</ng-container>
<div nz-row>
<div nz-col class="line-height-32" nzSpan="7">无法处理,我要转派</div>
<div nz-col nzSpan="5">
<button (click)="showTransforModal()" nz-button><span>转派</span></button>
</div>
</div>
<div nz-col nzSpan="12">
<h2>已解决,填写处理结果</h2>
<div nz-row>
<div nz-col nzSpan="5"><span class="color-red">*</span>处理结果:</div>
<div nz-col nzSpan="19">
<nz-radio-group [(ngModel)]="obj.operateStatus">
<label nz-radio nzValue="0">未解决</label>
<label nz-radio nzValue="1">部分解决</label>
<label nz-radio nzValue="2">已解决</label>
</nz-radio-group>
</div>
</div>
<div nz-row>
<div nz-col nzSpan="5" class="line-height-32"><span class="color-red">*</span>完成时间:</div>
<div nz-col nzSpan="19">
<nz-date-picker [(ngModel)]="date" nzFormat="yyyy-MM-dd"></nz-date-picker>
<nz-time-picker [(ngModel)]="time"></nz-time-picker>
</div>
</div>
<div nz-row>
<div nz-col nzSpan="5" class="line-height-32">关联资产:</div>
<button (click)="showInventoryModal()" nz-button><span>选择</span></button>
<table *ngIf="linkList.length > 0" border="1" class="table-demo margin-top-10">
<thead>
<tr>
<th>资产编号</th>
<th>资产名称</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of linkList;let i = index">
<td>{{item.inventoryNo}}</td>
<td>{{item.name}}</td>
<td><i (click)="deleteInventory(i)" class="anticon anticon-close-circle handle-delete"></i></td>
</tr>
</tbody>
</table>
</div>
</div>
<div nz-row>
<div nz-col nzSpan="5" class="line-height-32">关联费用:</div>
<button (click)="showCostModal()" nz-button><span>添加</span></button>
<table *ngIf="eventCostList.length > 0" border="1" class="table-demo margin-top-10">
<thead>
<tr>
<th>费用类别</th>
<th>费用金额</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of eventCostList;let i = index">
<td>
<ng-container *ngIf="item.costTypeId == '0'">委外费用</ng-container>
<ng-container *ngIf="item.costTypeId == '1'">物料费用</ng-container>
<ng-container *ngIf="item.costTypeId == '2'">其他</ng-container>
</td>
<td>{{item.amount}}</td>
<td><i (click)="deleteCost(i)" class="anticon anticon-close-circle handle-delete"></i></td>
</tr>
</tbody>
</table>
</div>
</div>
<div nz-row>
<div nz-col nzSpan="5" class="line-height-32">违规通报:</div>
<button (click)="showNotiModal()" nz-button><span>添加</span></button>
<table *ngIf="eventViolationVOList.length > 0" border="1" class="table-demo margin-top-10">
<thead>
<tr>
<th>通报标题</th>
<th>关联项目</th>
<th>通报内容</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of eventViolationVOList;let i = index">
<td>{{item.title}}</td>
<td>{{item.projectName}}</td>
<td>{{item.content}}</td>
<td><i (click)="deleteNoti(i)" class="anticon anticon-close-circle handle-delete"></i></td>
</tr>
</tbody>
</table>
</div>
</div>
<div nz-row>
<div nz-col nzSpan="5"><span class="color-red">*</span>处理情况:</div>
<div nz-col nzSpan="19">
<textarea [(ngModel)]="obj.operateResult" id="tyoeDescribe" row="4" nz-input></textarea>
</div>
</div>
<p>
<button (click)="save()" nz-button><span>确定</span></button>
<!--关联资产-->
<smart-link-inventory #smartLinkInventory (done)="setLink($event)"></smart-link-inventory>
<!--转派-->
<smart-transfor #smartTransfor (done)="success($event)"></smart-transfor>