89 lines
1.5 KiB
JavaScript
Raw Normal View History

2024-02-29 17:16:05 +08:00
let app = getApp();
import {
2024-03-01 15:07:02 +08:00
companyRq
2024-03-08 14:11:33 +08:00
} from "../../../../api/meeting/visitorIinvitation.js"
2024-03-01 15:07:02 +08:00
2024-02-26 09:06:34 +08:00
Page({
2024-03-01 15:07:02 +08:00
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
2024-03-09 14:24:42 +08:00
console.log('onLoad', options)
let _this = this;
_this.setData({
...options
})
2024-03-01 15:07:02 +08:00
// 页面初始化 options为页面跳转所带来的参数
wx.setNavigationBarTitle({
2024-03-08 14:11:33 +08:00
title: options.title
2024-03-01 15:07:02 +08:00
})
2024-03-09 14:24:42 +08:00
},
2024-03-01 15:07:02 +08:00
2024-03-09 14:24:42 +08:00
// 跳转-索引栏(单位、人员)
jumpIndexBar(e) {
console.log('jumpIndexBar', e);
let title = e.currentTarget.dataset.title
wx.navigateTo({
url: '/pages/meeting/visitorIinvitation/indexBar/indexBar?title=' + title,
2024-03-01 15:07:02 +08:00
})
},
/**
2024-03-09 14:24:42 +08:00
* 生命周期函数--监听页面初次渲染完成
2024-03-01 15:07:02 +08:00
*/
2024-03-09 14:24:42 +08:00
onReady: function () {
2024-03-01 15:07:02 +08:00
},
/**
2024-03-09 14:24:42 +08:00
* 生命周期函数--监听页面显示
2024-03-01 15:07:02 +08:00
*/
2024-03-09 14:24:42 +08:00
onShow: function () {
2024-03-01 15:07:02 +08:00
},
/**
2024-03-09 14:24:42 +08:00
* 生命周期函数--监听页面隐藏
2024-03-01 15:07:02 +08:00
*/
2024-03-09 14:24:42 +08:00
onHide: function () {
2024-03-01 15:07:02 +08:00
},
/**
2024-03-09 14:24:42 +08:00
* 生命周期函数--监听页面卸载
2024-03-01 15:07:02 +08:00
*/
2024-03-09 14:24:42 +08:00
onUnload: function () {
2024-03-01 15:07:02 +08:00
},
2024-03-09 14:24:42 +08:00
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
2024-03-01 15:07:02 +08:00
},
2024-03-09 14:24:42 +08:00
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
2024-03-01 15:07:02 +08:00
},
2024-03-09 14:24:42 +08:00
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
2024-03-01 15:07:02 +08:00
}
2024-02-26 09:06:34 +08:00
})