huangbin 4 лет назад
Родитель
Сommit
671a933ca7

+ 1 - 0
src/common/methods/request/resultInfo.ts

@@ -44,6 +44,7 @@ export function commonResultInfo(fn: Promise<any>, sign: ResultInfo, loading: Re
  * @returns 
  */
 export async function controlLoading(fn: Function, loading: Ref<boolean>, param?: any,): Promise<any> {
+    console.log('请求接口参数: ', param);
     loading.value = true;
     try {
         return await param ? fn(param) : fn()

+ 1 - 1
src/views/information/custom/compoments/controlModal/index.vue

@@ -48,7 +48,7 @@ export default defineComponent({
     },
     setup(props, context) {
         function refresh() {
-            context.emit('context');
+            context.emit('refresh');
         }
         return {
             refresh,

+ 2 - 4
src/views/platinum/platinum_customer_info/compoments/controlModal/index.vue

@@ -36,7 +36,7 @@ import Recover from '../recover/index.vue';
 import Disable from '../disable/index.vue';
 import Cancel from '../cancel/index.vue';
 import Check from '../check/index.vue';
-import {QhjCustomer} from "@/services/go/ermcp/qhj/interface";
+import { QhjCustomer } from '@/services/go/ermcp/qhj/interface';
 
 export default defineComponent({
     name: 'custom-control-modal',
@@ -48,10 +48,8 @@ export default defineComponent({
         },
     },
     setup(props, context) {
-        console.log('kkkkkkkkkkk');
-
         function refresh() {
-            context.emit('context');
+            context.emit('refresh');
         }
         return {
             refresh,

+ 1 - 1
src/views/platinum/platinum_pick_query/list/tab/compoments/controlModal/index.vue

@@ -38,7 +38,7 @@ export default defineComponent({
     },
     setup(props, context) {
         function refresh() {
-            context.emit('context');
+            context.emit('refresh');
         }
         return {
             refresh,

+ 1 - 1
src/views/platinum/platinum_recharge_withdrawal_review/list/recharge/compoments/controlModal/index.vue

@@ -29,7 +29,7 @@ export default defineComponent({
     },
     setup(props, context) {
         function refresh() {
-            context.emit('context');
+            context.emit('refresh');
         }
         return {
             refresh,

+ 1 - 1
src/views/platinum/platinum_recharge_withdrawal_review/list/withdrawal/compoments/controlModal/index.vue

@@ -30,7 +30,7 @@ export default defineComponent({
     },
     setup(props, context) {
         function refresh() {
-            context.emit('context');
+            context.emit('refresh');
         }
         return {
             refresh,

+ 18 - 18
src/views/platinum/platinum_recharge_withdrawal_review/list/withdrawal/compoments/withdrawal/index.vue

@@ -8,14 +8,14 @@
            @cancel="cancel"
            width="890px">
     <template #footer>
-        <a-button key="submit"
-                  type="primary"
-                  :loading="loading"
-                  @click="submit">确认</a-button>
-        <a-button key="cancel"
-                  type="primary"
-                  :loading="loading"
-                  @click="cancel">关闭</a-button>
+      <a-button key="submit"
+                type="primary"
+                :loading="loading"
+                @click="submit">确认</a-button>
+      <a-button key="cancel"
+                type="primary"
+                :loading="loading"
+                @click="cancel">关闭</a-button>
     </template>
     <CommomDetail :selectedRow="selectedRow" />
   </a-modal>
@@ -26,11 +26,11 @@ import { closeModal } from '@/common/setup/modal/index';
 import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
 import CommomDetail from '../common-detail/index.vue';
 import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
-import {t2bExchConfirmBusinessReq} from "@/services/proto/manager/interface";
-import {getTimeValue} from "@/utils/time";
-import {getUserId} from "@/services/bus/account";
-import {t2bExchConfirmBusiness} from "@/services/proto/manager";
-import {QhjAccountOutInApply} from "@/services/go/ermcp/qhj/interface";
+import { t2bExchConfirmBusinessReq } from '@/services/proto/manager/interface';
+import { getTimeValue } from '@/utils/time';
+import { getUserId } from '@/services/bus/account';
+import { t2bExchConfirmBusiness } from '@/services/proto/manager';
+import { QhjAccountOutInApply } from '@/services/go/ermcp/qhj/interface';
 
 export default defineComponent({
     name: 'platinum_withdrawal_review_confirm_withdrawal',
@@ -50,12 +50,12 @@ export default defineComponent({
                 AccountCode: props.selectedRow.accountcode, // 资金账户(交易所的出入金,填0)
                 exchticket: props.selectedRow.exchticket, // 交易所流水号(被审核的流水)
                 tradedate: props.selectedRow.tradedate, // 交易日(被审业务发生的交易日)
-                extoperatorid: getTimeValue(),  // 外部操作流水号
+                extoperatorid: getTimeValue(), // 外部操作流水号
                 bankticket: props.selectedRow.bankticket, // 中心流水号
-                businessconfirmstatus: 1,// 审核结果 1: 通过 2: 拒绝
-                businesstype: props.selectedRow.executetype === 1 ? 2 : 1,  // 交易类型 1: 入金  2:出金 3: 签约 4: 解约
-                auditid: Number(getUserId())  // 审核人
-            }
+                businessconfirmstatus: 1, // 审核结果 1: 通过 2: 拒绝
+                businesstype: props.selectedRow.executetype === 1 ? 2 : 1, // 交易类型 1: 入金  2:出金 3: 签约 4: 解约
+                auditid: Number(getUserId()), // 审核人
+            };
 
             requestResultLoadingAndInfo(t2bExchConfirmBusiness, reqParams, loading, ['确认提现成功', '确认提现失败:']).then(() => {
                 cancel();

+ 1 - 0
src/views/platinum/platinum_recharge_withdrawal_review/list/withdrawal/index.vue

@@ -63,6 +63,7 @@ export default defineComponent({
 
         return {
             getTableListStatus,
+            getTableList,
             search,
             columns,
             updateColumn,