|
@@ -261,7 +261,7 @@
|
|
|
/>
|
|
|
<!-- 修改班级名称 -->
|
|
|
<el-dialog
|
|
|
- title="班级名称调整"
|
|
|
+ :title="!resetName?'班级名称调整':'备注'"
|
|
|
width="400px"
|
|
|
:visible.sync="classNameVisible"
|
|
|
v-if="classNameVisible"
|
|
@@ -270,6 +270,7 @@
|
|
|
:classGroupId="activeClass"
|
|
|
:detail="classDetail"
|
|
|
@submited="submitedResetClassName"
|
|
|
+ :resetName="resetName"
|
|
|
@close="classNameVisible = false"
|
|
|
/>
|
|
|
</el-dialog>
|
|
@@ -475,7 +476,7 @@ export default {
|
|
|
},
|
|
|
resetClassName(row,flag) {
|
|
|
this.classDetail = row;
|
|
|
- this.resetName = flag;
|
|
|
+ this.resetName = !flag;
|
|
|
this.classNameVisible = true;
|
|
|
},
|
|
|
async submitedResetClassName(data) {
|