|
@@ -78,6 +78,7 @@
|
|
|
goPage(item){
|
|
|
// 判断当前门店是否已绑定设备
|
|
|
findStoreVsDevice({storeCode:item.code}).then(res=>{
|
|
|
+ console.log(res)
|
|
|
if(res.data.length){
|
|
|
// 门店下的设备
|
|
|
this.$u.vuex('vuex_storeVideoList',res.data)
|
|
@@ -94,7 +95,9 @@
|
|
|
// 判断当前门店是否已绑定设备
|
|
|
// type VIDEO_INSPECTION:视频巡店、SPOT_INSPECTION:现场巡店、POINT_INSPECTION:点检任务
|
|
|
queryHasTaskUsing(item){
|
|
|
+ console.log({ storeId: item.id, type: 'VIDEO_INSPECTION' })
|
|
|
queryCurrentTaskUsing({ storeId: item.id, type: 'VIDEO_INSPECTION' }).then(res => {
|
|
|
+ console.log(res)
|
|
|
if(res.status == 200){
|
|
|
if(res.data){ // 为true有历史巡店记录
|
|
|
clzConfirm({
|