|
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
<script setup> |
|
|
|
|
import {onBeforeMount, ref, reactive} from 'vue'; |
|
|
|
|
import { ElMessage } from 'element-plus' |
|
|
|
|
import {get_ai_show_data} from "@/apis/ai_show.js"; |
|
|
|
|
|
|
|
|
|
// region 表格数据代码 |
|
|
|
|
@ -38,6 +39,11 @@ const cinema_code = ref('11078801') |
|
|
|
|
const force = ref(false) |
|
|
|
|
const templateSwitch = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const show_alter = () => { |
|
|
|
|
ElMessage.error('没有查询到有效的智能排片数据,请调整日期和影院后再试!') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 通过异步请求获取影院列表数据 |
|
|
|
|
async function get_data() { |
|
|
|
|
showData.value = [] |
|
|
|
|
@ -73,6 +79,7 @@ async function get_data() { |
|
|
|
|
formatTableData() |
|
|
|
|
} else { |
|
|
|
|
result.value = true |
|
|
|
|
show_alter() |
|
|
|
|
} |
|
|
|
|
}).catch(err => { |
|
|
|
|
console.log(err) |
|
|
|
|
|