lex-xin 8 달 전
부모
커밋
5abcf81e86
3개의 변경된 파일37개의 추가작업 그리고 34개의 파일을 삭제
  1. 16 16
      src/styles/index.less
  2. 5 2
      src/views/studentList/components/evaluationRecords.tsx
  3. 16 16
      src/views/studentList/index.module.less

+ 16 - 16
src/styles/index.less

@@ -202,26 +202,26 @@ body>.n-drawer-container-relative {
 }
 
 .n-data-table-th__title-wrapper {
-  &::after {
-    content: '';
-    width: 1px;
-    height: 22px;
-    background: #ebebeb;
-
-    &:nth-last-child(1) {
-      display: none;
-    }
-  }
+  // &::after {
+  //   content: '';
+  //   width: 1px;
+  //   height: 22px;
+  //   background: #ebebeb;
+
+  //   &:nth-last-child(1) {
+  //     display: none;
+  //   }
+  // }
 }
 
 .n-data-table-th--last {
   .n-data-table-th__title-wrapper {
-    &::after {
-      content: '';
-      width: 0px;
-      height: 22px;
-      background: #ebebeb;
-    }
+    // &::after {
+    //   content: '';
+    //   width: 0px;
+    //   height: 22px;
+    //   background: #ebebeb;
+    // }
   }
 }
 

+ 5 - 2
src/views/studentList/components/evaluationRecords.tsx

@@ -200,7 +200,7 @@ export default defineComponent({
       sorter: true,
       sortOrder: false as any,
       render(row: any) {
-        return row.rhythmFlag ? '--' : row.intonation
+        return row.rhythmFlag ? '--' : row.integrity
       }
     });
 
@@ -282,7 +282,7 @@ export default defineComponent({
               <div class={styles.minWidth}>发布作品</div>
             );
           },
-          key: 'integrity',
+          key: 'userMusicFlag',
           render(row: any) {
             return <span>{row.userMusicFlag ? '是' : '否'}</span>;
           }
@@ -376,6 +376,9 @@ export default defineComponent({
         if (sroter.columnKey == 'cadence') {
           cadenceRef.sortOrder = sroter.order
         }
+        if(sroter.columnKey === 'integrity') {
+          integrityRef.sortOrder = sroter.order
+        }
         if (sroter.columnKey == 'userMusicTime') {
           userMusicTimeRef.sortOrder = sroter.order
         }

+ 16 - 16
src/views/studentList/index.module.less

@@ -289,26 +289,26 @@
     }
 
     .n-data-table-th__title-wrapper {
-      &::after {
-        content: '';
-        width: 1px;
-        height: 22px;
-        background: #ebebeb;
-
-        &:nth-last-child(1) {
-          display: none;
-        }
-      }
+      // &::after {
+      //   content: '';
+      //   width: 1px;
+      //   height: 22px;
+      //   background: #ebebeb;
+
+      //   &:nth-last-child(1) {
+      //     display: none;
+      //   }
+      // }
     }
 
     .n-data-table-th--last {
       .n-data-table-th__title-wrapper {
-        &::after {
-          content: '';
-          width: 0px;
-          height: 22px;
-          background: #ebebeb;
-        }
+        // &::after {
+        //   content: '';
+        //   width: 0px;
+        //   height: 22px;
+        //   background: #ebebeb;
+        // }
       }
     }