huangbin 4 년 전
부모
커밋
a6c5c407d0
2개의 변경된 파일9개의 추가작업 그리고 5개의 파일을 삭제
  1. 6 3
      src/services/go/ermcp/customInfo/interface.ts
  2. 3 2
      src/views/information/custom/compoments/common-detail/index.vue

+ 6 - 3
src/services/go/ermcp/customInfo/interface.ts

@@ -28,6 +28,9 @@ export interface QueryCustomInfoType {
     userid: number;//用户ID
     userinfotype: number;//客户类型
     username: string;
+    provincename: string;
+    cityname: string;
+    districtname: string;
 }
 
 // 新增用户申请
@@ -193,7 +196,7 @@ export interface ModifyUserInfoApplyReq {
     signpdfurl?: string;//签约pdf文件
     subbranch?: string;//开户支行
     telphone?: string;//联系电话(加密存储)
-    taxpayernum? : string;
+    taxpayernum?: string;
 
     usertype?: number;//用户类型 - 1:投资者 2:机构
     videourl?: string;//视频地址
@@ -203,14 +206,14 @@ export interface ModifyUserInfoApplyReq {
 /**
  * 删除客户申请
  */
-export interface DeleteUserReq{
+export interface DeleteUserReq {
     userID: number
 }
 
 /**
  * 客户账户状态更新
  */
-export interface UpdateUserAccountReq{
+export interface UpdateUserAccountReq {
     userID: number
     accountStatus: number  // 账户状态 - 4:正常 6:注销(停用)
 }

+ 3 - 2
src/views/information/custom/compoments/common-detail/index.vue

@@ -32,6 +32,7 @@ export default defineComponent({
         },
     },
     setup(props) {
+        console.log('dddd', props.selectedRow);
         function isPersonal() {
             return props.selectedRow.userinfotype === 1;
         }
@@ -66,7 +67,7 @@ export default defineComponent({
                 { label: '身份证反面照', value: formatValue(getImgName(data.cardbackphotourl)), className: 'blue' },
                 { label: '邮箱', value: formatValue(data.email) },
                 { label: '联系电话', value: formatValue(data.telphone) },
-                { label: '通讯地址', value: formatValue(data.address) },
+                { label: '通讯地址', value: formatValue(data.provincename + data.cityname + data.districtname + data.address) },
                 { label: '备注', value: formatValue(data.remark) },
             ];
             // 企业
@@ -83,7 +84,7 @@ export default defineComponent({
                 { label: '联系人手机号', value: formatValue(data.mobile) },
                 { label: '联系电话', value: formatValue(data.telphone) },
                 { label: '状态', value: getStatusName(data.status), className: 'green' },
-                { label: '通讯地址', value: formatValue(data.address) },
+                { label: '通讯地址', value: formatValue(data.provincename + data.cityname + data.districtname + data.address) },
                 { label: '备注', value: formatValue(data.remark) },
             ];
             getDesList(isPersonal() ? person : company);