diff --git a/src/views/ai_show/index.vue b/src/views/ai_show/index.vue index 88ecf93..14b618a 100644 --- a/src/views/ai_show/index.vue +++ b/src/views/ai_show/index.vue @@ -11,6 +11,7 @@ const hallArray = ref([]) // 表格展示的数据 const showData = ref([]) const hallType = ref({}) +const createTime = ref('') const prompt = ref('') const tokens = ref(0) const takeTimes = ref(0) @@ -60,9 +61,11 @@ async function get_data() { aiCount.value = '' templateDate.value = '' result.value = false + createTime.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') { + console.log(res) result.value = false prompt.value = res.data.prompt tokens.value = res.data.take_tokens @@ -74,6 +77,7 @@ async function get_data() { hallType.value = res.data.hall_type realCount.value = res.data.real_count aiCount.value = res.data.ai_count + createTime.value = res.data.create_time if (compareSwitch.value === 'template') { showData.value = res.data.template_obj } else if (compareSwitch.value === 'new') { @@ -189,7 +193,7 @@ onBeforeMount(