Преглед на файлове

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

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>