huangbin 4 년 전
부모
커밋
27af1b7cf7
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      src/views/account-manager/account-manager-agency/account-manager-agency-sub/index.vue

+ 6 - 2
src/views/account-manager/account-manager-agency/account-manager-agency-sub/index.vue

@@ -88,7 +88,7 @@ import { handlePreviewImg } from '@/common/setup/upload';
 import { QueryAccountInOutApply, queryBankAccountSign } from '@/services/go/ermcp/qhj';
 import { QueryAccountInOutApplyRsp, QueryAccountInOutApplyRsq, QueryBankAccountSignQsp } from '@/services/go/ermcp/qhj/interface';
 import { QueryPermancePlanTmpRsp } from '@/services/go/wrtrade/interface';
-import { ref, watch } from 'vue';
+import { ref, watch, watchEffect } from 'vue';
 import { getColumns } from './setup';
 
 const addCode = 'account-manager-agency-sub-add';
@@ -186,7 +186,11 @@ export default defineComponent({
             visible.value = true;
             queryDetail();
         });
-
+        watchEffect(() => {
+            if (visible.value) {
+                changeTab(0, tabList.value[0]);
+            }
+        });
         return {
             loading,
             tableList,