batman
2023-03-09 510bbb4e5e0bf980e2478813112bd3e80772fb3a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<template>
  <el-dialog v-model="videoDetailDialog" title="实时监控" width="80%" center>
 
  </el-dialog>
</template>
 
<script lang="ts">
    import { toRefs, reactive, defineComponent, ref, defineAsyncComponent } from 'vue';
    import { storeToRefs } from 'pinia';
    import { initBackEndControlRoutes } from '/@/router/backEnd';
    import {useUserInfo} from "/@/stores/userInfo";
    import { Session } from '/@/utils/storage';
    import { ElMessage } from 'element-plus'
    import type { FormInstance, FormRules } from 'element-plus'
    import { workApplyApi } from '/@/api/specialWorkSystem/workApply';
 
 
    interface stateType {
    videoDetailDialog:boolean
    }
    export default defineComponent({
        name: 'videoDetail',
        components: {},
        props:[],
        setup() {
            const userInfo = useUserInfo()
            const { userInfos } = storeToRefs(userInfo);
      const state = reactive<stateType>({
        videoDetailDialog: false
      })
      const openDialog = ()=>{
        state.videoDetailDialog = true
      }
            return {
        openDialog,
        ...toRefs(state)
            };
        },
    });
</script>
 
<style scoped lang="scss">
 
</style>