Kaynağa Gözat

参数调整

kk.shi 3 yıl önce
ebeveyn
işleme
8f41c972af

+ 4 - 4
pages/signIn/activity/activity.js

@@ -24,7 +24,7 @@ Page({
         todayIsSigned: false,
         notUseNum: 0,
         signInId: '',
-        channelId: '',
+        department: '',
     },
 
     /**
@@ -35,7 +35,7 @@ Page({
       if(options && options.signId) {
         this.setData({
           signInId: options.signId,
-          channelId: options.channelId,
+          department: options.department,
         })
         console.log(options.signId) //abcd
       }
@@ -68,7 +68,7 @@ Page({
                     module: 'signin',
                     action: 'visit',
                     businessId: res.data.id,
-                    department: this.data.channelId,
+                    department: this.data.department,
                 })
 
             }
@@ -212,7 +212,7 @@ Page({
             module: 'signin',
             action: 'click',
             businessId: this.data.activity.id,
-            department: this.data.channelId,
+            department: this.data.department,
         })
     },
 

+ 4 - 6
pages/welfareMall/activityInfo/activityInfo.js

@@ -21,7 +21,7 @@ Page({
      preventDup:true,
      config: {},
      orderSn:"",
-     channelId: '',
+     department: '',
   },
 
   /**
@@ -43,7 +43,7 @@ Page({
     if(options.activityId){
       this.setData({
         activityId: options.activityId,
-        channelId: options.channelId,
+        department: options.department,
       })
     this.getActivityDetail(options.activityId)
     }
@@ -53,8 +53,7 @@ Page({
       action: 'visit',
       businessId: options.activityId,
       channel: options.channel,
-      // department: options.department
-      department: options.channelId
+      department: options.department
     })
   },
 
@@ -219,8 +218,7 @@ Page({
       module: 'activity:detail',
       action: 'click',
       businessId: this.data.activityId,
-      // department: options.department
-      department: this.data.channelId
+      department: this.data.department
     })
 
   },