|
@@ -307,7 +307,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 添加兴趣班弹框 -->
|
|
<!-- 添加兴趣班弹框 -->
|
|
|
- <el-dialog :visible.sync="addInterestClaVisible" height="400px" width="600px">
|
|
|
|
|
|
|
+ <el-dialog :visible.sync="addInterestClaVisible" height="400px" width="442px">
|
|
|
<template slot="title">
|
|
<template slot="title">
|
|
|
<div class="dia_title_box">
|
|
<div class="dia_title_box">
|
|
|
<span>添加兴趣班</span>
|
|
<span>添加兴趣班</span>
|
|
@@ -322,9 +322,9 @@
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div slot="footer" class="dialog-footer">
|
|
|
|
|
- <el-button @click="addInterestClaVisible = false">取消</el-button>
|
|
|
|
|
- <el-button type="primary" @click="addInterestClaConfirm">确定</el-button>
|
|
|
|
|
|
|
+ <div slot="footer" class="dialog-footer" style="display: flex;justify-content: flex-end;gap: 10px;">
|
|
|
|
|
+ <div @click="addInterestClaVisible = false">取消</div>
|
|
|
|
|
+ <div @click="addInterestClaConfirm" style="background: #3681FC; color: #fff;height: 32px;">确认</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
|
@@ -450,8 +450,16 @@
|
|
|
<div v-if="deltypy == 8">重置密码成功! </div>
|
|
<div v-if="deltypy == 8">重置密码成功! </div>
|
|
|
<div>
|
|
<div>
|
|
|
<span>默认密码为:Coco1234</span>
|
|
<span>默认密码为:Coco1234</span>
|
|
|
- <img @click="copyText" style="width: 20px;cursor: pointer;scale: 1.2;" src="../../../../assets/stuImg/copy2.svg" alt="">
|
|
|
|
|
|
|
+ <el-tooltip class="item" effect="dark" content="复制" placement="top">
|
|
|
|
|
+ <img @click="copyText"
|
|
|
|
|
+ class="copyMg"
|
|
|
|
|
+ :src="deleteBtnHovered ? copy1 : copy"
|
|
|
|
|
+ @mouseover="deleteBtnHovered = true"
|
|
|
|
|
+ @mouseout="deleteBtnHovered = false"
|
|
|
|
|
+ alt="">
|
|
|
|
|
+ </el-tooltip>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -510,6 +518,9 @@ export default {
|
|
|
dell:require('../../../../assets/stuImg/dell.svg'),
|
|
dell:require('../../../../assets/stuImg/dell.svg'),
|
|
|
delh:require('../../../../assets/stuImg/delh.svg'),
|
|
delh:require('../../../../assets/stuImg/delh.svg'),
|
|
|
|
|
|
|
|
|
|
+ copy1:require('../../../../assets/stuImg/copymsg1.svg'),
|
|
|
|
|
+ copy:require('../../../../assets/stuImg/copymsg.svg'),
|
|
|
|
|
+
|
|
|
popBoxdia:false,
|
|
popBoxdia:false,
|
|
|
insort:0,
|
|
insort:0,
|
|
|
|
|
|
|
@@ -1053,6 +1064,8 @@ export default {
|
|
|
// this.getAllStudent();
|
|
// this.getAllStudent();
|
|
|
this.delStuinfo = {};
|
|
this.delStuinfo = {};
|
|
|
this.popBoxdia = false;
|
|
this.popBoxdia = false;
|
|
|
|
|
+ this.$emit("getGrade");
|
|
|
|
|
+
|
|
|
this.refresh()
|
|
this.refresh()
|
|
|
this.$message({
|
|
this.$message({
|
|
|
message: "删除成功",
|
|
message: "删除成功",
|
|
@@ -1140,7 +1153,7 @@ export default {
|
|
|
// 编辑兴趣班
|
|
// 编辑兴趣班
|
|
|
editInterestCla(row) {
|
|
editInterestCla(row) {
|
|
|
if (row.createuserid != this.userid) {
|
|
if (row.createuserid != this.userid) {
|
|
|
- return this.$message.error('仅限创作者编辑')
|
|
|
|
|
|
|
+ return this.$message.error('仅限创建者编辑')
|
|
|
}
|
|
}
|
|
|
this.$refs.editInterstcla.InterestClaEditvisible = true;
|
|
this.$refs.editInterstcla.InterestClaEditvisible = true;
|
|
|
this.InterestClaEditInfo = JSON.parse(JSON.stringify(row));
|
|
this.InterestClaEditInfo = JSON.parse(JSON.stringify(row));
|
|
@@ -1897,4 +1910,22 @@ export default {
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
color: #000000;
|
|
color: #000000;
|
|
|
}
|
|
}
|
|
|
|
|
+.copyMg{
|
|
|
|
|
+ width: 22px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ padding: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+.copyMg:hover{
|
|
|
|
|
+ background: #E8F3FF;
|
|
|
|
|
+ border-radius: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+.dialog-footer div{
|
|
|
|
|
+ /* width: 100px; */
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ padding: 8px 14px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ border-radius: 5px;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|