From 1327b99efda99ada27a956981648950f580314b0 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 22 五月 2025 14:17:47 +0800
Subject: [PATCH] fix: 修改ui

---
 apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue b/apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue
index e5178a1..e9fe129 100644
--- a/apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue
+++ b/apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue
@@ -1,11 +1,29 @@
 <template>
-  <UserAccountListView />
+  <UserAccountListView @go-edit="handleGoEdit" />
 </template>
 
 <script setup lang="ts">
 import { UserAccountListView } from '@life-payment/components';
+import { UserAccountListOutput, LifeRechargeConstants } from '@life-payment/core-vue';
+import Taro from '@tarojs/taro';
 
 defineOptions({
   name: 'InnerPage',
 });
+
+function handleGoEdit(row: UserAccountListOutput) {
+  if (row.lifePayType === LifeRechargeConstants.LifePayOrderTypeEnum.璇濊垂璁㈠崟) {
+    RouteHelper.navigateTo({
+      url: `${RouterPath.editPhoneUserAccount}?id=${row.id}`,
+    });
+  } else if (row.lifePayType === LifeRechargeConstants.LifePayOrderTypeEnum.鐢佃垂璁㈠崟) {
+    RouteHelper.navigateTo({
+      url: `${RouterPath.editElectricUserAccount}?id=${row.id}`,
+    });
+  } else if (row.lifePayType === LifeRechargeConstants.LifePayOrderTypeEnum.鐕冩皵璁㈠崟) {
+    RouteHelper.navigateTo({
+      url: `${RouterPath.editGasUserAccount}?id=${row.id}`,
+    });
+  }
+}
 </script>

--
Gitblit v1.9.1