| | |
| | | <!-- 选择执法车 --> |
| | | <el-form-item label="选择执法车:" prop="enforcementCar"> |
| | | <el-select v-model="dispatch.enforcementCar" placeholder="请选择"> |
| | | <el-option v-for="item in carOptions" :key="item.value" :label="item.label" :value="item.value"> |
| | | <el-option v-for="item in carOptions" :key="item.id" :label="item.carNumber" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | url: `sccg/car_Manage/query_enforce?current=1&size=1000` |
| | | }) |
| | | .then(res => { |
| | | this.carOptions = res.data.orders; |
| | | console.log(res); |
| | | this.carOptions = res.data.records; |
| | | console.log(res,this.carOptions); |
| | | }) |
| | | }, |
| | | // 获取渣土车辆 |
| | |
| | | url: `sccg/car_Manage/query_slag?current=1&size=1000` |
| | | }) |
| | | .then(res => { |
| | | this.carOptions = res.data.orders; |
| | | this.carOptions = res.data.records; |
| | | console.log(res); |
| | | }) |
| | | }, |