epmet 工作端 小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
2.9 KiB

1 year ago
// pages/work2/work2.js
const App = getApp()
1 year ago
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.setData({
1 year ago
statusHeight: App.globalData.deviceInfo.statusHeight,
navigationHeight: App.globalData.deviceInfo.navigationHeight,
agencyName:App.globalData.user.agencyName,
})
1 year ago
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
1 year ago
},
onAddResident(){
wx.navigateTo({
url: '../../subpages/addResi/pages/addResi/addResi',
})
},
onAddHouseLL(){
1 year ago
wx.navigateTo({
url: '../../subpages/addhouse/pages/addhouse/addhouse',
})
},
onBusinessRecord(){
wx.navigateTo({
url: '../../subpages/businessRecord/businessRecord',
})
},
onHistoryQuery(){
wx.navigateTo({
url: '../../subpages/communitySelfInsp/pages/historyQuery/historyQuery',
})
},
onFollowUpList(){
wx.navigateTo({
url: '../../subpages/communitySelfInsp/pages/followUpList/followUpList?key1=resi',
1 year ago
})
},
onFollowUpLi(){
wx.navigateTo({
url: '../../subpages/communitySelfInsp/pages/followUpList/followUpList?key1=house',
})
},
1 year ago
onMyTroubleshootDemand(){
wx.navigateTo({
url: '../../subpages/myTroubleshootDemand/pages/index/index',
})
},
onDemandCheck(){
wx.navigateTo({
url: '../../subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck',
})
},
onAddHouse(){
wx.navigateTo({
url: '../../subpages/communitySelfInsp/pages/followUpList/followUpList',
})
},
onData(){
// wx.switchTab({
wx.navigateTo({
url: '/subpages/securityCheck/pages/securityCheck'
})
1 year ago
},
onHotlineCompletion(){
let token=wx.getStorageSync('token')
console.log(token,"jhgjgjjhbj");
1 year ago
wx.navigateTo({
1 year ago
url: '/pages/webView/webView?url=' + 'https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken='+token,
1 year ago
})
1 year ago
}
1 year ago
1 year ago
// onAddHouse(){
// wx.navigateTo({
// url: '../../subpages/addhouse/pages/addhouse/addhouse',
// })
// },
1 year ago
})