|
@@ -1,43 +1,41 @@
|
|
<template>
|
|
<template>
|
|
<div class="pb_content" style="background: unset;height: 100%;overflow: auto;">
|
|
<div class="pb_content" style="background: unset;height: 100%;overflow: auto;">
|
|
- <div
|
|
|
|
- class="pb_content_body"
|
|
|
|
- style="
|
|
|
|
|
|
+ <div class="pb_content_body" style="
|
|
background: #fff;
|
|
background: #fff;
|
|
padding: 0px 25px;
|
|
padding: 0px 25px;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
margin: 10px auto 0;
|
|
margin: 10px auto 0;
|
|
/* border-radius: 5px; */
|
|
/* border-radius: 5px; */
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
<div class="pb_head">
|
|
<div class="pb_head">
|
|
<span>我的学生列表</span>
|
|
<span>我的学生列表</span>
|
|
|
|
+ <span
|
|
|
|
+ @click="
|
|
|
|
+ goTo(
|
|
|
|
+ '/works?userid='+
|
|
|
|
+ userid +
|
|
|
|
+ '&oid=' +
|
|
|
|
+ oid+'&org=' +
|
|
|
|
+ org+'&type=2'
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ >评价管理</span
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
<div class="student_head">
|
|
<div class="student_head">
|
|
<div class="head_left">
|
|
<div class="head_left">
|
|
<el-input v-model="sPhoneUser" class="student_input" placeholder="请输入用户名"></el-input>
|
|
<el-input v-model="sPhoneUser" class="student_input" placeholder="请输入用户名"></el-input>
|
|
- <el-select v-model="cid" placeholder="请选择班级" class="student_input inputClass" @change="searchStudent">
|
|
|
|
|
|
+ <el-select v-model="cid" placeholder="请选择班级" class="student_input " @change="searchStudent">
|
|
<el-option label="所有人" value=""></el-option>
|
|
<el-option label="所有人" value=""></el-option>
|
|
- <el-option
|
|
|
|
- v-for="(item, index) in classJuri"
|
|
|
|
- :key="index"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id"
|
|
|
|
- ></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in classJuri" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
<el-button class="student_button" @click="searchStudent">查询</el-button>
|
|
<el-button class="student_button" @click="searchStudent">查询</el-button>
|
|
</div>
|
|
</div>
|
|
<div class="head_right">
|
|
<div class="head_right">
|
|
<el-button @click="addStudent">添加学生</el-button>
|
|
<el-button @click="addStudent">添加学生</el-button>
|
|
- <el-upload
|
|
|
|
- class="upload-demo newCss"
|
|
|
|
- :http-request="handleChange"
|
|
|
|
- :on-remove="handleRemove"
|
|
|
|
- action="#"
|
|
|
|
- :file-list="fileListUpload"
|
|
|
|
- accept=".xlsx"
|
|
|
|
- >
|
|
|
|
- <el-button class="btnClassGM" size="primary" type="primary">批量添加</el-button>
|
|
|
|
|
|
+ <el-upload class="upload-demo newCss" :http-request="handleChange" :on-remove="handleRemove" action="#"
|
|
|
|
+ :file-list="fileListUpload" accept=".xlsx">
|
|
|
|
+ <el-button size="primary" type="primary">批量添加</el-button>
|
|
<div slot="tip" class="el-upload__tip" style="margin-left:10px;">只能上传xlsx文件,且不超过500kb</div>
|
|
<div slot="tip" class="el-upload__tip" style="margin-left:10px;">只能上传xlsx文件,且不超过500kb</div>
|
|
</el-upload>
|
|
</el-upload>
|
|
<!-- <el-button @click="exportExcel">导出学生</el-button> -->
|
|
<!-- <el-button @click="exportExcel">导出学生</el-button> -->
|
|
@@ -47,45 +45,32 @@
|
|
</div>
|
|
</div>
|
|
<div class="pb_content_body" style="margin:0 auto">
|
|
<div class="pb_content_body" style="margin:0 auto">
|
|
<div class="student_table">
|
|
<div class="student_table">
|
|
- <el-table
|
|
|
|
- ref="table"
|
|
|
|
- :data="tableData"
|
|
|
|
- border
|
|
|
|
- :height="tableHeight"
|
|
|
|
- :fit="true"
|
|
|
|
- v-loading="isLoading"
|
|
|
|
- style="width: 100%"
|
|
|
|
- :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }"
|
|
|
|
- :row-class-name="tableRowClassName"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table ref="table" :data="tableData" border :height="tableHeight" :fit="true" v-loading="isLoading"
|
|
|
|
+ style="width: 100%" :header-cell-style="{ background: '#f1f1f1', fontSize: '17px' }"
|
|
|
|
+ :row-class-name="tableRowClassName">
|
|
<el-table-column label="姓名" min-width="10" align="center">
|
|
<el-table-column label="姓名" min-width="10" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div class="userImg">
|
|
<div class="userImg">
|
|
<div class="tx">
|
|
<div class="tx">
|
|
- <img
|
|
|
|
- :src="
|
|
|
|
- scope.row.headportrait != null
|
|
|
|
- ? scope.row.headportrait
|
|
|
|
- : tx
|
|
|
|
- "
|
|
|
|
- alt
|
|
|
|
- />
|
|
|
|
|
|
+ <img :src="
|
|
|
|
+ scope.row.headportrait != null
|
|
|
|
+ ? scope.row.headportrait
|
|
|
|
+ : tx
|
|
|
|
+ " alt />
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
width: 150px;
|
|
width: 150px;
|
|
text-align: left;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
- "
|
|
|
|
- >{{ scope.row.name }}</div>
|
|
|
|
|
|
+ ">{{ scope.row.name }}</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="账号" min-width="15" align="center">
|
|
|
|
|
|
+ <el-table-column label="账号" min-width="15" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <div>{{scope.row.un ? scope.row.un : "" }}</div>
|
|
|
|
|
|
+ <div>{{ scope.row.un ? scope.row.un : "" }}</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<!-- <el-table-column label="电话" min-width="15" align="center">
|
|
<!-- <el-table-column label="电话" min-width="15" align="center">
|
|
@@ -101,69 +86,47 @@
|
|
align="center"
|
|
align="center"
|
|
>
|
|
>
|
|
</el-table-column>-->
|
|
</el-table-column>-->
|
|
- <el-table-column
|
|
|
|
- prop="classname2"
|
|
|
|
- label="班级"
|
|
|
|
- min-width="15"
|
|
|
|
- align="center"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column prop="classname2" label="班级" min-width="15" align="center">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="操作" width="220px">
|
|
|
|
|
|
+ <el-table-column label="操作" width="320px">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <!-- <el-button
|
|
|
|
- class="de_button"
|
|
|
|
- type="primary"
|
|
|
|
- size="small"
|
|
|
|
- @click="deleteStudent(scope.row.userid, scope.row.state)"
|
|
|
|
- >删除</el-button
|
|
|
|
- >-->
|
|
|
|
- <div class="delete" @click="deleteStudent(scope.row.userid, scope.row.state)">
|
|
|
|
- <img src="../../../assets/remove.png" alt />
|
|
|
|
|
|
+ <div style="display:flex;align-items: center;">
|
|
|
|
+ <el-button type="primary" size="small"
|
|
|
|
+ @click="checkCourse(scope.row.userid)">学生项目</el-button>
|
|
|
|
+ <div class="delete" @click="deleteStudent(scope.row.userid, scope.row.state)">
|
|
|
|
+ <img src="../../../assets/remove.png" alt />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
<div class="student_page">
|
|
<div class="student_page">
|
|
- <el-pagination
|
|
|
|
- background
|
|
|
|
- layout="prev, pager, next"
|
|
|
|
- :page-size="10"
|
|
|
|
- :total="total"
|
|
|
|
- v-if="page"
|
|
|
|
- @current-change="handleCurrentChange"
|
|
|
|
- ></el-pagination>
|
|
|
|
|
|
+ <el-pagination background layout="prev, pager, next" :page-size="10" :total="total" v-if="page"
|
|
|
|
+ @current-change="handleCurrentChange"></el-pagination>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <el-dialog
|
|
|
|
- :visible.sync="dialogVisible"
|
|
|
|
- :append-to-body="true"
|
|
|
|
- width="700px"
|
|
|
|
- :before-close="handleClose"
|
|
|
|
- class="add_student"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-dialog :visible.sync="dialogVisible" :append-to-body="true" width="700px" :before-close="handleClose"
|
|
|
|
+ class="add_student">
|
|
<div slot="title" class="header-title">
|
|
<div slot="title" class="header-title">
|
|
- <div class="logoImg">
|
|
|
|
- <img src="../../../assets/logo.png" alt />
|
|
|
|
- </div>
|
|
|
|
<div class="title_add_student">添加学生</div>
|
|
<div class="title_add_student">添加学生</div>
|
|
</div>
|
|
</div>
|
|
- <el-form class="inputClass">
|
|
|
|
|
|
+ <el-form class="">
|
|
<el-form-item label="学生名称" :label-width="formLabelWidth">
|
|
<el-form-item label="学生名称" :label-width="formLabelWidth">
|
|
<span>
|
|
<span>
|
|
<el-input placeholder="请输入学生昵称" clearable v-model="sName" class="add_input"></el-input>
|
|
<el-input placeholder="请输入学生昵称" clearable v-model="sName" class="add_input"></el-input>
|
|
</span>
|
|
</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="学生学号" :label-width="formLabelWidth">
|
|
|
|
|
|
+ <!-- <el-form-item label="学生学号" :label-width="formLabelWidth">
|
|
<span>
|
|
<span>
|
|
<el-input placeholder="请输入学生学号" clearable v-model="sId" class="add_input"></el-input>
|
|
<el-input placeholder="请输入学生学号" clearable v-model="sId" class="add_input"></el-input>
|
|
</span>
|
|
</span>
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="学生手机号" :label-width="formLabelWidth">
|
|
|
|
|
|
+ </el-form-item> -->
|
|
|
|
+ <!-- <el-form-item label="学生手机号" :label-width="formLabelWidth">
|
|
<span>
|
|
<span>
|
|
<el-input placeholder="请输入学生手机号" clearable v-model="sPhone" class="add_input"></el-input>
|
|
<el-input placeholder="请输入学生手机号" clearable v-model="sPhone" class="add_input"></el-input>
|
|
</span>
|
|
</span>
|
|
- </el-form-item>
|
|
|
|
|
|
+ </el-form-item> -->
|
|
<el-form-item label="学生邮箱" :label-width="formLabelWidth">
|
|
<el-form-item label="学生邮箱" :label-width="formLabelWidth">
|
|
<span>
|
|
<span>
|
|
<el-input placeholder="请输入学生邮箱" clearable v-model="sMail" class="add_input"></el-input>
|
|
<el-input placeholder="请输入学生邮箱" clearable v-model="sMail" class="add_input"></el-input>
|
|
@@ -174,12 +137,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="班级" :label-width="formLabelWidth">
|
|
<el-form-item label="班级" :label-width="formLabelWidth">
|
|
<el-select v-model="sByClass" placeholder="请选择班级">
|
|
<el-select v-model="sByClass" placeholder="请选择班级">
|
|
- <el-option
|
|
|
|
- v-for="(item, index) in classJuri"
|
|
|
|
- :key="index"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id"
|
|
|
|
- ></el-option>
|
|
|
|
|
|
+ <el-option v-for="(item, index) in classJuri" :key="index" :label="item.name" :value="item.id"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<div style="text-align: center; color: #adb3b7">注:添加学生的账号密码为123456</div>
|
|
<div style="text-align: center; color: #adb3b7">注:添加学生的账号密码为123456</div>
|
|
@@ -242,6 +200,9 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ goTo(path) {
|
|
|
|
+ this.$router.push(path);
|
|
|
|
+ },
|
|
tableRowClassName({ row, rowIndex }) {
|
|
tableRowClassName({ row, rowIndex }) {
|
|
if ((rowIndex + 1) % 2 === 0) {
|
|
if ((rowIndex + 1) % 2 === 0) {
|
|
return "even_row";
|
|
return "even_row";
|
|
@@ -253,6 +214,15 @@ export default {
|
|
this.page = 1;
|
|
this.page = 1;
|
|
this.getStudent();
|
|
this.getStudent();
|
|
},
|
|
},
|
|
|
|
+ checkCourse(uid) {
|
|
|
|
+ this.$router.push('/studentCheckCourse?tuserid=' + uid +
|
|
|
|
+ "&userid=" +
|
|
|
|
+ this.userid +
|
|
|
|
+ "&oid=" +
|
|
|
|
+ this.oid +
|
|
|
|
+ "&org=" +
|
|
|
|
+ this.org)
|
|
|
|
+ },
|
|
addStudent() {
|
|
addStudent() {
|
|
this.dialogVisible = true;
|
|
this.dialogVisible = true;
|
|
(this.sName = ""), (this.sPhone = ""), (this.sByClass = "");
|
|
(this.sName = ""), (this.sPhone = ""), (this.sByClass = "");
|
|
@@ -265,7 +235,8 @@ export default {
|
|
getExcel(res) {
|
|
getExcel(res) {
|
|
require.ensure([], () => {
|
|
require.ensure([], () => {
|
|
const { export_json_to_excel } = require("../../../common/Export2Excel");
|
|
const { export_json_to_excel } = require("../../../common/Export2Excel");
|
|
- const tHeader = ["学号", "学生姓名", "学生邮箱", "学生手机号", "班级"];
|
|
|
|
|
|
+ // const tHeader = ["学号", "学生姓名", "学生邮箱", "学生手机号", "班级"];
|
|
|
|
+ const tHeader = ["学生姓名", "学生邮箱", "班级"];
|
|
const data = [];
|
|
const data = [];
|
|
export_json_to_excel(tHeader, data, "上传学生样例");
|
|
export_json_to_excel(tHeader, data, "上传学生样例");
|
|
});
|
|
});
|
|
@@ -294,9 +265,6 @@ export default {
|
|
if (this.sName === "") {
|
|
if (this.sName === "") {
|
|
this.$message.error("学生昵称不能为空");
|
|
this.$message.error("学生昵称不能为空");
|
|
return;
|
|
return;
|
|
- } else if (this.sByClass === "") {
|
|
|
|
- this.$message.error("请为学生选择班级");
|
|
|
|
- return;
|
|
|
|
} else if (this.sPhone != "" && !/^[1][3,4,5,7,8][0-9]{9}$/.test(this.sPhone)) {
|
|
} else if (this.sPhone != "" && !/^[1][3,4,5,7,8][0-9]{9}$/.test(this.sPhone)) {
|
|
this.$message.error("手机号格式不正确");
|
|
this.$message.error("手机号格式不正确");
|
|
return;
|
|
return;
|
|
@@ -305,6 +273,9 @@ export default {
|
|
) {
|
|
) {
|
|
this.$message.error("邮箱格式不正确");
|
|
this.$message.error("邮箱格式不正确");
|
|
return;
|
|
return;
|
|
|
|
+ } else if (this.sByClass === "") {
|
|
|
|
+ this.$message.error("请为学生选择班级");
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
|
|
|
|
// else if (this.sId === "") {
|
|
// else if (this.sId === "") {
|
|
@@ -322,36 +293,36 @@ export default {
|
|
// if (res.data[0].length > 0) {
|
|
// if (res.data[0].length > 0) {
|
|
// this.$message.error("此学生手机号码已被注册");
|
|
// this.$message.error("此学生手机号码已被注册");
|
|
// } else {
|
|
// } else {
|
|
- let params = { un: this.sMail };
|
|
|
|
- this.ajax
|
|
|
|
- .get(this.$store.state.api + "findMail", params)
|
|
|
|
- .then((res) => {
|
|
|
|
- if (res.data[0].length > 0) {
|
|
|
|
- this.$message.error("此学生邮箱已被注册");
|
|
|
|
- } else {
|
|
|
|
- // let params = { un: this.sId };
|
|
|
|
- // this.ajax
|
|
|
|
- // .get(this.$store.state.api + "findSid", params)
|
|
|
|
- // .then((res) => {
|
|
|
|
- // if (res.data[0].length > 0) {
|
|
|
|
- // this.$message.error("此学生学号已被注册");
|
|
|
|
- // } else {
|
|
|
|
- this.add_Student();
|
|
|
|
- // }
|
|
|
|
- // })
|
|
|
|
- // .catch((err) => {
|
|
|
|
- // console.error(err);
|
|
|
|
- // });
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- .catch((err) => {
|
|
|
|
- console.error(err);
|
|
|
|
- });
|
|
|
|
- // }
|
|
|
|
- // })
|
|
|
|
- // .catch((err) => {
|
|
|
|
- // console.error(err);
|
|
|
|
- // });
|
|
|
|
|
|
+ let params = { un: this.sMail };
|
|
|
|
+ this.ajax
|
|
|
|
+ .get(this.$store.state.api + "findMail", params)
|
|
|
|
+ .then((res) => {
|
|
|
|
+ if (res.data[0].length > 0) {
|
|
|
|
+ this.$message.error("此学生邮箱已被注册");
|
|
|
|
+ } else {
|
|
|
|
+ // let params = { un: this.sId };
|
|
|
|
+ // this.ajax
|
|
|
|
+ // .get(this.$store.state.api + "findSid", params)
|
|
|
|
+ // .then((res) => {
|
|
|
|
+ // if (res.data[0].length > 0) {
|
|
|
|
+ // this.$message.error("此学生学号已被注册");
|
|
|
|
+ // } else {
|
|
|
|
+ this.add_Student();
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // .catch((err) => {
|
|
|
|
+ // console.error(err);
|
|
|
|
+ // });
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ .catch((err) => {
|
|
|
|
+ console.error(err);
|
|
|
|
+ });
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // .catch((err) => {
|
|
|
|
+ // console.error(err);
|
|
|
|
+ // });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
add_Student() {
|
|
add_Student() {
|
|
@@ -475,7 +446,7 @@ export default {
|
|
if (this.fileTemp) {
|
|
if (this.fileTemp) {
|
|
if (
|
|
if (
|
|
this.fileTemp.type ==
|
|
this.fileTemp.type ==
|
|
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ||
|
|
|
|
|
|
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ||
|
|
this.fileTemp.type == "application/vnd.ms-excel"
|
|
this.fileTemp.type == "application/vnd.ms-excel"
|
|
) {
|
|
) {
|
|
this.importCount = 1;
|
|
this.importCount = 1;
|
|
@@ -616,7 +587,7 @@ export default {
|
|
} else if (item.sId === "") {
|
|
} else if (item.sId === "") {
|
|
_b = 1;
|
|
_b = 1;
|
|
_this.$message.error("学生学号不能为空,请重新上传");
|
|
_this.$message.error("学生学号不能为空,请重新上传");
|
|
- }else if (item.mail === "") {
|
|
|
|
|
|
+ } else if (item.mail === "") {
|
|
_b = 1;
|
|
_b = 1;
|
|
_this.$message.error("学生邮箱不能为空,请重新上传");
|
|
_this.$message.error("学生邮箱不能为空,请重新上传");
|
|
break;
|
|
break;
|
|
@@ -715,7 +686,7 @@ export default {
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
})
|
|
})
|
|
- .catch(() => {});
|
|
|
|
|
|
+ .catch(() => { });
|
|
},
|
|
},
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -729,69 +700,84 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
.pb_head > span:nth-child(2) {
|
|
.pb_head > span:nth-child(2) {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ margin-left: 10px;
|
|
|
|
+ /* color: #ab582f; */
|
|
|
|
+ color: #409eff;
|
|
|
|
+}
|
|
|
|
+/* .pb_head>span:nth-child(2) {
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
margin-left: 5px;
|
|
margin-left: 5px;
|
|
color: #828282;
|
|
color: #828282;
|
|
-}
|
|
|
|
|
|
+} */
|
|
|
|
+
|
|
.pb_head {
|
|
.pb_head {
|
|
margin: 0 !important;
|
|
margin: 0 !important;
|
|
width: 100% !important;
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
|
|
+
|
|
.student_page {
|
|
.student_page {
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.student_head {
|
|
.student_head {
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
padding-bottom: 10px;
|
|
padding-bottom: 10px;
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
+
|
|
.head_left {
|
|
.head_left {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
+
|
|
.head_right {
|
|
.head_right {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
align-items: baseline;
|
|
align-items: baseline;
|
|
}
|
|
}
|
|
-.student_input >>> .el-input__inner {
|
|
|
|
|
|
+
|
|
|
|
+.student_input>>>.el-input__inner {
|
|
height: 30px;
|
|
height: 30px;
|
|
width: 190px;
|
|
width: 190px;
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
padding: 0 10px;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.student_button {
|
|
.student_button {
|
|
color: #fff;
|
|
color: #fff;
|
|
- background: #8681b7;
|
|
|
|
- border-color: #8681b7;
|
|
|
|
|
|
+ background: #2268bc;
|
|
width: 60px;
|
|
width: 60px;
|
|
height: 30px;
|
|
height: 30px;
|
|
padding: 0 !important;
|
|
padding: 0 !important;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
-.head_right > button:nth-child(1) {
|
|
|
|
|
|
+
|
|
|
|
+.head_right>button:nth-child(1) {
|
|
color: #fff;
|
|
color: #fff;
|
|
- background: #8681b7;
|
|
|
|
- border-color: #8681b7;
|
|
|
|
|
|
+ background: #2268bc;
|
|
width: 70px;
|
|
width: 70px;
|
|
height: 30px;
|
|
height: 30px;
|
|
padding: 0 !important;
|
|
padding: 0 !important;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
-.head_right > button:nth-child(2) {
|
|
|
|
|
|
+
|
|
|
|
+.head_right>button:nth-child(2) {
|
|
color: #fff;
|
|
color: #fff;
|
|
- background: #8681b7;
|
|
|
|
|
|
+ background: #2268bc;
|
|
width: 70px;
|
|
width: 70px;
|
|
height: 30px;
|
|
height: 30px;
|
|
padding: 0 !important;
|
|
padding: 0 !important;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
-.head_right > div {
|
|
|
|
|
|
+
|
|
|
|
+.head_right>div {
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 40px;
|
|
line-height: 40px;
|
|
margin-left: 10px;
|
|
margin-left: 10px;
|
|
@@ -799,15 +785,20 @@ export default {
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
-.student_table >>> .el-table--border td {
|
|
|
|
|
|
+
|
|
|
|
+.student_table>>>.el-table--border td {
|
|
border-right: 0px !important;
|
|
border-right: 0px !important;
|
|
}
|
|
}
|
|
-.student_table >>> .el-table,.student_table >>> .el-table__body-wrapper{
|
|
|
|
|
|
+
|
|
|
|
+.student_table>>>.el-table,
|
|
|
|
+.student_table>>>.el-table__body-wrapper {
|
|
height: auto !important;
|
|
height: auto !important;
|
|
}
|
|
}
|
|
-.el-table >>> .even_row {
|
|
|
|
|
|
+
|
|
|
|
+.el-table>>>.even_row {
|
|
background-color: #f1f1f1 !important;
|
|
background-color: #f1f1f1 !important;
|
|
}
|
|
}
|
|
|
|
+
|
|
.de_button {
|
|
.de_button {
|
|
color: #fff;
|
|
color: #fff;
|
|
background: #5190fd;
|
|
background: #5190fd;
|
|
@@ -817,59 +808,74 @@ export default {
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 25px;
|
|
line-height: 25px;
|
|
}
|
|
}
|
|
-.add_student >>> .el-dialog__header {
|
|
|
|
- padding: 20px 20px 10px;
|
|
|
|
|
|
+
|
|
|
|
+.add_student>>>.el-dialog__header {
|
|
|
|
+ padding: 20px 20px 20px;
|
|
text-align: center;
|
|
text-align: center;
|
|
background: #454545;
|
|
background: #454545;
|
|
}
|
|
}
|
|
-.add_student >>> .el-dialog__title {
|
|
|
|
|
|
+
|
|
|
|
+.add_student>>>.el-dialog__title {
|
|
font-size: 14px !important;
|
|
font-size: 14px !important;
|
|
color: #fff !important;
|
|
color: #fff !important;
|
|
}
|
|
}
|
|
-.add_student >>> .el-dialog__headerbtn {
|
|
|
|
|
|
+
|
|
|
|
+.add_student>>>.el-dialog__headerbtn {
|
|
font-size: 20px !important;
|
|
font-size: 20px !important;
|
|
}
|
|
}
|
|
-.add_student >>> .el-form-item__label {
|
|
|
|
|
|
+
|
|
|
|
+.add_student>>>.el-form-item__label {
|
|
margin-left: 65px;
|
|
margin-left: 65px;
|
|
}
|
|
}
|
|
-.add_student >>> .el-form-item {
|
|
|
|
|
|
+
|
|
|
|
+.add_student>>>.el-form-item {
|
|
display: flex;
|
|
display: flex;
|
|
}
|
|
}
|
|
-.add_student >>> .el-form-item__content {
|
|
|
|
|
|
+
|
|
|
|
+.add_student>>>.el-form-item__content {
|
|
margin: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
|
|
+
|
|
.add_input {
|
|
.add_input {
|
|
width: 365px;
|
|
width: 365px;
|
|
}
|
|
}
|
|
-.add_student >>> .el-dialog__footer {
|
|
|
|
|
|
+
|
|
|
|
+.add_student>>>.el-dialog__footer {
|
|
text-align: center !important;
|
|
text-align: center !important;
|
|
}
|
|
}
|
|
|
|
+
|
|
.right {
|
|
.right {
|
|
width: 250px;
|
|
width: 250px;
|
|
color: #fff;
|
|
color: #fff;
|
|
- background: #8681b7;
|
|
|
|
|
|
+ background: #0e72e6;
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.header-title {
|
|
.header-title {
|
|
display: flex;
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
+
|
|
.logoImg {
|
|
.logoImg {
|
|
width: 30px;
|
|
width: 30px;
|
|
}
|
|
}
|
|
-.logoImg > img {
|
|
|
|
|
|
+
|
|
|
|
+.logoImg>img {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
+
|
|
.title_add_student {
|
|
.title_add_student {
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
color: #fff;
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
+
|
|
.upload-demo {
|
|
.upload-demo {
|
|
line-height: 0px !important;
|
|
line-height: 0px !important;
|
|
}
|
|
}
|
|
-.upload-demo >>> .el-button {
|
|
|
|
|
|
+
|
|
|
|
+.upload-demo>>>.el-button {
|
|
color: #fff;
|
|
color: #fff;
|
|
- background: #8681b7;
|
|
|
|
|
|
+ background: #2268bc;
|
|
width: 70px;
|
|
width: 70px;
|
|
height: 30px;
|
|
height: 30px;
|
|
padding: 0 !important;
|
|
padding: 0 !important;
|
|
@@ -891,11 +897,13 @@ export default {
|
|
|
|
|
|
.delete {
|
|
.delete {
|
|
width: 25px;
|
|
width: 25px;
|
|
|
|
+ height: 25px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
|
+ margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
-.tx > img,
|
|
|
|
-.delete > img {
|
|
|
|
|
|
+.tx>img,
|
|
|
|
+.delete>img {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
@@ -907,48 +915,15 @@ export default {
|
|
align-items: baseline;
|
|
align-items: baseline;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
-.student_page
|
|
|
|
- >>> .el-pagination.is-background
|
|
|
|
- .el-pager
|
|
|
|
- li:not(.disabled).active {
|
|
|
|
- background-color: #5c549f;
|
|
|
|
- color: #fff !important;
|
|
|
|
-}
|
|
|
|
-.student_page
|
|
|
|
- >>> .el-pagination.is-background
|
|
|
|
- .el-pager
|
|
|
|
- li:not(.disabled):hover {
|
|
|
|
- color: #5c549f;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-.el-select-dropdown__item.selected {
|
|
|
|
- color: #5c549f;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.inputClass.is-active >>> .el-input__inner,
|
|
|
|
-.inputClass >>> .el-input__inner:focus {
|
|
|
|
- border-color: #5c549f;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.inputClass >>> .el-select .el-input.is-focus .el-input__inner {
|
|
|
|
- border-color: #5c549f;
|
|
|
|
-}
|
|
|
|
-.inputClass >>> .el-select .el-input__inner:focus {
|
|
|
|
- border-color: #5c549f;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.student_input.el-input{
|
|
|
|
- width: auto;
|
|
|
|
|
|
+.student_input.el-input {
|
|
|
|
+ width: auto;
|
|
}
|
|
}
|
|
|
|
|
|
-.student_input{
|
|
|
|
|
|
+.student_input {
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
-.student_input >>> .el-input__icon{
|
|
|
|
|
|
+.student_input>>>.el-input__icon {
|
|
line-height: unset;
|
|
line-height: unset;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|