瀏覽代碼

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

黎海 2 年之前
父節點
當前提交
43bed341c9
共有 1 個文件被更改,包括 10 次插入9 次删除
  1. 10 9
      src/pages/customerMan/index.vue

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

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