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);