zhengyiming
2025-06-24 07d7f83a6a1be49c0e1d0702c5abec0839e7e501
feat: 新增功能
2个文件已修改
31 ■■■■■ 已修改文件
src/views/Home/Home.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Home/constants/index.ts 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
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,