fix: 鞍钢集团项目看板页面修改

This commit is contained in:
kun 2024-06-13 17:08:56 +08:00
parent b9ec4d0511
commit 200c73e983
3 changed files with 13 additions and 13 deletions

View File

@ -231,7 +231,7 @@ onMounted(async () => {});
font-family: "OPPOSans-Bold";
display: flex;
align-items: center;
margin: 0 40px;
margin: 0 20px;
padding-top: 10px;
.title-time {

View File

@ -25,10 +25,10 @@ export const staticRouter: RouteRecordRaw[] = [
path: "/large",
name: "大屏",
// // component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版
component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏
// component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏
// component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏
// component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏
// component: () => import("@/views/agjtProjectKanban/indexL.vue"), //鞍钢集团项目看板大屏
component: () => import("@/views/agjtProjectKanban/indexL.vue"), //鞍钢集团项目看板大屏
// component: () => import("@/views/sevenLargeScreen/indexL_syhy.vue"), // 只有一级路由(盘锦、嘉兴、鄱湖美湾医疗项目需切换至该首页)
children: [
{

View File

@ -1,16 +1,8 @@
<template>
<div class="leftTop">
<Card title="安全教育">
<div class="video-config">
<div class="video-config" @click="openPeopleCountDialog">
<el-icon class="config-icon" color="#57BCE8" size="24"><Setting /></el-icon>
<div class="dialog-content" v-show="false">
<div class="dialog-title">
<div class="title-img"><img src="@/assets/images/titleIcon.png" alt="" /></div>
<div class="title-text">
<i>配置视频</i>
</div>
</div>
</div>
</div>
<div class="href-content" v-if="showVideo == 1">
<el-carousel indicator-position="none" height="450px" style="width: 100%;">
@ -29,6 +21,7 @@
<video :src="BASEURL + '/image/' + projectData.videoUrl" class="videos" autoplay controls loop></video>
</div>
</Card>
<setVideoDialog ref="partyBuildRef"></setVideoDialog>
</div>
</template>
@ -42,6 +35,7 @@ import { editProjectInfo, eidtProjectShowConfig, queryBySnData } from "@/api/mod
import { selectLiveVideoListApi } from "@/api/modules/video";
import ckplayerComp from "./ckplayerComp.vue";
import { COMPANY } from "@/config/config";
import setVideoDialog from "@/components/setVideoDialog.vue";
const store = GlobalStore();
const videoList = ref([] as any);
@ -55,7 +49,13 @@ const props = withDefaults(defineProps<Props>(), {
});
//
const projectData = ref({} as any);
//
const partyBuildRef = ref();
const openPeopleCountDialog = () => {
partyBuildRef.value.openDialog({
title: "配置视频"
});
};
watch(
() => props.projectData,
newVal => {