|
|
|
|
@ -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( |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="3" align="right"> |
|
|
|
|
<el-text style="font-weight: bold">排片占比(AI/真实):</el-text> |
|
|
|
|
<el-text style="font-weight: bold">排片占比(AI/当前选择的对比数据):</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="9" align="left"> |
|
|
|
|
<el-text>{{ aiCount }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="9" align="left"> |
|
|
|
|
<el-text>{{ realCount }}</el-text> |
|
|
|
|
<el-text>{{ compareCount }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
|