feat: 完成原型04-10全链路功能开发,包括AI助手、PDF导出等
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
</scroll-view>
|
||||
</view>
|
||||
<text class="footer-note">历史参数保留评估时版本;当前可用状态单独展示。缺失信息不会被推断为零,演示产品仅供功能验证。</text>
|
||||
<button class="secondary" @click="consult">产品差异,咨询AI</button>
|
||||
<button class="secondary" @click="toMatches">返回本次匹配</button>
|
||||
</template>
|
||||
</view>
|
||||
@@ -45,6 +46,7 @@
|
||||
import AppHeader from '@/components/AppHeader.uvue'
|
||||
import { usePageLayout } from '@/services/layout.uts'
|
||||
import { getSession } from '@/services/api.uts'
|
||||
import { assistantRoute } from '@/packages/finance/services/assistant.uts'
|
||||
import { MatchDetail, MatchReason, validRecordId, fetchMatchDetailRecord } from '@/packages/finance/services/matches.uts'
|
||||
import { parseCompareIds, saveCompareSelection, compareQuery, sameMatchSnapshot, compareReasonText } from '@/packages/finance/services/compare.uts'
|
||||
type CompareColumn = { id: string, loading: boolean, error: string, data: MatchDetail | null }
|
||||
@@ -120,6 +122,7 @@
|
||||
uni.redirectTo({ url: '/packages/finance/matches/matches' + compareQuery(assessmentId.value, ids.value) })
|
||||
}
|
||||
const back = () => { if (getCurrentPages().length > 1) uni.navigateBack(); else toMatches() }
|
||||
const consult = () => { uni.navigateTo({ url: assistantRoute(assessmentId.value, ids.value, 'compare') }) }
|
||||
const remove = (id: string) => {
|
||||
const next = ids.value.filter((value: string): boolean => value != id)
|
||||
saveCompareSelection(assessmentId.value, next)
|
||||
|
||||
Reference in New Issue
Block a user