|
@ -13,7 +13,12 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="table"> |
|
|
<div class="table"> |
|
|
<el-table :data="list"> |
|
|
<el-table :data="list" |
|
|
|
|
|
v-loading="loading" |
|
|
|
|
|
element-loading-text="加载中..." |
|
|
|
|
|
element-loading-spinner="el-icon-loading" |
|
|
|
|
|
element-loading-background="rgba(0,0,0,0.5)" |
|
|
|
|
|
> |
|
|
<el-table-column label="序号" type="index" width="80"/> |
|
|
<el-table-column label="序号" type="index" width="80"/> |
|
|
|
|
|
|
|
|
<el-table-column prop="name" label="上报人"/> |
|
|
<el-table-column prop="name" label="上报人"/> |
|
@ -28,19 +33,28 @@ |
|
|
|
|
|
|
|
|
<el-table-column prop="eventCount" sortable label="事件未解决数"> |
|
|
<el-table-column prop="eventCount" sortable label="事件未解决数"> |
|
|
<template slot-scope="{ row }"> |
|
|
<template slot-scope="{ row }"> |
|
|
<el-button type="text" @click="$router.push('/dataBoard/satisfactionEval/potentialPeople/sjwjj?reportUserId=' + row.reportUserId)">{{ row.eventCount }}</el-button> |
|
|
<el-button type="text" |
|
|
|
|
|
@click="$router.push('/dataBoard/satisfactionEval/potentialPeople/sjwjj?reportUserId=' + row.reportUserId)"> |
|
|
|
|
|
{{ row.eventCount }} |
|
|
|
|
|
</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column prop="demandCount" sortable label="需求未满足数"> |
|
|
<el-table-column prop="demandCount" sortable label="需求未满足数"> |
|
|
<template slot-scope="{ row }"> |
|
|
<template slot-scope="{ row }"> |
|
|
<el-button type="text" @click="$router.push('/dataBoard/satisfactionEval/potentialPeople/xqwmz?reportUserId=' + row.reportUserId)">{{ row.demandCount }}</el-button> |
|
|
<el-button type="text" |
|
|
|
|
|
@click="$router.push('/dataBoard/satisfactionEval/potentialPeople/xqwmz?reportUserId=' + row.reportUserId)"> |
|
|
|
|
|
{{ row.demandCount }} |
|
|
|
|
|
</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column prop="serviceCount" sortable label="应享未享数"> |
|
|
<el-table-column prop="serviceCount" sortable label="应享未享数"> |
|
|
<template slot-scope="{ row }"> |
|
|
<template slot-scope="{ row }"> |
|
|
<el-button type="text" @click="$router.push('/dataBoard/satisfactionEval/potentialPeople/yxwxfw?reportUserId=' + row.reportUserId)">{{ row.serviceCount }}</el-button> |
|
|
<el-button type="text" |
|
|
|
|
|
@click="$router.push('/dataBoard/satisfactionEval/potentialPeople/yxwxfw?reportUserId=' + row.reportUserId)"> |
|
|
|
|
|
{{ row.serviceCount }} |
|
|
|
|
|
</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
@ -53,7 +67,8 @@ |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<Pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize" @pagination="getList" /> |
|
|
<Pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize" |
|
|
|
|
|
@pagination="getList"/> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -67,6 +82,7 @@ export default { |
|
|
components: {Breadcrumb, Pagination, Title}, |
|
|
components: {Breadcrumb, Pagination, Title}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
loading: true, |
|
|
queryParams: { |
|
|
queryParams: { |
|
|
month: "", |
|
|
month: "", |
|
|
org: "", |
|
|
org: "", |
|
@ -95,6 +111,13 @@ export default { |
|
|
list: [], |
|
|
list: [], |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
watch: { |
|
|
|
|
|
"$route.query.countType" () { |
|
|
|
|
|
if(this.$route.path === '/dataBoard/satisfactionEval/potentialPeople') { |
|
|
|
|
|
this.getList(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
this.getOrg(); |
|
|
this.getOrg(); |
|
|
}, |
|
|
}, |
|
@ -125,12 +148,19 @@ export default { |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
getList() { |
|
|
getList() { |
|
|
this.$http.get("/governance/satisfactionDetailList/getPotentialDissatisfiedCountDetail?" + this.$paramsFormat(this.queryParams)).then(({ data: { data } }) => { |
|
|
this.loading = true |
|
|
|
|
|
let params = { |
|
|
|
|
|
...this.queryParams, |
|
|
|
|
|
countType: this.$route.query.countType |
|
|
|
|
|
} |
|
|
|
|
|
this.$http.get("/governance/satisfactionDetailList/getPotentialDissatisfiedCountDetail?" + this.$paramsFormat(params)).then(({data: {data}}) => { |
|
|
this.list = data.list; |
|
|
this.list = data.list; |
|
|
this.total = data.total; |
|
|
this.total = data.total; |
|
|
|
|
|
this.loading = false |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
handleView(id) {}, |
|
|
handleView(id) { |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|