zhengyiming
2025-05-29 b8aa16ee1bd825e9798b9c749a1b8877844882fb
apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
@@ -1,7 +1,7 @@
<template>
  <PageLayout title="立即申请" class="applyAgent-page-wrapper" hasBgColor :needAuth="false">
    <ContentScrollView hasPaddingTop style="background-color: transparent">
      <ApplyAgentView @submit="submit" ref="orderApplyRefundViewRef" />
      <ApplyAgentView @submit="submit" ref="applyAgentViewRef" />
    </ContentScrollView>
    <PageFooter>
      <PageFooterBtn type="primary" @click="handleSubmit">提交申请</PageFooterBtn>
@@ -11,6 +11,7 @@
<script setup lang="ts">
import { PageLayout } from '@/components';
import { RouterPath } from '@/constants';
import { ApplyAgentView } from '@life-payment/components';
import { goBack } from '@/utils';
import type { ComponentExposed } from 'vue-component-type-helpers';
@@ -27,6 +28,8 @@
}
function submit() {
  goBack();
  RouteHelper.navigateTo({
    url: RouterPath.applyResult,
  });
}
</script>