chenrui 4 years ago
parent
commit
c8f1de566d

+ 1 - 0
pages/spotCheck/spotCheck.vue

@@ -173,6 +173,7 @@
 			this.taskId = options.taskId
 			this.storeId = options.storeId
 			this.storeName = options.storeName
+			console.log(options,this.taskId)
 		},
 		onUnload() {
 			uni.$off("closeTour")

+ 5 - 3
pages/spotCheckCenter/spotChecking.vue

@@ -59,8 +59,8 @@ export default {
 		};
 	},
 	onLoad() {
-		// 获取任务状态
-		this.tabList = this.$store.state.vuex_spotCheckStatus
+		// 获取任务状态   对象深度克隆
+		this.tabList = this.$u.deepClone(this.$store.state.vuex_spotCheckStatus)
 		this.tabList.unshift({dispName: '全部', code: ''})
 		// 加载列表
 		this.resetPage();
@@ -159,8 +159,10 @@ export default {
 		},
 		//  开始点检
 		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){
 					// 门店下的设备
 					this.$u.vuex('vuex_storeVideoList',res.data)

File diff suppressed because it is too large
+ 14 - 14
unpackage/dist/dev/app-plus/app-view.js


Some files were not shown because too many files changed in this diff