zhangdan 4 years ago
parent
commit
f45402b98d
2 changed files with 13 additions and 4 deletions
  1. 1 1
      src/views/userInfo/userDetails.vue
  2. 12 3
      src/views/userInfo/userManageList.vue

+ 1 - 1
src/views/userInfo/userDetails.vue

@@ -24,7 +24,7 @@
       </a-col>
       </a-col>
       <a-col :span="24" class="item-cont">
       <a-col :span="24" class="item-cont">
         <p class="item-label">累计乐豆:</p>
         <p class="item-label">累计乐豆:</p>
-        <p class="item-main">{{ page.totalCarbon ? page.totalCarbon :0 }}</p>
+        <p class="item-main">{{ page.totalGold ? page.totalGold :0 }}</p>
       </a-col>
       </a-col>
       <a-col :span="24" class="item-cont">
       <a-col :span="24" class="item-cont">
         <p class="item-label">账户状态:</p>
         <p class="item-label">账户状态:</p>

+ 12 - 3
src/views/userInfo/userManageList.vue

@@ -141,19 +141,28 @@ export default {
         title: '注册时间',
         title: '注册时间',
         dataIndex: 'registerTime',
         dataIndex: 'registerTime',
         width: 200,
         width: 200,
-        align: 'center'
+        align: 'center',
+        customRender: (text) => {
+		  return text || '--'
+        }
       },
       },
       {
       {
         title: '最后登录时间',
         title: '最后登录时间',
         dataIndex: 'lastLoginTime',
         dataIndex: 'lastLoginTime',
         width: 200,
         width: 200,
-        align: 'center'
+        align: 'center',
+        customRender: (text) => {
+		  return text || '--'
+        }
       },
       },
       {
       {
         title: '最后投递时间',
         title: '最后投递时间',
         dataIndex: 'lastDeliveryTime',
         dataIndex: 'lastDeliveryTime',
         width: 200,
         width: 200,
-        align: 'center'
+        align: 'center',
+        customRender: (text) => {
+		  return text || '--'
+        }
       },
       },
       {
       {
         title: '状态',
         title: '状态',