Compare commits

..

No commits in common. "8a44442b4eeb90e35382bc6598a22d5e99ab0b48" and "9571be39400a9a1cfb86db7258a29407a837e580" have entirely different histories.

2 changed files with 6 additions and 20 deletions

View File

@ -11,7 +11,7 @@
<view class="pad20 bbot line-h46 pad-x40"> <view class="pad20 bbot line-h46 pad-x40">
<view class="fon30">{{item.coding}}</view> <view class="fon30">{{item.coding}}</view>
<view class="">用户名{{item.is_anonymous==1?'匿名提交':item.u_name}}</view> <view class="">用户名{{item.is_anonymous==1?'匿名提交':item.u_name}}</view>
<view class="">{{item.community.name}}{{item.village.name}}</view> <view class="">金牛社区A村</view>
<view class="">反馈问题{{item.description}}</view> <view class="">反馈问题{{item.description}}</view>
</view> </view>
<view class="dis fon30 disjcac" v-if="switchIndex==0"> <view class="dis fon30 disjcac" v-if="switchIndex==0">
@ -81,23 +81,9 @@
} }
this.$requst.get('opinion/community-list',params).then(res => { this.$requst.get('opinion/community-list',params).then(res => {
if(res.code==0){ if(res.code==0){
console.log(res,'社区工单列表');
this.total = res.data.total; this.total = res.data.total;
let communityArr = []; this.communityList = this.communityList.concat(res.data.list)
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){ if(this.communityList.length == this.total){
this.noMore =true; this.noMore =true;
} }

View File

@ -11,7 +11,7 @@
<view class="pad20 bbot line-h46 pad-x40"> <view class="pad20 bbot line-h46 pad-x40">
<view class="fon30">{{item.coding}}</view> <view class="fon30">{{item.coding}}</view>
<view class="">用户名{{item.is_anonymous==1?'匿名提交':item.u_name}}</view> <view class="">用户名{{item.is_anonymous==1?'匿名提交':item.u_name}}</view>
<view class="">{{item.community.name}}{{item.village.name}}</view> <view class="">{{item.state_text}}</view>
<view class="">反馈问题{{item.description}}</view> <view class="">反馈问题{{item.description}}</view>
</view> </view>
<view class="dis fon30" v-if="switchIndex==0"> <view class="dis fon30" v-if="switchIndex==0">
@ -89,6 +89,7 @@
} }
this.$requst.post('administrator/reviewedList',params).then(res => { this.$requst.post('administrator/reviewedList',params).then(res => {
if(res.code==0){ if(res.code==0){
console.log(res,'处理情况列表');
this.total = res.data.total; this.total = res.data.total;
let reviewedArr = []; let reviewedArr = [];
res.data.list.forEach(item=>{ res.data.list.forEach(item=>{
@ -100,8 +101,6 @@
u_phone:item.u_phone, u_phone:item.u_phone,
description:item.description, description:item.description,
is_anonymous:item.is_anonymous, is_anonymous:item.is_anonymous,
community:item.community,
village:item.village
} }
reviewedArr.push(obj); reviewedArr.push(obj);
}) })
@ -120,6 +119,7 @@
reexamineEv(id){ reexamineEv(id){
this.$requst.post('administrator/examine',{id:id}).then(res => { this.$requst.post('administrator/examine',{id:id}).then(res => {
if(res.code==0){ if(res.code==0){
console.log(res,'督办复审');
this.$toolAll.tools.showToast('审核成功'); this.$toolAll.tools.showToast('审核成功');
} else { } else {
this.$toolAll.tools.showToast(res.msg); this.$toolAll.tools.showToast(res.msg);