<el-main>
  <!--面包屑-->
  <breadcrumb-component ></breadcrumb-component>

  <!--下面是搜索条件-->
  <el-form label-position="right" class="simple-search-form-outline" inline >


    <el-form-item label="图表名称">
      <el-input placeholder="请输入内容" v-model="searchForm.chartName" @keyup.native.enter="getList">
      </el-input>
    </el-form-item>

    <el-form-item label="状态">
      <el-select v-model="searchForm.status" placeholder="请选择" clearable filterable >
        <el-option
          v-for="item in statusOptions"
          :key="item.id"
          :label="item.name"
          :value="item.id">
        </el-option>
      </el-select>
    </el-form-item>

    <el-form-item label="图表类型">
      <el-select v-model="searchForm.chartType" placeholder="请选择" clearable filterable >
        <el-option
          v-for="item in chartTypeOptions"
          :key="item.id"
          :label="item.name"
          :value="item.id">
        </el-option>
      </el-select>
    </el-form-item>

    <el-form-item label="图表数据源">
      <el-select v-model="searchForm.dataSource" placeholder="请选择" clearable filterable >
        <el-option
          v-for="item in chartSourceOptions"
          :key="item.id"
          :label="item.name"
          :value="item.id">
        </el-option>
      </el-select>
    </el-form-item>

    <el-form-item>
      <el-button type="primary" @click="getList">查询</el-button>
    </el-form-item>

  </el-form>

  <!--主列表数据-->
  <div class="table-container">
    <div class="button-container">
      <div>
        <el-button type="primary" @click="go('GraphAdd')">新建大屏图表</el-button>
      </div>
    </div>
    <table-component @search="search" :tableOption="tableOption" :tableData="tableData"  @action="action"></table-component>
  </div>

  <!--弹框-->


</el-main>








