Bladeren bron

护士端调整

seimin 4 maanden geleden
bovenliggende
commit
ac36fc272d
1 gewijzigde bestanden met toevoegingen van 13 en 7 verwijderingen
  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 305
     this.coopBtns = coopBtns;
306 306
     console.log(this.coopBtns);
307 307
   }
308
-	
308
+
309 309
 	// 获取任务类型(病理标本)
310 310
 	taskTypeData:any;
311 311
 	getTaskTypesId() {
@@ -314,7 +314,7 @@ export class HushijiandanComponent implements OnInit {
314 314
 			this.getPathologySys();
315 315
 		});
316 316
 	}
317
-	
317
+
318 318
 	// 获取标本配置
319 319
 	autoCreate:any;
320 320
 	getPathologySys(){
@@ -326,7 +326,7 @@ export class HushijiandanComponent implements OnInit {
326 326
 					taskType:this.taskTypeData.id
327 327
 			  }
328 328
 		}
329
-		
329
+
330 330
 		this.mainService
331 331
 		  .getFetchDataList("simple/data", "taskTypeConfig", postData)
332 332
 		  .subscribe((result) => {
@@ -335,7 +335,7 @@ export class HushijiandanComponent implements OnInit {
335 335
 		    }
336 336
 		  });
337 337
 	}
338
-	
338
+
339 339
 	// 新增申请单自选类型
340 340
 	applicationType:any;
341 341
 	addPathologyType(type){
@@ -359,7 +359,7 @@ export class HushijiandanComponent implements OnInit {
359 359
 			this.pathologyModal = true
360 360
 		});
361 361
 	}
362
-	
362
+
363 363
 	// 手术排程-病理申请单
364 364
 	pathologyAddItem(e,item){
365 365
 		this.surgeryDataId = item.id
@@ -4904,8 +4904,14 @@ export class HushijiandanComponent implements OnInit {
4904 4904
   isShowBuildQuickConfirm:boolean = false;
4905 4905
   buildQuickConfirmData:any = {};
4906 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 4916
   cancelBuildQuickConfirm(e){
4911 4917
     this.isShowBuildQuickConfirm = false;