微信小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3 年前
3 年前
3 年前
3 年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // pages/apply/index.js
  2. const app = getApp();
  3. Page({
  4. /**
  5. * 页面的初始数据
  6. */
  7. data: {
  8. isIPX: app.globalData.isIPX,
  9. show:false
  10. },
  11. /**
  12. * 生命周期函数--监听页面加载
  13. */
  14. onLoad: function (options) {
  15. },
  16. //跳转支出申请
  17. swichPaymentApply:function(e){
  18. console.log(e.currentTarget.dataset.current);
  19. // let cur = e.currentTarget.dataset.current;
  20. // if (this.data.currentTaB == cur) {
  21. // return false;
  22. // }else{
  23. // wx.navigateTo({
  24. // url: '../inCome/index?id=' + id,
  25. // })
  26. // }
  27. wx.navigateTo({
  28. url: '../handle/expenditureAudit/expenditureAudit?',
  29. })
  30. },
  31. openBox:function(){
  32. var that = this ;
  33. that.setData({
  34. show: true,
  35. })
  36. },
  37. closeBox:function(){
  38. var that = this ;
  39. that.setData({
  40. show: false,
  41. })
  42. },
  43. goTemplate:function(){
  44. wx.navigateTo({
  45. url: 'paymentTemplate/paymentTemplate'
  46. })
  47. },
  48. back:function(){
  49. wx.navigateBack({
  50. delta: 1
  51. })
  52. },
  53. /**
  54. * 生命周期函数--监听页面初次渲染完成
  55. */
  56. onReady: function () {
  57. },
  58. /**
  59. * 生命周期函数--监听页面显示
  60. */
  61. onShow: function () {
  62. },
  63. /**
  64. * 生命周期函数--监听页面隐藏
  65. */
  66. onHide: function () {
  67. },
  68. /**
  69. * 生命周期函数--监听页面卸载
  70. */
  71. onUnload: function () {
  72. },
  73. /**
  74. * 页面相关事件处理函数--监听用户下拉动作
  75. */
  76. onPullDownRefresh: function () {
  77. },
  78. /**
  79. * 页面上拉触底事件的处理函数
  80. */
  81. onReachBottom: function () {
  82. },
  83. /**
  84. * 用户点击右上角分享
  85. */
  86. onShareAppMessage: function () {
  87. }
  88. })