diff --git a/manifest.json b/manifest.json index baa5d38..f394b5a 100644 --- a/manifest.json +++ b/manifest.json @@ -69,7 +69,7 @@ /* 快应用特有相关 */ "mp-weixin" : { /* 小程序特有相关 */ - "appid" : "wxa02e44170bc722cd", + "appid" : "wx4eadccb19a7e698f", "setting" : { "urlCheck" : true, "es6" : true diff --git a/pages/welcome-page/welcome-page.vue b/pages/welcome-page/welcome-page.vue index 30ea176..ae3aad0 100644 --- a/pages/welcome-page/welcome-page.vue +++ b/pages/welcome-page/welcome-page.vue @@ -1,9 +1,9 @@ diff --git a/pagesA/community/opinion-handle/opinion-handle.vue b/pagesA/community/opinion-handle/opinion-handle.vue index c372160..28b1936 100644 --- a/pagesA/community/opinion-handle/opinion-handle.vue +++ b/pagesA/community/opinion-handle/opinion-handle.vue @@ -7,11 +7,12 @@ 已办理 - {{['待办理','已办理'][switchIndex]}} + {{['待办理','已办理'][switchIndex]}} + 无效单 {{item.coding}} 用户名:{{item.is_anonymous==1?'匿名提交':item.u_name}} - {{item.community.name}}{{item.village.name}} + 社区:{{item.community.name}}村:{{item.village.name}} 反馈问题:{{item.description}} @@ -106,7 +107,8 @@ description:item.description, is_anonymous:item.is_anonymous, community:item.community, - village:item.village + village:item.village, + is_invalid:item.is_invalid } communityArr.push(obj); }) diff --git a/pagesA/detail/detail.vue b/pagesA/detail/detail.vue index f6cc139..32108d0 100644 --- a/pagesA/detail/detail.vue +++ b/pagesA/detail/detail.vue @@ -64,22 +64,22 @@ 处理反馈 - {{detail.opinion_operate.operated_at || ''}} + {{detail.operateLog[0].operated_at || ''}} 调查情况 - {{detail.opinion_operate.operate_desc || '无'}} + {{detail.operateLog[0].operate_desc || '无'}} 处理结果 - {{detail.opinion_operate.operate_result || '无'}} + {{detail.operateLog[0].operate_result || '无'}} 群众反馈 - - + + {{item.create_time}} 反馈意见({{['不满意','满意'][item.satisfied]}}) diff --git a/pagesA/manager/examine-list/examine-list.vue b/pagesA/manager/examine-list/examine-list.vue index 569535f..c94e639 100644 --- a/pagesA/manager/examine-list/examine-list.vue +++ b/pagesA/manager/examine-list/examine-list.vue @@ -11,7 +11,7 @@ {{item.coding}} 用户名:{{item.is_anonymous==1?'匿名提交':item.u_name}} - {{item.community.name}}{{item.village.name}} + 社区:{{item.community.name}}村:{{item.village.name}} 反馈问题:{{item.description}} diff --git a/pagesA/my-opinion-list/my-opinion-list.vue b/pagesA/my-opinion-list/my-opinion-list.vue index 2d5d423..aabbf0b 100644 --- a/pagesA/my-opinion-list/my-opinion-list.vue +++ b/pagesA/my-opinion-list/my-opinion-list.vue @@ -11,7 +11,7 @@ {{item.coding}} 用户名:{{item.u_name || '匿名提交'}} - {{item.community.name}}{{item.village.name}} + 社区:{{item.community.name}}村:{{item.village.name}} 反馈问题:{{item.description}} @@ -22,9 +22,9 @@ 撤诉 - + - 反馈 + {{item.is_feedback?'已反馈':'反馈'}} @@ -127,10 +127,14 @@ }) }, // 前往反馈页面 - goFeedback(id){ - uni.navigateTo({ - url:`/pagesA/feedback/feedback?id=${id}` - }) + goFeedback(id,num){ + if(num){ + this.$toolAll.tools.showToast('已反馈,无需再反馈'); + } else { + uni.navigateTo({ + url:`/pagesA/feedback/feedback?id=${id}` + }) + } } } } diff --git a/pagesA/opinion-submit/opinion-submit.vue b/pagesA/opinion-submit/opinion-submit.vue index 0cc1c15..b6842cd 100644 --- a/pagesA/opinion-submit/opinion-submit.vue +++ b/pagesA/opinion-submit/opinion-submit.vue @@ -315,16 +315,16 @@ icon:'none', duration:1000*120 }) - // const options = { - // duration:600000, - // sampleRate:44100, - // numberOfChannels:1, - // encodeBitRate:192000, - // format:'mp3', - // frameSize:50 - // } - // recorderManager.start(options); - recorderManager.start(); + const options = { + duration:600000, + sampleRate:44100, + numberOfChannels:1, + encodeBitRate:192000, + format:'mp3', + frameSize:50 + } + recorderManager.start(options); + // recorderManager.start(); }, // 结束录音 endRecord() { @@ -332,8 +332,8 @@ recorderManager.onStop((res)=> { this.$toolAll.tools.showToast('正在上传录音...','none',100000); this.audioText = res.tempFilePath; - uploadFile({path:this.audioText}).then(res=>{ - this.tempAudio = this.$imghost + res.data.src; + uploadFile({path:this.audioText}).then(result=>{ + this.tempAudio = this.$imghost + result.data.src; uni.hideToast(); }) });