wupengfei
2025-06-09 6a6b899fbffe820f37e9e991f2335ef0c6b911c8
apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
@@ -4,7 +4,7 @@
      <ApplyAgentView @submit="submit" ref="applyAgentViewRef" />
    </ContentScrollView>
    <PageFooter>
      <PageFooterBtn type="primary" @click="handleSubmit">提交申请</PageFooterBtn>
      <PageFooterBtn type="primary" @click="handleSubmit">立即提交</PageFooterBtn>
    </PageFooter>
  </PageLayout>
</template>
@@ -13,7 +13,6 @@
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';
defineOptions({
@@ -27,9 +26,9 @@
  applyAgentViewRef.value?.handleSubmit?.();
}
function submit() {
function submit(consultationId: string) {
  RouteHelper.navigateTo({
    url: RouterPath.applyResult,
    url: `${RouterPath.applyResult}?consultationId=${consultationId}`,
  });
}
</script>