列表点击肠道菌群报告时跳过查看过渡页,直接以编辑模式进入表单。 仅 reportType=gut_flora 生效,draft 流程不受影响。 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@@ -527,6 +527,10 @@ export default {
this.pageMode = 'draft'
this.parseByDraftId()
} else if (this.reportId) {
+ // 列表直入编辑模式:跳过查看过渡页(仅肠道菌群报告支持编辑)
+ if (options.mode === 'edit' && this.reportType === 'gut_flora') {
+ this.pageMode = 'edit'
+ }
this.loadData()
}
},