From 915424730f27445da2e8de13b62e77179cc1a15a Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 17:07:39 +0800
Subject: [PATCH] fix: 关闭移动充值渠道,打开电信充值渠道
---
apps/taro/src/subpackages/my/applyAgent/applyAgent.vue | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
index 7f06d32..71ce83a 100644
--- a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
+++ b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
@@ -1,24 +1,34 @@
<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>
<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',
});
-function handleSubmit() {}
+const applyAgentViewRef =
+ useTemplateRef<ComponentExposed<typeof ApplyAgentView>>('applyAgentViewRef');
+
+function handleSubmit() {
+ applyAgentViewRef.value?.handleSubmit?.();
+}
+
+function submit(consultationId: string) {
+ RouteHelper.navigateTo({
+ url: `${RouterPath.applyResult}?consultationId=${consultationId}`,
+ });
+}
</script>
--
Gitblit v1.9.1