<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.taskName"  @keyup.enter.native="getList" class="input-with-select" maxlength="30"></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('TaskAdd')">新增任务</el-button>
      </div>
    </div>
    <table-component @search="search" :tableOption="tableOption" :tableData="tableData" :pageParam="pageParam" @action="action" @selectChange="selectChange"></table-component>
  </div>

</el-main>
