zhanghua
2025-01-13 3545c432c9e25511611575d6efa2a31078922f2d
src/views/student/index.vue
@@ -37,7 +37,7 @@
        </el-input>
      </div>
    </div>
    <div style="height: calc(100vh - 248px)">
    <div style="height: calc(100vh - 208px)">
      <el-table
        v-loading="listLoading"
        :data="list"
@@ -45,7 +45,8 @@
        fit
        height="100%"
      >
        <el-table-column label="姓名" prop="">
        <el-table-column label="姓名" prop=""
          width="300">
          <template slot-scope="scope">
            <el-link
              type="primary"
@@ -60,7 +61,7 @@
        </el-table-column>
        <el-table-column
          label="性别"
          width="80"
          width="200"
          v-if="activeName !== 'deactivated'"
        >
          <template slot-scope="scope">
@@ -69,7 +70,7 @@
        </el-table-column>
        <el-table-column
          label="手机号"
          width="200"
          width="300"
          prop="mobile"
          v-if="activeName !== 'deactivated'"
        >
@@ -79,8 +80,8 @@
        </el-table-column>
        <el-table-column
          label="是否绑定微信"
          width="200"
          v-if="activeName !== 'deactivated'"
          v-if="activeName !== 'deactivated'"
          min-width="200"
        >
          <template slot-scope="scope">
            {{ scope.row.user ? "是" : "否" }}
@@ -186,11 +187,7 @@
    //     this.$router.push("/login");
    //   }
    // }
    if (localStorage.getItem("user")) {
      this.fetchData();
    } else {
      this.$router.push("/login");
    }
    this.fetchData();
  },
  methods: {
    handleExport() {