From 69c9ca89c3e1cb31fcb5457498c9182ae8c8f405 Mon Sep 17 00:00:00 2001 From: rogersun Date: Thu, 9 Jul 2026 14:48:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=AF=B9=E6=AF=94=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9A=8F=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai_show/index.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/ai_show/index.vue b/src/views/ai_show/index.vue index 8545846..1e5b36b 100644 --- a/src/views/ai_show/index.vue +++ b/src/views/ai_show/index.vue @@ -17,8 +17,8 @@ const tokens = ref(0) const takeTimes = ref(0) const realSales = ref('') const aiSales = ref('') -const realCount = ref('') const aiCount = ref('') +const compareCount = ref('') const showResult = ref('') const templateDate = ref('') const result = ref(false) @@ -74,9 +74,8 @@ async function get_data() { realSales.value = '' aiSales.value = '' showResult.value = '' - realCount.value = '' aiCount.value = '' - templateDate.value = '' + compareCount.value = '' result.value = false createTime.value = '' think.value = '' @@ -101,10 +100,13 @@ async function get_data() { aiModel.value = res.data.ai_model if (compareSwitch.value === 'template') { showData.value = res.data.template_obj + compareCount.value = res.data.template_count } else if (compareSwitch.value === 'new') { showData.value = res.data.real_obj + compareCount.value = res.data.real_count } else { showData.value = res.data.target_obj + compareCount.value = res.data.target_count } console.log(showData.value, prompt.value, tokens.value, takeTimes.value, realSales.value, aiSales.value, showResult.value) formatTableData() @@ -329,13 +331,13 @@ onBeforeMount( - 排片占比(AI/真实): + 排片占比(AI/当前选择的对比数据): {{ aiCount }} - {{ realCount }} + {{ compareCount }}