Browse Source

更换12345事件列表的接口

feature
duanliangtao 2 years ago
parent
commit
2071f65b37
  1. 6
      src/views/dataBoard/overview/components/wtqd.vue
  2. 37
      src/views/dataBoard/overview/dissatisfiedProblemNumber/12345Hotline.vue

6
src/views/dataBoard/overview/components/wtqd.vue

@ -107,7 +107,7 @@
" "
> >
<div><span class="f-pingfang">12345热线不满意数</span></div> <div><span class="f-pingfang">12345热线不满意数</span></div>
<div class="f-darkGray"><b class="f-font34 f-yellow">{{ event12345Num || 0 }}</b></div> <div class="f-darkGray"><b class="f-font34 f-yellow">{{ event12345Num || 0 }}</b></div>
</div> </div>
<div <div
class="f-hflex" class="f-hflex"
@ -118,7 +118,7 @@
" "
> >
<div><span class="f-pingfang">满意度调查不满意数</span></div> <div><span class="f-pingfang">满意度调查不满意数</span></div>
<div class="f-darkGray"><b class="f-font34 f-green">{{ provinceSatisfactionNum || 0 }}</b></div> <div class="f-darkGray"><b class="f-font34 f-green">{{ provinceSatisfactionNum || 0 }}</b></div>
</div> </div>
<div <div
class="f-hflex" class="f-hflex"
@ -129,7 +129,7 @@
" "
> >
<div><span class="f-pingfang">社区自评不满意数</span></div> <div><span class="f-pingfang">社区自评不满意数</span></div>
<div class="f-darkGray"><b class="f-font34 f-skyBlue">{{ selfInspectNum || 0 }}</b></div> <div class="f-darkGray"><b class="f-font34 f-skyBlue">{{ selfInspectNum || 0 }}</b></div>
</div> </div>
</div> </div>
<EventDetails :id="this.rowId" :is12345="false" :showDialog="showDialog" @close="close"/> <EventDetails :id="this.rowId" :is12345="false" :showDialog="showDialog" @close="close"/>

37
src/views/dataBoard/overview/dissatisfiedProblemNumber/12345Hotline.vue

@ -10,20 +10,19 @@
> >
<el-table-column label="序号" type="index" width="80"/> <el-table-column label="序号" type="index" width="80"/>
<el-table-column label="所属网格" prop="organizationName"/> <el-table-column label="所属网格" prop="gridName"/>
<el-table-column label="接收时间" prop="happenTime"/> <el-table-column label="接收时间" prop="happenTime"/>
<el-table-column label="问题描述" prop="reason" show-overflow-tooltip width="220px"/> <el-table-column label="问题描述" prop="eventContent" show-overflow-tooltip width="220px"/>
<el-table-column label="语音" prop="key"/> <el-table-column label="办结时限" prop="closeCaseTime"/>
<el-table-column label="办结时限" prop="timeLimit"/>
<el-table-column label="联系人" prop="name"/> <el-table-column label="联系人" prop="name"/>
<el-table-column label="联系人电话" prop="mobile"> <el-table-column label="联系人电话" prop="mobile">
<template slot-scope="scope"> <template slot-scope="scope">
{{ $sensitive(scope.row.mobile, 3, 7) }} {{ $sensitive(scope.row.mobile, 3, 7) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态" prop="followUpStatus"/> <el-table-column label="状态" prop="operationTypeName"/>
<el-table-column label="操作" min-width="150px"> <el-table-column label="操作" min-width="150px">
<template slot-scope="{ row }"> <template slot-scope="row">
<CallPhone text="拨打电话"/> <CallPhone text="拨打电话"/>
<span class="handle" @click="handleDispatch(row)">处理</span> <span class="handle" @click="handleDispatch(row)">处理</span>
<span class="view" @click="handleView(row)">查看</span> <span class="view" @click="handleView(row)">查看</span>
@ -47,6 +46,7 @@ import Title from "@/views/dataBoard/satisfactionEval/components/Title";
import sjwjj from "@/views/dataBoard/overview/components/EventDetail.vue"; import sjwjj from "@/views/dataBoard/overview/components/EventDetail.vue";
import CallPhone from '@/views/dataBoard/cpts/CallPhone.vue' import CallPhone from '@/views/dataBoard/cpts/CallPhone.vue'
import EventDispatchOrder from "@/views/dataBoard/overview/components/EventDispatchOrder.vue"; import EventDispatchOrder from "@/views/dataBoard/overview/components/EventDispatchOrder.vue";
import { requestPost } from "@/js/dai/request";
export default { export default {
name: "12345Hotline", name: "12345Hotline",
@ -108,15 +108,30 @@ export default {
} }
}); });
}, },
getList() { async getList() {
this.loading = true this.loading = true
this.$http.get("/governance/satisfactionDetailList/getUnsatisfiedMattersList?" + this.$paramsFormat(this.queryParams)).then(({data: {data}}) => {
this.list = data.list; const url = "/governance/icEvent/list";
this.total = data.total;
this.loading = false const formData={
agencyId:this.queryParams.agencyId
};
const pageSize = this.queryParams.pageSize;
const pageNo = this.queryParams.pageNo;
const { data, code, msg } = await requestPost(url, {
pageSize,
pageNo,
...formData,
}); });
if (code === 0) {
this.list = data.list;
this.total = data.total;
this.loading = false
}
}, },
handleView({id}) { handleView({id}) {
console.log("row:"+id);
this.showDialog = true; this.showDialog = true;
this.rowId = id; this.rowId = id;
}, },

Loading…
Cancel
Save