代码优化

This commit is contained in:
jiayu 2025-06-17 11:36:12 +08:00
parent 47db9192bd
commit 2279a3c5d0
5 changed files with 16 additions and 13 deletions

View File

@ -6,7 +6,7 @@ NODE_ENV = 'development'
# VITE_API_URL = 'http://192.168.34.155:28890' #彭杰鞍钢本地
# VITE_API_URL = 'http://192.168.34.155:19111'
# VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
VITE_API_URL = 'http://192.168.34.221:19112' #雄哥本地
# VITE_API_URL = 'http://192.168.34.221:19112' #雄哥本地
# VITE_API_URL = 'http://192.168.34.221:28890' #雄哥本地
# VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程
# VITE_API_URL = 'http://192.168.34.221:28889'
@ -20,7 +20,7 @@ VITE_API_URL = 'http://192.168.34.221:19112' #雄哥本地
# 演示平台
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
# 百色七参数线上地址
# VITE_API_URL = 'http://101.43.164.214:11111'
VITE_API_URL = 'http://101.43.164.214:11111'
# 七参数标准版(测试平台)
# VITE_API_URL = 'http://jxj.zhgdyun.com:15551'
# 七参数标准版(测试平台)

View File

@ -368,7 +368,7 @@ export const staticRouter: RouteRecordRaw[] = [
],
meta: {
// title: "数字化项目监管平台"
title: "智慧工厂安全生产监管平台" //鞍钢项目
title: "智慧工地管理平台" //鞍钢项目
}
}

View File

@ -8,7 +8,7 @@
<p v-if="COMPANY == 'agjtLive'">{{cbsProjectInfo ? cbsProjectInfo.regionName : '现场大屏'}}</p>
</span>
<div class="leftIcon">
<div class="info">智慧工厂安全生产监管平台</div>
<div class="info">智慧工地管理平台</div>
</div>
<div class="rightIcon" @click.stop>
<div class="time">{{ nowTime }}</div>

View File

@ -7,7 +7,7 @@
<p v-if="COMPANY === 'agjtCommand'">指挥部大屏</p>
</span>
<div class="leftIcon">
<div class="info">智慧工厂安全生产监管平台</div>
<div class="info">智慧工地管理平台</div>
</div>
<div class="rightIcon" @click.stop>
<div class="time">{{ nowTime }}</div>

View File

@ -3,7 +3,6 @@
<div class="left" :class="{ hide: !isExpand }">
<div class="videoListBig">
<Card title="监控设备列表">
<el-scrollbar style="height: 100%">
<!-- default-expand-all -->
<el-input class="tree-search-input" v-model="filterText" :prefix-icon="Search" placeholder="请输入设备名称" />
<div class="btn-group">
@ -11,6 +10,7 @@
<div class="btn-item" :class="{ active: treeBtnActive === 1 }" @click="treeBtnActive = 1">在线</div>
<div class="btn-item" :class="{ active: treeBtnActive === 2 }" @click="treeBtnActive = 2">离线</div>
</div>
<el-scrollbar class="tree-scrollbar">
<el-tree
ref="treeRef"
icon="ArrowRight"
@ -666,6 +666,9 @@ const previewVideo = (data: string | null) => {
}
}
}
.tree-scrollbar {
height: calc(100% - 80px);
}
}
.decivList {
width: 100%;