|
|
@@ -3,13 +3,13 @@
|
|
|
<div class="topbox">
|
|
|
<template>
|
|
|
<div class="topbox_area" v-if="boxType == 0">
|
|
|
+ <span>学生列表</span>
|
|
|
<span v-if="!ClaEditvisible">{{ activeinfo.name }}</span>
|
|
|
<input v-if="ClaEditvisible" ref="claEditInput" class="claInp" type="text"
|
|
|
placeholder="请输入班级名称..."
|
|
|
v-model.trim="ClaEditInfo.name"
|
|
|
@blur="confirmClaEdit"
|
|
|
@keyup.enter="confirmClaEdit">
|
|
|
- <span>学生列表</span>
|
|
|
<el-tooltip content="编辑" placement="top">
|
|
|
<img
|
|
|
:src="editBtnHovered || ClaEditvisible ? eidl : eidh"
|
|
|
@@ -772,7 +772,7 @@ export default {
|
|
|
editCla(row) {
|
|
|
this.ClaEditvisible = !this.ClaEditvisible;
|
|
|
this.ClaEditInfo = JSON.parse(JSON.stringify(row));
|
|
|
- this.ClaEditInfo.name = '';
|
|
|
+ // this.ClaEditInfo.name = '';
|
|
|
if (this.ClaEditvisible) {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.claEditInput.focus();
|
|
|
@@ -1813,6 +1813,16 @@ export default {
|
|
|
flex-direction: column;
|
|
|
background: #fff;
|
|
|
}
|
|
|
+.tabList >>> .el-table{
|
|
|
+ background: #E7EAF0;
|
|
|
+}
|
|
|
+.tabList >>> .el-table__body-wrapper{
|
|
|
+ border-radius: 8px;
|
|
|
+}
|
|
|
+/* 针对整个表格添加圆角 */
|
|
|
+/* .tabList >>> .el-table__body tbody tr:first-child td:first-child {
|
|
|
+ border-radius: 8px 8px 0 0;
|
|
|
+} */
|
|
|
.tableList >>> .has-gutter .gutter {
|
|
|
background: #e7eaf0 !important;
|
|
|
}
|