zhanghua
2022-11-16 cc9ddf2ecaf3ad935374f49c842227f7eb15779d
src/views/operate/car/myIndex/index.vue
@@ -171,7 +171,6 @@
    methods: {
        // 编辑车辆
        handleEdit(data){
            console.log(data)
            this.dialogEdit = true
            this.info = data;
        },
@@ -221,7 +220,6 @@
                        url: `/sccg/car_Manage/${myurl}?id=${id}`,
                    })
                        .then(res => {
                            console.log(res);
                            this.$message({
                                type: res.code === 200 ? 'success' : 'warning',
                                message: res.message
@@ -230,7 +228,7 @@
                            this.getCarList();
                        })
                })
                .catch(_ => { console.log(2) });
                .catch(_ => {  });
        },
        // 获取车辆列表
        async getCarList() {
@@ -252,7 +250,6 @@
                url:`sccg/car_Manage/query_enforce?current=${currentPage}&size=${pageSize}&carNum=${carNum}`,
            })
            .then(res=>{
                console.log(res);
                arr = res.data;
            })
            return arr;