From c8c2f28f9008989f8035da5e78c262b326707065 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 22 五月 2025 17:04:39 +0800
Subject: [PATCH] Merge branch 'dev-ui' of http://120.26.58.240:8888/r/LifePaymentFront into dev-ui

---
 apps/taro/src/subpackages/my/applyAgent/applyAgent.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
index 3760641..7e32f74 100644
--- a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
+++ b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
@@ -1,11 +1,7 @@
 <template>
   <PageLayout title="绔嬪嵆鐢宠" class="applyAgent-page-wrapper" hasBgColor :needAuth="false">
     <ContentScrollView hasPaddingTop style="background-color: transparent">
-      <!-- <OrderApplyRefundView
-      :id="id"
-      @submitApplyRefund="submitApplyRefund"
-      ref="orderApplyRefundViewRef"
-    /> -->
+      <ApplyAgentView @submit="submit" ref="orderApplyRefundViewRef" />
     </ContentScrollView>
     <PageFooter>
       <PageFooterBtn type="primary" @click="handleSubmit">鎻愪氦鐢宠</PageFooterBtn>
@@ -16,14 +12,22 @@
 <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';
 
 defineOptions({
   name: 'applyAgent',
 });
 
+const applyAgentViewRef =
+  useTemplateRef<ComponentExposed<typeof ApplyAgentView>>('applyAgentViewRef');
+
 function handleSubmit() {
-  RouteHelper.navigateTo({
-    url: RouterPath.applyResult,
-  });
+  applyAgentViewRef.value?.handleSubmit?.();
+}
+
+function submit() {
+  goBack();
 }
 </script>

--
Gitblit v1.9.1