From 07d73df3d817d01ce47f6c7b7a8d8514cd389295 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 13 三月 2025 10:19:44 +0800
Subject: [PATCH] release: @life-payment/core v0.0.3

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

diff --git a/apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue b/apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue
new file mode 100644
index 0000000..d29af0f
--- /dev/null
+++ b/apps/taro/src/subpackages/userAccount/userAccountList/InnerPage.vue
@@ -0,0 +1,29 @@
+<template>
+  <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.璇濊垂璁㈠崟) {
+    Taro.navigateTo({
+      url: `${RouterPath.editPhoneUserAccount}?id=${row.id}`,
+    });
+  } else if (row.lifePayType === LifeRechargeConstants.LifePayOrderTypeEnum.鐢佃垂璁㈠崟) {
+    Taro.navigateTo({
+      url: `${RouterPath.editElectricUserAccount}?id=${row.id}`,
+    });
+  } else if (row.lifePayType === LifeRechargeConstants.LifePayOrderTypeEnum.鐕冩皵璁㈠崟) {
+    Taro.navigateTo({
+      url: `${RouterPath.editGasUserAccount}?id=${row.id}`,
+    });
+  }
+}
+</script>

--
Gitblit v1.9.1