|
|
|
|
@ -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( |
|
|
|
|
<el-text>{{ compareCount }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="3" align="right"> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="9" align="left"> |
|
|
|
|
<el-text>{{ aiTotal }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="9" align="left"> |
|
|
|
|
<el-text>{{ compareTotal}}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="3" align="right"> |
|
|
|
|
<el-text style="font-weight: bold">AI返回结果:</el-text> |
|
|
|
|
|