|
|
@ -1,7 +1,7 @@ |
|
|
|
<script setup> |
|
|
|
<script setup> |
|
|
|
import {onBeforeMount, onMounted, reactive, ref, unref, computed} from 'vue'; |
|
|
|
import {onBeforeMount, onMounted, reactive, ref, unref, computed} from 'vue'; |
|
|
|
import {useStore, mapGetters, mapState} from "vuex"; |
|
|
|
import {useStore, mapGetters, mapState} from "vuex"; |
|
|
|
import {cinema_list, cinema_search, cinema_user, change_cinema_user} from "@/apis/update.js"; |
|
|
|
import {cinema_list, cinema_search, cinema_user, change_cinema_user, write_git_version_to_db} from "@/apis/update.js"; |
|
|
|
import CinemaUpdate from "@/components/update/CinemaUpdate.vue"; |
|
|
|
import CinemaUpdate from "@/components/update/CinemaUpdate.vue"; |
|
|
|
|
|
|
|
|
|
|
|
// 注册vuex |
|
|
|
// 注册vuex |
|
|
@ -76,6 +76,7 @@ const refresh = (formEL) => { |
|
|
|
refresh_disable.value = true; |
|
|
|
refresh_disable.value = true; |
|
|
|
refresh_loading.value = true; |
|
|
|
refresh_loading.value = true; |
|
|
|
get_table_data() |
|
|
|
get_table_data() |
|
|
|
|
|
|
|
update_git_version() |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
refresh_disable.value = false; |
|
|
|
refresh_disable.value = false; |
|
|
|
refresh_loading.value = false; |
|
|
|
refresh_loading.value = false; |
|
|
@ -83,6 +84,17 @@ const refresh = (formEL) => { |
|
|
|
} |
|
|
|
} |
|
|
|
// endregion |
|
|
|
// endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// region |
|
|
|
|
|
|
|
const update_git_version = async () => { |
|
|
|
|
|
|
|
await write_git_version_to_db().then(res => { |
|
|
|
|
|
|
|
console.log(res) |
|
|
|
|
|
|
|
}).catch(err => { |
|
|
|
|
|
|
|
console.log(err) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// region 表格数据代码 |
|
|
|
// region 表格数据代码 |
|
|
|
// 表格展示的数据 |
|
|
|
// 表格展示的数据 |
|
|
@ -222,7 +234,7 @@ const changeDialogStatus = (ip, ver) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped> |
|
|
|
<style scoped> |
|
|
|
:deep(td.remote div){ |
|
|
|
:deep(td.remote div) { |
|
|
|
font-family: "YaHei Consolas Hybrid"; |
|
|
|
font-family: "YaHei Consolas Hybrid"; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|