|
@@ -245,7 +245,7 @@
|
|
import yList from "@/components/order/list.vue"
|
|
import yList from "@/components/order/list.vue"
|
|
import notice from "@/components/swiper/notice.vue"
|
|
import notice from "@/components/swiper/notice.vue"
|
|
let { calendar } = require("@/components/lunc-calendar/calendar.js");
|
|
let { calendar } = require("@/components/lunc-calendar/calendar.js");
|
|
- import {getReservatcountl,getReservatList,getReservatDel,getReservatSh,getYydcCont,getCameraVideo,getCameraList,getVideoOpenDz,getVideoCloseDz,} from "@/api/mine/order.js"
|
|
|
|
|
|
+ import {getReservatcountl,getReservatList,getReservatDel,getReservatSh,getYydcCont,getCameraVideo,getappCameraVideo,getCameraList,getVideoOpenDz,getVideoCloseDz,} from "@/api/mine/order.js"
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
import {getNoticeList} from "@/api/common.js"
|
|
import {getNoticeList} from "@/api/common.js"
|
|
import {getRecordDayList} from "@/api/work/check.js"
|
|
import {getRecordDayList} from "@/api/work/check.js"
|
|
@@ -527,20 +527,34 @@
|
|
if(this.tabval==2){
|
|
if(this.tabval==2){
|
|
indexCode=this.indexCode
|
|
indexCode=this.indexCode
|
|
}
|
|
}
|
|
- getCameraVideo(indexCode).then(res=>{
|
|
|
|
- if(res.code==200){
|
|
|
|
- var data=res.data.data;
|
|
|
|
- if(data){
|
|
|
|
- this.videourl=data.url;
|
|
|
|
- // #ifdef H5
|
|
|
|
- this.flv_destroy()
|
|
|
|
- this.getLivePlayer()
|
|
|
|
- // #endif
|
|
|
|
|
|
+ // #ifdef H5
|
|
|
|
+ getCameraVideo(indexCode).then(res=>{
|
|
|
|
+ if(res.code==200){
|
|
|
|
+ var data=res.data.data;
|
|
|
|
+ if(data){
|
|
|
|
+ this.videourl=data.url;
|
|
|
|
+ // #ifdef H5
|
|
|
|
+ this.flv_destroy()
|
|
|
|
+ this.getLivePlayer()
|
|
|
|
+ // #endif
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ this.$toast(res.msg)
|
|
}
|
|
}
|
|
- }else{
|
|
|
|
- this.$toast(res.msg)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ })
|
|
|
|
+ // #endif
|
|
|
|
+ // #ifdef APP-PLUS
|
|
|
|
+ getappCameraVideo(indexCode).then(res=>{
|
|
|
|
+ if(res.code==200){
|
|
|
|
+ var data=res.data.data;
|
|
|
|
+ if(data){
|
|
|
|
+ this.videourl=data.url;
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ this.$toast(res.msg)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ // #endif
|
|
},
|
|
},
|
|
getCodeFn(ite){
|
|
getCodeFn(ite){
|
|
this.dzaddress=ite.name;
|
|
this.dzaddress=ite.name;
|