Ver Fonte

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

marymelisa há 4 anos atrás
pai
commit
1c055a3d74

+ 3 - 3
src/services/go/ermcp/account/index.ts

@@ -1,6 +1,6 @@
 /** ================================= 账户管理 ================================**/
 import APP from "@/services";
-import {commonSearch_go} from "@/services/go";
+import { commonSearch_go } from "@/services/go";
 import {
     ErmcpBizGroupEx,
     ErmcpBizGroupReq,
@@ -24,7 +24,7 @@ export function QueryAccMgrBizGroupSet(req: ErmcpBizGroupReq): Promise<ErmcpBizG
  * 查询账户管理期货账号(账户管理/期货账号)  /Ermcp/QueryAccMgrTaaccount
  * @constructor
  */
-export function QueryAccMgrTaaccount(): Promise<ErmcpTaAccountEx>{
+export function QueryAccMgrTaaccount(): Promise<ErmcpTaAccountEx> {
     const userid = APP.get('userAccount').memberuserid;
     return commonSearch_go('/Ermcp/QueryAccMgrTaaccount', { userid }).catch((err) => {
         throw new Error(`查询账户管理期货账号: ${err.message}`);
@@ -38,7 +38,7 @@ export function QueryAccMgrTaaccount(): Promise<ErmcpTaAccountEx>{
  * @param querytype 查询类型 1-业务账户 2-交易账户 3-管理账户
  * @constructor
  */
-export function QueryAccMgrLoginUser(querytype: number): Promise<ErmcpLoginUserEx>{
+export function QueryAccMgrLoginUser(querytype: number): Promise<ErmcpLoginUserEx[]> {
     const userid = APP.get('userAccount').memberuserid;
     return commonSearch_go('/Ermcp/QueryAccMgrLoginUser', { userid, querytype }).catch((err) => {
         throw new Error(`查询账户管理登录账号: ${err.message}`);

+ 1 - 0
src/services/go/ermcp/account/interface.ts

@@ -93,6 +93,7 @@ export interface ErmcpLoginUser{
 }
 
 export interface ErmcpLoginUserEx{
+    accountstatus: number; //  账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
     querytype: number;  // 查询类型 1-业务账户 2-交易账户 3-管理账户
     roleid:  number; // 角色id(交易账户->用户id)
     rolename: string; // 角色名称(交易账户->用户名称)

+ 18 - 0
src/views/information/spot-contract/components/check/setup.ts

@@ -0,0 +1,18 @@
+// import {  QueryAccMgrLoginUser }  from '@/services/go/ermcp/account'
+
+export function handleAccountManager() {
+    // function getList(arr) {
+    //     arr.forEach(el => {
+
+    //     });
+    // }
+    // QueryAccMgrLoginUser(1).then(res => {
+    //     const map = new Set<number>([])
+    //     res.forEach(e => {
+
+    //     })
+    //     if (res.length) {
+
+    //     }
+    // })
+}