|
@@ -84,7 +84,9 @@
|
|
|
@selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection"
|
|
|
:selectable='checkboxT'
|
|
|
- width="55">
|
|
|
+ width="55"
|
|
|
+ v-if='this.majorStatus <= 2'>
|
|
|
+
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="city"
|
|
|
align="center"
|
|
@@ -288,6 +290,9 @@ export default {
|
|
|
this.activeMarjorId = id;
|
|
|
this.actionTearm = name;
|
|
|
this.majorStatus = status;
|
|
|
+ if (status == 3 || status == 4) {
|
|
|
+ this.disabled = false;
|
|
|
+ }
|
|
|
this.majorId = id;
|
|
|
// 发请求 获取学生列表数据
|
|
|
this.getstudentList();
|
|
@@ -350,7 +355,6 @@ export default {
|
|
|
this.subId = val.split('-')[0];
|
|
|
this.crouseId = val.split('-')[1];
|
|
|
}
|
|
|
- console.log(this.crouseId)
|
|
|
},
|
|
|
// 确认修改
|
|
|
submitRe () {
|
|
@@ -378,7 +382,7 @@ export default {
|
|
|
this.$message.success("乐团报名成功请尽快缴费");
|
|
|
setTimeout(() => {
|
|
|
// window.location.reload();
|
|
|
- this.majorStatus = 2;
|
|
|
+ // this.majorStatus = 2;
|
|
|
this.getstudentList();
|
|
|
}, 1000);
|
|
|
}
|
|
@@ -409,7 +413,8 @@ export default {
|
|
|
|
|
|
},
|
|
|
checkboxT (row) {
|
|
|
- if (row.status == 1) {
|
|
|
+ // console.log(this.majorStatus > 2);
|
|
|
+ if (row.status == 1 || this.majorStatus > 2) {
|
|
|
return false;
|
|
|
} else {
|
|
|
return true;
|