Browse Source

护士端调整

seimin 4 months ago
parent
commit
ac36fc272d
1 changed files with 13 additions and 7 deletions
  1. 13 7
      src/app/views/hushijiandan/hushijiandan.component.ts

+ 13 - 7
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -305,7 +305,7 @@ export class HushijiandanComponent implements OnInit {
305
     this.coopBtns = coopBtns;
305
     this.coopBtns = coopBtns;
306
     console.log(this.coopBtns);
306
     console.log(this.coopBtns);
307
   }
307
   }
308
-	
308
+
309
 	// 获取任务类型(病理标本)
309
 	// 获取任务类型(病理标本)
310
 	taskTypeData:any;
310
 	taskTypeData:any;
311
 	getTaskTypesId() {
311
 	getTaskTypesId() {
@@ -314,7 +314,7 @@ export class HushijiandanComponent implements OnInit {
314
 			this.getPathologySys();
314
 			this.getPathologySys();
315
 		});
315
 		});
316
 	}
316
 	}
317
-	
317
+
318
 	// 获取标本配置
318
 	// 获取标本配置
319
 	autoCreate:any;
319
 	autoCreate:any;
320
 	getPathologySys(){
320
 	getPathologySys(){
@@ -326,7 +326,7 @@ export class HushijiandanComponent implements OnInit {
326
 					taskType:this.taskTypeData.id
326
 					taskType:this.taskTypeData.id
327
 			  }
327
 			  }
328
 		}
328
 		}
329
-		
329
+
330
 		this.mainService
330
 		this.mainService
331
 		  .getFetchDataList("simple/data", "taskTypeConfig", postData)
331
 		  .getFetchDataList("simple/data", "taskTypeConfig", postData)
332
 		  .subscribe((result) => {
332
 		  .subscribe((result) => {
@@ -335,7 +335,7 @@ export class HushijiandanComponent implements OnInit {
335
 		    }
335
 		    }
336
 		  });
336
 		  });
337
 	}
337
 	}
338
-	
338
+
339
 	// 新增申请单自选类型
339
 	// 新增申请单自选类型
340
 	applicationType:any;
340
 	applicationType:any;
341
 	addPathologyType(type){
341
 	addPathologyType(type){
@@ -359,7 +359,7 @@ export class HushijiandanComponent implements OnInit {
359
 			this.pathologyModal = true
359
 			this.pathologyModal = true
360
 		});
360
 		});
361
 	}
361
 	}
362
-	
362
+
363
 	// 手术排程-病理申请单
363
 	// 手术排程-病理申请单
364
 	pathologyAddItem(e,item){
364
 	pathologyAddItem(e,item){
365
 		this.surgeryDataId = item.id
365
 		this.surgeryDataId = item.id
@@ -4904,8 +4904,14 @@ export class HushijiandanComponent implements OnInit {
4904
   isShowBuildQuickConfirm:boolean = false;
4904
   isShowBuildQuickConfirm:boolean = false;
4905
   buildQuickConfirmData:any = {};
4905
   buildQuickConfirmData:any = {};
4906
   buildQuick(data){
4906
   buildQuick(data){
4907
-    this.buildQuickConfirmData = data || {};
4908
-    this.isShowBuildQuickConfirm = true;
4907
+    if(data.bussType.value === 'service'){
4908
+      // 运维报修
4909
+      this.showBxModal();
4910
+    }else if(data.bussType.value === 'goods'){
4911
+      // 物品配送
4912
+      this.buildQuickConfirmData = data || {};
4913
+      this.isShowBuildQuickConfirm = true;
4914
+    }
4909
   }
4915
   }
4910
   cancelBuildQuickConfirm(e){
4916
   cancelBuildQuickConfirm(e){
4911
     this.isShowBuildQuickConfirm = false;
4917
     this.isShowBuildQuickConfirm = false;