Browse Source

feat: 处理客户管理列表报错

黎海 2 years ago
parent
commit
43bed341c9
1 changed files with 10 additions and 9 deletions
  1. 10 9
      src/pages/customerMan/index.vue

+ 10 - 9
src/pages/customerMan/index.vue

@@ -73,7 +73,8 @@ export default {
73
       ],
73
       ],
74
       tableData: [],
74
       tableData: [],
75
       currentPage1: 1,
75
       currentPage1: 1,
76
-      multipleSelection: ''
76
+      multipleSelection: '',
77
+      total: 0
77
 
78
 
78
     };
79
     };
79
   },
80
   },
@@ -81,9 +82,9 @@ export default {
81
   watch: {},
82
   watch: {},
82
 
83
 
83
   methods: {
84
   methods: {
84
-    
85
-  // 获取订单列表
86
-    getUserList() {
85
+
86
+    // 获取订单列表
87
+    getUserList () {
87
       console.log("xxxxxxx");
88
       console.log("xxxxxxx");
88
       let params = {
89
       let params = {
89
         page: this.currentPage1,
90
         page: this.currentPage1,
@@ -97,17 +98,17 @@ export default {
97
         }
98
         }
98
       });
99
       });
99
     },
100
     },
100
-    
101
-    handleCurrentChange(e) {
101
+
102
+    handleCurrentChange (e) {
102
       this.currentPage1 = e;
103
       this.currentPage1 = e;
103
       this.getUserList();
104
       this.getUserList();
104
       console.log(e, "eeeeee");
105
       console.log(e, "eeeeee");
105
     },
106
     },
106
 
107
 
107
-    handleSizeChange(val) {
108
+    handleSizeChange (val) {
108
       console.log(`每页 ${val} 条`);
109
       console.log(`每页 ${val} 条`);
109
     },
110
     },
110
-    handleSelectionChange(row, column, event) {
111
+    handleSelectionChange (row, column, event) {
111
       this.$router.push({
112
       this.$router.push({
112
         path: '/customerMan/details',
113
         path: '/customerMan/details',
113
         query: {
114
         query: {
@@ -117,7 +118,7 @@ export default {
117
     }
118
     }
118
   },
119
   },
119
 
120
 
120
-  created() {
121
+  created () {
121
     this.getUserList();
122
     this.getUserList();
122
   },
123
   },
123
 
124