下发拍照时间表

master
fanluyan 2 years ago
parent e9d257f68c
commit f1a630c2a4

@ -81,7 +81,9 @@
class="smallnoPic"
v-else-if="item.path.indexOf('videos') !== -1"
>
<!-- <img src="../../assets/img/img.jpg" v-if="item.thumb == ''" v-else/> -->
<img :src="item.thumb" />
<p class="videoicon"><i class="el-icon-video-play"></i></p>
<p class="timeInfo">
<el-tooltip
class="item"
@ -346,6 +348,16 @@ export default {
text-align: center;
color: #333;
}
.videoicon {
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
i {
font-size: 38px;
color: #409eff;
}
}
.borderActive {
.timeInfo {
//background: #409eff;

@ -215,6 +215,7 @@ export default {
deviceListData: {}, //
zzchannel: [], //
checkList: "", //
newcmdzzid: "",
};
},
mounted() {},
@ -223,7 +224,8 @@ export default {
console.log(tab, event);
},
//
getSingleAccess(id) {
getSingleAccess(id, zzid) {
this.newcmdzzid = zzid;
this.selfacilityId = id;
getChannelListJoggle({ termid: id })
.then((res) => {
@ -252,16 +254,18 @@ export default {
},
//
inquireRealbtn() {
console.log(this.selaccess, this.selfacilityId);
console.log(this.selaccess, this.selfacilityId, this.newcmdzzid);
selectPhotoTimeGetJoggle({
channel: this.selaccess,
termId: this.selfacilityId,
cmdId: this.newcmdzzid,
})
.then((res) => {
this.$message.success("查询成功");
console.log(this.shedulenr);
// this.shedulenr = res.data.list.join("; ")
this.shedulenr = res.data.list;
this.loading = false;
// this.shedulenr = res.data.list;
// this.loading = false;
})
.catch((err) => {
this.$message.error("查询失败");

@ -439,9 +439,8 @@ export default {
//
handleSetSchedule() {
this.$refs.setschedule_ref.display();
this.$refs.setschedule_ref.getSingleAccess(this.channelId);
this.$refs.setschedule_ref.getSingleAccess(this.channelId, this.cmdid);
this.$refs.setschedule_ref.deviceList();
console.log();
},
handlexfTime() {
console.log(this.newTermId);

@ -64,7 +64,7 @@
v-for="(item, index) in picList"
:key="index"
>
<viewer class="bigpic">
<viewer class="bigpic" v-if="item.path.indexOf('videos') == -1">
<img :src="item.path + '!1280x720'" />
<!-- <el-image :src="item.path" lazy></el-image> -->
@ -85,6 +85,30 @@
</p>
</div>
</viewer>
<div class="bigpic" v-else>
<!-- <el-image :src="item.path" lazy></el-image> -->
<video
width="100%"
height="250px"
:src="item.path"
controls="controls"
></video>
<div class="caption">
<p class="infoTop">
{{ item.linename }};{{ item.displayname }};{{
item.channnelname
}}
</p>
<p class="infoBottom">
拍照时间{{
$moment(item.photoTime).format("YYYY-MM-DD HH:mm:ss")
}}
上传时间{{
$moment(item.recvTime).format("YYYY-MM-DD HH:mm:ss")
}}
</p>
</div>
</div>
</el-card>
</div>
<div class="noPicBox" v-else>
@ -280,6 +304,7 @@ export default {
border-radius: 3px;
background: #fff;
height: fit-content;
height: 320px;
.el-card__body {
padding: 0px;
}
@ -291,7 +316,8 @@ export default {
img {
cursor: pointer;
width: 100%;
height: 100%;
height: 250px;
object-fit: fill;
}
.caption {

Loading…
Cancel
Save