| | |
| | | openTip ? "关闭提示" : "开启提示" |
| | | }}</Button> |
| | | <Input |
| | | v-model="searchForm.carNo" |
| | | v-model="searchForm2.carNo" |
| | | suffix="ios-search" |
| | | @on-change="getDataList" |
| | | @on-change="getDataList2" |
| | | placeholder="输入车牌号搜索" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | depModalVisible: false, |
| | | modalTitle: "", |
| | | searchForm: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "createTime", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | searchForm2: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | getCarList(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getEquipmentList(carId) { |
| | | this.loading = true; |
| | | this.searchForm.carId=carId; |
| | | getEquipment(this.searchForm).then((res) => { |
| | | this.searchForm2.carId=carId; |
| | | getEquipment(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data2 = res.result.records; |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |