From 4051b3110191d0c03ab6fc5f5d33de34a159befa Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 16 Jan 2025 10:49:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor(xumu):=20=E4=BC=98=E5=8C=96=E7=90=86?= =?UTF-8?q?=E8=B5=94=E7=94=B3=E8=AF=B7=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 根据 remarks 字段判断是否可申请理赔,而非拼接 status 和 auditStatus - 简化 permit 字段的使用,直接用于判断是否显示理赔按钮 --- project/xumu/AppClaimApply/list.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/xumu/AppClaimApply/list.vue b/project/xumu/AppClaimApply/list.vue index d380bb3c..ac907c16 100644 --- a/project/xumu/AppClaimApply/list.vue +++ b/project/xumu/AppClaimApply/list.vue @@ -48,7 +48,7 @@ export default { getTableData() { this.instance.post("/api/insurance/claim/apply/page", {...this.page, ...this.search}).then(res => { if (res?.data) { - this.tableData = res.data?.records.map(e => ({...e, permit: `${e.status}` + e.auditStatus})) + this.tableData = res.data?.records.map(e => ({...e, permit: e.remarks == "可申请理赔"})) this.page.total = res.data.total } }) @@ -84,7 +84,7 @@ export default {