123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <template>
- <div class="studentDetail">
- <el-form ref="form" label-width="130px">
- <el-row>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="学生姓名">
- <el-input disabled :value="studentForm.username"></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="学生性别">
- <el-input :value="studentForm.gender ? '男' : '女'" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="出生年月">
- <el-input :value="studentForm.birthdate" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="家长姓名">
- <el-input :value="studentForm.realName" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="联系电话">
- <el-input :value="studentForm.parentsPhone" disabled></el-input>
- </el-form-item>
- </el-col>
- <!-- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="年级班级">
- <el-input
- :value="studentForm.currentGrade + studentForm.currentClass"
- disabled
- ></el-input>
- </el-form-item>
- </el-col> -->
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="所属分部">
- <el-input :value="studentForm.organName" disabled ></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="学员声部">
- <el-input :value="studentForm.subjectName" disabled ></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="是否运营">
- <el-input :value="studentForm.operatingTag ? '是' : '否'" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="是否服务">
- <el-input :value="studentForm.serviceTag ? '是' : '否'" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="指导老师">
- <el-input :value="studentForm.teacherName" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="是否是新用户">
- <template slot="label">
- <p style="position: relative">
- 是否是新用户
- <el-tooltip placement="top" popper-class="mTooltip">
- <div slot="content">
- 未购买VIP课程的学员为新用户
- </div>
- <i
- class="el-icon-question"
- style="font-size: 18px; color: #f56c6c"
- ></i>
- </el-tooltip>
- </p>
- </template>
- <el-input :value="studentForm.isNewUser ? '是' : '否'" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="关心包">
- <el-input :value="studentForm.carePackage | studentPackage" disabled></el-input>
- </el-form-item>
- </el-col>
- <el-col :xl="6" :lg="8" :md="8" :xs="12">
- <el-form-item label="加油包">
- <el-input :value="studentForm.comeOnPackage | studentPackage" disabled></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
- </div>
- </template>
- <script>
- // import {
- // findStudentBaseInfo
- // } from "@/api/studentManager";
- export default {
- name: "studentInfo",
- data() {
- const query = this.$route.query
- return {
- studentForm: query || {},
- };
- },
- mounted() {
- this.__init();
- },
- methods: {
- __init() {
- // this.userId = this.$route.query.userId;
- // findStudentBaseInfo({ userId: this.userId }).then(res => {
- // if (res.code == 200) {
- // this.studentForm = res.data;
- // }
- // });
- }
- }
- };
- </script>
- <style lang="scss" scope>
- .studentDetail {
- margin-top: 20px;
- .teamList {
- margin-top: 20px;
- h4 {
- margin-bottom: 20px;
- }
- }
- }
- </style>
|