Browse Source

2024.12.18 - 人脉银行会员列表补充字段

GuYun-D 3 months ago
parent
commit
53e8421ad4
1 changed files with 14 additions and 4 deletions
  1. 14 4
      src/views/rm-bank/club/components/DetailModal.vue

+ 14 - 4
src/views/rm-bank/club/components/DetailModal.vue

@@ -28,17 +28,27 @@
       </el-descriptions>
 
       <!-- 会员信息 -->
-      <el-descriptions style="margin-top: 20px" title="俱乐部信息" :column="1" border>
+      <el-descriptions style="margin-top: 20px" title="会员信息" :column="1" border>
         <el-descriptions-item>
           <el-table height="250" :data="members" :style="{ width: '100%' }">
             <el-table-column align="center" type="index" label="#"></el-table-column>
-            <el-table-column prop="avatar" label="会员头像">
+            <el-table-column align="center" prop="avatar" label="会员头像">
               <template slot-scope="scope">
                 <el-image :src="scope.row.avatar" style="width: 40px; height: 40px; border-radius: 50%" :preview-src-list="[scope.row.avatar]" fit="cover" />
               </template>
             </el-table-column>
-            <el-table-column prop="nickName" label="会员昵称" />
-            <el-table-column prop="mobile" label="会员手机号" />
+            <el-table-column align="center" prop="nickName" label="会员昵称" />
+            <el-table-column align="center" prop="mobile" label="会员手机号" />
+            <el-table-column align="center" prop="state" label="状态">
+              <template slot-scope="scope">
+                <el-tag v-if="scope.row.state === 1" size="mini" type="info">已申请</el-tag>
+                <el-tag v-if="scope.row.state === 2" size="mini" type="success">已通过</el-tag>
+                <el-tag v-if="scope.row.state === 3" size="mini" type="danger">已拒绝</el-tag>
+                <el-tag v-if="scope.row.state === 4" size="mini">冻结</el-tag>
+              </template>
+            </el-table-column>
+            <el-table-column align="center" prop="creditScore" label="人脉积分" />
+            <el-table-column align="center" prop="createTime" label="加入时间" width="150" />
             <el-table-column width="100" label="操作" align="center">
               <template slot-scope="scope">
                 <div class="btnList">