|
@@ -3172,19 +3172,22 @@ export class HushijiandanComponent implements OnInit {
|
3172
|
3172
|
}
|
3173
|
3173
|
|
3174
|
3174
|
// 查看工单详情
|
3175
|
|
- openDetails(id, typeId) {
|
3176
|
|
- if (typeId == 256 || typeId == 380) {
|
|
3175
|
+ openDetails(data) {
|
|
3176
|
+ if (data.taskType.associationType.value == 'specimen' || data.taskType.associationType.value == 'specimenPlan') {
|
3177
|
3177
|
// 标本类
|
3178
|
|
- this.router.navigateByUrl("nurse/detailSample/" + id);
|
3179
|
|
- } else if (typeId == 260 || typeId == 255) {
|
3180
|
|
- // 患者陪检/患者转运
|
3181
|
|
- this.router.navigateByUrl("nurse/detailPatients/" + id);
|
3182
|
|
- } else if (typeId == 257 || typeId == 258) {
|
|
3178
|
+ this.router.navigateByUrl("nurse/detailSample/" + data.id);
|
|
3179
|
+ } else if (data.taskType.associationType.value == 'inspect' || data.taskType.associationType.value == 'patientTransport') {
|
|
3180
|
+ // 送患者
|
|
3181
|
+ this.router.navigateByUrl("nurse/detailPatients/" + data.id);
|
|
3182
|
+ } else if (data.taskType.associationType.value == 'drugsBag' || data.taskType.associationType.value == 'jPBag') {
|
3183
|
3183
|
// 药品配送/静配
|
3184
|
|
- this.router.navigate(["nurse/detailDrug/" + id]);
|
|
3184
|
+ this.router.navigateByUrl("nurse/detailDrug/" + data.id);
|
|
3185
|
+ } else if (data.taskType.associationType.value == 'ordinary' && data.taskType.ordinaryField.value == 'blood') {
|
|
3186
|
+ // 万能交接服务&&血制品
|
|
3187
|
+ this.router.navigateByUrl("nurse/detailBlood/" + data.id);
|
3185
|
3188
|
} else {
|
3186
|
3189
|
// 其他
|
3187
|
|
- this.router.navigateByUrl("nurse/detailOthers/" + id);
|
|
3190
|
+ this.router.navigateByUrl("nurse/detailOthers/" + data.id);
|
3188
|
3191
|
}
|
3189
|
3192
|
}
|
3190
|
3193
|
|