Ver código fonte

动态数字密钥开发

maotao 5 meses atrás
pai
commit
88e500ca04

+ 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;