|
@@ -457,13 +457,15 @@ export class HushijiandanComponent implements OnInit {
|
457
|
457
|
closeExecModal() {
|
458
|
458
|
this.execModal = false;
|
459
|
459
|
}
|
460
|
|
- // 获取系统配置,护士端是否显示报修
|
461
|
|
- isShowBx = false;
|
|
460
|
+ // 获取系统配置
|
|
461
|
+ isShowBx = false;// 护士端是否显示报修
|
|
462
|
+ isAssign = false;// 是否护士指定人员
|
462
|
463
|
getItsmIncident() {
|
463
|
464
|
let postData = { idx: 0, sum: 100, hospitalConfig: { hosId: this.currentHospital.id } };
|
464
|
465
|
this.mainService.getFetchDataList("simple/data", "hospitalConfig", postData).subscribe((result) => {
|
465
|
466
|
if (result.status == 200) {
|
466
|
467
|
this.isShowBx = result.list.find(v => v.key == 'hos_itsmIncident').value == 1;
|
|
468
|
+ this.isAssign = result.list.find(v => v.key == 'nurseSendOrder').value == 1;
|
467
|
469
|
if (this.isShowBx && (this.coopBtns.repairList || this.coopBtns.quickReportForRepair)) {
|
468
|
470
|
// 初始化默认显示第一个
|
469
|
471
|
if(this.tabPermission.length){
|
|
@@ -499,6 +501,14 @@ export class HushijiandanComponent implements OnInit {
|
499
|
501
|
}
|
500
|
502
|
});
|
501
|
503
|
}
|
|
504
|
+ // 派单,flag 0是待抢单指派,1是待到达指派
|
|
505
|
+ allotWorker(id, stateId, flag?) {
|
|
506
|
+ if (flag == 1) {
|
|
507
|
+ this.router.navigateByUrl("nurse/allotWorker/" + id + "/" + stateId + "/1/" + this.currentHospital.id);
|
|
508
|
+ } else {
|
|
509
|
+ this.router.navigateByUrl("nurse/allotWorker/" + id + "/" + stateId + "/0/" + this.currentHospital.id);
|
|
510
|
+ }
|
|
511
|
+ }
|
502
|
512
|
//获取检查页面任务类型
|
503
|
513
|
getInspectAndPatientTransportConfigTasktype() {
|
504
|
514
|
let postData = {
|
|
@@ -3887,11 +3897,6 @@ export class HushijiandanComponent implements OnInit {
|
3887
|
3897
|
}
|
3888
|
3898
|
}
|
3889
|
3899
|
|
3890
|
|
- // 派单
|
3891
|
|
- allotWorker(id, stateId) {
|
3892
|
|
- this.router.navigateByUrl("nurse/allotWorker/" + id + "/" + stateId);
|
3893
|
|
- }
|
3894
|
|
-
|
3895
|
3900
|
// 展示信息提示框(con:提示信息,success:操作是否成功,promptInfo:操作结果提示信息)
|
3896
|
3901
|
showPromptModal(con, success, promptInfo?, back?) {
|
3897
|
3902
|
this.btnLoading = false;
|
|
@@ -4065,4 +4070,11 @@ export class HushijiandanComponent implements OnInit {
|
4065
|
4070
|
clearInterval(this.timerCloseTime);
|
4066
|
4071
|
this.changeShow = false;
|
4067
|
4072
|
}
|
|
4073
|
+ // 刷新工单列表
|
|
4074
|
+ refreshList(e) {
|
|
4075
|
+ if (!e.promptContent) {
|
|
4076
|
+ return;
|
|
4077
|
+ }
|
|
4078
|
+ this.getOrderList();
|
|
4079
|
+ }
|
4068
|
4080
|
}
|