|
@@ -8,7 +8,7 @@ Page({
|
|
|
data: {
|
|
|
reportid: '',
|
|
|
name: '评估说明', // 默认展示: 评估说明 小结 ReportTotal, 系统:用具体的中文名称
|
|
|
- systemName: ['评估说明','检测小结','循环系统', '呼吸系统', '消化系统','泌尿与生殖系统', '血液系统', '内分泌系统', '营养与代谢', '神经系统', '免疫系统', '运动系统', '感官系统', '理化因素', '精神及心理'],
|
|
|
+ systemName: ['评估说明','检测小结','循环系统', '呼吸系统', '消化系统','泌尿与生殖系统', '血液系统', '内分泌系统', '营养与代谢', '神经系统', '免疫系统', '运动系统', '感官系统', '理化因素', '情绪表格'],
|
|
|
leftNavActive: 0, // 0 小结 1 系统
|
|
|
summaryList: [],
|
|
|
systemList: [],
|
|
@@ -52,8 +52,8 @@ Page({
|
|
|
})
|
|
|
getReport(data).then(res => {
|
|
|
wx.hideLoading()
|
|
|
- if (that.data.name == 'ReportTotal' || that.data.name == '精神及心理') {
|
|
|
- console.log(that.data.name == '精神及心理');
|
|
|
+ if (that.data.name == 'ReportTotal' || that.data.name == '情绪表格') {
|
|
|
+ console.log(that.data.name == '情绪表格');
|
|
|
that.setData({
|
|
|
summaryList: res.data || []
|
|
|
})
|
|
@@ -132,7 +132,7 @@ Page({
|
|
|
})
|
|
|
} else {
|
|
|
that.setData({
|
|
|
- name: navName
|
|
|
+ name: navName == '情绪表格' ? '精神及心理' : navName
|
|
|
})
|
|
|
}
|
|
|
await that.getReportFn()
|