maotao месяцев назад: 5
Родитель
Сommit
88e500ca04
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app/views/hushijiandan/hushijiandan.component.ts

+ 1 - 1
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -4544,7 +4544,7 @@ export class HushijiandanComponent implements OnInit {
4544 4544
 	// 获取动态密钥
4545 4545
 	numberKey:any;
4546 4546
 	getSecretKey(){
4547
-		this.mainService.getSecretKey(this.currentHospital.id).subscribe((res:any) => {
4547
+		this.mainService.getSecretKey(this.currentDept.id).subscribe((res:any) => {
4548 4548
       if (res["status"] == 200) {
4549 4549
         this.numberKey = res.data.digitalSecretKey;
4550 4550
 				this.nurseCodeImg = res.data.base64;