|
@@ -1,14 +1,26 @@
|
1
|
1
|
<div class="list-template">
|
2
|
2
|
<div class="list-template__content">
|
3
|
3
|
<div class="list-template__top" nz-row>
|
4
|
|
- <div nz-col nzXl='16' class="list-template__searchBox">
|
|
4
|
+ <div nz-col nzXl="16" class="list-template__searchBox">
|
5
|
5
|
<div class="list-template__searchItem">
|
6
|
6
|
<span class="label">收取科室:</span>
|
7
|
|
- <nz-select [nzDropdownMatchSelectWidth]="false" class="formItem" nzServerSearch nzShowSearch nzAllowClear
|
8
|
|
- nzPlaceHolder="请选择收取科室" [(ngModel)]="searchCriteria.department" (nzOnSearch)="changeInp($event,'search')"
|
9
|
|
- (nzOpenChange)="changeSearch($event)">
|
|
7
|
+ <nz-select
|
|
8
|
+ [nzDropdownMatchSelectWidth]="false"
|
|
9
|
+ class="formItem"
|
|
10
|
+ nzServerSearch
|
|
11
|
+ nzShowSearch
|
|
12
|
+ nzAllowClear
|
|
13
|
+ nzPlaceHolder="请选择收取科室"
|
|
14
|
+ [(ngModel)]="searchCriteria.department"
|
|
15
|
+ (nzOnSearch)="changeInp($event, 'search')"
|
|
16
|
+ (nzOpenChange)="changeSearch($event)"
|
|
17
|
+ >
|
10
|
18
|
<ng-container *ngFor="let data of departmentSearch">
|
11
|
|
- <nz-option *ngIf="!isLoading" nzLabel="{{data.dept}}" nzValue="{{data.id}}"></nz-option>
|
|
19
|
+ <nz-option
|
|
20
|
+ *ngIf="!isLoading"
|
|
21
|
+ nzLabel="{{ data.dept }}"
|
|
22
|
+ nzValue="{{ data.id }}"
|
|
23
|
+ ></nz-option>
|
12
|
24
|
</ng-container>
|
13
|
25
|
<nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
|
14
|
26
|
<i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
@@ -17,70 +29,117 @@
|
17
|
29
|
</div>
|
18
|
30
|
<div class="list-template__searchItem">
|
19
|
31
|
<span class="label">标本编码:</span>
|
20
|
|
- <input nz-input class="formItem" placeholder="请输入标本编码" [(ngModel)]="searchCriteria.scode" />
|
|
32
|
+ <input
|
|
33
|
+ nz-input
|
|
34
|
+ class="formItem"
|
|
35
|
+ placeholder="请输入标本编码"
|
|
36
|
+ [(ngModel)]="searchCriteria.scode"
|
|
37
|
+ />
|
21
|
38
|
</div>
|
22
|
39
|
<div class="list-template__searchItem">
|
23
|
40
|
<span class="label">患者信息:</span>
|
24
|
|
- <input nz-input class="formItem" placeholder="请输入患者信息" [(ngModel)]="searchCriteria.parent" />
|
|
41
|
+ <input
|
|
42
|
+ nz-input
|
|
43
|
+ class="formItem"
|
|
44
|
+ placeholder="请输入患者信息"
|
|
45
|
+ [(ngModel)]="searchCriteria.parent"
|
|
46
|
+ />
|
25
|
47
|
</div>
|
26
|
48
|
</div>
|
27
|
49
|
<div nz-col nzXl="8" class="list-template__btns">
|
28
|
|
- <button nz-button class="btn default" (click)="showDelModal('您确认要清空标本吗?')">清空标本</button>
|
29
|
|
- <button nz-button class="btn default ml8" (click)='reset()'>重置</button>
|
30
|
|
- <button nz-button class="btn default ml8" (click)='getList(1)'>搜索</button>
|
|
50
|
+ <button
|
|
51
|
+ nz-button
|
|
52
|
+ class="btn default"
|
|
53
|
+ (click)="showDelModal('您确认要清空标本吗?')"
|
|
54
|
+ >
|
|
55
|
+ 清空标本
|
|
56
|
+ </button>
|
|
57
|
+ <button nz-button class="btn default ml8" (click)="reset()">
|
|
58
|
+ 重置
|
|
59
|
+ </button>
|
|
60
|
+ <button nz-button class="btn default ml8" (click)="getList(1)">
|
|
61
|
+ 搜索
|
|
62
|
+ </button>
|
31
|
63
|
</div>
|
32
|
64
|
</div>
|
33
|
65
|
<div class="list-template__bottom">
|
34
|
|
- <nz-table class="list-template__nzTable" #headerTable [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
|
35
|
|
- [nzLoading]="loading1">
|
|
66
|
+ <nz-table
|
|
67
|
+ class="list-template__nzTable"
|
|
68
|
+ #headerTable
|
|
69
|
+ [nzData]="listOfData"
|
|
70
|
+ nzSize="middle"
|
|
71
|
+ [nzShowPagination]="false"
|
|
72
|
+ [nzLoading]="loading1"
|
|
73
|
+ >
|
36
|
74
|
<thead>
|
37
|
75
|
<tr class="thead">
|
38
|
76
|
<th nzWidth="5%">序号</th>
|
|
77
|
+ <th nzWidth="8%">检验项目</th>
|
39
|
78
|
<th nzWidth="8%">标本类型</th>
|
40
|
79
|
<th nzWidth="6%">状态</th>
|
41
|
80
|
<th nzWidth="10%">标本编码</th>
|
42
|
81
|
<th nzWidth="8%">患者姓名</th>
|
43
|
82
|
<th nzWidth="8%">床号</th>
|
44
|
|
- <th nzWidth="10%">收取扫描时间</th>
|
|
83
|
+ <th nzWidth="8%">收取扫描时间</th>
|
45
|
84
|
<th nzWidth="8%">收取人</th>
|
46
|
|
- <th nzWidth="10%">申请科室</th>
|
47
|
|
- <th nzWidth="10%">送达目标科室</th>
|
48
|
|
- <th nzWidth="10%">送达到达时间</th>
|
|
85
|
+ <th nzWidth="8%">申请科室</th>
|
|
86
|
+ <th nzWidth="8%">送达目标科室</th>
|
|
87
|
+ <th nzWidth="8%">送达到达时间</th>
|
49
|
88
|
<th nzWidth="7%"></th>
|
50
|
89
|
</tr>
|
51
|
90
|
</thead>
|
52
|
91
|
<tbody>
|
53
|
|
- <tr *ngFor="let data of listOfData;let i = index">
|
54
|
|
- <td>{{i+1}}</td>
|
55
|
|
- <td>{{ data.stype?data.stype.name:'-' }}</td>
|
56
|
|
- <td>{{ data.speState?data.speState.name:'-' }}</td>
|
57
|
|
- <td>{{ data.scode||'-' }}</td>
|
58
|
|
- <td>{{ data.patientName||'-' }}</td>
|
59
|
|
- <td>{{ data.bedNum||'-' }}</td>
|
60
|
|
- <td>{{data.arriveTime||'-'}}</td>
|
61
|
|
- <td>{{ data.worker||'-' }}</td>
|
62
|
|
- <td>{{data.sickRoom?data.sickRoom.dept:'-'}}</td>
|
63
|
|
- <td>{{data.checkDept?data.checkDept.dept:'-'}}</td>
|
64
|
|
- <td>{{data.sendTime||'-'}}</td>
|
|
92
|
+ <tr *ngFor="let data of listOfData; let i = index">
|
|
93
|
+ <td>{{ i + 1 }}</td>
|
|
94
|
+ <td>{{ data.specimenDesc || "-" }}</td>
|
|
95
|
+ <td>{{ data.stype ? data.stype.name : "-" }}</td>
|
|
96
|
+ <td>{{ data.speState ? data.speState.name : "-" }}</td>
|
|
97
|
+ <td>{{ data.scode || "-" }}</td>
|
|
98
|
+ <td>{{ data.patientName || "-" }}</td>
|
|
99
|
+ <td>{{ data.bedNum || "-" }}</td>
|
|
100
|
+ <td>{{ data.arriveTime || "-" }}</td>
|
|
101
|
+ <td>{{ data.worker || "-" }}</td>
|
|
102
|
+ <td>{{ data.sickRoom ? data.sickRoom.dept : "-" }}</td>
|
|
103
|
+ <td>{{ data.checkDept ? data.checkDept.dept : "-" }}</td>
|
|
104
|
+ <td>{{ data.sendTime || "-" }}</td>
|
65
|
105
|
<td><button (click)="viewSpecimenHistory(data)">查看</button></td>
|
66
|
106
|
</tr>
|
67
|
107
|
</tbody>
|
68
|
108
|
</nz-table>
|
69
|
109
|
<div class="list-template__pagination">
|
70
|
|
- <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize"
|
71
|
|
- (nzPageIndexChange)="getList(0)" (nzPageSizeChange)="getList(0)">
|
|
110
|
+ <nz-pagination
|
|
111
|
+ [(nzPageIndex)]="pageIndex"
|
|
112
|
+ [(nzTotal)]="listLength"
|
|
113
|
+ [(nzPageSize)]="pageSize"
|
|
114
|
+ (nzPageIndexChange)="getList(0)"
|
|
115
|
+ (nzPageSizeChange)="getList(0)"
|
|
116
|
+ >
|
72
|
117
|
</nz-pagination>
|
73
|
118
|
</div>
|
74
|
119
|
</div>
|
75
|
120
|
</div>
|
76
|
121
|
</div>
|
77
|
122
|
<!-- 清空标本模态框 -->
|
78
|
|
-<app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="btnLoading"
|
79
|
|
-(confirmDelEvent)="confirmDel()" [content]="tipsMsg1"></app-dialog-delete>
|
|
123
|
+<app-dialog-delete
|
|
124
|
+ [delModal]="delModal"
|
|
125
|
+ (hideDelModalEvent)="hideDelModal()"
|
|
126
|
+ [btnLoading]="btnLoading"
|
|
127
|
+ (confirmDelEvent)="confirmDel()"
|
|
128
|
+ [content]="tipsMsg1"
|
|
129
|
+></app-dialog-delete>
|
80
|
130
|
<!-- 标本历史记录查看 -->
|
81
|
|
-<app-history-prompt-modal *ngIf="historyPromptModalShow" [show]="historyPromptModalShow" [scode]="scode"
|
82
|
|
- (closeModelHs)="closeModelHistory($event)"></app-history-prompt-modal>
|
|
131
|
+<app-history-prompt-modal
|
|
132
|
+ *ngIf="historyPromptModalShow"
|
|
133
|
+ [show]="historyPromptModalShow"
|
|
134
|
+ [scode]="scode"
|
|
135
|
+ (closeModelHs)="closeModelHistory($event)"
|
|
136
|
+></app-history-prompt-modal>
|
83
|
137
|
<!-- 操作成功/失败提示框 -->
|
84
|
|
-<app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
|
85
|
|
- [info]="promptInfo">
|
|
138
|
+<app-prompt-modal
|
|
139
|
+ *ngIf="promptModalShow"
|
|
140
|
+ [content]="promptContent"
|
|
141
|
+ [success]="ifSuccess"
|
|
142
|
+ [show]="promptModalShow"
|
|
143
|
+ [info]="promptInfo"
|
|
144
|
+>
|
86
|
145
|
</app-prompt-modal>
|