|
@@ -13,6 +13,7 @@ import history from "../../utils/history";
|
|
|
import loadOcr from "../../utils/loadOcr";
|
|
|
import getEncryptStr from "../../utils/getEncryptStr";
|
|
|
import { reportCmPV_YL } from "../../utils/cloudMonitorHelper";
|
|
|
+import { getSubscribeAuth } from "../../../../core/utils/ywtService";
|
|
|
const caIcon =
|
|
|
"https://gw.alipayobjects.com/mdn/rms_373ab8/afts/img/A*w6MrS5tmnFAAAAAAAAAAAAAAARQnAQ";
|
|
|
const bookIcon =
|
|
@@ -331,6 +332,10 @@ Component(
|
|
|
await createCard(form);
|
|
|
} else {
|
|
|
msg = "就诊人添加成功";
|
|
|
+ await getSubscribeAuth();
|
|
|
+ if (form.relationShip === "本人") {
|
|
|
+ await getSubscribeAuth();
|
|
|
+ }
|
|
|
await createPatient(form);
|
|
|
}
|
|
|
this.goNav(routeState);
|