|
|
@@ -1,23 +1,20 @@
|
|
|
+import { GetPCMenus, QueryTableDefine } from '@/goServiceAPI/commonService/index';
|
|
|
+import { LoginQuery } from '@/goServiceAPI/useInfo/index';
|
|
|
import APP from '@/services';
|
|
|
-import Router from '@/router';
|
|
|
-import { queryAllMyColloct } from '@/services/http/mine/colloct';
|
|
|
+import { getAccoutIdList } from '@/services/bus/account';
|
|
|
import { isLogin } from '@/services/bus/login';
|
|
|
-import { queryGoodsList } from '@/services/bus/goods';
|
|
|
-import { handleTokenCheck, checkTokenLoop } from '@/services/bus/token';
|
|
|
-import ProtobufCtr from '@/services/socket/protobuf/index';
|
|
|
+import { checkTokenLoop, handleTokenCheck } from '@/services/bus/token';
|
|
|
import { getAppConfig, getCommonApiUrl } from '@/services/http/getconf';
|
|
|
-import { setServiceURL } from '@/utils/request/serviceURL';
|
|
|
-import { message } from 'ant-design-vue';
|
|
|
-import { queryAccountInfo } from '@/services/socket/account/index';
|
|
|
+import { queryAllMyColloct } from '@/services/http/mine/colloct';
|
|
|
import { queryHsbyMyGoods } from '@/services/http/mine/index';
|
|
|
-import { getAccoutIdList } from '@/services/bus/account';
|
|
|
-import { queryAreaRoleMarket, queryTaAccountMarket, queryTradeDate } from '@/services/socket/account/index';
|
|
|
-import { querySystemParam } from '@/services/socket/error/index';
|
|
|
-import { pollingNotice } from '../http/notice';
|
|
|
import { getServerTime, queryErrorInfos } from '@/services/http/system/index';
|
|
|
+import { queryAccountInfo, queryAreaRoleMarket, queryTaAccountMarket, queryTradeDate } from '@/services/socket/account/index';
|
|
|
+import { querySystemParam } from '@/services/socket/error/index';
|
|
|
+import ProtobufCtr from '@/services/socket/protobuf/index';
|
|
|
+import { setServiceURL } from '@/utils/request/serviceURL';
|
|
|
import { localStorageUtil } from '@/utils/tool/storage';
|
|
|
-import { GetLoginID, LoginQuery } from '@/goServiceAPI/useInfo/index'
|
|
|
-import { GetPCMenus } from '@/goServiceAPI/commonService/index'
|
|
|
+import { message } from 'ant-design-vue';
|
|
|
+import { pollingNotice } from '../http/notice';
|
|
|
|
|
|
/**
|
|
|
* 全局数据刷新
|
|
|
@@ -48,6 +45,7 @@ export async function globalDataRefresh(): Promise<string> {
|
|
|
// await queryAfterLogin();
|
|
|
await queryAllMyColloct();
|
|
|
await GetPCMenus();
|
|
|
+ await QueryTableDefine();
|
|
|
}
|
|
|
} else {
|
|
|
// 重置数据中心数据
|
|
|
@@ -105,11 +103,11 @@ export async function queryAfterLogin(): Promise<string> {
|
|
|
}),
|
|
|
isArea()
|
|
|
? queryAreaRoleMarket().catch((err: string) => {
|
|
|
- throw '投资者查根据经纪会员查市场权限 查询失败: ' + err;
|
|
|
- })
|
|
|
+ throw '投资者查根据经纪会员查市场权限 查询失败: ' + err;
|
|
|
+ })
|
|
|
: queryTaAccountMarket().catch((err: string) => {
|
|
|
- throw '非投资者查资金市场权限 查询失败: ' + err;
|
|
|
- }),
|
|
|
+ throw '非投资者查资金市场权限 查询失败: ' + err;
|
|
|
+ }),
|
|
|
querySystemParam().catch(() => {
|
|
|
throw '查询系统参数 查询失败';
|
|
|
}),
|