From a92e817774c2e634d86a20766c73100a4ecc1a97 Mon Sep 17 00:00:00 2001
From: chen <2659004835@qq.com>
Date: Mon, 8 Aug 2022 15:54:30 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 2 +-
pages/welcome-page/welcome-page.vue | 20 ++-
.../community/handle-detail/handle-detail.vue | 138 ------------------
pagesA/community/handle/handle.vue | 4 +-
.../opinion-handle/opinion-handle.vue | 8 +-
pagesA/detail/detail.vue | 10 +-
pagesA/manager/examine-list/examine-list.vue | 2 +-
pagesA/my-opinion-list/my-opinion-list.vue | 18 ++-
pagesA/opinion-submit/opinion-submit.vue | 24 +--
9 files changed, 54 insertions(+), 172 deletions(-)
delete mode 100644 pagesA/community/handle-detail/handle-detail.vue
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 @@
- 洛河民意通
+ {{title}}
- 我是说明文案我是说明文案我是说明文案我是说明文案我是说明文案我是说明文案
+ {{wenanText}}
@@ -22,11 +22,25 @@
data() {
return {
userInfo:'',
- ifFlag:true
+ ifFlag:true,
+ wenanText:'',
+ title:''
}
},
+ onLoad() {
+ this.getWA();
+ },
methods: {
+ // 文案说明
+ getWA(){
+ this.$requst.get('index/base-config').then(res=>{
+ if(res.code==0){
+ this.wenanText = res.data.login_desc;
+ this.title = res.data.login_title;
+ }
+ })
+ },
// 前往登录页
goLogin(){
// 前往群众对应的列表页
diff --git a/pagesA/community/handle-detail/handle-detail.vue b/pagesA/community/handle-detail/handle-detail.vue
deleted file mode 100644
index 5fd66da..0000000
--- a/pagesA/community/handle-detail/handle-detail.vue
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
- 序号
- LH20220729130234
-
-
- 审核状态
- 待审核
-
-
- 真实姓名
- 测试村
-
-
- 联系方式
- 测试村
-
-
- 社区
- 新华社区
-
-
- 村
- 测试村
-
-
- 图片
-
-
-
-
-
- 视频
-
-
-
-
-
- 描述文案
- 我想问下我们村的机耕道什么 时候可以弄好?当前以及严重 影响我们出行了!
-
-
- 语音
-
-
-
-
-
-
-
- 类别
- 测试村
-
-
-
-
- 处理反馈
-
-
- 2021年7月19日 21:30
-
- 调查情况
- 情况属实,马上安排人员 处理,请耐心等待
-
-
- 处理结果
- 情况属实,马上安排人员 处理,请耐心等待
-
-
-
-
- 群众反馈
-
-
- 2021年7月19日 21:30
-
- 反馈意见(不满意)
- 等了好久了还没有上门 处理!
-
-
-
-
-
- 立即办理
-
-
- 督办复审
-
-
-
-
-
-
-
diff --git a/pagesA/community/handle/handle.vue b/pagesA/community/handle/handle.vue
index 7f4f7d9..33e6080 100644
--- a/pagesA/community/handle/handle.vue
+++ b/pagesA/community/handle/handle.vue
@@ -13,8 +13,8 @@
- 立即提交
- 无效
+ 立即提交
+ 无效
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();
})
});