|
|
@ -67,18 +67,24 @@ |
|
|
|
</el-row> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label="fuwuLabel" name="fuwu"> |
|
|
|
<fuwu :tableData="fuwuList" /> |
|
|
|
<el-row type="flex"> |
|
|
|
<el-col :span="12" align="left"> |
|
|
|
<div style="margin-top: 25px;">共{{ fuwuTotal }}条</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" align="right"> |
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" |
|
|
|
:current-page.sync="pageNo" :page-size="pageSize" layout="prev, pager, next, jumper" |
|
|
|
:total="fuwuTotal"> |
|
|
|
</el-pagination></el-col> |
|
|
|
</el-row> |
|
|
|
</el-tab-pane> |
|
|
|
<div style="display: flex; flex-direction: column; height: 100%;"> |
|
|
|
<!-- 你的表格组件将填充所有可用空间 --> |
|
|
|
<fuwu :tableData="fuwuList" style="flex: 1; overflow: auto;" /> |
|
|
|
<!-- 你的页码部分保持恒定的高度 --> |
|
|
|
<el-row type="flex"> |
|
|
|
<el-col :span="12" align="left"> |
|
|
|
<div style="margin-top: 25px;">共{{ fuwuTotal }}条</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" align="right"> |
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" |
|
|
|
:current-page.sync="pageNo" :page-size="pageSize" layout="prev, pager, next, jumper" |
|
|
|
:total="fuwuTotal"> |
|
|
|
</el-pagination> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
</el-tabs> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -159,7 +165,6 @@ export default { |
|
|
|
pageNo: this.pageNo, |
|
|
|
pageSize: this.pageSize |
|
|
|
} |
|
|
|
// 办理状态(-2:未知,-1:不接受回访,0:接受回访/待回访,1已回访) |
|
|
|
const statusArr = { |
|
|
|
processing: "处理中", |
|
|
|
closed_case: "已办结", |
|
|
@ -168,53 +173,6 @@ export default { |
|
|
|
|
|
|
|
// 省满意度列表 |
|
|
|
this.$http.post("/actual/base/peopleRoomOverview/eventPageList", parm).then(({ data: res }) => { |
|
|
|
// this.complainList = [{ |
|
|
|
// scope: "服务态度", |
|
|
|
// problemDesc: "服务人员态度不好", |
|
|
|
// completeFlag: "未办理", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "处理速度", |
|
|
|
// problemDesc: "等待时间过长", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "设备问题", |
|
|
|
// problemDesc: "使用的机器经常故障", |
|
|
|
// completeFlag: "办理中", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "其他", |
|
|
|
// problemDesc: "场地不够干净", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }, { |
|
|
|
// scope: "服务态度", |
|
|
|
// problemDesc: "服务人员态度不好", |
|
|
|
// completeFlag: "未办理", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "处理速度", |
|
|
|
// problemDesc: "等待时间过长", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "设备问题", |
|
|
|
// problemDesc: "使用的机器经常故障", |
|
|
|
// completeFlag: "办理中", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "其他", |
|
|
|
// problemDesc: "场地不够干净", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }] |
|
|
|
this.complainList = res.data.list.map((item) => { |
|
|
|
return { |
|
|
|
...item, |
|
|
@ -235,36 +193,6 @@ export default { |
|
|
|
} |
|
|
|
// 省满意度列表 |
|
|
|
this.$http.post("/actual/base/peopleRoomOverview/provincialSatisfactionPageList", parm).then(({ data: res }) => { |
|
|
|
// this.shengList = [{ |
|
|
|
// scope: "服务态度", |
|
|
|
// problemDesc: "服务员的态度冷淡,没有微笑", |
|
|
|
// completeFlag: "未办理", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "处理速度", |
|
|
|
// problemDesc: "在前台等待时间超过30分钟", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "环境问题", |
|
|
|
// problemDesc: "餐厅内部太吵,无法正常交流", |
|
|
|
// completeFlag: "办理中", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "食品质量", |
|
|
|
// problemDesc: "点的咖啡味道太苦,不如以前", |
|
|
|
// completeFlag: "未办理", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "其他", |
|
|
|
// problemDesc: "洗手间没有纸巾", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }] |
|
|
|
this.shengList = res.data; |
|
|
|
this.shengTotal = res.data.length; |
|
|
|
this.shengLabel = `省满意度调查(${this.shengTotal})` |
|
|
@ -276,7 +204,6 @@ export default { |
|
|
|
pageNo: this.pageNo, |
|
|
|
pageSize: this.pageSize |
|
|
|
} |
|
|
|
// 办理状态(-2:未知,-1:不接受回访,0:接受回访/待回访,1已回访) |
|
|
|
const completeFlags = { |
|
|
|
"-2": "未知", |
|
|
|
"-1": "不接受回访", |
|
|
@ -284,41 +211,6 @@ export default { |
|
|
|
1: "已回访", |
|
|
|
}; |
|
|
|
this.$http.post("/actual/base/peopleRoomOverview/communitySatisfactionPageList", parm).then(({ data: res }) => { |
|
|
|
// this.shequList = [{ |
|
|
|
// scope: "服务态度", |
|
|
|
// problemDesc: "服务人员态度不好", |
|
|
|
// completeFlag: "未办理", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "设备问题", |
|
|
|
// problemDesc: "使用的机器经常故障", |
|
|
|
// completeFlag: "办理中", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "其他", |
|
|
|
// problemDesc: "场地不够干净", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }, { |
|
|
|
// scope: "服务态度", |
|
|
|
// problemDesc: "服务人员态度不好", |
|
|
|
// completeFlag: "未办理", |
|
|
|
// isReturn: "否" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "处理速度", |
|
|
|
// problemDesc: "等待时间过长", |
|
|
|
// completeFlag: "已办理", |
|
|
|
// isReturn: "是" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// scope: "设备问题", |
|
|
|
// problemDesc: "使用的机器经常故障", |
|
|
|
// completeFlag: "办理中", |
|
|
|
// isReturn: "否" |
|
|
|
// }] |
|
|
|
this.shequList = res.data.map((item) => { |
|
|
|
return { |
|
|
|
...item, |
|
|
@ -337,30 +229,6 @@ export default { |
|
|
|
} |
|
|
|
const marktypes = ["普通事件", "难点读点", "矛盾纠纷", "自身问题"]; |
|
|
|
this.$http.post("/actual/base/peopleRoomOverview/eventPageList", parm).then(({ data: res }) => { |
|
|
|
// this.shijianList = [{ |
|
|
|
// categorycode: "设备故障", |
|
|
|
// eventcontent: "东侧出入口的闸机无法正常工作", |
|
|
|
// status: "处理中", |
|
|
|
// happentime: "2023-10-21 14:25:45" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// categorycode: "安全事故", |
|
|
|
// eventcontent: "西侧楼梯有脚手架工具掉落", |
|
|
|
// status: "已完成", |
|
|
|
// happentime: "2023-10-20 09:10:32" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// categorycode: "投诉", |
|
|
|
// eventcontent: "前台服务员态度不佳", |
|
|
|
// status: "未处理", |
|
|
|
// happentime: "2023-10-19 16:45:30" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// categorycode: "环境问题", |
|
|
|
// eventcontent: "会议室的空调太冷", |
|
|
|
// status: "处理中", |
|
|
|
// happentime: "2023-10-18 11:05:25" |
|
|
|
// },] |
|
|
|
this.shijianList = res.data.list.map((item) => { |
|
|
|
return { |
|
|
|
...item, |
|
|
@ -380,36 +248,6 @@ export default { |
|
|
|
} |
|
|
|
// 省满意度列表 |
|
|
|
this.$http.post("/actual/base/peopleRoomOverview/demandOfResidentsPageList", parm).then(({ data: res }) => { |
|
|
|
// this.xuqiuList = [{ |
|
|
|
// categoryName: "软件功能", |
|
|
|
// content: "希望增加导出 Excel 的功能", |
|
|
|
// status: "评估中", |
|
|
|
// reportTime: "2023-10-24 10:15:32" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// categoryName: "硬件升级", |
|
|
|
// content: "需要更高配置的服务器来支撑业务", |
|
|
|
// status: "已批准", |
|
|
|
// reportTime: "2023-10-23 14:05:50" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// categoryName: "界面优化", |
|
|
|
// content: "前台页面加载速度较慢,希望优化", |
|
|
|
// status: "处理中", |
|
|
|
// reportTime: "2023-10-22 11:30:15" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// categoryName: "新功能", |
|
|
|
// content: "需要一个新的数据可视化面板", |
|
|
|
// status: "未开始", |
|
|
|
// reportTime: "2023-10-21 09:45:10" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// categoryName: "其他", |
|
|
|
// content: "希望增加夜间模式,减少眼睛疲劳", |
|
|
|
// status: "评估中", |
|
|
|
// reportTime: "2023-10-20 16:20:45" |
|
|
|
// }] |
|
|
|
this.xuqiuList = res.data.map((item) => { |
|
|
|
return { |
|
|
|
...item, |
|
|
@ -426,30 +264,6 @@ export default { |
|
|
|
pageSize: this.pageSize |
|
|
|
} |
|
|
|
this.$http.post("/actual/base/peopleRoomOverview/communityServicePageList", parm).then(({ data: res }) => { |
|
|
|
// this.fuwuList = [{ |
|
|
|
// serviceCategoryKey: "系统故障", |
|
|
|
// serviceName: "登录功能无法使用", |
|
|
|
// state: "处理中", |
|
|
|
// serviceTimeStart: "2023-10-25 09:20:15" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// serviceCategoryKey: "新功能请求", |
|
|
|
// serviceName: "添加多语言支持", |
|
|
|
// state: "已完成", |
|
|
|
// serviceTimeStart: "2023-10-24 15:10:45" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// serviceCategoryKey: "优化建议", |
|
|
|
// serviceName: "改进搜索算法,提高搜索速度", |
|
|
|
// state: "未开始", |
|
|
|
// serviceTimeStart: "2023-10-23 14:05:20" |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// serviceCategoryKey: "界面问题", |
|
|
|
// serviceName: "移动端页面布局错乱", |
|
|
|
// state: "处理中", |
|
|
|
// serviceTimeStart: "2023-10-22 10:40:25" |
|
|
|
// },] |
|
|
|
this.fuwuList = res.data.map((item) => { |
|
|
|
return { |
|
|
|
...item, |
|
|
|