flx:修复bug

This commit is contained in:
Rain_ 2025-07-22 11:44:39 +08:00
parent 2e77694344
commit 9a0a523f9c
3 changed files with 11 additions and 6 deletions

View File

@ -52,6 +52,8 @@ VITE_API_URL = 'http://192.168.34.221:8111' #雄哥本地
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 大连金笔
# VITE_API_URL = 'http://101.43.164.214:11126'
# 测试
VITE_API_URL = 'http://jxj.zhgdyun.com:9500'
# 上传
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

View File

@ -47,7 +47,7 @@
<div @click="onWorkTicketRefresh" class="refresh">刷新</div>
</div>
<el-scrollbar class="box-main">
<div style="height: 100%" infinite-scroll-distance="1" v-infinite-scroll="load">
<div style="height: 100%" infinite-scroll-distance="1" :infinite-scroll-immediate="false" v-infinite-scroll="load">
<div class="box-main_box" v-for="item in workTicketList" :key="item.id">
<div>
<div>
@ -187,7 +187,7 @@
<div v-for="item in policeCameraItemList" :key="item.itemId">
<div class="hls-video">
<!-- <HlsPlayer :src="'https://gcalic.v.myalicdn.com/gc/wgw05_1/index.m3u8'" :autoplay="true" :controls="true" /> -->
<HlsPlayer :src="item.videoItemInfo ? item.videoItemInfo.url : ''" :autoplay="true" :controls="true" />
<HlsPlayer :src="item.videoItemInfo && item.videoItemInfo.url ? item.videoItemInfo.url : ''" :autoplay="true" :controls="true" />
</div>
<div class="hls-video_title" @click="onEquipmentClick(item)">
<div>设备详情</div>
@ -448,7 +448,7 @@ const workTicketInfo = reactive({
typeId: "",
numberOrContent: "",
constructionTime: [],
pageNo: 0,
pageNo: 1,
pageSize: 10,
total: 0
});
@ -458,7 +458,7 @@ const onWorkTicketStateClick = row => {
onWorkTicketQuery();
};
const onWorkTicketQuery = () => {
workTicketInfo.pageNo = 0;
workTicketInfo.pageNo = 1;
workTicketList.value = [];
getWorkTicketPage();
};
@ -501,6 +501,7 @@ const load = () => {
};
onMounted(() => {
getWorkTicketPage();
getWorkTicketCountWorkTicket();
getWorkTicketTypeTreePage();
});
@ -642,6 +643,7 @@ const getPoliceCameraItemPage = () => {
getPoliceCameraItemPageApi({
...params,
ticketId: viewAllShow.value ? '' : workTicketDetail.value.id,
deviceState: viewAllShow.value ? 1 : '',
projectSn: store.sn
}).then(async res => {
if (res.code == 200) {
@ -933,7 +935,7 @@ const downloadFileBtn = (url, name) => {
width: 45px;
padding: 2px 12px;
// height: 20px;
background: url("@/assets/images/cardImg.png") no-repeat;
background: url("@/assets/images/cardImg2.png") no-repeat;
background-size: 100% 100%;
display: flex;
align-items: center;
@ -1217,6 +1219,7 @@ const downloadFileBtn = (url, name) => {
color: #ffffff;
writing-mode: vertical-rl;
cursor: pointer;
letter-spacing: 6px;
}
}
}
@ -1399,7 +1402,7 @@ const downloadFileBtn = (url, name) => {
width: 50px;
padding: 2px 12px;
// height: 20px;
background: url("@/assets/images/cardImg.png") no-repeat;
background: url("@/assets/images/cardImg2.png") no-repeat;
background-size: 100% 100%;
display: flex;
align-items: center;