|
@@ -38,7 +38,7 @@
|
|
|
<div class="checkWork">
|
|
|
<!-- 统计及摄像头切换 -->
|
|
|
<div class="checkWork-head">
|
|
|
- <div class="checkWork-head-row">
|
|
|
+ <div class="checkWork-head-row" v-if="xdType=='video'">
|
|
|
<!-- 机位 -->
|
|
|
<div>
|
|
|
<div>机位:</div>
|
|
@@ -136,10 +136,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ <!-- 提交按钮 -->
|
|
|
+ <div class="checkWork-button">
|
|
|
+ <div v-if="xdType=='video'" @click="submitTask">提交本次巡店</div>
|
|
|
+ <div v-if="xdType=='scene'" @click="nextStep">下一步</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<!-- 拍照弹框 -->
|
|
|
<a-drawer
|
|
|
title="快拍"
|
|
@@ -238,6 +242,8 @@
|
|
|
setTyps(type){
|
|
|
console.log(type)
|
|
|
this.xdType = type
|
|
|
+ // 设置标题
|
|
|
+ document.title = type=='video'?'远程巡店':'现场巡店'
|
|
|
},
|
|
|
// 设置视频列表
|
|
|
setVideoList(data){
|
|
@@ -269,8 +275,6 @@
|
|
|
},
|
|
|
// 初始化播放器
|
|
|
videoInit(){
|
|
|
- // 设置标题
|
|
|
- document.title = '远程巡店'
|
|
|
const _this = this
|
|
|
const videoSrc = this.curVideo.videoSrc
|
|
|
// 初始化播放器
|
|
@@ -468,6 +472,14 @@
|
|
|
saveZbPlImgsSuccess(){
|
|
|
this.zbItem.splice(this.activeZbIndex,1,this.curZbItem)
|
|
|
this.onClosePz()
|
|
|
+ },
|
|
|
+ // 提交此次任务
|
|
|
+ submitTask(){
|
|
|
+ this.sendMsg('submitTask','')
|
|
|
+ },
|
|
|
+ // 现场巡店下一步签字
|
|
|
+ nextStep(){
|
|
|
+ this.sendMsg('nextStep','')
|
|
|
}
|
|
|
}
|
|
|
})
|