|
|
@@ -409,12 +409,16 @@ if (options.type === 'a2' || options.reportKind === 'a2') {
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
- // AI 快速识别入口:仅负责跳转到识别流程页;
|
|
|
- // 检测人选择 + 数据使用声明勾选由 ai-detect 页内 startDetect 统一校验(§4.2 / §8)
|
|
|
+ // AI 快速识别入口:复用上传页既有的「成员归属 + 数据使用声明」门禁(§8-1),
|
|
|
+ // 校验通过后再进入识别流程页;检测项选择等后续流程由 ai-detect 页负责
|
|
|
startAiDetect: function() {
|
|
|
- var url = '/pages/health/ai-detect'
|
|
|
- if (this.memberId) url += '?memberId=' + this.memberId
|
|
|
- uni.navigateTo({ url: url })
|
|
|
+ var self = this
|
|
|
+ if (!this.ensureMember()) return
|
|
|
+ this.ensureAgreed(function() {
|
|
|
+ var url = '/pages/health/ai-detect'
|
|
|
+ if (self.memberId) url += '?memberId=' + self.memberId
|
|
|
+ uni.navigateTo({ url: url })
|
|
|
+ })
|
|
|
},
|
|
|
uploadReport: function(filePath, fileName) {
|
|
|
if (!filePath) return
|