From 5a935745546d79b45b7a1cf078f297a0ea08d0d9 Mon Sep 17 00:00:00 2001 From: rogersun Date: Fri, 10 Jul 2026 15:48:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E6=80=BB?= =?UTF-8?q?=E5=9C=BA=E6=AC=A1=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai_show/index.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/views/ai_show/index.vue b/src/views/ai_show/index.vue index 1d7f0d0..078a74a 100644 --- a/src/views/ai_show/index.vue +++ b/src/views/ai_show/index.vue @@ -19,6 +19,8 @@ const realSales = ref('') const aiSales = ref('') const aiCount = ref('') const compareCount = ref('') +const aiTotal = ref('') +const compareTotal = ref('') const showResult = ref('') const templateDate = ref('') const result = ref(false) @@ -75,6 +77,7 @@ async function get_data() { aiSales.value = '' showResult.value = '' aiCount.value = '' + aiTotal.value = '' compareCount.value = '' result.value = false createTime.value = '' @@ -94,18 +97,22 @@ async function get_data() { templateDate.value = res.data.template_date hallType.value = res.data.hall_type aiCount.value = res.data.ai_count + aiTotal.value = res.data.ai_total createTime.value = res.data.create_time think.value = res.data.think aiModel.value = res.data.ai_model if (compareSwitch.value === 'template') { showData.value = res.data.template_obj compareCount.value = res.data.template_count + compareTotal.value = res.data.template_total } else if (compareSwitch.value === 'new') { showData.value = res.data.real_obj compareCount.value = res.data.real_count + compareTotal.value = res.data.real_total } else { showData.value = res.data.target_obj compareCount.value = res.data.target_count + compareTotal.value = res.data.target_total } console.log(showData.value, prompt.value, tokens.value, takeTimes.value, realSales.value, aiSales.value, showResult.value) formatTableData() @@ -349,6 +356,16 @@ onBeforeMount( {{ compareCount }} + + + + + {{ aiTotal }} + + + {{ compareTotal}} + + AI返回结果: