|  |  | 
 |  |  | <template> | 
 |  |  |   <div class="main_app"> | 
 |  |  |     <div class="main_head mb20"> | 
 |  |  |       <el-tabs v-model="currentPlatform" class="tabs"> | 
 |  |  |         <!-- <el-tab-pane label="用户管理" name="first" v-for="item in platformList" :key="item.id"></el-tab-pane> --> | 
 |  |  |         <el-tab-pane label="用户管理" name="first"></el-tab-pane> | 
 |  |  |       </el-tabs> | 
 |  |  |     <div class="mb20"> | 
 |  |  |       <el-select v-model="platformId" @change="getList()"> | 
 |  |  |         <el-option v-for="item in PlatformList" :key="item.id" :value="item.id" :label="item.name" /> | 
 |  |  |       </el-select> | 
 |  |  |       <el-button type="primary" class="ml20" @click="handleSet" | 
 |  |  |         >配置月台</el-button | 
 |  |  |       > | 
 |  |  | 
 |  |  | </template> | 
 |  |  |  | 
 |  |  | <script> | 
 |  |  | import { getPlatform } from '@/api' | 
 |  |  | import { getPlatform, getPlatformJob } from '@/api' | 
 |  |  | export default { | 
 |  |  |   data () { | 
 |  |  |     return { | 
 |  |  |       currentPlatform: '', | 
 |  |  |       platformList: [], | 
 |  |  |       platformId: '', | 
 |  |  |       PlatformList: [], | 
 |  |  |       dataList: [], | 
 |  |  |  | 
 |  |  |       isShowSet: false, // 月台配置 | 
 |  |  |       setParam: {}, | 
 |  |  | 
 |  |  |   }, | 
 |  |  |   created () { | 
 |  |  |     this.getPlatList() | 
 |  |  |     this.getList() | 
 |  |  |   }, | 
 |  |  |   methods: { | 
 |  |  |     handleQueuing (row) { | 
 |  |  |       this.isShowQueuing = true | 
 |  |  |     }, | 
 |  |  |     getList () { | 
 |  |  |       const { platformId } = this | 
 |  |  |       getPlatformJob({ | 
 |  |  |         model: { platformId } | 
 |  |  |       }).then(res => { | 
 |  |  |         this.dataList = res.records | 
 |  |  |       }) | 
 |  |  |     }, | 
 |  |  |     handleFinish (item) { | 
 |  |  |       this.$confirm('高架库6号月台 皖A12345 作业结束', '温馨提示', { | 
 |  |  | 
 |  |  |     getPlatList () { | 
 |  |  |       getPlatform({ | 
 |  |  |         model: {} | 
 |  |  |       }).then(res => { | 
 |  |  |         this.PlatformList = res.records | 
 |  |  |       }) | 
 |  |  |     }, | 
 |  |  |     handleSet () { |