瀏覽代碼

commit 客户资料接口

xkwg 4 年之前
父節點
當前提交
9958966e07
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 5 5
      src/goServiceAPI/ermcp/customInfo/index.ts
  2. 1 1
      src/goServiceAPI/ermcp/customInfo/interface.ts

+ 5 - 5
src/goServiceAPI/ermcp/customInfo/index.ts

@@ -2,18 +2,18 @@
 
 import {BaseResponse, commonSearch_go, commonUpdate_go} from '@/goServiceAPI/index';
 import APP from '@/services';
-import { QueryCustomInfoEnum } from './type';
+import {QueryCustomInfoEnum} from './type';
 import {AddUserInfoApplyReq, ModifyUserInfoApplyReq, QueryCustomInfoType} from "./interface";
 
 /**
  * 查询客户资料
  * @param MemberUserID  所属机构用户ID
  * @param queryType 查询类型(1:未提交 2:待审核 3:正常 4:停用)
- * @returns 
+ * @returns
  */
 export function QueryCustomInfo(queryType: QueryCustomInfoEnum): Promise<QueryCustomInfoType[]> {
     const MemberUserID = APP.get('userAccount').memberuserid;
-    return commonSearch_go('/Ermcp/QueryUserInfo', { MemberUserID, queryType })
+    return commonSearch_go('/Ermcp/QueryUserInfo', {MemberUserID, queryType})
         .catch(err => {
             throw new Error(`查询客户资料: ${err.message}`);
         })
@@ -25,7 +25,7 @@ export function QueryCustomInfo(queryType: QueryCustomInfoEnum): Promise<QueryCu
  * @constructor
  */
 export function QueryAddUserInfoApply(userInfoApply: AddUserInfoApplyReq): Promise<BaseResponse> {
-    return commonUpdate_go('/Erms3/AddUserInfoApply',  userInfoApply )
+    return commonUpdate_go('/Erms3/AddUserInfoApply', userInfoApply)
         .catch(err => {
             throw new Error(`新增客户申请: ${err.message}`);
         })
@@ -37,7 +37,7 @@ export function QueryAddUserInfoApply(userInfoApply: AddUserInfoApplyReq): Promi
  * @constructor
  */
 export function QueryModifyUserInfoApply(userInfoApply: ModifyUserInfoApplyReq): Promise<BaseResponse> {
-    return commonUpdate_go('/Erms3/ModifyUserInfoApply',  userInfoApply )
+    return commonUpdate_go('/Erms3/ModifyUserInfoApply', userInfoApply)
         .catch(err => {
             throw new Error(`修改客户申请: ${err.message}`);
         })

+ 1 - 1
src/goServiceAPI/ermcp/customInfo/interface.ts

@@ -30,7 +30,7 @@ export interface QueryCustomInfoType {
 }
 
 // 新增用户申请
-export interface AddUserInfoApplyReq{
+export interface AddUserInfoApplyReq {
     accountid	:number;//交易系统帐号Id (加密存储)
     areacode	:string;//机构代码
     areaid	:number;//机构Id