| | |
| | | * 页面的初始数据 |
| | | */ |
| | | data: { |
| | | loading: app.globalData.imgUrl +'/image/loading.svg', |
| | | loading: app.globalData.imgUrl + '/image/loading.svg', |
| | | navbar: ['全部', '未回复', '已回复'], |
| | | currentTab: 0, |
| | | size: 10, |
| | |
| | | (e.createTime) = app.formatDate(e.createTime) |
| | | switch (e.businessType) { |
| | | case '扫黑除恶': |
| | | e.iconSrc = app.globalData.imgUrl +'/image/businessManage/saoheichue_b.png'; |
| | | e.iconSrc = app.globalData.imgUrl + '/image/businessManage/saoheichue_b.png'; |
| | | break; |
| | | case '公益随手拍': |
| | | e.iconSrc = app.globalData.imgUrl +'/image/businessManage/suishoupai_b.png'; |
| | | e.iconSrc = app.globalData.imgUrl + '/image/businessManage/suishoupai_b.png'; |
| | | break; |
| | | case '联络站': |
| | | if (e.stationType == 4) { |
| | |
| | | e.iconSrc = app.globalData.imgUrl + '/image/icon_lianluo.svg'; |
| | | break; |
| | | case '投诉建议': |
| | | e.iconSrc = app.globalData.imgUrl +'/image/businessManage/icon_tousujianyi@2x.png' |
| | | e.iconSrc = app.globalData.imgUrl + '/image/businessManage/icon_tousujianyi@2x.png' |
| | | } |
| | | |
| | | |
| | |
| | | var flag = this.data.dataSet[id].flag || ''; |
| | | var picType = this.data.dataSet[id].picType || ''; |
| | | if (businessType == "公益随手拍") { |
| | | wx.navigateTo({ |
| | | url: '../publicSnapshot/publicSnapshot?id=' + businessId + '&type=' + picType, |
| | | }) |
| | | app.getPermission('../publicSnapshot/publicSnapshot?id=' + businessId + '&type=' + picType) |
| | | |
| | | } else if (businessType == "扫黑除恶") { |
| | | wx.navigateTo({ |
| | | url: '../scanEvildoing/scanEvildoing?id=' + businessId, |
| | |
| | | wx.navigateTo({ |
| | | url: '../complaintAdvice/complaintAdvice?id=' + businessId, |
| | | }) |
| | | } else if (businessType1 == "联络站") { |
| | | } else if (businessType == "联络站") { |
| | | wx.navigateTo({ |
| | | url: '../junctionStation/junctionStation?id=' + businessId + '&flag=' + flag, |
| | | }) |
| | | } else if (businessType == "普法预约") { |
| | | wx.navigateTo({ |
| | | url: '../pfyy/pfyy?id=' + businessId + '&disabled=' + true, |
| | | }) |
| | | } else { |
| | | wx.showModal({ |
| | | title: '提示', |