diff --git a/pages/statistics/modules/HotlineRates/HotlineRates.js b/pages/statistics/modules/HotlineRates/HotlineRates.js index 908e1ae..94e898a 100644 --- a/pages/statistics/modules/HotlineRates/HotlineRates.js +++ b/pages/statistics/modules/HotlineRates/HotlineRates.js @@ -42,6 +42,15 @@ Component({ this.getList() }, methods: { + toNumber(data) { + console.log(data.currentTarget.dataset,"dskljflksdfjl"); + let type=data.currentTarget.dataset.type + let staffId=data.currentTarget.dataset.staffid + let token=wx.getStorageSync('token') + wx.navigateTo({ + url: '/pages/webView/webView?worktoken='+token+'&staffId='+staffId+'&type='+type+'&day='+this.data.day+'&day2='+this.data.day2, + }) + }, onChange(e) { this.setData({ day: e.detail.value @@ -126,3 +135,4 @@ Component({ } } }); + diff --git a/pages/statistics/modules/HotlineRates/HotlineRates.wxml b/pages/statistics/modules/HotlineRates/HotlineRates.wxml index 0d0e648..4f5a2c3 100644 --- a/pages/statistics/modules/HotlineRates/HotlineRates.wxml +++ b/pages/statistics/modules/HotlineRates/HotlineRates.wxml @@ -41,25 +41,31 @@ {{item.assignOrgName}} - + 收件数 {{item.total}} 未回复 0 - - + --> + 不满意 {{item.notSatisfiedTotal}} - + 未解决 {{item.unresolveTotal}} - - 超期退件 - {{item.overTimeTotal}} + + 退件次数 + {{item.returnTotal?item.returnTotal:0}} + + + 超期退件 + {{item.overTimeTotal}} diff --git a/pages/statistics/statistics.json b/pages/statistics/statistics.json index dda9c82..345c049 100644 --- a/pages/statistics/statistics.json +++ b/pages/statistics/statistics.json @@ -11,6 +11,7 @@ "EventPrediction": "./modules/EventPrediction/EventPrediction", "CrowdPortrait": "./modules/CrowdPortrait/CrowdPortrait", "custom-tab-bar":"../../components/custom-tab-bar", - "HotlineRates": "./modules/HotlineRates/HotlineRates" + "HotlineRates": "./modules/HotlineRates/HotlineRates", + "AttackEvent":"./modules/AttackEvent/AttackEvent" } } \ No newline at end of file diff --git a/pages/statistics/statistics.wxml b/pages/statistics/statistics.wxml index 4fa8d74..af053ff 100644 --- a/pages/statistics/statistics.wxml +++ b/pages/statistics/statistics.wxml @@ -58,7 +58,16 @@ - + + + 攻坚事件 + + 更多 + + + + + 集中突出问题 diff --git a/pages/webView/webView.js b/pages/webView/webView.js index 52bd0e2..5229f98 100644 --- a/pages/webView/webView.js +++ b/pages/webView/webView.js @@ -9,22 +9,31 @@ const app = getApp() Page({ data: { - worktoken: '' + worktoken: '', + staffId:"", + type:"", + day:"", + day2:"" }, onLoad: function (options) { - console.log(options); - console.log( decodeURIComponent(options.worktoken)); if (options.token) { this.setData({ - worktoken: `${options.worktoken}` - }) - console.log('url',this.data.worktoken) + worktoken: `${options.worktoken}`, + }); + console.log('url', this.data.worktoken); } else { + console.log(options, "dslfjlksd"); this.setData({ - worktoken: decodeURIComponent(options.worktoken) - // url:`${options.url}?deptName=${options.deptName}&gridId=${options.gridId}` + worktoken: decodeURIComponent(options.worktoken), + staffId: options.staffId, + type: `${options.type}`, + day: options.day, + day2: options.day2 }) + } + const url = `https://epmet-preview.elinkservice.cn/epmet-work-h5/#/Hotline?worktoken=${this.data.worktoken}&staffId=${this.data.staffId}&type=${this.data.type}&day=${this.data.day}&day2=${this.data.day2}`; + console.log('生成的 URL:', url); }, onShow() { this.onLoad() diff --git a/pages/webView/webView.wxml b/pages/webView/webView.wxml index d0509c7..dfc5c48 100644 --- a/pages/webView/webView.wxml +++ b/pages/webView/webView.wxml @@ -1,3 +1,3 @@ - - \ No newline at end of file + + diff --git a/utils/api.js b/utils/api.js index 99077a0..8152962 100644 --- a/utils/api.js +++ b/utils/api.js @@ -457,8 +457,8 @@ function Enterpriseambiguity(parm){ return fly.post(`actual/base/companyInfo/page`,parm) } //热线接办列表 -function icEventList(){ - return fly.post(`governance/icEvent/list`) +function icEventList(parm){ + return fly.post(`governance/icEvent/list`,parm) } //居民搜索热点 function hotResidentSearch(){