|
@@ -1,4 +1,3 @@
|
|
|
-import { show } from "tdesign-miniprogram/miniprogram_dist/action-sheet/show";
|
|
|
|
|
import { Post } from "../../../../lib/request/method";
|
|
import { Post } from "../../../../lib/request/method";
|
|
|
import { fromHealthReportSymptom } from "../../../../utils/util";
|
|
import { fromHealthReportSymptom } from "../../../../utils/util";
|
|
|
Page({
|
|
Page({
|
|
@@ -8,26 +7,15 @@ Page({
|
|
|
this.getCareDetail(Number(options.id));
|
|
this.getCareDetail(Number(options.id));
|
|
|
}
|
|
}
|
|
|
// 设置页面标题
|
|
// 设置页面标题
|
|
|
- if (options.name) {
|
|
|
|
|
|
|
+ if (options.name && options.name !== "null") {
|
|
|
this.setData({
|
|
this.setData({
|
|
|
name: options.name,
|
|
name: options.name,
|
|
|
});
|
|
});
|
|
|
- } else {
|
|
|
|
|
- this.setData({
|
|
|
|
|
- name: "服务包详情",
|
|
|
|
|
- });
|
|
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- // const patientName = wx.getStorageSync("patientName");
|
|
|
|
|
- // if (patientName) {
|
|
|
|
|
- // this.setData({
|
|
|
|
|
- // patientName,
|
|
|
|
|
- // });
|
|
|
|
|
- // }
|
|
|
|
|
},
|
|
},
|
|
|
data: {
|
|
data: {
|
|
|
address: "",
|
|
address: "",
|
|
|
- name: "",
|
|
|
|
|
|
|
+ name: "服务包详情",
|
|
|
// patientName: "",
|
|
// patientName: "",
|
|
|
showAddress: false,
|
|
showAddress: false,
|
|
|
careDetail: {},
|
|
careDetail: {},
|
|
@@ -305,7 +293,6 @@ Page({
|
|
|
healthReports: processedReports,
|
|
healthReports: processedReports,
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- console.log(this.data.healthReports, "healthReports");
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.setData({
|
|
this.setData({
|