|
@@ -59,8 +59,8 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
- // 获取任务状态
|
|
|
|
- this.tabList = this.$store.state.vuex_spotCheckStatus
|
|
|
|
|
|
+ // 获取任务状态 对象深度克隆
|
|
|
|
+ this.tabList = this.$u.deepClone(this.$store.state.vuex_spotCheckStatus)
|
|
this.tabList.unshift({dispName: '全部', code: ''})
|
|
this.tabList.unshift({dispName: '全部', code: ''})
|
|
// 加载列表
|
|
// 加载列表
|
|
this.resetPage();
|
|
this.resetPage();
|
|
@@ -159,8 +159,10 @@ export default {
|
|
},
|
|
},
|
|
// 开始点检
|
|
// 开始点检
|
|
toSpotCheck(item){
|
|
toSpotCheck(item){
|
|
|
|
+ console.log(item)
|
|
|
|
+ console.log('/pages/spotCheck/spotCheck?taskId=' + item.id + '&types=video&storeId='+item.storeId+'&storeName='+item.storeName)
|
|
// 判断当前门店是否已绑定设备
|
|
// 判断当前门店是否已绑定设备
|
|
- findStoreVsDevice({storeCode:item.code}).then(res=>{
|
|
|
|
|
|
+ findStoreVsDevice({storeCode:item.storeCode}).then(res=>{
|
|
if(res.data.length){
|
|
if(res.data.length){
|
|
// 门店下的设备
|
|
// 门店下的设备
|
|
this.$u.vuex('vuex_storeVideoList',res.data)
|
|
this.$u.vuex('vuex_storeVideoList',res.data)
|