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

commit 账户明细 还有问题需要找手机端确认

jieyu преди 4 години
родител
ревизия
e2528906b9
променени са 2 файла, в които са добавени 10 реда и са изтрити 9 реда
  1. 1 1
      src/views/information/custom/compoments/add/index.vue
  2. 9 8
      src/views/information/custom/compoments/detail/index.vue

+ 1 - 1
src/views/information/custom/compoments/add/index.vue

@@ -312,7 +312,7 @@ export default defineComponent({
                     userid: 1, // 写死 必填
                     memberareaid: getUserId(),
                     userinfotype: Number(param.userinfotype),
-                    username: param.customername,
+                    username: param.userinfotype === '2' ? param.customername : param.username,
                     userstate: OperateType, // 1: 保存草稿 2: 新增
 
                     // 以上必填

+ 9 - 8
src/views/information/custom/compoments/detail/index.vue

@@ -27,8 +27,9 @@
                        v-if="selectedRow.userinfotype === '2'">
             <span class="white">{{ formatValue(selectedRow.customername)}}</span>
           </a-form-item>
-          <a-form-item label="姓名">
-            <span class="white">{{ formatValue(selectedRow.customername)}}</span>
+          <a-form-item label="姓名"
+                       v-if="selectedRow.userinfotype !== '2'">
+            <span class="white">{{ formatValue(selectedRow.username)}}</span>
           </a-form-item>
         </a-col>
       </a-row>
@@ -114,36 +115,36 @@
         <a-row :gutter="24">
           <a-col :span="12">
             <a-form-item label="身份证号码">
-              <span class="white">{{ formatValue(selectedRow.nickname) }}</span>
+              <span class="white">{{ formatValue(selectedRow.cardnum) }}</span>
             </a-form-item>
           </a-col>
           <a-col :span="12">
             <a-form-item label="手机号码">
-              <span class="white">{{ getCardTypeEnumItemName(selectedRow.cardtype) }}</span>
+              <span class="white">{{ formatValue(selectedRow.mobilephone) }}</span>
             </a-form-item>
           </a-col>
         </a-row>
         <a-row :gutter="24">
           <a-col :span="12">
             <a-form-item label="身份证正面照">
-              <span class="white">{{ formatValue(selectedRow.nickname) }}</span>
+              <span class="white">{{ formatValue(selectedRow.cardfrontphotourl) }}</span>
             </a-form-item>
           </a-col>
           <a-col :span="12">
             <a-form-item label="邮箱">
-              <span class="white">{{ getCardTypeEnumItemName(selectedRow.cardtype) }}</span>
+              <span class="white">{{ formatValue(selectedRow.email) }}</span>
             </a-form-item>
           </a-col>
         </a-row>
         <a-row :gutter="24">
           <a-col :span="12">
             <a-form-item label="身份证反面照">
-              <span class="white">{{ formatValue(selectedRow.nickname) }}</span>
+              <span class="white">{{ formatValue(selectedRow.cardbackphotourl) }}</span>
             </a-form-item>
           </a-col>
           <a-col :span="12">
             <a-form-item label="联系电话">
-              <span class="white">{{ getCardTypeEnumItemName(selectedRow.cardtype) }}</span>
+              <span class="white">{{ formatValue(selectedRow.telphone) }}</span>
             </a-form-item>
           </a-col>
         </a-row>