From 07d7f83a6a1be49c0e1d0702c5abec0839e7e501 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 24 六月 2025 13:36:11 +0800
Subject: [PATCH] feat: 新增功能
---
src/views/Home/constants/index.ts | 8 +++++++-
src/views/Home/Home.vue | 23 +++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index e566cc1..0e23a33 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -165,6 +165,15 @@
row.status === InsurancePolicyStatusEnum.WaitEffect,
},
},
+ {
+ data: {
+ enCode: 'standarEndoBtn',
+ name: '鐢宠閫�淇�',
+ },
+ emits: {
+ onClick: (role) => handleStandarEndo(role),
+ },
+ },
]).filter(Boolean);
const BaseState = {
@@ -428,4 +437,18 @@
},
});
}
+
+async function handleStandarEndo(row: API.GetInsurancePageOutput) {
+ try {
+ await Message.deleteMessage('鏄惁鐢宠閫�淇�?');
+ let params = {
+ id: row.id,
+ };
+ // let res = await userServices.deleteRole(params);
+ // if (res) {
+ // Message.successMessage('鎿嶄綔鎴愬姛');
+ // getList(paginationState.pageIndex);
+ // }
+ } catch (error) {}
+}
</script>
diff --git a/src/views/Home/constants/index.ts b/src/views/Home/constants/index.ts
index ad89815..86c9edb 100644
--- a/src/views/Home/constants/index.ts
+++ b/src/views/Home/constants/index.ts
@@ -81,12 +81,18 @@
},
{
id: '14',
+ enCode: 'auditStatus',
+ name: '瀹℃牳鐘舵��',
+ width: 160,
+ },
+ {
+ id: '15',
enCode: 'status',
name: '鎶曚繚鐘舵��',
width: 160,
},
{
- id: '15',
+ id: '16',
enCode: 'claimCount',
name: '鐞嗚禂鏁伴噺',
width: 160,
--
Gitblit v1.9.1