Oliver
2022-12-12 22d9bd7152c6de2d71afade6ab7b5f788d023578
src/views/operate/car/myIndex/index.vue
@@ -13,7 +13,7 @@
                    </div>
                </div>
                <div class="addCar">
                    <el-button type="primary" class="addBtn" @click="handleAddCar">添加车辆</el-button>
                    <el-button type="primary" class="addBtn button-addition" @click="handleAddCar">添加车辆</el-button>
                </div>
            </div>
        </header>
@@ -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;