zhanghua
2025-02-04 80d02a2de745edb79670c48cea4ec48e673bf597
src/views/student/index.vue
@@ -6,22 +6,8 @@
      <el-tab-pane label="已过期" name="expired" />
      <el-tab-pane label="已停用" name="deactivated" />
    </el-tabs>
    <div style="display: flex; justify-content: space-between">
    <div style="display: flex">
      <!-- <el-button type="primary" size="small" @click="showCreate">新建学员</el-button> -->
      <div>
        <el-button type="primary" size="small" @click="handleExport"
          >导出学员</el-button
        >
        <el-button type="primary" size="small" @click="handleImport"
          >导入学员</el-button
        >
      </div>
      <div style="width: 500px">
        <!-- <el-date-picker v-model="dateRange" type="daterange" range-separator="至" start-placeholder="开始日期"
        end-placeholder="结束日期" value-format="yyyy-MM-dd" style="margin-right: 10px">
      </el-date-picker>
      <el-button type="primary" @click="handleExport2">导出课包</el-button> -->
      </div>
      <div style="width: 300px">
        <el-input
          placeholder="按姓名搜索"
@@ -36,6 +22,20 @@
          ></el-button>
        </el-input>
      </div>
      <div style="margin-left: 30px">
        <el-button type="primary" size="small" @click="handleExport"
          >导出学员</el-button
        >
        <el-button type="primary" size="small" @click="handleImport"
          >导入学员</el-button
        >
      </div>
      <div style="width: 500px">
        <!-- <el-date-picker v-model="dateRange" type="daterange" range-separator="至" start-placeholder="开始日期"
        end-placeholder="结束日期" value-format="yyyy-MM-dd" style="margin-right: 10px">
      </el-date-picker>
      <el-button type="primary" @click="handleExport2">导出课包</el-button> -->
      </div>
    </div>
    <div style="height: calc(100vh - 208px)">
      <el-table
@@ -45,8 +45,7 @@
        fit
        height="100%"
      >
        <el-table-column label="姓名" prop=""
          width="300">
        <el-table-column label="姓名" prop="" width="300">
          <template slot-scope="scope">
            <el-link
              type="primary"
@@ -80,7 +79,7 @@
        </el-table-column>
        <el-table-column
          label="是否绑定微信"
          v-if="activeName !== 'deactivated'"
          v-if="activeName !== 'deactivated'"
          min-width="200"
        >
          <template slot-scope="scope">