|
@@ -199,10 +199,25 @@ export default {
|
|
|
if (flg) {
|
|
|
return;
|
|
|
}
|
|
|
+ for (let i = 0; i < datas.length; i++) {
|
|
|
+ if (
|
|
|
+ datas[i].code == "homepage_show" &&
|
|
|
+ localStorage.getItem("startPage") === null
|
|
|
+ ) {
|
|
|
+ if (+datas[i].value == 1) {
|
|
|
+ localStorage.setItem("startPage", 1);
|
|
|
+ //显示启动页
|
|
|
+ this.showStart = true;
|
|
|
+ document.title = "智能预问诊";
|
|
|
+ } else {
|
|
|
+ document.title = "挂号详情";
|
|
|
+ localStorage.setItem("startPage", 0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
getUsualSymptom() {
|
|
|
const param = {
|
|
|
age: this.pathInfo.patientAge,
|
|
@@ -230,11 +245,7 @@ export default {
|
|
|
const result = res.data;
|
|
|
if (result.code == 0) {
|
|
|
let data = result.data;
|
|
|
- if (
|
|
|
- data.detailCount > 0 ||
|
|
|
- data.physicalCount > 0 ||
|
|
|
- data.scaleCount > 0
|
|
|
- ) {
|
|
|
+ if (data.detailCount >0 || data.physicalCount >0 || data.scaleCount >0) {
|
|
|
//有预问诊信息
|
|
|
this.showToast = true;
|
|
|
} else {
|