web
4 天以前 92e4c0f5deeba69d52603da02bea2ab7836bb9f6
src/views/screen/flow/graphic/index.vue
@@ -4,10 +4,11 @@
import {getFlowPointList} from '@/api/screen/index'
import {getFlowVideoData} from '@/api/screen/graphic/index.js'
import EZUIKit from 'ezuikit-js';
import {useRoute} from "vue-router";
import {useRoute, useRouter} from "vue-router";
import FullScreenVideo from "./components/FullScreenVideo.vue";
const route = useRoute();
const router = useRouter();
const menuList = ref([])
const userType = ref(getUserType())
@@ -32,7 +33,7 @@
// 抓拍
const handleSnap = (index) => {
    ezKitList[index].capturePicture(`capture-${new Date().getTime()}`, 0.8); // 参数:回调函数,图片格式,质量(0-1)
    ezKitList[index].capturePicture(`capture-${new Date().getTime()}`, 0.8);
}
// 获取监控点菜单
@@ -136,7 +137,7 @@
                        </el-icon>
                        搜索
                    </el-button>
                    <el-button style="margin-left: 0" v-if="userType === '1'">
                    <el-button style="margin-left: 0" v-if="userType === '1'" @click="router.push('/monitorList')">
                        <el-icon>
                            <Plus/>
                        </el-icon>
@@ -177,7 +178,7 @@
                                </div>
                            </div>
                            <div class="info-btn">
                                <div class="fullScreen" @click="handleFullScreen(index)">
                                <div class="fullScreen" v-if="item.url" @click="handleFullScreen(index)">
                                    <img src="@/assets/images/flow/screenIconWhite.png" alt="" />
                                    全屏
                                </div>
@@ -339,15 +340,14 @@
                        .info-btn {
                            width: 15%;
                            padding: 1rem 0;
                            display: flex;
                            align-items: flex-end;
                            flex-direction: column;
                            justify-content: space-between;
                            position: relative;
                            :deep(.el-button) {
                                color: #fff;
                                background: rgba(94, 229, 92, 0.6);
                                border-radius: 4px 4px 4px 4px;
                                border: 1px solid rgba(94, 229, 92, 0.6);
                                position: absolute;
                                bottom: 1rem;
                            }
                            .fullScreen{
                                width: 100%;