Selaa lähdekoodia

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

yu jie 4 vuotta sitten
vanhempi
commit
10f0192bc7

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

@@ -3,9 +3,11 @@
     <!-- 详情 -->
     <Detail :selectedRow="selectedRow" />
     <!-- 确认收款 -->
-    <Payment :selectedRow="selectedRow" />
+    <Payment :selectedRow="selectedRow"
+             @refresh="refresh" />
     <!-- 审核拒绝 -->
-    <Refuse :selectedRow="selectedRow" />
+    <Refuse :selectedRow="selectedRow"
+            @refresh="refresh" />
   </div>
 </template>
 

+ 5 - 9
src/views/platinum/platinum_recharge_withdrawal_review/list/recharge/compoments/detail/index.vue

@@ -8,14 +8,10 @@
            @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="cancel"
+                type="primary"
+                :loading="loading"
+                @click="cancel">关闭</a-button>
     </template>
     <CommomDetail :selectedRow="selectedRow" />
   </a-modal>
@@ -24,7 +20,7 @@
 import { defineComponent, PropType, ref } from 'vue';
 import { closeModal } from '@/common/setup/modal/index';
 import CommomDetail from '../common-detail/index.vue';
-import {QhjAccountOutInApply} from "@/services/go/ermcp/qhj/interface";
+import { QhjAccountOutInApply } from '@/services/go/ermcp/qhj/interface';
 
 export default defineComponent({
     name: 'platinum_withdrawal_review_detail-desc',

+ 8 - 3
src/views/platinum/platinum_recharge_withdrawal_review/list/recharge/index.vue

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

+ 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', []);
         });