| | |
| | | mounted () { |
| | | this.fetchTableData() |
| | | const id = this.$route.query.id |
| | | console.log('idddddd',id); |
| | | |
| | | if (id) { |
| | | // 确保 id 存在 |
| | | this.handleViewDetail({ id }) |
| | |
| | | : (this.detailTitle = '编辑工单') |
| | | |
| | | this.detailVisible = true |
| | | |
| | | // 更新航线列表,追加 wayline_file_region_vo 数据 |
| | | if (data.wayline_file_region_vo) { |
| | | const newWayline = data.wayline_file_region_vo |
| | |
| | | } |
| | | |
| | | this.initMapLine(data.device_map_infos) |
| | | const find = this.$store.state.tags.bsTagList.find(i => i.path === '/tickets/orderLog') |
| | | find && (find.query = {}) |
| | | |
| | | }, |
| | | async handleCheckDetail (row) { |
| | | const response = await orderLogDetails(row.id) |