Jelajahi Sumber

删除输出

YY 3 tahun lalu
induk
melakukan
a03c67255e

+ 2 - 5
pages/add/index.js

@@ -39,7 +39,6 @@ Page({
       method: 'post',
       data: params,
       success(res) {
-        console.log(res.data);
         if (res.data.errcode == 0) {
           wx.showToast({ title: `申请加入成功`, icon: 'success', duration: 2000 }) //创建成功提示
           wx.navigateTo({ url: '/pages/team/apply?id=' + team_id })// 跳转页面
@@ -55,14 +54,14 @@ Page({
   },
   //日期选择器
   bindDateChange3: function (e) {
-    console.log('picker发送选择改变,携带值为', e.detail.value)
+
     this.setData({
       singledate: e.detail.value
     })
   },
   //时间选择器
   bindTimeChange: function (e) {
-    console.log('picker发送选择改变,携带值为', e.detail.value)
+
     this.setData({
       time: e.detail.value
     })
@@ -70,7 +69,6 @@ Page({
   // 时间段选择  
   bindDateChange(e) {
     let that = this;
-    console.log(e.detail.value)
     that.setData({
       date: e.detail.value,
     })
@@ -118,7 +116,6 @@ Page({
     wx.getStorage({
       key: 'token',
       success: res => {
-        console.log(res);
       },
       fail: res => {
         return wx.redirectTo({ url: '/pages/login/index', })

+ 0 - 2
pages/administration/compete.js

@@ -72,7 +72,6 @@ Page({
             }
           })
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })
@@ -104,7 +103,6 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datas = res.data.data
-              console.log('单解散', datas);
               that.setData({
                 teamlist: datas,
               });

+ 0 - 3
pages/administration/detail.js

@@ -100,7 +100,6 @@ Page({
             }
           })
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })
@@ -133,7 +132,6 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datas = res.data.data
-              console.log('单解散', datas);
               that.setData({
                 teamlist: datas,
               });
@@ -152,7 +150,6 @@ Page({
           method: 'get',
           data: {},
           success(res) {
-            console.log('resdis', res.data);
             if (res.data.errcode == 0) {
               let datas = res.data.data
               that.setData({

+ 1 - 1
pages/administration/details.js

@@ -41,7 +41,7 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datas = res.data.data
-              console.log('单', datas);
+
               that.setData({
                 teamlist: datas,
               });

+ 0 - 1
pages/administration/index.js

@@ -25,7 +25,6 @@ Page({
   //跳转详情页
   tiao: function (e) {
     let id = e.currentTarget.dataset.name;
-    console.log(id);
     wx.navigateTo({
       url: '/pages/list/index?id=' + id,
     })

+ 2 - 11
pages/auditTeam/index.js

@@ -27,10 +27,8 @@ Page({
             data: { status: '1' },
             header: {},
             success: res => {
-                console.log(res);
             },
             error: err => {
-                console.log(err);
             }
         })
     },
@@ -43,19 +41,16 @@ Page({
             data: { status: '-1' },
             header: {},
             success: res => {
-                console.log(res);
             },
             error: err => {
-                console.log(err);
             }
         })
     },
     /**
- * 生命周期函数--监听页面加载
- */
+    * 生命周期函数--监听页面加载
+    */
     onLoad: function (options) {
         this.setData({ id: options.id })
-        console.log(options.id);
         // 计算高度
         this.searchHeight();
         // 监听用户是否登录
@@ -65,7 +60,6 @@ Page({
     watchLogin: function () {
         const that = this;
         var id = that.data.id;
-        console.log(that.data.id);
         wx.getStorage({
             key: 'token',
             success: res => {
@@ -76,11 +70,9 @@ Page({
                     data: { team_id: id },
                     header: {},
                     success: res => {
-                        console.log(res);
                         that.setData({ list: res.data.data })
                     },
                     error: err => {
-                        console.log(err);
                     }
                 })
             },
@@ -89,7 +81,6 @@ Page({
             }
         })
     },
-
     // 计算高度
     searchHeight: function () {
         let frameStyle = this.data.frameStyle;

+ 0 - 5
pages/competition/index.js

@@ -53,7 +53,6 @@ Page({
         method: 'post',
         data: params,
         success(res) {
-          console.log(res.data);
           if (res.data.errcode == 0) {
             wx.showToast({ title: `创建比赛成功`, icon: 'success', duration: 2000 }) //创建成功提示
             wx.navigateTo({ url: '/pages/administration/index' })// 跳转页面
@@ -109,13 +108,11 @@ Page({
     this.setData({ szList: data })
   },
   bindDateChange3: function (e) {
-    console.log('picker发送选择改变,携带值为', e.detail.value)
     this.setData({
       singledate: e.detail.value
     })
   },
   bindTimeChange: function (e) {
-    console.log('picker发送选择改变,携带值为', e.detail.value)
     this.setData({
       time: e.detail.value
     })
@@ -123,7 +120,6 @@ Page({
   // 时间段选择  
   bindDateChange(e) {
     let that = this;
-    console.log(e.detail.value)
     that.setData({
       date: e.detail.value,
     })
@@ -163,7 +159,6 @@ Page({
     wx.getStorage({
       key: 'token',
       success: res => {
-        console.log(res);
       },
       fail: res => {
         return wx.redirectTo({ url: '/pages/login/index', })

+ 0 - 13
pages/createTeam/index.js

@@ -29,7 +29,6 @@ Page({
     },
     determine: function (e) {
         this.setData({ showModal: false })
-        console.log(this.data.members);
     },
     //选择队员
     checkboxChange: function (e) {
@@ -39,7 +38,6 @@ Page({
         let members = [];
         for (const val of data) {
             let arr = item.find((i) => i._id == val);
-            console.log(arr);
             if (arr) members.push({ id: arr._id, nickname: arr.nickname, icon: arr.icon })
         }
         that.setData({ members: members })
@@ -60,13 +58,11 @@ Page({
     },
     //选择
     bindPickerChange: function (e) {
-        console.log('picker发送选择改变,携带值为', e.detail.value)
         this.setData({
             index: e.detail.value
         })
     },
     bindDateChange: function (e) {
-        console.log('picker发送选择改变,携带值为', e.detail.value)
         this.setData({
             ['form.create_time']: e.detail.value
         })
@@ -77,7 +73,6 @@ Page({
     //点击减号删除
     delList: function (e) {
         var id = e.currentTarget.dataset.id;
-        console.log(e.currentTarget.dataset.id);
         var members = this.data.members;
         for (var i = 0; i < members.length; i++) {
             if (members[i].id == id) {
@@ -85,7 +80,6 @@ Page({
             }
         }
         this.setData({ members: members })
-        console.log(members);
     },
 
     //上传图片
@@ -137,7 +131,6 @@ Page({
                         that.setData({ item: res.data.data })
                     },
                     error: err => {
-                        console.log(err);
                     }
                 })
                 wx.request({
@@ -146,12 +139,9 @@ Page({
                     data: {},//请求参数
                     header: {},
                     success: res => {
-                        console.log(res);
                         that.setData({ ['form.create_user']: res.data.data.nickname, ['form.create_id']: res.data.data.id })
-                        console.log(res.data.data.nickname);
                     },
                     error: err => {
-                        console.log(err);
                     }
                 })
 
@@ -179,7 +169,6 @@ Page({
                 data: value,
                 header: {},
                 success: res => {
-                    console.log(res);
                     if (res.data.errcode == 0) {
                         wx.showToast({
                             title: '创建团队成功',
@@ -196,11 +185,9 @@ Page({
                     }
                 },
                 error: err => {
-                    console.log(err);
                 }
             })
         }
-        console.log(e.detail.value);
     },
     // 计算高度
     searchHeight: function () {

+ 0 - 2
pages/dissolution/index.js

@@ -27,7 +27,6 @@ Page({
     },
     //提交
     formSubmit: function (e) {
-        console.log('form发生了submit事件,携带数据为:', e.detail.value)
         const params = e.detail.value;
         var apply_time = this.data.apply_time;
         var form = {
@@ -98,7 +97,6 @@ Page({
                     method: 'get',
                     data: '',
                     success(res) {
-                        console.log('解散团队', res.data);
                         if (res.data.errcode == 0) {
                             let datas = res.data.data
                             that.setData({

+ 0 - 3
pages/home/index.js

@@ -14,7 +14,6 @@ Page({
   },
   tiao: function (e) {
     let id= e.currentTarget.dataset.name;
-    console.log(id);
     wx.navigateTo({
       url: '/pages/list/index?id='+id,
     })
@@ -47,7 +46,6 @@ Page({
       method: 'get',
       data: {},
       success(res) {
-        console.log('res', res.data);
         if (res.data.errcode == 0) {
           let datas = res.data.data
           that.setData({
@@ -69,7 +67,6 @@ Page({
     wx.getStorage({
       key: 'token',
       success: res => {
-        console.log(res);
       },
       fail: res => {
        return wx.redirectTo({ url: '/pages/login/index', })

+ 0 - 9
pages/information/index.js

@@ -30,13 +30,6 @@ Page({
         let arr = data.filter((i, index) => index != e.detail.index)
         that.setData({ fileList: arr })
     },
-    // //选择
-    // bindPickerChange: function (e) {
-    //     console.log('picker发送选择改变,携带值为', e.detail.value)
-    //     this.setData({
-    //         index: e.detail.value
-    //     })
-    // },
     back: function () {
         wx.navigateBack({ url: '/pages/me/index' })
     },
@@ -104,13 +97,11 @@ Page({
                     data: {},//请求参数
                     header: {},
                     success: res => {
-                        console.log(res);
                         that.setData({ form: res.data.data })
                         let icon = res.data.data.icon;
                         this.setData({ fileList: icon })
                     },
                     error: err => {
-                        console.log(err);
                     }
                 })
             },

+ 43 - 55
pages/layNew/index.js

@@ -32,10 +32,8 @@ Page({
         })
     },
     mySelect(e) {
-        console.log(e)
         var name = e.currentTarget.dataset.name
         var blue = e.currentTarget.dataset.data
-        console.log(e.currentTarget.dataset.data);
         this.setData({
             blue: blue,
             grade_name: name,
@@ -49,10 +47,8 @@ Page({
         })
     },
     mySelect1(e) {
-        console.log(e)
         var name = e.currentTarget.dataset.name1
         var red = e.currentTarget.dataset.data1
-        console.log(e.currentTarget.dataset.data1);
         this.setData({
             red: red,
             grade_name1: name,
@@ -61,13 +57,11 @@ Page({
     },
     //选择时间
     bindDateChange: function (e) {
-        console.log('picker发送选择改变,携带值为', e.detail.value)
         this.setData({
             date: e.detail.value
         })
     },
     bindTimeChange: function (e) {
-        console.log('picker发送选择改变,携带值为', e.detail.value)
         this.setData({
             time: e.detail.value
         })
@@ -89,12 +83,52 @@ Page({
     back: function () {
         wx.navigateBack({ url: '/pages/me/index' })
     },
-
+  //提交
+    formSubmit: function (e) {
+        var match_time = this.data.date + '  ' + this.data.time;
+        const value = e.detail.value;
+        value.match_id = this.data.id;
+        value.red_id = this.data.red._id;
+        value.red_name = this.data.red.team_name;
+        value.red_logo = this.data.red.logo;
+        value.red_members = this.data.red.members;
+        value.blue_id = this.data.blue._id;
+        value.blue_name = this.data.blue.team_name;
+        value.blue_logo = this.data.blue.logo;
+        value.blue_members = this.data.blue.members;
+        value.match_time = match_time;
+        if (!this.WxValidate.checkForm(value)) {
+            const error = this.WxValidate.errorList[0];
+            wx.showToast({ title: `${error.msg}`, icon: 'error', duration: 2000 })
+            return false
+        } else {
+            wx.request({
+                url: `${app.globalData.publicUrl}/courtAdmin/api/schedule`, //接口地址
+                method: "post",
+                data: value,
+                header: {},
+                success: res => {
+                    if (res.data.errcode == 0) {
+                        wx.showToast({
+                            title: '保存成功',
+                            icon: 'success',
+                            duration: 2000//延迟两秒
+                        })
+                    } else {
+                        wx.showToast({
+                            title: '保存失败',
+                            icon: 'success',
+                            duration: 2000
+                        })
+                    }
+                },
+            })
+        }
+    },
     /**
      * 生命周期函数--监听页面加载
      */
     onLoad: function (options) {
-        console.log(options.id);
         this.setData({ id: options.id })
         // 计算高度
         this.searchHeight();
@@ -106,7 +140,6 @@ Page({
     // 监听用户是否登录
     watchLogin: function () {
         const that = this;
-        console.log(that.data.id);
         let id = that.data.id;
         wx.getStorage({
             key: 'token',
@@ -116,7 +149,6 @@ Page({
                     method: 'get',
                     data: {},
                     success(res) {
-                        console.log(res.data.data);
                         that.setData({ form: res.data.data })
                     }
                 })
@@ -125,7 +157,6 @@ Page({
                     method: 'get',
                     data: { match_id: that.data.id },
                     success(res) {
-                        console.log(res.data.data);
                         that.setData({ grades: res.data.data })
                     }
                 })
@@ -142,50 +173,7 @@ Page({
         const messages = { match_name: { required: '请输入比赛名称' }, };
         this.WxValidate = new WxValidate(rules, messages)
     },
-    //提交
-    formSubmit: function (e) {
-        var match_time = this.data.date + '  ' + this.data.time;
-        const value = e.detail.value;
-        value.match_id = this.data.id;
-        value.red_id = this.data.red._id;
-        value.red_name = this.data.red.team_name;
-        value.red_logo = this.data.red.logo;
-        value.red_members = this.data.red.members;
-        value.blue_id = this.data.blue._id;
-        value.blue_name = this.data.blue.team_name;
-        value.blue_logo = this.data.blue.logo;
-        value.blue_members = this.data.blue.members;
-        value.match_time = match_time;
-        console.log(value);
-        if (!this.WxValidate.checkForm(value)) {
-            const error = this.WxValidate.errorList[0];
-            wx.showToast({ title: `${error.msg}`, icon: 'error', duration: 2000 })
-            return false
-        } else {
-            wx.request({
-                url: `${app.globalData.publicUrl}/courtAdmin/api/schedule`, //接口地址
-                method: "post",
-                data: value,
-                header: {},
-                success: res => {
-                    console.log(res);
-                    if (res.data.errcode == 0) {
-                        wx.showToast({
-                            title: '保存成功',
-                            icon: 'success',
-                            duration: 2000//延迟两秒
-                        })
-                    } else {
-                        wx.showToast({
-                            title: '保存失败',
-                            icon: 'success',
-                            duration: 2000
-                        })
-                    }
-                },
-            })
-        }
-    },
+  
     // 计算高度
     searchHeight: function () {
         let frameStyle = this.data.frameStyle;

+ 0 - 3
pages/lays/index.js

@@ -26,7 +26,6 @@ Page({
      * 生命周期函数--监听页面加载
      */
     onLoad: function (options) {
-        console.log(options.id);
         this.setData({ id: options.id })
         // let id = options.id
         // 计算高度
@@ -37,7 +36,6 @@ Page({
     // 监听用户是否登录
     watchLogin: function () {
         const that = this;
-        console.log(that.data.id);
         wx.getStorage({
             key: 'token',
             success: res => {
@@ -46,7 +44,6 @@ Page({
                     method: 'get',
                     data: { match_id: that.data.id },
                     success(res) {
-                        console.log(res.data.data);
                         that.setData({ alreadyList: res.data.data })
                     }
                 })

+ 0 - 3
pages/list/index.js

@@ -45,7 +45,6 @@ Page({
           method: 'get',
           // data: {},
           success(res) {
-            console.log('res', res.data);
             if (res.data.errcode == 0) {
               let datas = res.data.data
               that.setData({
@@ -80,7 +79,6 @@ Page({
       success(res) {
         if (res.data.errcode == 0) {
           let datacan = res.data.data
-          console.log('赛程队伍',datacan);
           that.setData({
             ranks: datacan,
             listbang: datacan,
@@ -105,7 +103,6 @@ Page({
       success(res) {
         if (res.data.errcode == 0) {
           let datasai = res.data.data
-          console.log('赛程列表',datasai);
           that.setData({
             schedule: datasai,
           });

+ 0 - 5
pages/maintain/index.js

@@ -75,13 +75,11 @@ Page({
     this.setData({ szList: data })
   },
   bindDateChange3: function (e) {
-    console.log('picker发送选择改变,携带值为', e.detail.value)
     this.setData({
       timedate: e.detail.value
     })
   },
   bindTimeChange: function (e) {
-    console.log('picker发送选择改变,携带值为', e.detail.value)
     this.setData({
       time: e.detail.value
     })
@@ -89,7 +87,6 @@ Page({
   // 时间段选择  
   bindDateChange(e) {
     let that = this;
-    console.log(e.detail.value)
     that.setData({
       starttime: e.detail.value,
     })
@@ -134,7 +131,6 @@ Page({
             method: 'post',
             data: params,
             success(res) {
-              console.log(res.data);
               if (res.data.errcode == 0) {
                 wx.showToast({ title: `修改比赛成功`, icon: 'success', duration: 2000 }) //创建成功提示
                 // wx.navigateTo({ url: '/pages/administration/index' })// 跳转页面
@@ -191,7 +187,6 @@ Page({
           method: 'get',
           // data: {},
           success(res) {
-            console.log('res', res.data);
             if (res.data.errcode == 0) {
               let datas = res.data.data
               let timer = res.data.data.single_time

+ 0 - 6
pages/manage/index.js

@@ -34,7 +34,6 @@ Page({
   //查询团队详情
   shens: function (e) {
     let id = e.currentTarget.dataset.name;
-    console.log(id);
     wx.navigateTo({
       url: '/pages/administration/details?id=' + id,
     })
@@ -67,7 +66,6 @@ Page({
             }
           })
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })
@@ -98,7 +96,6 @@ Page({
             }
           })
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })
@@ -125,7 +122,6 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datasai = res.data.data
-              console.log('参赛队伍', datasai);
               that.setData({
                 compete: datasai,
               });
@@ -144,7 +140,6 @@ Page({
           method: 'get',
           data: '',
           success(res) {
-            console.log('res', res.data);
             let datas = res.data.data
             if (res.data.errcode == 0) {
               for (let i = 0; i < datas.length; i++) {
@@ -176,7 +171,6 @@ Page({
           method: 'get',
           data: {},
           success(res) {
-            console.log('resdis', res.data);
             if (res.data.errcode == 0) {
               let datas = res.data.data
               for (let i = 0; i < datas.length; i++) {

+ 0 - 15
pages/me/index.js

@@ -62,7 +62,6 @@ Page({
   //团队创建人-团队详情
   ToDetails: function (e) {
     let id = e.currentTarget.dataset.id;
-    console.log(e.currentTarget.dataset.id);
     wx.navigateTo({
       url: `/pages/teamDetails/detail?id=` + id,
     })
@@ -70,20 +69,16 @@ Page({
   //个人用户-团队详情
   ToDetailsMember: function (e) {
     let id = e.currentTarget.dataset.id;
-    console.log(e.currentTarget.dataset.id);
     wx.navigateTo({
       url: `/pages/teamDetails/index?id=` + id,
     })
   },
   //比赛管理
   Administration: function (e) {
-    console.log(this.data.list3[0]);
     var list = JSON.stringify(this.data.list3[0])
-    console.log(this.data.list3[0]);
     wx.navigateTo({
       url: `/pages/meMatch/index?list=${list}`,
     })
-    console.log(list);
   },
   //比赛管理
   manage: function (e) {
@@ -148,15 +143,12 @@ Page({
           data: {},//请求参数
           header: {},
           success: res => {
-            // console.log(res);
             that.setData({ item1: res.data.data })
             let icon = res.data.data.icon[0];
             if (icon) this.setData({ icon: icon.url })
             else this.setData({ icon: '/image/tou.png' })
-            console.log(res.data.data);
           },
           error: err => {
-            console.log(err);
           }
         })
         //团队管理员-团队列表
@@ -166,12 +158,9 @@ Page({
           data: {},//请求参数
           header: {},
           success: res => {
-            // console.log(res);
             that.setData({ list3: res.data.data })
-            console.log(res.data.data);
           },
           error: err => {
-            console.log(err);
           }
         })
         //个人用户-所在团队列表
@@ -181,12 +170,9 @@ Page({
           data: { user_id: res.data.id },//请求参数
           header: {},
           success: res => {
-            console.log(res);
             that.setData({ list2: res.data.data })
-            console.log(res.data.data);
           },
           error: err => {
-            console.log(err);
           }
         })
       },
@@ -209,7 +195,6 @@ Page({
             }
           })
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })

+ 0 - 2
pages/meMatch/detail.js

@@ -56,7 +56,6 @@ Page({
           method: 'get',
           data: {},
           success(res) {
-            console.log('res', res.data);
             if (res.data.errcode == 0) {
               let datas = res.data.data
               let datass = []
@@ -105,7 +104,6 @@ Page({
           method: 'get',
           data: {},
           success(res) {
-            console.log('res', res.data);
             if (res.data.errcode == 0) {
               let datas = res.data.data
               for (let i = 0; i < datas.length; i++) {

+ 0 - 5
pages/meMatch/index.js

@@ -28,7 +28,6 @@ Page({
   //报名比赛
   signUp: function (e) {
     let team_id = this.data.list1._id;
-    console.log(this.data.list1._id);
     let team_name = this.data.list1.name;
     let logo = this.data.list1.logo;
     let create_id = this.data.list1.create_id;
@@ -59,7 +58,6 @@ Page({
               apply_time: apply_time,
             },
             success(res) {
-              console.log(res);
               if (res.data.errcode == 0) {
                 wx.showToast({
                   title: `报名成功`,
@@ -88,7 +86,6 @@ Page({
     let apply_time = moment().format('YYYY-MM-DD HH:mm:ss');
     this.setData({ apply_time: apply_time });
     this.setData({ list1: JSON.parse(options.list) })
-    console.log(JSON.parse(options.list));
     // 计算高度
     this.searchHeight();
     // 监听用户是否登录
@@ -107,7 +104,6 @@ Page({
           method: 'get',
           data: { status: '1' },
           success(res) {
-            console.log(res.data.data);
             that.setData({ list: res.data.data })
           }
         })
@@ -117,7 +113,6 @@ Page({
           method: 'get',
           data: { team_id: team_id },
           success(res) {
-            console.log(res.data.data);
             that.setData({ alreadyList: res.data.data })
           }
         })

+ 0 - 2
pages/password/index.js

@@ -79,11 +79,9 @@ Page({
                     data: {},//请求参数
                     header: {},
                     success: res => {
-                        console.log(res);
                         that.setData({ form: res.data.data })
                     },
                     error: err => {
-                        console.log(err);
                     }
                 })
             },

+ 0 - 2
pages/photo/index.js

@@ -29,13 +29,11 @@ Page({
     },
     //提交
     formSubmit: function (e) {
-        console.log('form发生了submit事件,携带数据为:', e.detail.value)
     },
 
     //实现全选的点击事件,首先要定义一个全局变量isAll=false,让复选框默认为不勾选状态
     checkq: function () {
         var list = this.data.list;
-        console.log(list);
         isAll = !isAll;
         if (isAll) {
             for (var i = 0; i < list.length; i++) {

+ 0 - 1
pages/ranking/index.js

@@ -39,7 +39,6 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datacan = res.data.data
-              console.log('排名', datacan);
               that.setData({
                 list: datacan,
                 lists: datacan,

+ 0 - 1
pages/register/index.js

@@ -34,7 +34,6 @@ Page({
         },
         success(res) {
           if (res.data.errcode == 0) {
-            console.log('注册成功');
             wx.navigateTo({
               url: '/pages/home/index',//跳转地址
             })

+ 0 - 1
pages/score/index.js

@@ -55,7 +55,6 @@ Page({
   },
   //提交
   formSubmit: function (e) {
-    console.log('form发生了submit事件,携带数据为:', e.detail.value)
     this.setData({
       showModal: false
     }),

+ 0 - 2
pages/search/index.js

@@ -17,7 +17,6 @@ Page({
   //跳转详情
   tiao: function (e) {
     let id = e.currentTarget.dataset.name;
-    console.log(id);
     wx.navigateTo({
       url: '/pages/list/index?id=' + id,
     })
@@ -47,7 +46,6 @@ Page({
           data: {},
           success(res) {
             if (res.data.errcode == 0) {
-              console.log(res.data.data);
               let one = res.data.data.filter((i) => i.status == '1');
               let two = res.data.data.filter((i) => i.status == '4');
               that.setData({ list: one });

+ 0 - 3
pages/team/apply.js

@@ -55,7 +55,6 @@ Page({
             }
           })
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })
@@ -92,7 +91,6 @@ Page({
             }
           })
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })
@@ -131,7 +129,6 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datas = res.data.data
-              console.log('单', datas);
               that.setData({
                 teamlist: datas,
               });

+ 0 - 2
pages/team/examine.js

@@ -88,7 +88,6 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datas = res.data.data
-              console.log('团队详情', datas);
               that.setData({
                 list: datas,
               });
@@ -116,7 +115,6 @@ Page({
           success(res) {
             if (res.data.errcode == 0) {
               let datas = res.data.data
-              console.log('参赛历史', datas);
               that.setData({
                 listend: datas,
               });

+ 0 - 1
pages/team/index.js

@@ -56,7 +56,6 @@ Page({
           method: 'get',
           data: '',
           success(res) {
-            console.log('res', res.data);
             if (res.data.errcode == 0) {
               let datas = res.data.data
               for (let i = 0; i < datas.length; i++) {

+ 1 - 4
pages/teamDetails/detail.js

@@ -39,7 +39,7 @@ Page({
             }
           }
           that.setData({ ['list.members']: members })
-          console.log(members);
+
         } else if (res.cancel) { }
       }
     })
@@ -55,7 +55,6 @@ Page({
       data: list,
       header: {},
       success: res => {
-        console.log(res);
         if (res.data.errcode == 0) {
           wx.showToast({
             title: '保存成功',
@@ -82,7 +81,6 @@ Page({
     // 计算高度
     this.searchHeight()
     this.ids = options.id;
-    console.log(options.id);
     // 监听用户是否登录
     this.watchLogin();
   },
@@ -90,7 +88,6 @@ Page({
   watchLogin: function () {
     const that = this;
     let id = that.ids
-    console.log(that.ids);
     wx.getStorage({
       key: 'token',
       success: res => {

+ 0 - 9
pages/teamDetails/index.js

@@ -21,15 +21,12 @@ Page({
   },
   //退出团队
   outTeam: function (e) {
-    console.log(this.data.list.id);
     var id = this.data.list._id;
-    console.log(res.data.id);
     var id1 = res.data.id;
     wx.showModal({
       title: '是否退出团队',
       success(res) {
         if (res.confirm) {
-          console.log('用户点击确定')
           //数据请求
           wx.request({
             url: `${app.globalData.publicUrl}/courtAdmin/api/team/leaves`, //接口地址
@@ -40,12 +37,10 @@ Page({
               return wx.redirectTo({ url: '/pages/me/index' })// 跳转页面
             },
             error: err => {
-              console.log(err);
             }
           })
 
         } else if (res.cancel) {
-          console.log('用户点击取消')
         }
       }
     })
@@ -58,7 +53,6 @@ Page({
     // 计算高度
     this.searchHeight()
     this.ids = options.id;
-    console.log(options.id);
     // 监听用户是否登录
     this.watchLogin();
 
@@ -67,7 +61,6 @@ Page({
   watchLogin: function () {
     const that = this;
     let id = that.ids
-    console.log(that.ids);
     wx.getStorage({
       key: 'token',
       success: res => {
@@ -77,9 +70,7 @@ Page({
           method: 'get',
           data: '',
           success(res) {
-            console.log(res);
             that.setData({ list: res.data.data });
-            console.log(res.data.data);
           }
         })
       },