Merge branch 'master' of http://git.scdxtc.com/chen/public-opinion
commit
8ec6a62693
|
@ -11,7 +11,7 @@
|
|||
<view class="pad20 bbot line-h46 pad-x40">
|
||||
<view class="fon30">{{item.coding}}</view>
|
||||
<view class="">用户名:{{item.is_anonymous==1?'匿名提交':item.u_name}}</view>
|
||||
<view class="">金牛社区A村</view>
|
||||
<view class="">{{item.community.name}}{{item.village.name}}</view>
|
||||
<view class="">反馈问题:{{item.description}}</view>
|
||||
</view>
|
||||
<view class="dis fon30 disjcac" v-if="switchIndex==0">
|
||||
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<view class="pad20 bbot line-h46 pad-x40">
|
||||
<view class="fon30">{{item.coding}}</view>
|
||||
<view class="">用户名:{{item.is_anonymous==1?'匿名提交':item.u_name}}</view>
|
||||
<view class="">{{item.state_text}}</view>
|
||||
<view class="">{{item.community.name}}{{item.village.name}}</view>
|
||||
<view class="">反馈问题:{{item.description}}</view>
|
||||
</view>
|
||||
<view class="dis fon30" v-if="switchIndex==0">
|
||||
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue