소스 검색

08/28 15:25

mo 5 년 전
부모
커밋
d6105b7b66
5개의 변경된 파일9개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/css/app.71d041f9.css
  3. 0 0
      dist/static/js/app.c2d34c3f.js
  4. 0 0
      dist/static/js/app.f92168d9.js
  5. 9 4
      src/views/dashboard/index.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/app.71d041f9.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.c2d34c3f.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.f92168d9.js


+ 9 - 4
src/views/dashboard/index.vue

@@ -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;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.