Kaynağa Gözat

用户列表字段顺序调整

marxjaw 4 ay önce
ebeveyn
işleme
04cab620e4
1 değiştirilmiş dosya ile 8 ekleme ve 8 silme
  1. 8 8
      src/views/main/userModule/userList.vue

+ 8 - 8
src/views/main/userModule/userList.vue

@@ -14,6 +14,14 @@
         </el-table-column>
         <el-table-column prop="userId" label="用户ID" width="100" fixed="left" />
         <el-table-column prop="nickName" label="用户昵称" fixed="left" width="90" />
+        <el-table-column prop="todayVideo" label="今日视频播放数" width="130" />
+        <el-table-column prop="totalVideo" label="视频播放总数" width="110" />
+        <el-table-column prop="totalIncome" label="用户贡献(当日/总共)" sortable width="200">
+          <template #default="scope">
+            {{ scope.row.todayIncome === 0 ? '0.00' : scope.row.todayIncome ?? '0.00'}} /
+            {{ scope.row.totalIncome === 0 ? '0.00' : scope.row.totalIncome ?? '0.00' }}
+          </template>
+        </el-table-column>
         <el-table-column prop="userStatus" label="用户状态" width="90">
           <template #default="scope">
             {{ getDictionaryName('user_status',Number(scope.row.userStatus)) }}
@@ -37,14 +45,6 @@
             {{ convertUTCToBeijing(scope.row.lastLoginTime) }}
           </template>
         </el-table-column>
-        <el-table-column prop="todayVideo" label="今日视频播放数" width="130" />
-        <el-table-column prop="totalVideo" label="视频播放总数" width="110" />
-        <el-table-column prop="totalIncome" label="用户贡献(当日/总共)" sortable width="200">
-          <template #default="scope">
-            {{ scope.row.todayIncome === 0 ? '0.00' : scope.row.todayIncome ?? '0.00'}} / 
-            {{ scope.row.totalIncome === 0 ? '0.00' : scope.row.totalIncome ?? '0.00' }}
-          </template>
-        </el-table-column>
         <el-table-column prop="loginDays" label="登录天数" width="90" />
         <el-table-column prop="pointsBalance" label="积分余额" width="90" />
         <el-table-column prop="pointsTotal" label="积分总额" width="90" />