diff --git a/epmet-oper-web/src/views/modules/customer/feedback/FeedbackList.vue b/epmet-oper-web/src/views/modules/customer/feedback/FeedbackList.vue
index 5a6ff13..a044c56 100644
--- a/epmet-oper-web/src/views/modules/customer/feedback/FeedbackList.vue
+++ b/epmet-oper-web/src/views/modules/customer/feedback/FeedbackList.vue
@@ -41,29 +41,6 @@
@handleClear="handleAgencyClear">
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
查询
@@ -96,17 +93,68 @@
-
-
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+
+
+
+
+
{
- return true
- }
- }
- ],
+ //分页
+ pageNo: 1,
+ pageSize: 10,
+ total: 0,
+ dataListLoading: false,
// 列表数据
tableData: [],
@@ -306,17 +346,77 @@ export default {
})
},
- // 获取列表数据
+ //加载列表数据
async loadData () {
- this.$refs.table.loadData()
+ this.dataListLoading = true
+ this.tableParams.appId = this.resiAppid
+
+ const { data, code, msg, internalMsg } = await requestPost(this.tableUrl, this.tableParams)
+ if (code === 0) {
+ this.tableData = data.list
+ let obj1 = {
+ "customerName": "灵山卫街道党工委",
+ "gridName": "市北区第二网格",
+ "adviceType": "政府业务建议&&软件功能及体验问题",
+ "phone": "15959999999",
+ "adviceTime": "2019-08-23 10:10:10",
+ "adviceContent": "我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议",
+ "id": "53815"
+ }
+ let obj2 = {
+ "customerName": "灵山卫街道党工委",
+ "gridName": "市北区第二网格",
+ "adviceType": "政府业务建议",
+ "phone": "15959999999",
+ "adviceTime": "2019-08-23 10:10:10",
+ "adviceContent": "我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议",
+ "id": "53815"
+ }
+ let obj3 = {
+ "customerName": "灵山卫街道党工委",
+ "gridName": "市北区第二网格",
+ "adviceType": "*",
+ "phone": "15959999999",
+ "adviceTime": "2019-08-23 10:10:10",
+ "adviceContent": "我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议我建议",
+ "id": "53815"
+ }
+ this.tableData.push(obj1)
+ this.tableData.push(obj2)
+ this.tableData.push(obj3)
+
+ this.tableData.forEach(element => {
+ element.adviceTypeArray = element.adviceType.split("&&")
+
+ })
+
+
+ } else {
+ // this.$message.error(msg + ":" + internalMsg)
+ }
+ this.dataListLoading = false
+ },
+
+ handleSizeChange (pageSize) {
+ this.tableParams.pageSize = pageSize
+ this.tableParams.pageNo = 1
+ this.$nextTick(() => {
+ this.loadData()
+ })
+ },
+ // 改变当前页
+ handleCurrentChange (pageNo) {
+ this.tableParams.pageNo = pageNo
+ this.$nextTick(() => {
+ this.loadData()
+ })
},
+
// 修改
detail (row) {
this.$refs['ref_edit_form'].initData(row)
},
-
-
// 开启加载动画
startLoading () {
loading = Loading.service({