<template>
  <div class="app-container">
    <!-- 搜索 -->
    <el-form inline label-width="100px" size="mini">
      <el-form-item label="当前状态：">
        <el-select placeholder="请选择当前状态">
          <el-option />
        </el-select>
      </el-form-item>
      <el-form-item label="电台名称：">
        <el-input placeholder="请输入电台名称" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" @click="getSearch">搜索</el-button>
        <el-button icon="el-icon-refresh" @click="getRefresh">重置</el-button>
      </el-form-item>
    </el-form>
    <!-- 列表 -->
    <el-table :data="tableData">
      <el-table-column label="海外电台ID" align="center" />
      <el-table-column label="电台名称" align="center" />
      <el-table-column label="当前状态" align="center" />
      <el-table-column label="监控" align="center" />
      <el-table-column label="故障次数" align="center" />
      <el-table-column label="最新故障时间" align="center" />
      <el-table-column label="操作" align="center">
        <el-button type="text" @click="getEdit">编辑</el-button>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData:[{
        id: 1
      }]
    }
  },
  methods:{
    // 搜索
    getSearch(){

    },
    // 重置
    getRefresh(){

    },
    getEdit(){
      this.$router.push({
        path: `/content/autoFM/detail`
      })
    }
  }
}
</script>

<style lang="scss" scoped>
</style>