li.shaoyi hai 4 meses
pai
achega
28abc31c29
Modificáronse 100 ficheiros con 137 adicións e 137 borrados
  1. 11 11
      src/hooks/request/index.ts
  2. 1 1
      src/packages/pc/components/modules/region/index.vue
  3. 1 1
      src/packages/pc/components/modules/roles/index.vue
  4. 1 1
      src/packages/pc/components/modules/select-account2/index.vue
  5. 1 1
      src/packages/pc/components/modules/select-account3/index.vue
  6. 1 1
      src/packages/pc/components/modules/select-goods/index.vue
  7. 1 1
      src/packages/pc/components/modules/select-goods2/index.vue
  8. 1 1
      src/packages/pc/components/modules/select-institution/index.vue
  9. 1 1
      src/packages/pc/components/modules/select-investor/index.vue
  10. 1 1
      src/packages/pc/components/modules/select-member/index.vue
  11. 1 1
      src/packages/pc/components/modules/select-member2/index.vue
  12. 3 3
      src/packages/pc/views/account/fundacct/components/bankinout/index.vue
  13. 1 1
      src/packages/pc/views/account/fundacct/components/bankstatement/index.vue
  14. 1 1
      src/packages/pc/views/account/fundacct/components/details/index.vue
  15. 2 2
      src/packages/pc/views/account/fundacct/components/edit/index.vue
  16. 2 2
      src/packages/pc/views/account/fundacct/components/sign/cancel/index.vue
  17. 3 3
      src/packages/pc/views/account/fundacct/components/sign/edit/index.vue
  18. 1 1
      src/packages/pc/views/account/fundacct/components/sign/index.vue
  19. 1 1
      src/packages/pc/views/account/fundacct/index.vue
  20. 1 1
      src/packages/pc/views/account/tradingacct/components/details/index.vue
  21. 1 1
      src/packages/pc/views/account/tradingacct/index.vue
  22. 1 1
      src/packages/pc/views/admin/role/index.vue
  23. 2 2
      src/packages/pc/views/admin/user/index.vue
  24. 1 1
      src/packages/pc/views/base/banner/components/details/index.vue
  25. 1 1
      src/packages/pc/views/base/banner/index.vue
  26. 1 1
      src/packages/pc/views/base/errorcode/index.vue
  27. 1 1
      src/packages/pc/views/base/sysparams/index.vue
  28. 4 4
      src/packages/pc/views/investor/custom/accountcfg/components/add/index.vue
  29. 1 1
      src/packages/pc/views/investor/custom/accountcfg/components/add/select-investor/index.vue
  30. 1 1
      src/packages/pc/views/investor/custom/accountcfg/components/edit/index.vue
  31. 1 1
      src/packages/pc/views/investor/custom/group/components/user/edit/index.vue
  32. 1 1
      src/packages/pc/views/investor/custom/group/components/user/index.vue
  33. 1 1
      src/packages/pc/views/investor/custom/group/index.vue
  34. 1 1
      src/packages/pc/views/investor/custom/riskcfg/components/details/index.vue
  35. 1 1
      src/packages/pc/views/investor/custom/riskcfg/index.vue
  36. 1 1
      src/packages/pc/views/investor/custom/tradecfg/components/edit/index.vue
  37. 1 1
      src/packages/pc/views/investor/manage/cancelapply/components/details/index.vue
  38. 1 1
      src/packages/pc/views/investor/manage/cancelapply/index.vue
  39. 1 1
      src/packages/pc/views/investor/manage/modification/index.vue
  40. 1 1
      src/packages/pc/views/investor/manage/transfer/index.vue
  41. 1 1
      src/packages/pc/views/investor/manage/user/components/account/index.vue
  42. 1 1
      src/packages/pc/views/investor/manage/user/components/config/index.vue
  43. 1 1
      src/packages/pc/views/investor/manage/user/components/details/view.vue
  44. 1 1
      src/packages/pc/views/investor/manage/user/components/login/details/index.vue
  45. 1 1
      src/packages/pc/views/investor/manage/user/components/login/index.vue
  46. 1 1
      src/packages/pc/views/investor/manage/user/components/login/log/index.vue
  47. 1 1
      src/packages/pc/views/investor/manage/user/index.vue
  48. 1 1
      src/packages/pc/views/investor/user/initreview/index.vue
  49. 1 1
      src/packages/pc/views/investor/user/open/components/details/index.vue
  50. 1 1
      src/packages/pc/views/investor/user/open/index.vue
  51. 1 1
      src/packages/pc/views/investor/user/rereview/index.vue
  52. 1 1
      src/packages/pc/views/marketrun/monitor/account/index.vue
  53. 1 1
      src/packages/pc/views/marketrun/monitor/liquidation/index.vue
  54. 1 1
      src/packages/pc/views/marketrun/monitor/marketer/components/positionsumm/details/index.vue
  55. 1 1
      src/packages/pc/views/marketrun/monitor/marketer/components/positionsumm/index.vue
  56. 1 1
      src/packages/pc/views/marketrun/monitor/marketer/index.vue
  57. 1 1
      src/packages/pc/views/marketrun/monitor/position/index.vue
  58. 1 1
      src/packages/pc/views/marketrun/monitor/positionsumm/index.vue
  59. 1 1
      src/packages/pc/views/marketrun/monitor/user/index.vue
  60. 1 1
      src/packages/pc/views/member/institution/broker/components/details/index.vue
  61. 3 3
      src/packages/pc/views/member/institution/broker/components/edit/index.vue
  62. 1 1
      src/packages/pc/views/member/institution/broker/components/subinstitution/index.vue
  63. 1 1
      src/packages/pc/views/member/institution/broker/index.vue
  64. 1 1
      src/packages/pc/views/member/institution/goodscfg/index.vue
  65. 1 1
      src/packages/pc/views/member/institution/industry/components/details/index.vue
  66. 3 3
      src/packages/pc/views/member/institution/industry/components/edit/index.vue
  67. 1 1
      src/packages/pc/views/member/institution/industry/index.vue
  68. 1 1
      src/packages/pc/views/member/institution/marketer/components/details/index.vue
  69. 5 5
      src/packages/pc/views/member/institution/marketer/components/edit/index.vue
  70. 1 1
      src/packages/pc/views/member/institution/marketer/index.vue
  71. 1 1
      src/packages/pc/views/member/institution/marketing/components/details/index.vue
  72. 2 2
      src/packages/pc/views/member/institution/marketing/components/edit/index.vue
  73. 1 1
      src/packages/pc/views/member/institution/marketing/index.vue
  74. 1 1
      src/packages/pc/views/member/institution/open/components/details/index.vue
  75. 1 1
      src/packages/pc/views/member/institution/open/index.vue
  76. 1 1
      src/packages/pc/views/member/institution/operation/components/details/index.vue
  77. 2 2
      src/packages/pc/views/member/institution/operation/components/edit/index.vue
  78. 2 2
      src/packages/pc/views/member/institution/operation/components/modify/index.vue
  79. 1 1
      src/packages/pc/views/member/institution/operation/index.vue
  80. 1 1
      src/packages/pc/views/member/institution/riskcfg/components/details/index.vue
  81. 1 1
      src/packages/pc/views/member/institution/riskcfg/index.vue
  82. 1 1
      src/packages/pc/views/member/institution/role/components/details/index.vue
  83. 1 1
      src/packages/pc/views/member/institution/role/components/users/index.vue
  84. 1 1
      src/packages/pc/views/member/institution/role/index.vue
  85. 1 1
      src/packages/pc/views/member/institution/self/components/details/index.vue
  86. 3 3
      src/packages/pc/views/member/institution/self/components/edit/index.vue
  87. 1 1
      src/packages/pc/views/member/institution/self/index.vue
  88. 4 4
      src/packages/pc/views/member/institution/tradecfg/components/add/index.vue
  89. 1 1
      src/packages/pc/views/member/institution/tradecfg/components/edit/index.vue
  90. 1 1
      src/packages/pc/views/member/institution/user/components/account/index.vue
  91. 1 1
      src/packages/pc/views/member/institution/user/components/account/signstatement/index.vue
  92. 1 1
      src/packages/pc/views/member/institution/user/components/details/index.vue
  93. 1 1
      src/packages/pc/views/member/institution/user/components/edit/index.vue
  94. 1 1
      src/packages/pc/views/member/institution/user/components/login/index.vue
  95. 1 1
      src/packages/pc/views/member/institution/user/components/terminal/index.vue
  96. 1 1
      src/packages/pc/views/member/institution/user/index.vue
  97. 1 1
      src/packages/pc/views/member/institution/warehouse/components/details/index.vue
  98. 2 2
      src/packages/pc/views/member/institution/warehouse/components/edit/index.vue
  99. 1 1
      src/packages/pc/views/member/institution/warehouse/index.vue
  100. 1 1
      src/packages/pc/views/member/subinstitution/addition/index.vue

+ 11 - 11
src/hooks/request/index.ts

@@ -3,7 +3,7 @@ import { FetchTypes, CommonFetchOptions, CommonResult } from '@/services/http/ty
 import { useDataTable } from '../datatable'
 
 interface RequestOptions<T extends FetchTypes> {
-    params?: {
+    defaultParams?: {
         pageNum?: number; // 当前页码
         pageSize?: number; // 每页条数
     } & T['request'];
@@ -18,12 +18,12 @@ export function useRequest<T extends FetchTypes>(fetcher: (options: CommonFetchO
     type RequestType = T['request']
     type ResponseType = T['response'] extends (infer U)[] ? U : T['response'] // 如果 U 是数组,取 U 的类型
 
-    const { params, localPagination, manual, onSuccess, onError, onFinally } = options ?? {}
+    const { defaultParams, localPagination, manual, onSuccess, onError, onFinally } = options ?? {}
 
     const { dataList, filters, total, pageIndex, pageSize, pageCount } = useDataTable<ResponseType>({
         localPagination,
-        pageIndex: params?.pageNum,
-        pageSize: params?.pageSize,
+        pageIndex: defaultParams?.pageNum,
+        pageSize: defaultParams?.pageSize,
     })
 
     const data = ref<ResponseType>()
@@ -31,15 +31,15 @@ export function useRequest<T extends FetchTypes>(fetcher: (options: CommonFetchO
     const controller = new AbortController()
 
     // 异步函数
-    const runAsync = async (payload: Partial<RequestType> = {}) => {
-        if (params && params.pageSize) {
-            params.pageNum = pageIndex.value
-            params.pageSize = pageSize.value
+    const runAsync = async (params: Partial<RequestType> = {}) => {
+        if (defaultParams && defaultParams.pageSize) {
+            defaultParams.pageNum = pageIndex.value
+            defaultParams.pageSize = pageSize.value
         }
 
         const res = await fetcher({
             controller,
-            data: typeof params === 'object' ? { ...(params as object), ...payload } : payload
+            data: typeof defaultParams === 'object' ? { ...(defaultParams as object), ...params } : params
         })
 
         total.value = res.total
@@ -54,9 +54,9 @@ export function useRequest<T extends FetchTypes>(fetcher: (options: CommonFetchO
     }
 
     // 同步函数
-    const run = (payload: Partial<RequestType> = {}) => {
+    const run = (params: Partial<RequestType> = {}) => {
         loading.value = true
-        runAsync(payload).then((res) => {
+        runAsync(params).then((res) => {
             onSuccess && onSuccess(res)
         }).catch((err) => {
             onError && onError(err)

+ 1 - 1
src/packages/pc/components/modules/region/index.vue

@@ -53,7 +53,7 @@ const districtId = computed({
 })
 
 const { dataList: countryList } = useRequest(getProvince, {
-    params: {
+    defaultParams: {
         divisionLevel: 'country'
     },
     onSuccess: () => {

+ 1 - 1
src/packages/pc/components/modules/roles/index.vue

@@ -58,7 +58,7 @@ const getSensitiveWords = () => {
 const allMenus = getAllMenus()
 
 const { data, loading } = useRequest(queryDetail, {
-    params: {
+    defaultParams: {
         autoId: props.roleid
     },
     onSuccess: (res) => {

+ 1 - 1
src/packages/pc/components/modules/select-account2/index.vue

@@ -34,7 +34,7 @@ const selectedValue = computed({
 
 const { dataList, loading, run } = useRequest(queryTAAccountChildren, {
     manual: true,
-    params: props.params,
+    defaultParams: props.params,
     onSuccess: (res) => {
         if (!res.data.some((e) => e.accountId.toString() === selectedValue.value?.toString())) {
             selectedValue.value = undefined

+ 1 - 1
src/packages/pc/components/modules/select-account3/index.vue

@@ -34,7 +34,7 @@ const selectedValue = computed({
 
 const { dataList, loading, run } = useRequest(queryTAAccountList, {
     manual: true,
-    params: props.params,
+    defaultParams: props.params,
     onSuccess: (res) => {
         if (!res.data.some((e) => e.accountId.toString() === selectedValue.value?.toString())) {
             selectedValue.value = undefined

+ 1 - 1
src/packages/pc/components/modules/select-goods/index.vue

@@ -51,7 +51,7 @@ const getLocalizedKey: () => keyof Model.GoodsSelectRsp = () => {
 
 const { dataList, loading, run } = useRequest(queryGoodsSelect, {
     manual: true,
-    params: props.params,
+    defaultParams: props.params,
     onSuccess: (res) => {
         if (!res.data.some((e) => e.goodsId.toString() === selectedValue.value?.toString())) {
             selectedValue.value = undefined

+ 1 - 1
src/packages/pc/components/modules/select-goods2/index.vue

@@ -51,7 +51,7 @@ const getLocalizedKey: () => keyof Model.GoodsSelectYYJGRsp = () => {
 
 const { dataList, loading, run } = useRequest(queryGoodsSelectYYJG, {
     manual: true,
-    params: props.params,
+    defaultParams: props.params,
     onSuccess: (res) => {
         if (!res.data.some((e) => e.goodsId.toString() === selectedValue.value?.toString())) {
             selectedValue.value = undefined

+ 1 - 1
src/packages/pc/components/modules/select-institution/index.vue

@@ -34,7 +34,7 @@ const selectedValue = computed({
 
 const { dataList, loading, run } = useRequest(queryExchSonOrgin, {
     manual: true,
-    params: props.params,
+    defaultParams: props.params,
     onSuccess: (res) => {
         if (!res.data.some((e) => e.userid.toString() === selectedValue.value?.toString())) {
             selectedValue.value = undefined

+ 1 - 1
src/packages/pc/components/modules/select-investor/index.vue

@@ -34,7 +34,7 @@ const selectedValue = computed({
 
 const { dataList, loading, run } = useRequest(queryInvestorSelect, {
     manual: true,
-    params: props.params,
+    defaultParams: props.params,
     onSuccess: (res) => {
         if (!res.data.some((e) => e.userId.toString() === selectedValue.value?.toString())) {
             selectedValue.value = undefined

+ 1 - 1
src/packages/pc/components/modules/select-member/index.vue

@@ -34,7 +34,7 @@ const selectedValue = computed({
 
 const { dataList, loading, run } = useRequest(queryOrganSelect, {
     manual: true,
-    params: {
+    defaultParams: {
         pageSize: 10,
         ...props.params
     },

+ 1 - 1
src/packages/pc/components/modules/select-member2/index.vue

@@ -34,7 +34,7 @@ const selectedValue = computed({
 
 const { dataList, loading, run } = useRequest(queryOrganSelect2And3, {
     manual: true,
-    params: {
+    defaultParams: {
         pageSize: 10,
         ...props.params
     },

+ 3 - 3
src/packages/pc/views/account/fundacct/components/bankinout/index.vue

@@ -112,7 +112,7 @@ const formData = reactive<Model.InOrOutAmountReq>({
 })
 
 const { dataList: bankList } = useRequest(getBankAccountSign, {
-    params: {
+    defaultParams: {
         accountcode: props.record.accountId,
         signstatus: 4
     },
@@ -127,7 +127,7 @@ const { dataList: bankList } = useRequest(getBankAccountSign, {
 })
 
 const { data } = useRequest(queryMoney, {
-    params: {
+    defaultParams: {
         accountid: props.record.accountId,
         mtype: 2,
         type: 0
@@ -137,7 +137,7 @@ const { data } = useRequest(queryMoney, {
 // 查询扩展信息
 const { dataList: expandableList, run: getExpandableList } = useRequest(queryBooleanForAmount, {
     manual: true,
-    params: {
+    defaultParams: {
         extendbiztype: '1',
     },
     onError: () => {

+ 1 - 1
src/packages/pc/views/account/fundacct/components/bankstatement/index.vue

@@ -62,7 +62,7 @@ const t = i18n.global.t
 const dateValue = shallowRef<string[] | null>([])
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryAmountStream, {
-    params: {
+    defaultParams: {
         logType: 1,
         accountId: props.record.accountId.toString(),
         pageNum: 1,

+ 1 - 1
src/packages/pc/views/account/fundacct/components/details/index.vue

@@ -83,7 +83,7 @@ const marketbstypeEnum = useEnum('marketbstype')
 const currencyEnum = useEnum('currency')
 
 const { data } = useRequest(queryTaAccountDetail, {
-    params: {
+    defaultParams: {
         accountId: props.record.accountId,
     },
     onError: (err) => {

+ 2 - 2
src/packages/pc/views/account/fundacct/components/edit/index.vue

@@ -110,7 +110,7 @@ const formData = reactive<Partial<Model.UpdateTaAccountReq>>({
 })
 
 const { data } = useRequest(updateTaAccountInit, {
-    params: {
+    defaultParams: {
         accountId: props.record.accountId
     },
     onSuccess: (res) => {
@@ -127,7 +127,7 @@ const { data } = useRequest(updateTaAccountInit, {
 })
 
 const { loading } = useRequest(queryTaAccountDetail, {
-    params: {
+    defaultParams: {
         accountId: props.record.accountId
     },
     onSuccess: (res) => {

+ 2 - 2
src/packages/pc/views/account/fundacct/components/sign/cancel/index.vue

@@ -47,7 +47,7 @@ const formData = reactive<Partial<Model.DealAccountSignReq>>({
 
 // 查询签约详情
 const { loading } = useRequest(getSignBankById, {
-    params: {
+    defaultParams: {
         accountcode: props.selectedItem.accountCode,
         applyexchticket: props.selectedItem.applyexchticket,
         cusbankid: props.selectedItem.cusbankid,
@@ -80,7 +80,7 @@ const { loading } = useRequest(getSignBankById, {
 // 查询扩展信息
 const { dataList: expandableList, run: getExpandableList } = useRequest(queryBooleanForAmount, {
     manual: true,
-    params: {
+    defaultParams: {
         extendbiztype: '1',
     }
 })

+ 3 - 3
src/packages/pc/views/account/fundacct/components/sign/edit/index.vue

@@ -99,14 +99,14 @@ const formData = reactive<Partial<Model.DealAccountSignReq>>({
 
 // 查询托管银行
 const { dataList: cusbankList } = useRequest(dealAccountSignInit, {
-    params: {
+    defaultParams: {
         accountid: props.accountId
     }
 })
 
 // 查询用户信息
 const { data: userInfo, loading } = useRequest(queryCommonFlag, {
-    params: {
+    defaultParams: {
         accountid: props.accountId
     },
     onSuccess: (res) => {
@@ -165,7 +165,7 @@ const { run: getSignBankInfo } = useRequest(getSignBankById, {
 // 查询扩展信息
 const { dataList: expandableList, run: getExpandableList } = useRequest(queryBooleanForAmount, {
     manual: true,
-    params: {
+    defaultParams: {
         extendbiztype: '1',
     },
     onError: () => {

+ 1 - 1
src/packages/pc/views/account/fundacct/components/sign/index.vue

@@ -66,7 +66,7 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 const { filterOptons, getQueryParams } = useDataFilter<Model.TaAccountReq>()
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryAccountSign, {
-    params: {
+    defaultParams: {
         accountCode: props.record.accountId,
         pageNum: 1,
         pageSize: 20

+ 1 - 1
src/packages/pc/views/account/fundacct/index.vue

@@ -46,7 +46,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryTaAccount, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/account/tradingacct/components/details/index.vue

@@ -34,7 +34,7 @@ const loginstatusEnum = useEnum('loginstatus') // 账号状态
 const show = shallowRef(true)
 
 const { data } = useRequest(tradingAccView, {
-    params: {
+    defaultParams: {
         loginid: props.record.loginid,
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/account/tradingacct/index.vue

@@ -47,7 +47,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryTradingAcc, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/admin/role/index.vue

@@ -44,7 +44,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         type: 2,
         pageNum: 1,
         pageSize: 20

+ 2 - 2
src/packages/pc/views/admin/user/index.vue

@@ -68,7 +68,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run: getSystemmanager } = useRequest(querySystemmanager, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },
@@ -78,7 +78,7 @@ const { dataList, total, pageSize, pageIndex, loading, run: getSystemmanager } =
 })
 
 const { dataList: selectList } = useRequest(queryOrganSelect, {
-    params: {
+    defaultParams: {
         pageSize: 10,
         usertype: isTreeSelect.value ? '2,3' : undefined
     }

+ 1 - 1
src/packages/pc/views/base/banner/components/details/index.vue

@@ -43,7 +43,7 @@ const props = defineProps({
 const show = shallowRef(true)
 
 const { data, loading } = useRequest(pictureDetail, {
-    params: {
+    defaultParams: {
         configid: props.record.configid
     }
 })

+ 1 - 1
src/packages/pc/views/base/banner/index.vue

@@ -51,7 +51,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(querypicture, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/base/errorcode/index.vue

@@ -40,7 +40,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryError, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/base/sysparams/index.vue

@@ -32,7 +32,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryParam, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 4 - 4
src/packages/pc/views/investor/custom/accountcfg/components/add/index.vue

@@ -158,7 +158,7 @@ const formData = reactive<Member.TradeConfigAddReq>({
 // 获取资金账户列表
 const { data: accountData, run: getAccountIds } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 1
     }
 })
@@ -166,7 +166,7 @@ const { data: accountData, run: getAccountIds } = useRequest(loadSelectOption, {
 // 获取市场列表
 const { data: marketData, run: getMarketList } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 1
     }
 })
@@ -174,7 +174,7 @@ const { data: marketData, run: getMarketList } = useRequest(loadSelectOption, {
 // 获取商品列表
 const { data: goodsData, run: getGoodsList } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 1
     }
 })
@@ -182,7 +182,7 @@ const { data: goodsData, run: getGoodsList } = useRequest(loadSelectOption, {
 // 获取保证金类别列表
 const { data: resultData, run: getResultList } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 1
     },
     onSuccess: (res) => {

+ 1 - 1
src/packages/pc/views/investor/custom/accountcfg/components/add/select-investor/index.vue

@@ -34,7 +34,7 @@ const selectedValue = computed({
 
 const { dataList, loading, run } = useRequest(initAccTrade, {
     manual: true,
-    params: props.params,
+    defaultParams: props.params,
     onSuccess: (res) => {
         if (!res.data.some((e) => e.userid.toString() === selectedValue.value?.toString())) {
             selectedValue.value = undefined

+ 1 - 1
src/packages/pc/views/investor/custom/accountcfg/components/edit/index.vue

@@ -168,7 +168,7 @@ const goodsItem = computed(() => nodeList.value.find((e) => e.pid === accountIte
 
 // 获取保证金类别列表
 const { data: resultData } = useRequest(loadSelectOption, {
-    params: {
+    defaultParams: {
         memberuserid: formData.marketid,
         userid: formData.userid,
         accountid: formData.accountid,

+ 1 - 1
src/packages/pc/views/investor/custom/group/components/user/edit/index.vue

@@ -36,7 +36,7 @@ const loading = shallowRef(false)
 const selectedValue = shallowRef([])
 
 const { dataList } = useRequest(queryInvestorForPer, {
-    params: {
+    defaultParams: {
         usergroupid: props.record.autoid
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/investor/custom/group/components/user/index.vue

@@ -65,7 +65,7 @@ const { filterOptons, getQueryParams } = useDataFilter<Investor.PersonalizedDeta
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run())
 
 const { dataList, total, pageSize, pageIndex, run } = useRequest(queryPersonalizedDetail, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         usergroupid: props.record.autoid

+ 1 - 1
src/packages/pc/views/investor/custom/group/index.vue

@@ -51,7 +51,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryPersonalized, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/investor/custom/riskcfg/components/details/index.vue

@@ -35,7 +35,7 @@ const show = ref(true)
 const refresh = ref(false)
 
 const { data } = useRequest(getRiskRatioTypeForMarketer, {
-    params: {
+    defaultParams: {
         riskcontrolmode: 1,
         customertype: props.record.customertype
     },

+ 1 - 1
src/packages/pc/views/investor/custom/riskcfg/index.vue

@@ -51,7 +51,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryAccountRiskConfig, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/investor/custom/tradecfg/components/edit/index.vue

@@ -163,7 +163,7 @@ const goodsItem = computed(() => nodeList.value.find((e) => e.pid === marketItem
 
 // 获取保证金类别列表
 const { data: resultData } = useRequest(initInvestorPerson, {
-    params: {
+    defaultParams: {
         usergroupid: props.record.usergroupid,
         marketid: props.record.marketid,
         goodsid: props.record.goodsid

+ 1 - 1
src/packages/pc/views/investor/manage/cancelapply/components/details/index.vue

@@ -39,7 +39,7 @@ const show = shallowRef(true)
 const handlestatusEnum = useEnum('handlestatus')
 
 const { data } = useRequest(investorCancelview, {
-    params: {
+    defaultParams: {
         autoid: props.record.autoid,
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/investor/manage/cancelapply/index.vue

@@ -51,7 +51,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(investorUserCancelApply, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/investor/manage/modification/index.vue

@@ -47,7 +47,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryModifyPage, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/investor/manage/transfer/index.vue

@@ -71,7 +71,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryOrganSonTransfer, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         transferusertype: 1

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/account/index.vue

@@ -67,7 +67,7 @@ const currencyEnum = useEnum('currency') // 币种
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run())
 
 const { dataList, total, pageSize, pageIndex, run } = useRequest(showAccount, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         userid: props.record.userId,

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/config/index.vue

@@ -58,7 +58,7 @@ const refresh = ref(false)
 const feetypeEnum = useEnum('feetype')
 
 const { dataList } = useRequest(showAccount, {
-    params: {
+    defaultParams: {
         userid: props.record.userId,
     }
 })

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/details/view.vue

@@ -262,7 +262,7 @@ const certificatetypeEnum = useEnum('certificatetype')
 const sexEnum = useEnum('Sex')
 
 useRequest(queryInvestorListDetail, {
-    params: {
+    defaultParams: {
         userid: props.userId,
         modifyFlag: props.modifyStatus
     },

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/login/details/index.vue

@@ -35,7 +35,7 @@ const show = shallowRef(true)
 const refresh = shallowRef(false)
 
 const { data } = useRequest(queryUserAuthInfo, {
-    params: {
+    defaultParams: {
         loginid: props.selectedItem.loginid
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/login/index.vue

@@ -82,7 +82,7 @@ const loginstatusEnum = useEnum('loginstatus') // 账号状态
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run())
 
 const { dataList, total, pageSize, pageIndex, run } = useRequest(queryInvestorLoginList, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         userid: props.record.userId

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/login/log/index.vue

@@ -39,7 +39,7 @@ const show = shallowRef(true)
 const refresh = shallowRef(false)
 
 const { dataList, total, pageSize, pageIndex, run } = useRequest(queryLoginLog, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         loginid: props.selectedItem.loginid

+ 1 - 1
src/packages/pc/views/investor/manage/user/index.vue

@@ -55,7 +55,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryInvestorList, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/investor/user/initreview/index.vue

@@ -53,7 +53,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryInvestor, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         show: 'firstaudit',

+ 1 - 1
src/packages/pc/views/investor/user/open/components/details/index.vue

@@ -95,7 +95,7 @@ const sexEnum = useEnum('Sex') // 性别
 const userinfotypeEnum = useEnum('userinfotype') // 所有者类型
 
 const { data } = useRequest(queryInvestorDetail, {
-    params: {
+    defaultParams: {
         userId: props.record.userId,
     },
     onSuccess: () => {

+ 1 - 1
src/packages/pc/views/investor/user/open/index.vue

@@ -52,7 +52,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryInvestor, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         show: 'show'

+ 1 - 1
src/packages/pc/views/investor/user/rereview/index.vue

@@ -52,7 +52,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryInvestor, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         show: 'audit',

+ 1 - 1
src/packages/pc/views/marketrun/monitor/account/index.vue

@@ -67,7 +67,7 @@ const queryParams = ref<Model.MarketRunInvestorReq>({
 const { data } = useRequest(marketRunInitInvestor)
 
 const { dataList, loading, run } = useRequest(marketRunInvestor, {
-    params: queryParams.value,
+    defaultParams: queryParams.value,
     onError: (err) => {
         ElMessage.error(err)
     },

+ 1 - 1
src/packages/pc/views/marketrun/monitor/liquidation/index.vue

@@ -37,7 +37,7 @@ const { global: { t } } = i18n
 const countDown = useCountDown()
 
 const { dataList, total, loading, pageSize, pageIndex, run } = useRequest(marketRunCutposition, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/marketrun/monitor/marketer/components/positionsumm/details/index.vue

@@ -33,7 +33,7 @@ const { global: { t } } = i18n
 const show = shallowRef(true)
 
 const { dataList } = useRequest(queryHolderDetailMonitor, {
-    params: {
+    defaultParams: {
         accountid: props.record.accountid,
         goodsid: props.record.goodsid
     },

+ 1 - 1
src/packages/pc/views/marketrun/monitor/marketer/components/positionsumm/index.vue

@@ -49,7 +49,7 @@ const countDown = useCountDown()
 const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 
 const { dataList, run } = useRequest(marketRunAccpage, {
-    params: {
+    defaultParams: {
         accountid: props.record.accountid
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/marketrun/monitor/marketer/index.vue

@@ -56,7 +56,7 @@ const queryParams = ref<Model.MarketRunInvestorReq>({
 const { componentMap, componentId, record, openComponent, closeComponent, getActionButtons } = useOperation<Model.MarketRunMemberRiskRsp>()
 
 const { dataList, loading, run } = useRequest(marketRunMemberRisk, {
-    params: queryParams.value,
+    defaultParams: queryParams.value,
     onError: (err) => {
         ElMessage.error(err)
     },

+ 1 - 1
src/packages/pc/views/marketrun/monitor/position/index.vue

@@ -78,7 +78,7 @@ const countDown = useCountDown()
 const { componentMap, componentId, record, openComponent, closeComponent, getActionButtons } = useOperation<Model.PositionForBuyOrSellRsp>()
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(positionForBuyOrSell, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         ...props.params

+ 1 - 1
src/packages/pc/views/marketrun/monitor/positionsumm/index.vue

@@ -66,7 +66,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 
 const { dataList, loading, run } = useRequest(positionCount, {
     manual: true,
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/marketrun/monitor/user/index.vue

@@ -50,7 +50,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(marketRunUserLogin, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
     },

+ 1 - 1
src/packages/pc/views/member/institution/broker/components/details/index.vue

@@ -41,7 +41,7 @@ const refresh = shallowRef(false)
 const loading = shallowRef(false)
 
 const { data } = useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'broker',
         userid: props.record.userid
     },

+ 3 - 3
src/packages/pc/views/member/institution/broker/components/edit/index.vue

@@ -101,7 +101,7 @@ const marketbstype = [{value: 0, label: "无"}, {value:1, label: "可挂可摘"}
 const tableRef = ref<TableInstance>()
 
 const { loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'broker'
     },
     onSuccess: (res) => {
@@ -125,7 +125,7 @@ const { loading } = useRequest(initAdd, {
 
 const { run: runRoleDetail } = useRequest(queryRoleDetail, {
     manual: true,
-    params: {
+    defaultParams: {
         rolename: 'broker',
         userid: props.record?.userid
     },
@@ -157,7 +157,7 @@ const { run: runRoleDetail } = useRequest(queryRoleDetail, {
 
 const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManager, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid?.toString()
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/member/institution/broker/components/subinstitution/index.vue

@@ -41,7 +41,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         roleid: 7,
         pageNum: 1,
         pageSize: 20,

+ 1 - 1
src/packages/pc/views/member/institution/broker/index.vue

@@ -49,7 +49,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         orgztypes: 'broker',
         roleid: 7,
         pageNum: 1,

+ 1 - 1
src/packages/pc/views/member/institution/goodscfg/index.vue

@@ -66,7 +66,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryMemberGoodsLimit, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         roletype: 7

+ 1 - 1
src/packages/pc/views/member/institution/industry/components/details/index.vue

@@ -38,7 +38,7 @@ const props = defineProps({
 const show = shallowRef(true)
 
 const { data, loading } = useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'industry',
         userid: props.record.userid
     },

+ 3 - 3
src/packages/pc/views/member/institution/industry/components/edit/index.vue

@@ -98,7 +98,7 @@ const componentMap = new Map<string, unknown>([
 const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 
 const { loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'industry'
     },
     onSuccess: (res) => {
@@ -122,7 +122,7 @@ const { loading } = useRequest(initAdd, {
 
 const { run: runRoleDetail } = useRequest(queryRoleDetail, {
     manual: true,
-    params: {
+    defaultParams: {
         rolename: 'industry',
         userid: props.record?.userid
     },
@@ -154,7 +154,7 @@ const { run: runRoleDetail } = useRequest(queryRoleDetail, {
 
 const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManager, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid?.toString()
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/member/institution/industry/index.vue

@@ -48,7 +48,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         roleid: 9,
         orgztypes: 'industry',
         pageNum: 1,

+ 1 - 1
src/packages/pc/views/member/institution/marketer/components/details/index.vue

@@ -41,7 +41,7 @@ const loading = shallowRef(false)
 const marker = shallowRef<Investor.RiskRatioTypeForMarketerRsp>()
 
 const { data } = useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'marketer',
         userid: props.record.userid
     },

+ 5 - 5
src/packages/pc/views/member/institution/marketer/components/edit/index.vue

@@ -84,7 +84,7 @@ const formData = ref<Partial<Member.RoleAddReq>>({
 })
 
 const { loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'marketer'
     },
     onSuccess: (res) => {
@@ -97,7 +97,7 @@ const { loading } = useRequest(initAdd, {
 
 const { run: runRoleDetail } = useRequest(queryRoleDetail, {
     manual: true,
-    params: {
+    defaultParams: {
         rolename: 'marketer',
         userid: props.record?.userid
     },
@@ -123,7 +123,7 @@ const { run: runRoleDetail } = useRequest(queryRoleDetail, {
 
 const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManager, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid?.toString()
     },
     onError: (err) => {
@@ -133,7 +133,7 @@ const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManag
 
 const { dataList: talist, run: runAccountIdForMarket } = useRequest(queryAccountIdForMarket, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid
     },
     onSuccess: (res) => {
@@ -149,7 +149,7 @@ const { dataList: talist, run: runAccountIdForMarket } = useRequest(queryAccount
 
 const { data: marker, run } = useRequest(getRiskRatioTypeForMarketer, {
     manual: true,
-    params: {
+    defaultParams: {
         riskcontrolmode: 2,
         customertype: formData.value.customertype ?? 1
     },

+ 1 - 1
src/packages/pc/views/member/institution/marketer/index.vue

@@ -48,7 +48,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         orgztypes: 'marketer',
         roleid: 8,
         pageNum: 1,

+ 1 - 1
src/packages/pc/views/member/institution/marketing/components/details/index.vue

@@ -33,7 +33,7 @@ const refresh = shallowRef(false)
 const loading = shallowRef(false)
 
 const { data } = useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'marketing',
         userid: props.record.userid
     },

+ 2 - 2
src/packages/pc/views/member/institution/marketing/components/edit/index.vue

@@ -55,7 +55,7 @@ const refresh = shallowRef(false)
 const organSelect = ref<Model.OrganSelectRsp>()
 
 const { loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'marketing'
     },
     onError: (err) => {
@@ -65,7 +65,7 @@ const { loading } = useRequest(initAdd, {
 
 const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManager, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid?.toString()
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/member/institution/marketing/index.vue

@@ -48,7 +48,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         orgztypes: 'marketing',
         roleid: 3,
         pageNum: 1,

+ 1 - 1
src/packages/pc/views/member/institution/open/components/details/index.vue

@@ -103,7 +103,7 @@ const certypecompanyEnum = useEnum('certypecompany')
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => onCancel(true))
 
 const { data } = useRequest(queryWskhUserinfoDetail, {
-    params: {
+    defaultParams: {
         userId: props.record.userid
     },
     onSuccess: (res) => {

+ 1 - 1
src/packages/pc/views/member/institution/open/index.vue

@@ -65,7 +65,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryWskhUserinfo, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/member/institution/operation/components/details/index.vue

@@ -37,7 +37,7 @@ const refresh = shallowRef(false)
 const loading = shallowRef(false)
 
 const { data } = useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'operate',
         userid: props.record.userid
     },

+ 2 - 2
src/packages/pc/views/member/institution/operation/components/edit/index.vue

@@ -64,7 +64,7 @@ const refresh = shallowRef(false)
 const organSelect = ref<Model.OrganSelectRsp>()
 
 const { data, loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'operate'
     },
     onError: (err) => {
@@ -74,7 +74,7 @@ const { data, loading } = useRequest(initAdd, {
 
 const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManager, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid?.toString()
     },
     onError: (err) => {

+ 2 - 2
src/packages/pc/views/member/institution/operation/components/modify/index.vue

@@ -62,7 +62,7 @@ const formData = ref<Partial<Member.RoleAddReq>>({
 })
 
 const { data, loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'operate'
     },
     onError: (err) => {
@@ -71,7 +71,7 @@ const { data, loading } = useRequest(initAdd, {
 })
 
 useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'operate',
         userid: props.record?.userid
     },

+ 1 - 1
src/packages/pc/views/member/institution/operation/index.vue

@@ -48,7 +48,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         orgztypes: 'operate',
         roleid: 2,
         pageNum: 1,

+ 1 - 1
src/packages/pc/views/member/institution/riskcfg/components/details/index.vue

@@ -36,7 +36,7 @@ const show = ref(true)
 const refresh = ref(false)
 
 const { data } = useRequest(getRiskRatioTypeForMarketer, {
-    params: {
+    defaultParams: {
         riskcontrolmode: 2,
         customertype: props.record.customertype
     },

+ 1 - 1
src/packages/pc/views/member/institution/riskcfg/index.vue

@@ -49,7 +49,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryAccountRiskConfig, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20
     },

+ 1 - 1
src/packages/pc/views/member/institution/role/components/details/index.vue

@@ -60,7 +60,7 @@ const getSensitiveWords = () => {
 const allMenus = getAllMenus()
 
 const { data, loading } = useRequest(queryDetail, {
-    params: {
+    defaultParams: {
         autoId: props.record.autoid
     },
     onSuccess: (res) => {

+ 1 - 1
src/packages/pc/views/member/institution/role/components/users/index.vue

@@ -29,7 +29,7 @@ const t = i18n.global.t
 const show = shallowRef(true)
 
 const { dataList, loading } = useRequest(queryRoleUser, {
-    params: {
+    defaultParams: {
         autoId: props.record.autoid
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/member/institution/role/index.vue

@@ -42,7 +42,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         type: 1,
         pageNum: 1,
         pageSize: 20

+ 1 - 1
src/packages/pc/views/member/institution/self/components/details/index.vue

@@ -38,7 +38,7 @@ const refresh = shallowRef(false)
 const loading = shallowRef(false)
 
 const { data } = useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'selfsupport',
         userid: props.record.userid
     },

+ 3 - 3
src/packages/pc/views/member/institution/self/components/edit/index.vue

@@ -98,7 +98,7 @@ const marketbstype = [{value: 0, label: "无"}, {value:1, label: "可挂可摘"}
 const tableRef = ref<TableInstance>()
 
 const { loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'selfsupport'
     },
     onSuccess: (res) => {
@@ -122,7 +122,7 @@ const { loading } = useRequest(initAdd, {
 
 const { run: runRoleDetail } = useRequest(queryRoleDetail, {
     manual: true,
-    params: {
+    defaultParams: {
         rolename: 'selfsupport',
         userid: props.record?.userid
     },
@@ -155,7 +155,7 @@ const { run: runRoleDetail } = useRequest(queryRoleDetail, {
 
 const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManager, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid?.toString()
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/member/institution/self/index.vue

@@ -50,7 +50,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         orgztypes: 'selfsupport',
         roleid: 6,
         pageNum: 1,

+ 4 - 4
src/packages/pc/views/member/institution/tradecfg/components/add/index.vue

@@ -145,7 +145,7 @@ const formData = reactive<Member.TradeConfigAddReq>({
 // 获取资金账户列表
 const { data: accountData, run: getAccountIds } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 0
     }
 })
@@ -153,7 +153,7 @@ const { data: accountData, run: getAccountIds } = useRequest(loadSelectOption, {
 // 获取市场列表
 const { data: marketData, run: getMarketList } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 0
     }
 })
@@ -161,7 +161,7 @@ const { data: marketData, run: getMarketList } = useRequest(loadSelectOption, {
 // 获取商品列表
 const { data: goodsData, run: getGoodsList } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 0
     }
 })
@@ -169,7 +169,7 @@ const { data: goodsData, run: getGoodsList } = useRequest(loadSelectOption, {
 // 获取保证金类别列表
 const { data: resultData, run: getResultList } = useRequest(loadSelectOption, {
     manual: true,
-    params: {
+    defaultParams: {
         memberuserid: 0
     },
     onSuccess: (res) => {

+ 1 - 1
src/packages/pc/views/member/institution/tradecfg/components/edit/index.vue

@@ -126,7 +126,7 @@ const goodsItem = computed(() => nodeList.value.find((e) => e.pid === accountIte
 
 // 获取保证金类别列表
 const { data: resultData } = useRequest(loadSelectOption, {
-    params: {
+    defaultParams: {
         memberuserid: formData.marketid,
         userid: formData.userid,
         accountid: formData.accountid,

+ 1 - 1
src/packages/pc/views/member/institution/user/components/account/index.vue

@@ -77,7 +77,7 @@ const { global: { t } } = i18n
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run())
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(organTaaccount, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         userId: props.record.userid

+ 1 - 1
src/packages/pc/views/member/institution/user/components/account/signstatement/index.vue

@@ -49,7 +49,7 @@ const { global: { t } } = i18n
 const show = shallowRef(true)
 
 const { dataList, total, pageSize, pageIndex, run } = useRequest(querySignlog, {
-    params: {
+    defaultParams: {
         accountId: props.record.accountId,
         pageNum: 1,
         pageSize: 20,

+ 1 - 1
src/packages/pc/views/member/institution/user/components/details/index.vue

@@ -83,7 +83,7 @@ const userinfotypeEnum = useEnum('userinfotype')
 const sexEnum = useEnum('Sex')
 
 const { data } = useRequest(queryOrganDetail, {
-    params: {
+    defaultParams: {
         areaId: props.record.userid
     },
     onSuccess: (res) => {

+ 1 - 1
src/packages/pc/views/member/institution/user/components/edit/index.vue

@@ -187,7 +187,7 @@ const uploadFiles = reactive<{
 const isPerson = computed(() => formData.value.userinfotype === UserInfoType.Personal)
 
 const { data, loading } = useRequest(queryOrganDetail, {
-    params: {
+    defaultParams: {
         areaId: props.record.userid
     },
     onSuccess: ((res) => {

+ 1 - 1
src/packages/pc/views/member/institution/user/components/login/index.vue

@@ -67,7 +67,7 @@ const selectedItem = shallowRef<Member.OrganTaaccountRsp>()
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run())
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryorgan2User, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         userid: props.record.userid

+ 1 - 1
src/packages/pc/views/member/institution/user/components/terminal/index.vue

@@ -69,7 +69,7 @@ const { global: { t } } = i18n
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run())
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryselfsupport, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         userid: props.record.userid

+ 1 - 1
src/packages/pc/views/member/institution/user/index.vue

@@ -56,7 +56,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryOrganDetailList, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         usertype: 2

+ 1 - 1
src/packages/pc/views/member/institution/warehouse/components/details/index.vue

@@ -38,7 +38,7 @@ const refresh = shallowRef(false)
 const loading = shallowRef(false)
 
 const { data } = useRequest(queryRoleDetail, {
-    params: {
+    defaultParams: {
         rolename: 'warehouse',
         userid: props.record.userid
     },

+ 2 - 2
src/packages/pc/views/member/institution/warehouse/components/edit/index.vue

@@ -55,7 +55,7 @@ const refresh = shallowRef(false)
 const organSelect = ref<Model.OrganSelectRsp>()
 
 const { loading } = useRequest(initAdd, {
-    params: {
+    defaultParams: {
         role: 'warehouse'
     },
     onError: (err) => {
@@ -65,7 +65,7 @@ const { loading } = useRequest(initAdd, {
 
 const { data: manger, run: runDefaultManager } = useRequest(getOragnDefaultManager, {
     manual: true,
-    params: {
+    defaultParams: {
         userid: formData?.value.userid?.toString()
     },
     onError: (err) => {

+ 1 - 1
src/packages/pc/views/member/institution/warehouse/index.vue

@@ -48,7 +48,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryRole, {
-    params: {
+    defaultParams: {
         orgztypes: 'warehouse',
         roleid: 4,
         pageNum: 1,

+ 1 - 1
src/packages/pc/views/member/subinstitution/addition/index.vue

@@ -51,7 +51,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getAct
 })
 
 const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryOrganSonAudit, {
-    params: {
+    defaultParams: {
         pageNum: 1,
         pageSize: 20,
         accountstatus: 2

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio