zhanghua
2024-11-19 bcdb083a696b7e43f21b15e0c07195d409f36bce
src/views/student/index.vue
@@ -64,7 +64,7 @@
          v-if="activeName !== 'deactivated'"
        >
          <template slot-scope="scope">
            {{ scope.row.gender == "FEMALE" ? "女" : "男" }}
                        {{ scope.row.gender == 'FEMALE' ? '女' : '男' }}
          </template>
        </el-table-column>
        <el-table-column
@@ -74,7 +74,7 @@
          v-if="activeName !== 'deactivated'"
        >
          <template slot-scope="scope">
            {{ scope.row.mobile ? scope.row.mobile : "--" }}
                        {{ scope.row.mobile ? scope.row.mobile : '--' }}
          </template>
        </el-table-column>
        <el-table-column
@@ -83,7 +83,7 @@
          v-if="activeName !== 'deactivated'"
        >
          <template slot-scope="scope">
            {{ scope.row.user ? "是" : "否" }}
                        {{ scope.row.user ? '是' : '否' }}
          </template>
        </el-table-column>
        <el-table-column
@@ -92,9 +92,13 @@
          v-if="activeName == 'deactivated'"
        >
          <template slot-scope="">
            <el-link type="primary" :underline="false">删除</el-link>
                        <el-link type="primary" :underline="false"
                            >删除</el-link
                        >
            &nbsp;&nbsp;&nbsp;&nbsp;
            <el-link type="primary" :underline="false">恢复</el-link>
                        <el-link type="primary" :underline="false"
                            >恢复</el-link
                        >
          </template>
        </el-table-column>
        <el-table-column
@@ -282,6 +286,7 @@
    showCreate() {
      this.$refs.studentCreate.showDialog();
    },
  },
};
</script>