diff --git a/pages/statistics/modules/CrowdPortrait/CrowdPortrait.js b/pages/statistics/modules/CrowdPortrait/CrowdPortrait.js index c6850e4..f619996 100644 --- a/pages/statistics/modules/CrowdPortrait/CrowdPortrait.js +++ b/pages/statistics/modules/CrowdPortrait/CrowdPortrait.js @@ -4,7 +4,7 @@ Component({ tabList: [{ label: "按省及社区满意度\n调查结果", value: 1 - },{ + }, { label: '按12345热线\n投诉结果', value: 2 }], @@ -15,6 +15,11 @@ Component({ this.setData({ tabValue: this.tabList[index].value }) + }, + gotopage() { + wx.navigateTo({ + url: '/subpages/statistics/pages/crowdPortrait/crowdPortrait' + }) } } }); diff --git a/pages/statistics/modules/CrowdPortrait/CrowdPortrait.wxml b/pages/statistics/modules/CrowdPortrait/CrowdPortrait.wxml index 59af2ad..584f714 100644 --- a/pages/statistics/modules/CrowdPortrait/CrowdPortrait.wxml +++ b/pages/statistics/modules/CrowdPortrait/CrowdPortrait.wxml @@ -38,7 +38,7 @@ - + 按画像匹配到同类:570人 diff --git a/subpages/statistics/pages/crowdPortrait/crowdPortrait.js b/subpages/statistics/pages/crowdPortrait/crowdPortrait.js index 4579bd4..bd34f9b 100644 --- a/subpages/statistics/pages/crowdPortrait/crowdPortrait.js +++ b/subpages/statistics/pages/crowdPortrait/crowdPortrait.js @@ -1,66 +1,13 @@ -// subpages/statistics/pages/crowdPortrait/crowdPortrait.js Page({ - - /** - * 页面的初始数据 - */ data: { }, - - /** - * 生命周期函数--监听页面加载 - */ onLoad(options) { }, - - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady() { - - }, - - /** - * 生命周期函数--监听页面显示 - */ - onShow() { - - }, - - /** - * 生命周期函数--监听页面隐藏 - */ - onHide() { - - }, - - /** - * 生命周期函数--监听页面卸载 - */ - onUnload() { - - }, - - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh() { - - }, - - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom() { - - }, - - /** - * 用户点击右上角分享 - */ - onShareAppMessage() { - + gotopage() { + wx.navigateTo({ + url: "/subpages/statistics/pages/residentPortrait/residentPortrait" + }) } }) \ No newline at end of file diff --git a/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml b/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml index 8573dd2..222d763 100644 --- a/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml +++ b/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml @@ -7,7 +7,7 @@ “基础教育” 潜在不满意人员: 378 - + 刘萍 13362021000 diff --git a/subpages/statistics/pages/dissatisfied/list/list.js b/subpages/statistics/pages/dissatisfied/list/list.js index 8d38834..c52c0d2 100644 --- a/subpages/statistics/pages/dissatisfied/list/list.js +++ b/subpages/statistics/pages/dissatisfied/list/list.js @@ -12,7 +12,7 @@ Page({ }, gotopage(e) { wx.navigateTo({ - url: 'subpages/statistics/pages/dissatisfied/detial/detail?id='+e.currentTarget.dataset.id + url: '/subpages/statistics/pages/dissatisfied/detial/detail?id='+e.currentTarget.dataset.id }) } }) \ No newline at end of file diff --git a/subpages/statistics/pages/dissatisfied/list/list.wxml b/subpages/statistics/pages/dissatisfied/list/list.wxml index 6e845ee..aa81b09 100644 --- a/subpages/statistics/pages/dissatisfied/list/list.wxml +++ b/subpages/statistics/pages/dissatisfied/list/list.wxml @@ -52,7 +52,7 @@ 建设,希望责任部门尽快落实该信息· - +