From e0c15d7da3833f08988d19bafd39f3cb878dcb8f Mon Sep 17 00:00:00 2001
From: Lee1203 <342694918@qq.com>
Date: Sun, 31 Jul 2022 17:33:47 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E5=B7=A5=E5=8D=95=E3=80=81?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E5=AE=A1=E6=A0=B8=E5=88=97=E8=A1=A8=E5=AE=8C?=
=?UTF-8?q?=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../opinion-handle/opinion-handle.vue | 20 ++++++++++++++++---
pagesA/manager/examine-list/examine-list.vue | 6 +++---
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/pagesA/community/opinion-handle/opinion-handle.vue b/pagesA/community/opinion-handle/opinion-handle.vue
index 6166139..b19d95b 100644
--- a/pagesA/community/opinion-handle/opinion-handle.vue
+++ b/pagesA/community/opinion-handle/opinion-handle.vue
@@ -11,7 +11,7 @@
{{item.coding}}
用户名:{{item.is_anonymous==1?'匿名提交':item.u_name}}
- 金牛社区A村
+ {{item.community.name}}{{item.village.name}}
反馈问题:{{item.description}}
@@ -81,9 +81,23 @@
}
this.$requst.get('opinion/community-list',params).then(res => {
if(res.code==0){
- console.log(res,'社区工单列表');
this.total = res.data.total;
- this.communityList = this.communityList.concat(res.data.list)
+ let communityArr = [];
+ res.data.list.forEach(item=>{
+ let obj = {
+ id:item.id,
+ coding:item.coding,
+ state_text:item.state_text,
+ u_name:item.u_name,
+ u_phone:item.u_phone,
+ description:item.description,
+ is_anonymous:item.is_anonymous,
+ community:item.community,
+ village:item.village
+ }
+ communityArr.push(obj);
+ })
+ this.communityList = this.communityList.concat(communityArr)
if(this.communityList.length == this.total){
this.noMore =true;
}
diff --git a/pagesA/manager/examine-list/examine-list.vue b/pagesA/manager/examine-list/examine-list.vue
index e2d64f0..da61c39 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.state_text}}
+ {{item.community.name}}{{item.village.name}}
反馈问题:{{item.description}}
@@ -89,7 +89,6 @@
}
this.$requst.post('administrator/reviewedList',params).then(res => {
if(res.code==0){
- console.log(res,'处理情况列表');
this.total = res.data.total;
let reviewedArr = [];
res.data.list.forEach(item=>{
@@ -101,6 +100,8 @@
u_phone:item.u_phone,
description:item.description,
is_anonymous:item.is_anonymous,
+ community:item.community,
+ village:item.village
}
reviewedArr.push(obj);
})
@@ -119,7 +120,6 @@
reexamineEv(id){
this.$requst.post('administrator/examine',{id:id}).then(res => {
if(res.code==0){
- console.log(res,'督办复审');
this.$toolAll.tools.showToast('审核成功');
} else {
this.$toolAll.tools.showToast(res.msg);