menc 2 年之前
父节点
当前提交
5dd8d75576

+ 18 - 18
base/httputil.js

@@ -1,6 +1,6 @@
 // let BASE_Server = "http://127.0.0.1:8329"
 // let BASE_Server = "http://127.0.0.1:8329"
-    let BASE_Server = "https://192.168.1.114:18080"
-// let BASE_Server = "https://sookajs.top:18080"
+    // let BASE_Server = "https://192.168.1.114:18080"
+let BASE_Server = "https://sookajs.top:18080"
 
 
 
 
 
 
@@ -15,14 +15,14 @@ function init_userInfo() {
         getSysUserInfo(res.userInfo)
         getSysUserInfo(res.userInfo)
       },
       },
       fail: res => {
       fail: res => {
-        console.log(res)
+      
       }
       }
     })
     })
   }
   }
 }
 }
 
 
 function getSysUserInfo(info) {
 function getSysUserInfo(info) {
-  console.log(2222)
+  
   let that = this
   let that = this
   wx.login({
   wx.login({
     success(res) {
     success(res) {
@@ -36,7 +36,7 @@ function getSysUserInfo(info) {
       send_post("/auth/applogin", data, loginSuccess)
       send_post("/auth/applogin", data, loginSuccess)
     },
     },
     fail(res) {
     fail(res) {
-      console.log("ffff", res)
+     
     }
     }
   })
   })
 }
 }
@@ -52,7 +52,7 @@ function loginSuccess(res) {
     //登录成功,获取首页数据
     //登录成功,获取首页数据
     this.initIndexPage()
     this.initIndexPage()
   }
   }
-  console.log("!!!!!", app.globalToken)
+
 }
 }
 
 
 
 
@@ -73,7 +73,7 @@ function loginSuccess(res) {
  */
  */
 function send_post(url, data, successfun) {
 function send_post(url, data, successfun) {
 
 
-  console.log("令牌:", app.globalToken)
+
   if (app.globalToken == null) {
   if (app.globalToken == null) {
     wx.showToast({
     wx.showToast({
       title: '尚未登录,登录后即可使用',
       title: '尚未登录,登录后即可使用',
@@ -92,7 +92,7 @@ function send_post(url, data, successfun) {
     success(res) {
     success(res) {
       // var d = decodeURIComponent(decodeURIComponent(res.data.data))
       // var d = decodeURIComponent(decodeURIComponent(res.data.data))
       // var json = JSON.parse(d)
       // var json = JSON.parse(d)
-      console.log("TAG","返回数据:"+res.data)
+    
       authToken(res.data)
       authToken(res.data)
       successfun(res.data)
       successfun(res.data)
     },
     },
@@ -112,7 +112,7 @@ function send_post(url, data, successfun) {
  * @param {*} successfun 
  * @param {*} successfun 
  */
  */
 function post(url, data, successfun) {
 function post(url, data, successfun) {
-  console.log("令牌:", app.globalToken)
+
   if (app.globalToken == null) {
   if (app.globalToken == null) {
     wx.showToast({
     wx.showToast({
       title: '尚未登录,登录后即可使用',
       title: '尚未登录,登录后即可使用',
@@ -146,7 +146,7 @@ function post(url, data, successfun) {
  * @param {*} successfun 
  * @param {*} successfun 
  */
  */
 function post_token(url, data, successfun) {
 function post_token(url, data, successfun) {
-  console.log("令牌:", app.globalToken)
+  
   wx.request({
   wx.request({
     url: BASE_Server + url, //仅为示例,并非真实的接口地址 
     url: BASE_Server + url, //仅为示例,并非真实的接口地址 
     method: "POST",
     method: "POST",
@@ -156,7 +156,7 @@ function post_token(url, data, successfun) {
     },
     },
     data: data,
     data: data,
     success(res) {
     success(res) {
-      console.log("TAG","返回数据:"+res.data)
+   
       authToken(res.data)
       authToken(res.data)
       successfun(res.data)
       successfun(res.data)
     },
     },
@@ -176,7 +176,7 @@ function post_token(url, data, successfun) {
  * @param {*} successfun 
  * @param {*} successfun 
  */
  */
 function get(url, data, successfun) {
 function get(url, data, successfun) {
-  console.log("令牌:", app.globalToken)
+
   if (app.globalToken == null) {
   if (app.globalToken == null) {
     wx.showToast({
     wx.showToast({
       title: '尚未登录,登录后即可使用',
       title: '尚未登录,登录后即可使用',
@@ -210,7 +210,7 @@ function get(url, data, successfun) {
  * @param {*} successfun 
  * @param {*} successfun 
  */
  */
 function send_get(url, data, successfun) {
 function send_get(url, data, successfun) {
-  console.log("令牌:", app.globalToken)
+  
   if (app.globalToken == null) {
   if (app.globalToken == null) {
     wx.showToast({
     wx.showToast({
       title: '尚未登录,登录后即可使用',
       title: '尚未登录,登录后即可使用',
@@ -229,7 +229,7 @@ function send_get(url, data, successfun) {
     success(res) {
     success(res) {
       // var d = decodeURIComponent(decodeURIComponent(res.data.data))
       // var d = decodeURIComponent(decodeURIComponent(res.data.data))
       // var json = JSON.parse(d)
       // var json = JSON.parse(d)
-      console.log("TAG","返回数据:"+res.data)
+      
       authToken(res.data)
       authToken(res.data)
       successfun(res.data)
       successfun(res.data)
     },
     },
@@ -249,7 +249,7 @@ function send_get(url, data, successfun) {
  * @param {*} successfun 
  * @param {*} successfun 
  */
  */
 function get_token(url, data, successfun) {
 function get_token(url, data, successfun) {
-  console.log("令牌:", app.globalToken)
+
   wx.request({
   wx.request({
     url: BASE_Server + url, //仅为示例,并非真实的接口地址 
     url: BASE_Server + url, //仅为示例,并非真实的接口地址 
     method: "GET",
     method: "GET",
@@ -261,7 +261,7 @@ function get_token(url, data, successfun) {
     success(res) {
     success(res) {
       // var d = decodeURIComponent(decodeURIComponent(res.data.data))
       // var d = decodeURIComponent(decodeURIComponent(res.data.data))
       // var json = JSON.parse(d)
       // var json = JSON.parse(d)
-      console.log("TAG","返回数据:"+res.data)
+    
       authToken(res.data)
       authToken(res.data)
       successfun(res.data)
       successfun(res.data)
     },
     },
@@ -293,8 +293,8 @@ function send_postdecode(url, data, successfun) {
 function send_photo(data, successfun) {
 function send_photo(data, successfun) {
   var that = this
   var that = this
   for (let i = 0; i < data.length; i++) {
   for (let i = 0; i < data.length; i++) {
-    console.log("data长度=" + data.length)
-    console.log(data)
+    
+    
     wx.uploadFile({
     wx.uploadFile({
       url: BASE_Server + "/FileUpLoadController/upload.action", //仅为示例,非真实的接口地址
       url: BASE_Server + "/FileUpLoadController/upload.action", //仅为示例,非真实的接口地址
       filePath: data[i] + "",
       filePath: data[i] + "",

+ 5 - 5
pages/denglu/denglu.js

@@ -21,11 +21,11 @@ Page({
     wx.login({
     wx.login({
       success(res) {
       success(res) {
         that.data.wxCode = res.code
         that.data.wxCode = res.code
-        console.log("login_wxCode_load",":"+that.data.wxCode)
+      
         that.getOpenIdBywxCode()
         that.getOpenIdBywxCode()
       },
       },
       fail(res) {
       fail(res) {
-        console.log("ffff", res)
+     
       }
       }
     })
     })
   },
   },
@@ -47,7 +47,7 @@ Page({
       return
       return
     }
     }
     let that=this;
     let that=this;
-    console.log("要提交给服务器的用户名和密码是",this.data.wxCode+"_"+this.data.userName+"_"+this.data.password);
+  
     var data = {
     var data = {
       userName:this.data.userName,
       userName:this.data.userName,
       password:this.data.password,
       password:this.data.password,
@@ -70,7 +70,7 @@ Page({
     } else {
     } else {
       // that.data.openid = res.openid
       // that.data.openid = res.openid
       app.globalToken = res.data.access_token
       app.globalToken = res.data.access_token
-      console.log("登陆成功的令牌:",app.globalToken)
+      ("登陆成功的令牌:",app.globalToken)
       wx.setStorageSync('userName', that.data.userName)
       wx.setStorageSync('userName', that.data.userName)
       wx.setStorageSync('password', that.data.password)
       wx.setStorageSync('password', that.data.password)
       app.isLoginSuccess=true;
       app.isLoginSuccess=true;
@@ -102,7 +102,7 @@ Page({
     let that = this
     let that = this
     if (res!=null&&res.openid!=null) {
     if (res!=null&&res.openid!=null) {
       that.data.openid = res.openid
       that.data.openid = res.openid
-      console.log("openid",res.openid)
+     
       // wx.setStorageSync('openid', res.openid)
       // wx.setStorageSync('openid', res.openid)
     }
     }
   },
   },

+ 3 - 3
pages/details/details.js

@@ -9,7 +9,7 @@ Page({
     this.data.busEnterpriseId = e.busEnterpriseId
     this.data.busEnterpriseId = e.busEnterpriseId
   },
   },
   onShow(){
   onShow(){
-    console.log("TAG","onShow")
+   
     this.getEnterpriseDetails()
     this.getEnterpriseDetails()
   },
   },
   data: {
   data: {
@@ -40,7 +40,7 @@ Page({
     http.post("/system/AppEnterpriseController/getEnterpriseDetails", obj, this.getEnterpriseDetailsSuccess)
     http.post("/system/AppEnterpriseController/getEnterpriseDetails", obj, this.getEnterpriseDetailsSuccess)
   },
   },
   getEnterpriseDetailsSuccess(res) {
   getEnterpriseDetailsSuccess(res) {
-    console.log("%%%%",res)
+ 
     this.setData({
     this.setData({
       enterpriseDetails: res.enterpriseDetails,
       enterpriseDetails: res.enterpriseDetails,
       latitude: res.enterpriseDetails.latitude,
       latitude: res.enterpriseDetails.latitude,
@@ -77,7 +77,7 @@ Page({
   },
   },
   //导航
   //导航
   navRoad(event) {
   navRoad(event) {
-    console.log(event)
+   
     wx.getLocation({ //获取当前经纬度
     wx.getLocation({ //获取当前经纬度
       type: 'wgs84', //返回可以用于wx.openLocation的经纬度,
       type: 'wgs84', //返回可以用于wx.openLocation的经纬度,
       success: function (res) {
       success: function (res) {

+ 2 - 2
pages/fcdetail/fcdetail.js

@@ -35,11 +35,11 @@ Page({
     })
     })
     var obj={};
     var obj={};
     obj["logId"]=this.data.logId
     obj["logId"]=this.data.logId
-    console.log('XXXX'+this.data.logId)
+  
     http.post("/system/AppXunchaController/getFcyjgzsDetail",obj,this.detailsSuccess)
     http.post("/system/AppXunchaController/getFcyjgzsDetail",obj,this.detailsSuccess)
   },
   },
   detailsSuccess(e){
   detailsSuccess(e){
-    console.log(JSON.stringify(e))
+    
     if(e.code == 200){
     if(e.code == 200){
       this.data.lasttime=util.formatDate(new Date(e.data.fcyjgzs.lasttime),'yyyy年MM月dd日') ;
       this.data.lasttime=util.formatDate(new Date(e.data.fcyjgzs.lasttime),'yyyy年MM月dd日') ;
       this.data.deptName=e.data.dept_jd;
       this.data.deptName=e.data.dept_jd;

+ 3 - 3
pages/index/index.js

@@ -193,7 +193,7 @@ Page({
       onlyFromCamera: true,
       onlyFromCamera: true,
       success: (res) => {
       success: (res) => {
 
 
-        console.log("$$$",res.result);
+       
         wx.navigateTo({
         wx.navigateTo({
           url: '../xungengdetails/xungengdetails?id='+res.result,
           url: '../xungengdetails/xungengdetails?id='+res.result,
         })
         })
@@ -328,7 +328,7 @@ Page({
 
 
   initIndexPageSuccess(res) {
   initIndexPageSuccess(res) {
 
 
-    console.log("@@",res)
+  
     if (res.code == 200) {
     if (res.code == 200) {
       this.setData({
       this.setData({
         xunjianImgCount: res.data.xunjianImgCount,
         xunjianImgCount: res.data.xunjianImgCount,
@@ -389,7 +389,7 @@ goNoticeDetails(e){
   //   })
   //   })
   // },
   // },
   onTabItemTap(item) {
   onTabItemTap(item) {
-    console.log("$$$$$$$", item)
+   
   }
   }
 
 
 
 

+ 2 - 2
pages/maillist/maillist.js

@@ -41,7 +41,7 @@ Page({
   },
   },
   getBookListSuccess(res) {
   getBookListSuccess(res) {
 
 
-    console.log("@@@@", res)
+    
     if (res.code == 200) {
     if (res.code == 200) {
       // 显示加载图标
       // 显示加载图标
       wx.showLoading({
       wx.showLoading({
@@ -92,7 +92,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+      
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 2 - 2
pages/maillist/serch/maillist_serch.js

@@ -55,7 +55,7 @@ Page({
   },
   },
   getBookListSuccess(res) {
   getBookListSuccess(res) {
 
 
-    console.log("@@@@", res)
+   
     if (res.code == 200) {
     if (res.code == 200) {
       // 显示加载图标
       // 显示加载图标
       wx.showLoading({
       wx.showLoading({
@@ -106,7 +106,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+      
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 1 - 1
pages/material/details/material_details.js

@@ -53,7 +53,7 @@ Page({
   },
   },
 //拨打电话
 //拨打电话
 Call() {
 Call() {
-  console.log("@@##"+this.data.connectorPhone)
+ 
   wx.makePhoneCall({
   wx.makePhoneCall({
     phoneNumber: this.data.connectorPhone
     phoneNumber: this.data.connectorPhone
   })
   })

+ 2 - 2
pages/material/material.js

@@ -36,7 +36,7 @@ Page({
 
 
   getQiyeEnterpriseListSuccess(res) {
   getQiyeEnterpriseListSuccess(res) {
 
 
-    console.log("@@@@", res)
+
     if (res.code == 200) {
     if (res.code == 200) {
       // 显示加载图标
       // 显示加载图标
       wx.showLoading({
       wx.showLoading({
@@ -91,7 +91,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+      //("@@!", "请求失败")
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 2 - 2
pages/material/serch/material_serch.js

@@ -59,7 +59,7 @@ Page({
   },
   },
 
 
   list(data) {
   list(data) {
-    console.log("$$$$$-=-=-=-"+data.materialName);
+   
     http.send_get("/system/AppMaterialController/geMaterialList", data, this.getMaterListSuccess)
     http.send_get("/system/AppMaterialController/geMaterialList", data, this.getMaterListSuccess)
   },
   },
 
 
@@ -115,7 +115,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+     //("@@!", "请求失败")
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 3 - 3
pages/menu/menu.js

@@ -30,16 +30,16 @@ Component({
    */
    */
   methods: {
   methods: {
     showclick:function(){
     showclick:function(){
-      console.log("showclick")
+      
       let isshow = !this.data.showmenus;
       let isshow = !this.data.showmenus;
-      console.log(isshow)
+      
       this.setData({
       this.setData({
         showmenus: isshow,
         showmenus: isshow,
       })
       })
     },
     },
     itemclick:function(e){
     itemclick:function(e){
       this.showclick();
       this.showclick();
-      console.log(e.currentTarget.dataset);
+      
       let info = e.currentTarget.dataset.item;
       let info = e.currentTarget.dataset.item;
       if (info){
       if (info){
         this.triggerEvent('menuItemClick', {
         this.triggerEvent('menuItemClick', {

+ 1 - 1
pages/notice/notice.js

@@ -36,7 +36,7 @@ Page({
 
 
   getQiyeEnterpriseListSuccess(res) {
   getQiyeEnterpriseListSuccess(res) {
 
 
-console.log("@@@@",res)
+
      // 显示加载图标
      // 显示加载图标
      wx.showLoading({
      wx.showLoading({
       title: '玩命加载中',
       title: '玩命加载中',

+ 1 - 1
pages/patrol_list/patrol_list.js

@@ -73,7 +73,7 @@ Page({
   },
   },
   bindViewToDetails(e){
   bindViewToDetails(e){
     let id = e.currentTarget.dataset.id
     let id = e.currentTarget.dataset.id
-    console.log('XXXX',id)
+    
     wx.navigateTo({
     wx.navigateTo({
       url: '../xungengdetails/xungengdetails?id='+ id,
       url: '../xungengdetails/xungengdetails?id='+ id,
     })
     })

+ 1 - 1
pages/qianming/qianming.js

@@ -106,7 +106,7 @@ Page({
         var path = res.tempFilePath
         var path = res.tempFilePath
         //上传图片
         //上传图片
         // that.uploadSignPic(path)
         // that.uploadSignPic(path)
-        console.log(path)
+       // console.log(path)
         let page = getCurrentPages();
         let page = getCurrentPages();
         let prevPage = page[page.length - 2];
         let prevPage = page[page.length - 2];
         if(that.data.index==0){
         if(that.data.index==0){

+ 1 - 1
pages/qiye/qiye.js

@@ -77,7 +77,7 @@ Page({
     })}
     })}
   },
   },
   changeSearch(e) {
   changeSearch(e) {
-    console.log(e.detail.value)
+
   }
   }
 
 
 })
 })

+ 3 - 3
pages/qiyemore/qiyemore.js

@@ -75,7 +75,7 @@ Page({
       onlyFromCamera: true,
       onlyFromCamera: true,
       success: (res) => {
       success: (res) => {
 
 
-        console.log("$$$", res);
+        
         //this.data.form.qrCode=res.result
         //this.data.form.qrCode=res.result
         this.setData({
         this.setData({
           ['form.enterpriseCode']: res.result
           ['form.enterpriseCode']: res.result
@@ -101,7 +101,7 @@ Page({
   },
   },
 
 
   addEnterprise(e) {
   addEnterprise(e) {
-    console.log("###1", this.data.form.enterpriseCode)
+  
 
 
     if (isNaN(this.data.form.latitude) || isNaN(this.data.form.longitude)) {
     if (isNaN(this.data.form.latitude) || isNaN(this.data.form.longitude)) {
       wx.showToast({
       wx.showToast({
@@ -131,7 +131,7 @@ Page({
     obj.mainPersonPhone = this.data.form.mainPersonPhone
     obj.mainPersonPhone = this.data.form.mainPersonPhone
     obj.headSecurity = this.data.form.headSecurity
     obj.headSecurity = this.data.form.headSecurity
     obj.headSecurityPhone = this.data.form.headSecurityPhone
     obj.headSecurityPhone = this.data.form.headSecurityPhone
-    console.log("@@@@", obj)
+    
      http.post("/system/AppEnterpriseController/addEnterprise", obj, this.addEnterpriseSuccess)
      http.post("/system/AppEnterpriseController/addEnterprise", obj, this.addEnterpriseSuccess)
   },
   },
   addEnterpriseSuccess(e) {
   addEnterpriseSuccess(e) {

+ 1 - 1
pages/search/search.js

@@ -62,7 +62,7 @@ Page({
   },
   },
 
 
   getQiyeEnterpriseListSuccess(res) {
   getQiyeEnterpriseListSuccess(res) {
-    console.log("@@@",res)
+    
     this.setData({
     this.setData({
       enterpriseList: res.rows
       enterpriseList: res.rows
     })
     })

+ 1 - 1
pages/teamlist/details/team_details.js

@@ -56,7 +56,7 @@ Page({
   },
   },
   //拨打电话
   //拨打电话
   Call() {
   Call() {
-    console.log("@@##" + this.data.connectorPhone)
+    
     wx.makePhoneCall({
     wx.makePhoneCall({
       phoneNumber: this.data.connectorPhone
       phoneNumber: this.data.connectorPhone
     })
     })

+ 1 - 1
pages/teamlist/serch/team_serch.js

@@ -108,7 +108,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+      
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 2 - 2
pages/teamlist/teamlist.js

@@ -36,7 +36,7 @@ Page({
 
 
   getQiyeEnterpriseListSuccess(res) {
   getQiyeEnterpriseListSuccess(res) {
 
 
-console.log("@@@@",res)
+
 if(res.code==200){
 if(res.code==200){
      // 显示加载图标
      // 显示加载图标
      wx.showLoading({
      wx.showLoading({
@@ -93,7 +93,7 @@ if(res.code==200){
 
 
     }
     }
   }else{
   }else{
-    console.log("@@!","请求失败")
+ 
   }
   }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 1 - 1
pages/update_patrol_point/update_patrol_point.js

@@ -33,7 +33,7 @@ Page({
     http.post("/system/AppPatrolstationController/getPatrolstationDetail", obj, this.getDetailsSuccess)
     http.post("/system/AppPatrolstationController/getPatrolstationDetail", obj, this.getDetailsSuccess)
   },
   },
   getDetailsSuccess(res) {
   getDetailsSuccess(res) {
-    console.log("!!!", res)
+   
     wx.hideLoading()
     wx.hideLoading()
     if (res.data.length == 0) {
     if (res.data.length == 0) {
 
 

+ 1 - 1
pages/warehouselist/serch/warehouse_serch.js

@@ -122,7 +122,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+     
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 3 - 3
pages/warehouselist/warehouselist.js

@@ -45,7 +45,7 @@ Page({
     obj.reasonable = false
     obj.reasonable = false
     obj.longitude=this.data.longitude
     obj.longitude=this.data.longitude
     obj.latitude=this.data.latitude
     obj.latitude=this.data.latitude
-    console.log("###",this.data.longitude)
+    
     http.send_get("/system/AppWarehouseController/getWarehouseList", obj, this.getQiyeEnterpriseListSuccess)
     http.send_get("/system/AppWarehouseController/getWarehouseList", obj, this.getQiyeEnterpriseListSuccess)
 
 
 
 
@@ -53,7 +53,7 @@ Page({
 
 
   getQiyeEnterpriseListSuccess(res) {
   getQiyeEnterpriseListSuccess(res) {
 
 
-    console.log("@@@@", res)
+    
     if (res.code == 200) {
     if (res.code == 200) {
       // 显示加载图标
       // 显示加载图标
       wx.showLoading({
       wx.showLoading({
@@ -109,7 +109,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+      
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 2 - 2
pages/xqzgdetail/xqzgdetail.js

@@ -24,7 +24,7 @@ Page({
     listData:null,
     listData:null,
   }, 
   }, 
   getDetailsSuccess(e) {
   getDetailsSuccess(e) {
-    console.log(JSON.stringify(e))
+    
     if(e.code == 200){
     if(e.code == 200){
       this.data.lasttime=util.formatDate(new Date(e.data.zgtzs.lastTime),'yyyy年MM月dd日') ;
       this.data.lasttime=util.formatDate(new Date(e.data.zgtzs.lastTime),'yyyy年MM月dd日') ;
       this.data.deptName=e.data.dept_jd;
       this.data.deptName=e.data.dept_jd;
@@ -57,7 +57,7 @@ Page({
    * 生命周期函数--监听页面加载
    * 生命周期函数--监听页面加载
    */
    */
   onLoad(options) {
   onLoad(options) {
-    console.log(options)
+   
     this.data.logId = options.logId
     this.data.logId = options.logId
     this.data.busEnterpriseId = options.busEnterpriseId
     this.data.busEnterpriseId = options.busEnterpriseId
     var obj ={}
     var obj ={}

+ 3 - 4
pages/xqzggzs2/xqzggzs2.js

@@ -42,7 +42,7 @@ Page({
     http.post('/system/AppXunjianController/getXqzggzs2', obj, this.getXqzggzs2Success);
     http.post('/system/AppXunjianController/getXqzggzs2', obj, this.getXqzggzs2Success);
   },
   },
   getXqzggzs2Success(e) {
   getXqzggzs2Success(e) {
-    console.log(e)
+    
     this.setData({
     this.setData({
       pageData: e.data
       pageData: e.data
     })
     })
@@ -52,7 +52,7 @@ Page({
    * 生命周期函数--监听页面加载
    * 生命周期函数--监听页面加载
    */
    */
   onLoad(options) {
   onLoad(options) {
-    console.log(options)
+   
     this.data.logId = options.logId
     this.data.logId = options.logId
     this.data.busEnterpriseId = options.busEnterpriseId
     this.data.busEnterpriseId = options.busEnterpriseId
     this.getXqzggzs2()
     this.getXqzggzs2()
@@ -203,8 +203,7 @@ Page({
       return
       return
     }
     }
 
 
-   console.log('qianmingBase64:'+this.data.qianmingBase64)
-   console.log('qianming1Base64:'+this.data.qianming1Base64)
+ 
 
 
     // if(this.data.pageData!=null&&this.data.pageData.riskInspections!=null){
     // if(this.data.pageData!=null&&this.data.pageData.riskInspections!=null){
     //   let array=this.data.pageData.riskInspections;
     //   let array=this.data.pageData.riskInspections;

+ 3 - 3
pages/xuncha/xuncha.js

@@ -39,7 +39,7 @@ Page({
   },
   },
   getXunchaCountSuccess(res) {
   getXunchaCountSuccess(res) {
   
   
-    console.log("@@@@",res)
+ 
     if(res.code==200){
     if(res.code==200){
       this.setData({
       this.setData({
           todayXunchaCount: res.data.xunchaCount.todayXunchaCount,
           todayXunchaCount: res.data.xunchaCount.todayXunchaCount,
@@ -59,7 +59,7 @@ Page({
     http.send_get("/system/AppXunchaController/getXunchaList", obj, this.getXunchaListSuccess)
     http.send_get("/system/AppXunchaController/getXunchaList", obj, this.getXunchaListSuccess)
   },
   },
   getXunchaListSuccess(res) {
   getXunchaListSuccess(res) {
-    console.log("@@@@",res)
+    
     if(res.code==200){
     if(res.code==200){
        this.setData({
        this.setData({
         xunchaList: res.data.rows
         xunchaList: res.data.rows
@@ -87,7 +87,7 @@ Page({
         icon: "none" 
         icon: "none" 
       })
       })
     }else{
     }else{
-      console.log(isrisk,"####",buslogid)
+      
       wx.navigateTo({
       wx.navigateTo({
         url: '../xunjianmore/xunjianmore?buslogid='+buslogid+'&busEnterpriseId='+enterpriseId
         url: '../xunjianmore/xunjianmore?buslogid='+buslogid+'&busEnterpriseId='+enterpriseId
       })
       })

+ 3 - 3
pages/xunchajilu/xunchajilu.js

@@ -18,7 +18,7 @@ Page({
     http.post("/system/AppXunchaController/getXunchaCount",obj,this.getXunchaCountSuccess)
     http.post("/system/AppXunchaController/getXunchaCount",obj,this.getXunchaCountSuccess)
   },
   },
   getXunchaCountSuccess(res){
   getXunchaCountSuccess(res){
-    console.log("222",res)
+ 
     if(res.code==200){
     if(res.code==200){
     this.setData({
     this.setData({
       todayXunchaCount:res.data.xunchaCount.todayXunchaCount,
       todayXunchaCount:res.data.xunchaCount.todayXunchaCount,
@@ -32,7 +32,7 @@ Page({
     http.send_get("/system/AppXunchaController/getXunchaList",obj,this.getXunchaListSuccess)
     http.send_get("/system/AppXunchaController/getXunchaList",obj,this.getXunchaListSuccess)
   },
   },
   getXunchaListSuccess(res){
   getXunchaListSuccess(res){
-    console.log("!!!",res.data.rows)
+  
     this.setData({
     this.setData({
       xunchaList :  res.data.rows
       xunchaList :  res.data.rows
     })
     })
@@ -59,7 +59,7 @@ Page({
       icon: "none" 
       icon: "none" 
     })
     })
   }else{
   }else{
-    console.log(isrisk,"####",buslogid)
+   
     wx.navigateTo({
     wx.navigateTo({
       url: '../xunjianmore/xunjianmore?buslogid='+buslogid
       url: '../xunjianmore/xunjianmore?buslogid='+buslogid
     })
     })

+ 1 - 1
pages/xunchawu/xunchawu.js

@@ -117,7 +117,7 @@ Page({
 
 
       }
       }
     } else {
     } else {
-      console.log("@@!", "请求失败")
+      
     }
     }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 4 - 5
pages/xungengdetails/xungengdetails.js

@@ -47,7 +47,7 @@ Page({
     http.post("/system/AppPatrolstationController/getPatrolstationDetail", obj, this.getDetailsSuccess)
     http.post("/system/AppPatrolstationController/getPatrolstationDetail", obj, this.getDetailsSuccess)
   },
   },
   getDetailsSuccess(res) {
   getDetailsSuccess(res) {
-    console.log("!!!", res)
+    
     wx.hideLoading()
     wx.hideLoading()
     if (res.data.length == 0) {
     if (res.data.length == 0) {
 
 
@@ -85,8 +85,7 @@ Page({
     }
     }
   },
   },
   bindViewEdit() {
   bindViewEdit() {
-    console.log("@@@", this.data.busEnterpriseId)
-    console.log("@@@", this.data.busPatrolstationId)
+ 
     wx.navigateTo({
     wx.navigateTo({
       url: '../update_patrol_point/update_patrol_point?enterpriseId=' + this.data.busEnterpriseId + "&code=" + this.data.orgCode,
       url: '../update_patrol_point/update_patrol_point?enterpriseId=' + this.data.busEnterpriseId + "&code=" + this.data.orgCode,
     })
     })
@@ -99,7 +98,7 @@ Page({
     http.post("/system/AppXungengController/doXungeng", obj, this.getXunGengSuccess)
     http.post("/system/AppXungengController/doXungeng", obj, this.getXunGengSuccess)
   },
   },
   getXunGengSuccess(res) {
   getXunGengSuccess(res) {
-    console.log("@@@", res)
+
     wx.hideLoading()
     wx.hideLoading()
     wx.showToast({
     wx.showToast({
       title: res.msg,
       title: res.msg,
@@ -133,7 +132,7 @@ Page({
   },
   },
   deleteSuccess(res) {
   deleteSuccess(res) {
 
 
-    console.log("@@", res)
+    
     wx.showToast({
     wx.showToast({
       title: res.msg,
       title: res.msg,
       icon: 'none'
       icon: 'none'

+ 3 - 3
pages/xungengjilu/xungengjilu.js

@@ -22,7 +22,7 @@ Page({
     // wx.showLoading({
     // wx.showLoading({
     //   title: '加载中'
     //   title: '加载中'
     // })
     // })
-console.log("@@@",e.busPatrolstationId)
+
 this.setData({
 this.setData({
   busPatrolstationId:e.busPatrolstationId
   busPatrolstationId:e.busPatrolstationId
 })
 })
@@ -42,7 +42,7 @@ this.setData({
 
 
   getXunGengListSuccess(res) {
   getXunGengListSuccess(res) {
 
 
-console.log("@@@@",res)
+
 if(res.code==200){
 if(res.code==200){
      // 显示加载图标
      // 显示加载图标
      wx.showLoading({
      wx.showLoading({
@@ -95,7 +95,7 @@ if(res.code==200){
 
 
     }
     }
   }else{
   }else{
-    console.log("@@!","请求失败")
+   
   }
   }
   },
   },
   onPullDownRefresh: function () {
   onPullDownRefresh: function () {

+ 11 - 11
pages/xunjian/xunjian.js

@@ -49,7 +49,7 @@ Page({
       count: 1,
       count: 1,
       success(res) {
       success(res) {
         let tempFilePath = res.tempFiles[0].tempFilePath
         let tempFilePath = res.tempFiles[0].tempFilePath
-        console.log(tempFilePath)
+       
         //
         //
         that.data.xunjianItems[jibie][1].forEach(function (item, index) {
         that.data.xunjianItems[jibie][1].forEach(function (item, index) {
           if (item.listid == listid) {
           if (item.listid == listid) {
@@ -86,7 +86,7 @@ Page({
     let listid = e.currentTarget.dataset.listid
     let listid = e.currentTarget.dataset.listid
     let pickey = e.currentTarget.dataset.pickey
     let pickey = e.currentTarget.dataset.pickey
     let from = e.currentTarget.dataset.picfrom
     let from = e.currentTarget.dataset.picfrom
-    console.log(jibie, listid, pickey, from)
+   // console.log(jibie, listid, pickey, from)
     this.data.xunjianItems[jibie][1].forEach(function (item, index) {
     this.data.xunjianItems[jibie][1].forEach(function (item, index) {
       if (item.listid == listid) {
       if (item.listid == listid) {
         if (from == "before") {
         if (from == "before") {
@@ -133,7 +133,7 @@ Page({
         })
         })
       }
       }
     })
     })
-    console.log(this.data.xunjianItems)
+ 
 
 
     // this.cz_xunjianItems(listid, checked, jibie);
     // this.cz_xunjianItems(listid, checked, jibie);
 
 
@@ -182,8 +182,8 @@ Page({
       if (item.listid == listid) {
       if (item.listid == listid) {
         that.data.xunjianItems[jibie][1][index].itemsType = itemsType
         that.data.xunjianItems[jibie][1][index].itemsType = itemsType
         let str = 'xunjianItems["' + jibie + '"][1][' + index + '].itemsType'
         let str = 'xunjianItems["' + jibie + '"][1][' + index + '].itemsType'
-        console.log("str", str)
-        console.log(that.data.xunjianItems[jibie][1][index].itemsType)
+        
+     
         that.setData({
         that.setData({
           xunjianItems: that.data.xunjianItems
           xunjianItems: that.data.xunjianItems
         })
         })
@@ -222,7 +222,7 @@ Page({
   },
   },
   //上传图片
   //上传图片
   onLoad: function (options) {
   onLoad: function (options) {
-    console.log("TAG", "onLoad_" + options.isBeforeBack);
+    //console.log("TAG", "onLoad_" + options.isBeforeBack);
     this.data.isBeforeBack = options.isBeforeBack;
     this.data.isBeforeBack = options.isBeforeBack;
     this.pictureAuthSetting()
     this.pictureAuthSetting()
     this.data.busEnterpriseId = options.busEnterpriseId
     this.data.busEnterpriseId = options.busEnterpriseId
@@ -290,21 +290,21 @@ Page({
 
 
           //失败
           //失败
           fail: function (err) {
           fail: function (err) {
-            console.log(err)
+            
           }
           }
         })
         })
       }
       }
     })
     })
   },
   },
   uploadError(e) {
   uploadError(e) {
-    console.log('upload error', e.detail)
+    
     wx.hideLoading()
     wx.hideLoading()
     this.setData({
     this.setData({
       error: "上传失败,可能有些照片过大"
       error: "上传失败,可能有些照片过大"
     })
     })
   },
   },
   uploadSuccess(e) {
   uploadSuccess(e) {
-    console.log('upload success', e.detail)
+ 
     this.data.files = this.data.files.concat(e.detail.url)
     this.data.files = this.data.files.concat(e.detail.url)
     this.setData({
     this.setData({
       files: this.data.files,
       files: this.data.files,
@@ -325,7 +325,7 @@ Page({
     http.post("/system/AppXunjianController/getXunjianItems", obj, this.getXunjianItemsSuccess)
     http.post("/system/AppXunjianController/getXunjianItems", obj, this.getXunjianItemsSuccess)
   },
   },
   getXunjianItemsSuccess(res) {
   getXunjianItemsSuccess(res) {
-    console.log(res)
+    
     this.setData({
     this.setData({
       xunjianItems: res.xunjianItems
       xunjianItems: res.xunjianItems
     })
     })
@@ -385,7 +385,7 @@ Page({
   },
   },
 
 
   getBusInspectionIsRiskByEnterpriseCountSuccess(res) {
   getBusInspectionIsRiskByEnterpriseCountSuccess(res) {
-    console.log(res)
+   
     if (res.code == 200) {
     if (res.code == 200) {
       wx.navigateTo({
       wx.navigateTo({
         url: '../xunjiancz/xunjiancz?busEnterpriseId=' + this.data.busEnterpriseId,
         url: '../xunjiancz/xunjiancz?busEnterpriseId=' + this.data.busEnterpriseId,

+ 7 - 7
pages/xunjiancz/xunjiancz.js

@@ -144,7 +144,7 @@ Page({
     http.post("/system/AppXunjianController/getXunjianczData", obj, this.getXunjianczDataSuccess)
     http.post("/system/AppXunjianController/getXunjianczData", obj, this.getXunjianczDataSuccess)
   },
   },
   getXunjianczDataSuccess(res) {
   getXunjianczDataSuccess(res) {
-    console.log(res)
+    
     this.setData({
     this.setData({
       xunjianItems: res.xunjianItems,
       xunjianItems: res.xunjianItems,
       items_first: res.items_first
       items_first: res.items_first
@@ -259,7 +259,7 @@ Page({
       this.data.chooseItems[busItemId] = null
       this.data.chooseItems[busItemId] = null
     }
     }
     //计数
     //计数
-    console.log(this.data.chooseItems)
+   
     let count = 0;
     let count = 0;
     for (let item in this.data.chooseItems) {
     for (let item in this.data.chooseItems) {
       if (this.data.chooseItems[item] == true) {
       if (this.data.chooseItems[item] == true) {
@@ -278,7 +278,7 @@ Page({
     this.updown();
     this.updown();
   },
   },
   saveXunjianItemsSuccess(res) {
   saveXunjianItemsSuccess(res) {
-    console.log(res)
+  
     if (res.code == 200) {
     if (res.code == 200) {
       // wx.navigateTo({
       // wx.navigateTo({
         // url: '../xunjiancz/xunjiancz?busEnterpriseId=' + this.data.busEnterpriseId,
         // url: '../xunjiancz/xunjiancz?busEnterpriseId=' + this.data.busEnterpriseId,
@@ -314,7 +314,7 @@ Page({
     
     
     if(res.code ==200){
     if(res.code ==200){
       this.data.xunjianItems[res.data.jibie][1].forEach(function (it,idx) {
       this.data.xunjianItems[res.data.jibie][1].forEach(function (it,idx) {
-        console.log(it.listid,"======",res.data.busItemsId)
+       
         if(it.listid == res.data.busItemsId){
         if(it.listid == res.data.busItemsId){
           that.data.xunjianItems[res.data.jibie][1].splice(idx,1)
           that.data.xunjianItems[res.data.jibie][1].splice(idx,1)
           if(that.data.xunjianItems[res.data.jibie][1].length==0){
           if(that.data.xunjianItems[res.data.jibie][1].length==0){
@@ -351,14 +351,14 @@ Page({
     let index3 = this.data.eIndex3
     let index3 = this.data.eIndex3
     index3 = e.currentTarget.dataset.index3
     index3 = e.currentTarget.dataset.index3
     let child2 = this.data.listdatachoose[index].children[index2].text
     let child2 = this.data.listdatachoose[index].children[index2].text
-    console.log(this.data.listdatachoose[index].children[index2])
+   
     this.setData({
     this.setData({
       myclick3: e.currentTarget.dataset.index3,
       myclick3: e.currentTarget.dataset.index3,
     })
     })
   },
   },
 
 
   checkboxChange(e) {
   checkboxChange(e) {
-    console.log(e)
+   
     // let index = this.data.eIndex
     // let index = this.data.eIndex
     // let index2 = this.data.eIndex2
     // let index2 = this.data.eIndex2
     // console.log('checkbox发生change事件,携带value值为:', e.detail.value)
     // console.log('checkbox发生change事件,携带value值为:', e.detail.value)
@@ -381,7 +381,7 @@ Page({
   },
   },
   //收起弹层
   //收起弹层
   updown() {
   updown() {
-    console.log('弹出收起')
+
     this.setData({
     this.setData({
       isFolded: !this.data.isFolded,
       isFolded: !this.data.isFolded,
     })
     })

+ 3 - 3
pages/xunjianimg/xunjianimg.js

@@ -12,7 +12,7 @@ Page({
     http.post("/system/AppXunjianimgController/getXunjianimgList",obj,this.getXunjianimgListSuccess)
     http.post("/system/AppXunjianimgController/getXunjianimgList",obj,this.getXunjianimgListSuccess)
   },
   },
   getXunjianimgListSuccess(res){
   getXunjianimgListSuccess(res){
-    console.log("@@@@@",res)
+  
    
    
     this.setData({
     this.setData({
       pictureBasePath : res.data.pictureBasePath+"/",
       pictureBasePath : res.data.pictureBasePath+"/",
@@ -24,7 +24,7 @@ Page({
    
    
     let businspectionid = e.currentTarget.dataset.businspectionid
     let businspectionid = e.currentTarget.dataset.businspectionid
     let logId=e.currentTarget.dataset.buslogid
     let logId=e.currentTarget.dataset.buslogid
-    console.log("@@@@",logId)
+   
     wx.navigateTo({
     wx.navigateTo({
       url: '../zhenggaijindu/zhenggaijindu?busInspectionId='+businspectionid+ "&buslogId=" + logId,
       url: '../zhenggaijindu/zhenggaijindu?busInspectionId='+businspectionid+ "&buslogId=" + logId,
     })
     })
@@ -59,7 +59,7 @@ Page({
     let pages = getCurrentPages();
     let pages = getCurrentPages();
     let currPage = pages[pages.length - 1];
     let currPage = pages[pages.length - 1];
     this.data.isRefresh = currPage.data.isRefresh;
     this.data.isRefresh = currPage.data.isRefresh;
-    console.log("!@!@!@", this.data.isRefresh)
+
     if (this.data.isRefresh) {
     if (this.data.isRefresh) {
 
 
       this.setData({
       this.setData({

+ 3 - 4
pages/xunjianmore/xunjianmore.js

@@ -27,7 +27,7 @@ Page({
     let pages = getCurrentPages();
     let pages = getCurrentPages();
     let currPage = pages[pages.length - 1];
     let currPage = pages[pages.length - 1];
     this.data.isRefresh = currPage.data.isRefresh;
     this.data.isRefresh = currPage.data.isRefresh;
-    console.log("isRefresh", this.data.isRefresh)
+    
     if (this.data.isRefresh) {
     if (this.data.isRefresh) {
       let obj = new Object()
       let obj = new Object()
       obj.busLogId = this.data.buslogid
       obj.busLogId = this.data.buslogid
@@ -35,7 +35,7 @@ Page({
     }
     }
   }, 
   }, 
   getXunjianMoreListSuccess(res){
   getXunjianMoreListSuccess(res){
-    console.log("@@@",res)
+ 
     this.setData({
     this.setData({
       pictureBasePath: res.data.pictureBasePath + "/",
       pictureBasePath: res.data.pictureBasePath + "/",
       mapdata: res.data.xunjianimgMap,
       mapdata: res.data.xunjianimgMap,
@@ -45,8 +45,7 @@ Page({
   },
   },
   bindViewZhengGaiJinDu(e) {
   bindViewZhengGaiJinDu(e) {
     let businspectionid = e.currentTarget.dataset.businspectionid
     let businspectionid = e.currentTarget.dataset.businspectionid
-    console.log("more:", businspectionid)
-    console.log("more:", this.data.buslogid)
+    
     wx.navigateTo({
     wx.navigateTo({
       url: '../zhenggaijindu/zhenggaijindu?busInspectionId=' + businspectionid + "&buslogId=" + this.data.buslogid,
       url: '../zhenggaijindu/zhenggaijindu?busInspectionId=' + businspectionid + "&buslogId=" + this.data.buslogid,
     })
     })

+ 4 - 5
pages/zhenggaijindu/zhenggaijindu.js

@@ -17,7 +17,7 @@ Page({
     http.post("/system/AppZhenggaijinduController/getZhenggaijindu", obj, this.getZhenggaijinduSuccess);
     http.post("/system/AppZhenggaijinduController/getZhenggaijindu", obj, this.getZhenggaijinduSuccess);
   },
   },
   getZhenggaijinduSuccess(res) {
   getZhenggaijinduSuccess(res) {
-    console.log("******jindu", res)
+  
     this.data.pictureBasePath = res.pictureBasePath
     this.data.pictureBasePath = res.pictureBasePath
     this.setData({
     this.setData({
       pictureBasePath: res.pictureBasePath,
       pictureBasePath: res.pictureBasePath,
@@ -43,8 +43,7 @@ Page({
 
 
   bindPickerChange: function (e) {
   bindPickerChange: function (e) {
     let nume = e.detail.value
     let nume = e.detail.value
-    console.log('picker发送选择改变,携带值为', parseInt(nume) + 1)
-
+  
     let obj = new Object();
     let obj = new Object();
     obj.busInspectionId = this.data.busInspectionId
     obj.busInspectionId = this.data.busInspectionId
     obj.logId = this.data.buslogId
     obj.logId = this.data.buslogId
@@ -53,7 +52,7 @@ Page({
     http.send_post("/system/AppXunjianController/changeInspection", obj, this.getChangeSuccess);
     http.send_post("/system/AppXunjianController/changeInspection", obj, this.getChangeSuccess);
   },
   },
   getChangeSuccess(res) {
   getChangeSuccess(res) {
-    console.log("&&&&", res)
+    
     if (res.code == 200) {
     if (res.code == 200) {
       this.setData({
       this.setData({
         //index: e.detail.value,
         //index: e.detail.value,
@@ -115,7 +114,7 @@ Page({
   setPeocessIcon: function () {
   setPeocessIcon: function () {
     var index = 0 //记录状态为1的最后的位置
     var index = 0 //记录状态为1的最后的位置
     var processArr = this.data.processData
     var processArr = this.data.processData
-    // console.log("progress", this.data.detailData.progress)
+  
     for (var i = 0; i < this.data.detailData.progress.length; i++) {
     for (var i = 0; i < this.data.detailData.progress.length; i++) {
       var item = this.data.detailData.progress[i]
       var item = this.data.detailData.progress[i]
       processArr[i].name = item.word
       processArr[i].name = item.word