xunjianimg.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. import http from '../../base/httputil'
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. getXunjianimgList() {
  7. http.post("/system/AppXunjianimgController/getXunjianimgList",null,this.getXunjianimgListSuccess)
  8. },
  9. getXunjianimgListSuccess(res){
  10. this.setData({
  11. mapdata : res
  12. })
  13. },
  14. bindViewZhengGaiJinDu(e){
  15. let businspectionid = e.currentTarget.dataset.businspectionid
  16. wx.navigateTo({
  17. url: '../zhenggaijindu/zhenggaijindu?busInspectionId='+businspectionid,
  18. })
  19. },
  20. data: {
  21. mapdata : null
  22. },
  23. /**
  24. * 生命周期函数--监听页面加载
  25. */
  26. onLoad(options) {
  27. this.getXunjianimgList()
  28. },
  29. /**
  30. * 生命周期函数--监听页面初次渲染完成
  31. */
  32. onReady() {
  33. },
  34. /**
  35. * 生命周期函数--监听页面显示
  36. */
  37. onShow() {
  38. },
  39. /**
  40. * 生命周期函数--监听页面隐藏
  41. */
  42. onHide() {
  43. },
  44. /**
  45. * 生命周期函数--监听页面卸载
  46. */
  47. onUnload() {
  48. },
  49. /**
  50. * 页面相关事件处理函数--监听用户下拉动作
  51. */
  52. onPullDownRefresh() {
  53. },
  54. /**
  55. * 页面上拉触底事件的处理函数
  56. */
  57. onReachBottom() {
  58. },
  59. /**
  60. * 用户点击右上角分享
  61. */
  62. onShareAppMessage() {
  63. }
  64. })