From 74953600e30027aa89aec6eeb939a182a2a7ecda Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 09 六月 2025 16:20:05 +0800
Subject: [PATCH] feat: 接口

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

diff --git a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
index 3760641..0f50218 100644
--- a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
+++ b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
@@ -1,14 +1,10 @@
 <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="applyAgentViewRef" />
     </ContentScrollView>
     <PageFooter>
-      <PageFooterBtn type="primary" @click="handleSubmit">鎻愪氦鐢宠</PageFooterBtn>
+      <PageFooterBtn type="primary" @click="handleSubmit">绔嬪嵆鎻愪氦</PageFooterBtn>
     </PageFooter>
   </PageLayout>
 </template>
@@ -16,14 +12,23 @@
 <script setup lang="ts">
 import { PageLayout } from '@/components';
 import { RouterPath } from '@/constants';
+import { ApplyAgentView } from '@life-payment/components';
+import type { ComponentExposed } from 'vue-component-type-helpers';
 
 defineOptions({
   name: 'applyAgent',
 });
 
+const applyAgentViewRef =
+  useTemplateRef<ComponentExposed<typeof ApplyAgentView>>('applyAgentViewRef');
+
 function handleSubmit() {
+  applyAgentViewRef.value?.handleSubmit?.();
+}
+
+function submit(value: string) {
   RouteHelper.navigateTo({
-    url: RouterPath.applyResult,
+    url: `${RouterPath.applyResult}?channelConsultationId=${value}`,
   });
 }
 </script>

--
Gitblit v1.9.1