|
@@ -139,7 +139,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 提交按钮-->
|
|
|
- <div class="checkWork-button" v-if="kptj.finishedTargetCount==kptj.totalTargetCount">
|
|
|
+ <div class="checkWork-button" v-if="kptj&&kptj.finishedTargetCount==kptj.totalTargetCount">
|
|
|
<div v-if="xdType=='video'" @click="submitTask">提交本次巡店</div>
|
|
|
<div v-if="xdType=='scene'" @click="nextStep">下一步</div>
|
|
|
</div>
|
|
@@ -185,10 +185,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<script>
|
|
|
- window.onload = function(){
|
|
|
- vm.showLoading = false
|
|
|
- }
|
|
|
-
|
|
|
// 初始化vm 实例
|
|
|
var vm = new Vue({
|
|
|
el: '#app',
|
|
@@ -259,7 +255,8 @@
|
|
|
// 获取任务考评项
|
|
|
getTaskItem(data){
|
|
|
this.kpItem = JSON.parse(data)
|
|
|
- this.zbItem = this.kpItem.length ? this.kpItem[this.activeIndex].taskTargetVOList : []
|
|
|
+ this.zbItem = this.kpItem.length ? this.kpItem[this.activeIndex].taskTargetVOList : [],
|
|
|
+ this.showLoading = false
|
|
|
},
|
|
|
// 选择机位
|
|
|
onVideoListClick({ key }){
|