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

  <!--下面是搜索条件-->
  <el-form label-position="right" class="simple-search-form-outline" inline >
    <el-form-item label="分类名称">
      <el-input placeholder="请输入" maxlength="30" @keyup.enter.native="getList" v-model="searchForm.projectName" class="input-with-select"></el-input>
    </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('interfaceClassifyAdd')">新建</el-button>
      </div>
    </div>
    <table-component @search="search" :tableOption="tableOption" :tableData="tableData" :pageParam="pageParam" @action="action" @selectChange="selectChange"></table-component>
  </div>
  <el-dialog title="测试结果查看" :visible.sync="testDataVisible">
    <div class="el-test-dlg" v-html="testReturnData">

    </div>
    <div slot="footer" class="dialog-footer">
      <el-button @click="testDataVisible = false">取 消</el-button>
      <el-button type="primary" @click="testDataVisible = false">确定</el-button>
    </div>
  </el-dialog>
  <el-dialog title="接口信息查看" :visible.sync="interfaceVisible">
    <div class="el-test-dlg">
      <ul class="el-interface-info">
        <li>
          <label>接口名称</label><span>接口管理测试</span> 
        </li>
        <li>
          <label>接口名称</label><span>接口管理测试</span> 
        </li>
      </ul>
    </div>
    <div slot="footer" class="dialog-footer">
      <el-button @click="interfaceVisible = false">取 消</el-button>
      <el-button type="primary" @click="interfaceVisible = false">确定</el-button>
    </div>
  </el-dialog>
</el-main>
