소스 검색

党课学习 - 点击表头进行日期手动排序

Wang Zi Wen 2 년 전
부모
커밋
d67c753f78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-ui/src/views/branch/xxyd/study/index.vue

+ 1 - 1
ruoyi-ui/src/views/branch/xxyd/study/index.vue

@@ -92,7 +92,7 @@
     <el-table v-loading="loading" :data="studyList" @selection-change="handleSelectionChange" :height="clientHeight"
               border>
       <el-table-column type="selection" width="55" align="center"/>
-      <el-table-column label="时间" align="center" prop="studyTime" width="100">
+      <el-table-column label="时间" align="center" prop="studyTime" width="100" sortable>
         <template slot-scope="scope">
           <span>{{ parseTime(scope.row.studyTime, '{y}-{m}-{d}') }}</span>
         </template>