Kaynağa Gözat

提现审核

huangbin 4 yıl önce
ebeveyn
işleme
320be26e84

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

@@ -3,9 +3,11 @@
     <!-- 详情 -->
     <Detail :selectedRow="selectedRow" />
     <!-- 确认收款 -->
-    <Withdrawal :selectedRow="selectedRow" />
+    <Withdrawal :selectedRow="selectedRow"
+                @refresh="refresh" />
     <!-- 审核拒绝 -->
-    <Refuse :selectedRow="selectedRow" />
+    <Refuse :selectedRow="selectedRow"
+            @refresh="refresh" />
   </div>
 </template>
 
@@ -15,7 +17,7 @@ import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
 import Detail from '../detail/index.vue';
 import Withdrawal from '../withdrawal/index.vue';
 import Refuse from '../refuse/index.vue';
-import {QhjAccountOutInApply} from "@/services/go/ermcp/qhj/interface";
+import { QhjAccountOutInApply } from '@/services/go/ermcp/qhj/interface';
 
 export default defineComponent({
     name: 'custom-control-modal',

+ 7 - 3
src/views/platinum/platinum_recharge_withdrawal_review/list/withdrawal/index.vue

@@ -24,7 +24,8 @@
         </template>
       </a-table>
     </contextMenu>
-    <ControlModal :selectedRow="selectedRow" />
+    <ControlModal :selectedRow="selectedRow"
+                  @refresh="getTableList" />
   </div>
 </template>
 
@@ -49,10 +50,13 @@ export default defineComponent({
         // 表格列表数据
         const { loading, tableList, queryTable } = queryTableList();
         // 状态
-        const { search, getTableListStatus } = handleTableStatus(queryTable);
+        const { tableStatus, getTableListStatus, search } = handleTableStatus(queryTable);
+        function getTableList() {
+            queryTable(queryAccountInOutApply, { querytype: 1, applystatus: tableStatus.value });
+        }
         initData(() => {
             // 默认 查询待审核状态列表
-            queryTable(queryAccountInOutApply, { querytype: 1, applystatus: 1 });
+            getTableList();
             // 注册表头信息 过滤
             registerColumn('table_pcweb_qhj_withdrawal_review', []);
         });