|
|
|
|
@ -23,6 +23,8 @@ const showResult = ref('') |
|
|
|
|
const templateDate = ref('') |
|
|
|
|
const result = ref(false) |
|
|
|
|
const loading = ref(false) |
|
|
|
|
const think = ref('') |
|
|
|
|
const aiModel = ref('') |
|
|
|
|
|
|
|
|
|
// 过滤条件数据 |
|
|
|
|
// 计算日期 |
|
|
|
|
@ -62,6 +64,8 @@ async function get_data() { |
|
|
|
|
templateDate.value = '' |
|
|
|
|
result.value = false |
|
|
|
|
createTime.value = '' |
|
|
|
|
think.value = '' |
|
|
|
|
aiModel.value = '' |
|
|
|
|
force.value = compareSwitch.value === 'new' |
|
|
|
|
await get_ai_show_data(cinema_code.value, show_date.value, force.value).then(res => { |
|
|
|
|
if (res.status === 'success') { |
|
|
|
|
@ -78,6 +82,8 @@ async function get_data() { |
|
|
|
|
realCount.value = res.data.real_count |
|
|
|
|
aiCount.value = res.data.ai_count |
|
|
|
|
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 |
|
|
|
|
} else if (compareSwitch.value === 'new') { |
|
|
|
|
@ -266,6 +272,14 @@ onBeforeMount( |
|
|
|
|
<el-row style="margin-top: 30px"> |
|
|
|
|
<el-text style="font-weight: bold" size="large">相关数据:</el-text> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="3" align="right"> |
|
|
|
|
<el-text style="font-weight: bold">调用模型:</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="4" align="left"> |
|
|
|
|
<el-text>{{ aiModel }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="3" align="right"> |
|
|
|
|
<el-text style="font-weight: bold">智能排片预估销售额:</el-text> |
|
|
|
|
@ -325,6 +339,14 @@ onBeforeMount( |
|
|
|
|
<el-text>{{ prompt }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="3" align="right"> |
|
|
|
|
<el-text style="font-weight: bold">AI思考过程:</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="21" align="left"> |
|
|
|
|
<el-text>{{ think }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|