|
@@ -149,6 +149,27 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <!-- ===== DAN 报告(登录后) ===== -->
|
|
|
|
|
+ <view class="section" v-if="isLoggedIn">
|
|
|
|
|
+ <view class="section-header">
|
|
|
|
|
+ <text class="section-title">📊 DAN 报告</text>
|
|
|
|
|
+ <text class="section-more" @click="goDanUpload('mind')">上传 +</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="dan-card" v-for="report in danReports" :key="report.id" @click="viewDanReport(report)">
|
|
|
|
|
+ <view class="dan-card-header">
|
|
|
|
|
+ <text class="dan-report-date">{{ formatDate(report.assessmentDate) }}</text>
|
|
|
|
|
+ <text :class="['dan-status', report.draftStatus === 'confirmed' ? 'confirmed' : 'pending']">
|
|
|
|
|
+ {{ report.draftStatus === 'confirmed' ? '已确认' : '待确认' }}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <text class="dan-report-desc">DAN A2 心维度测评报告</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="dan-empty" v-if="danReports.length === 0">
|
|
|
|
|
+ <text class="dan-empty-text">暂无 DAN 报告,点击上方「上传 +」上传测评报告</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
<!-- 肠脑轴情绪卡片 -->
|
|
<!-- 肠脑轴情绪卡片 -->
|
|
|
<view class="section" v-if="gutIndicators && gutIndicators.length > 0">
|
|
<view class="section" v-if="gutIndicators && gutIndicators.length > 0">
|
|
|
<view class="section-header">
|
|
<view class="section-header">
|