Selaa lähdekoodia

调整认证审核界面

sunjh 6 vuotta sitten
vanhempi
commit
141e34fe34
2 muutettua tiedostoa jossa 21 lisäystä ja 7 poistoa
  1. 1 1
      src/components/Home.vue
  2. 20 6
      src/components/authen/AuthenticationManage.vue

+ 1 - 1
src/components/Home.vue

@@ -239,12 +239,12 @@ export default {
       console.log('loadData')
       Http.get(Apis.PAGE.HOME_PAGE).then((res) => {
         console.log(res)
+        this.hideLoading()
         this.hotTaskList = res.hotTaskList
         this.institutionRank = res.agencyRank
         this.personRank = res.userRank
         this.imgList = res.imgList
         this.systemStatistics = res.systemStatistics
-        this.hideLoading()
       }).catch((error) => {
         this.hideLoading()
         notify('error', '主页加载失败:' + error.data)

+ 20 - 6
src/components/authen/AuthenticationManage.vue

@@ -56,10 +56,14 @@
           </template>
         </el-table-column>
       </el-table>
-      <el-dialog title="认证详情" :visible.sync="showDialog" center width="30%">
-        <el-form :model="authInfoDetail">
+      <el-dialog title="认证详情" :visible.sync="showDialog" center width="40%">
+        <el-form :model="authInfoDetail" label-width="120px" label-position="right">
           <el-form-item label="类型:">
-            <span>{{authInfoDetail.type}}</span>
+            <span>
+              <el-tag v-if="authInfoDetail.type=='personal'" type="success">个人</el-tag>
+              <el-tag v-if="authInfoDetail.type=='agency'">机构</el-tag>
+              <el-tag v-if="authInfoDetail.type=='enterprise'" type="warning">企业</el-tag>
+            </span>
           </el-form-item>
           <el-form-item label="姓名:" v-if="authInfoDetail.type == 'personal'">
             <span>{{authInfoDetail.realName}}</span>
@@ -68,7 +72,12 @@
             <span>{{authInfoDetail.IDCard}}</span>
           </el-form-item>
           <el-form-item label="身份证照:" v-if="authInfoDetail.type == 'personal'">
-            <span>{{authInfoDetail.IDCardPhoto}}</span>
+            <span>
+              <el-image
+                style="width: 100px;"
+                :src="authInfoDetail.IDCardPhoto"
+                fit="scale-down"></el-image>
+            </span>
           </el-form-item>
           <el-form-item label="银行账号:">
             <span>{{authInfoDetail.bankAccount}}</span>
@@ -77,7 +86,7 @@
             <span>{{authInfoDetail.address}}</span>
           </el-form-item>
           <el-form-item label="申请时间:">
-            <span>{{authInfoDetail.applyTime}}</span>
+            <span>{{reformTime(new Date(authInfoDetail.applyTime))}}</span>
           </el-form-item>
 
           <el-form-item label="企业名称:" v-if="authInfoDetail.type == 'enterprise'">
@@ -87,7 +96,12 @@
             <span>{{authInfoDetail.legalPersonName}}</span>
           </el-form-item>
           <el-form-item label="营业执照:" v-if="authInfoDetail.type == 'enterprise'">
-            <span>{{authInfoDetail.businessLicensePhoto}}</span>
+            <span>
+              <el-image
+                style="width: 100px;"
+                :src="authInfoDetail.businessLicensePhoto"
+                fit="scale-down"></el-image>
+            </span>
           </el-form-item>
           <el-form-item label="统一社会信用代码:" v-if="authInfoDetail.type == 'enterprise'">
             <span>{{authInfoDetail.unifiedSocialCreditCode}}</span>