|
@@ -501,6 +501,10 @@ export default {
|
|
|
if (!report || !report.id) return
|
|
if (!report || !report.id) return
|
|
|
var type = report.reportType || 'gut_flora'
|
|
var type = report.reportType || 'gut_flora'
|
|
|
var url = '/pages/health/report-detail?reportType=' + type + '&reportId=' + report.id
|
|
var url = '/pages/health/report-detail?reportType=' + type + '&reportId=' + report.id
|
|
|
|
|
+ // 肠道菌群报告:从列表点击直接进入编辑模式,跳过查看过渡页
|
|
|
|
|
+ if (type === 'gut_flora') {
|
|
|
|
|
+ url += '&mode=edit'
|
|
|
|
|
+ }
|
|
|
uni.navigateTo({ url: url })
|
|
uni.navigateTo({ url: url })
|
|
|
},
|
|
},
|
|
|
_reportTypeLabel: function(type) {
|
|
_reportTypeLabel: function(type) {
|