Browse Source

停车住户

Shannon_mu 3 năm trước cách đây
mục cha
commit
b3a1618819

+ 1 - 1
operationSupport/src/views/ownerManagement/stepPage/vehicleOutToInDetails.vue

@@ -21,7 +21,7 @@ export default {
             textArr: [
                 {
                     lable: '车场名称',
-                    prop: 'name'
+                    prop: 'parkName'
                 },
                 {
                     lable: '车牌号码',

+ 10 - 6
operationSupport/src/views/ownerManagement/vehicle.vue

@@ -58,13 +58,17 @@ export default {
             mixins_post: 'get'
         };
     },
-    methods: {},
+    methods: {
+        getData() {
+            this.$http.get('/sc-community/parkingCar/findResidentCar?userId=' + this.$route.query.id).then(({ msg, data, status }) => {
+                if (status == 0) {
+                    this.mixins_list = data;
+                }
+            });
+        }
+    },
     created() {
-        this.mixins_dataUrl = '/sc-community/parkingCar/findResidentCar';
-        this.mixins_query = {
-            userId: this.$route.query.id
-        };
-        this.mixins_search();
+        this.getData();
     }
 };
 </script>