Admin
2022-12-01 4ce9492c80733d8deafaf8b401c4bb1a698ec399
Default Changelist
已修改1个文件
15 ■■■■ 文件已修改
src/views/intellectInspect/intelligentLine/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/intellectInspect/intelligentLine/index.vue
@@ -92,7 +92,7 @@
<script lang="ts">
import screenfull from 'screenfull';
import { lineApi } from '/@/api/intelligentLine';
import {toRefs, reactive, ref, onMounted, onUnmounted, computed, nextTick} from 'vue';
import {toRefs, reactive, ref, onMounted, onUnmounted, computed, nextTick, onActivated} from 'vue';
import {useRoute} from 'vue-router';
import { storeToRefs } from 'pinia';
import { initBackEndControlRoutes } from '/@/router/backEnd';
@@ -137,8 +137,10 @@
            state.id = curId.toString()
            getLine(state.id)
            getUrl(state.id)
            onScreenfullClick();
        });
      onActivated(()=>{
        onScreenfullClick();
      })
        const dataList = computed(() => {
            return userInfos.value.dataList;
@@ -191,7 +193,7 @@
        const getLine = async (id:string) => {
            let res = await lineApi().getLine({ id: id });
            if (res.data.code === '200') {
                userInfos.value.dataList = res.data.data;
                userInfos.value.dataList = res.data.data
            } else {
                ElMessage({
                    type: 'warning',
@@ -208,7 +210,6 @@
                return false;
            }
            screenfull.toggle(element);
            console.log(111111111111111)
        };
        // 返回
@@ -1000,11 +1001,11 @@
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                justify-content: left;
                align-items: flex-start;
                overflow-y: hidden;
                overflow-x: hidden;
                overflow: auto;
                &::-webkit-scrollbar { width: 0; height: 0; color: transparent; }
                &::scrollbar { width: 0; height: 0; color: transparent; }
            }
            .line-map {