|  |  | 
 |  |  |         <el-table-column prop="code" label="月台编码" fixed min-width="100px"></el-table-column> | 
 |  |  |         <el-table-column prop="groupName" label="所属月台组" fixed min-width="150px"></el-table-column> | 
 |  |  |         <el-table-column prop="workingNum" label="同时叫号车辆数" min-width="120px"></el-table-column> | 
 |  |  |         <el-table-column label="禁/启用" min-width="120px"> | 
 |  |  |           <template slot-scope="{row}"> | 
 |  |  |             <el-switch | 
 |  |  |                 @change="changeStatus($event, row)" | 
 |  |  |                 v-model="row.status" | 
 |  |  |                 active-color="#13ce66" | 
 |  |  |                 inactive-color="#ff4949" | 
 |  |  |                 :active-value="0" | 
 |  |  |                 :inactive-value="1"> | 
 |  |  |             </el-switch> | 
 |  |  |           </template> | 
 |  |  |         </el-table-column> | 
 |  |  |         <el-table-column prop="stayTmeoutAlarmTime" label="停留超时报警时间(分钟)" min-width="180px"> | 
 |  |  |           <template scope="{row}">{{row.stayTmeoutAlarmTime?(row.stayTmeoutAlarmTime):'-'}}</template> | 
 |  |  |         </el-table-column> | 
 |  |  | 
 |  |  |         </el-table-column> | 
 |  |  |         <el-table-column prop="broadcastNames" label="关联广播" min-width="100px"></el-table-column> | 
 |  |  |         <el-table-column prop="ledNames" label="关联LED" min-width="100px"></el-table-column> | 
 |  |  |         <el-table-column prop="hkDate" label="同步时间" min-width="140px"></el-table-column> | 
 |  |  |         <el-table-column prop="hkDate" label="同步时间" min-width="150px"></el-table-column> | 
 |  |  |         <el-table-column | 
 |  |  |           v-if="containPermissions(['business:platform:update', 'business:platform:delete'])" | 
 |  |  |           label="操作" | 
 |  |  | 
 |  |  | import SearchFormCollapse from '@/components/common/SearchFormCollapse' | 
 |  |  | import Pagination from '@/components/common/Pagination' | 
 |  |  | import OperaPlatformWindow from '@/components/business/OperaPlatformWindow' | 
 |  |  | import {allList} from "@/api/platform/platformGroup"; | 
 |  |  | import { allList } from '@/api/platform/platformGroup' | 
 |  |  | export default { | 
 |  |  |   name: 'Platform', | 
 |  |  |   extends: BaseTable, | 
 |  |  |   components: { SearchFormCollapse, TableLayout, Pagination, OperaPlatformWindow }, | 
 |  |  |   data () { | 
 |  |  |     return { | 
 |  |  |       groupList:[], | 
 |  |  |       groupList: [], | 
 |  |  |       // 搜索 | 
 |  |  |       working: false, | 
 |  |  |       working1: false, | 
 |  |  |       searchForm: { | 
 |  |  |         name: '', | 
 |  |  |         groupId:null | 
 |  |  |         groupId: null | 
 |  |  |       } | 
 |  |  |     } | 
 |  |  |   }, | 
 |  |  | 
 |  |  |   methods: { | 
 |  |  |     loadGroupList () { | 
 |  |  |       allList({}) | 
 |  |  |           .then(res => { | 
 |  |  |             this.groupList = res || [] | 
 |  |  |           }) | 
 |  |  |         .then(res => { | 
 |  |  |           this.groupList = res || [] | 
 |  |  |         }) | 
 |  |  |     }, | 
 |  |  |     changeStatus (e, row) { | 
 |  |  |       this.api.updateStatusById({ | 
 |  |  | 
 |  |  |               this.search() | 
 |  |  |             }) | 
 |  |  |             .catch(e => { | 
 |  |  |               this.$tip.apiFailed(e) | 
 |  |  |               // this.$tip.apiFailed(e) | 
 |  |  |             }) | 
 |  |  |             .finally(() => { | 
 |  |  |               this.isWorking.working = false | 
 |  |  | 
 |  |  |               this.search() | 
 |  |  |             }) | 
 |  |  |             .catch(e => { | 
 |  |  |               this.$tip.apiFailed(e) | 
 |  |  |               // this.$tip.apiFailed(e) | 
 |  |  |             }) | 
 |  |  |             .finally(() => { | 
 |  |  |               this.isWorking.working = false |