From 0b73bba28e2a8473ab71f5c8b4760c1995ff4fc1 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 21 十月 2025 18:29:07 +0800
Subject: [PATCH] fix: s
---
src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue b/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
index 3c2cc91..ae0e574 100644
--- a/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
+++ b/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
@@ -10,7 +10,8 @@
<script setup lang="ts">
import { AppContainer, useTable, ProTableV2, defineOperationBtns } from '@bole-core/components';
import { OrderInputType } from '@bole-core/core';
-import * as informationServices from '@/services/api/Information';
+import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
+import { BountyCheckStatusEnumText } from '@/constants';
defineOptions({
name: 'EnterpriseDeclareRecordView',
@@ -19,33 +20,23 @@
const column: API.CustomModuleColumnDto[] = [
{
id: '1',
- enCode: 'batchBillNo',
+ enCode: 'batchNo',
name: '鐢虫姤鎵规鍙�',
},
{
id: '2',
- enCode: 'changeType',
+ enCode: 'creationTime',
name: '鐢虫姤鏃ユ湡',
},
{
id: '3',
- enCode: 'creationTime',
- name: '鍐呴儴瀹℃牳鏃ユ湡',
+ enCode: 'outCheckTime',
+ name: '瀹℃牳鏃ユ湡',
},
{
id: '4',
- enCode: 'effectTime',
- name: '鍐呴儴瀹℃牳缁撴灉',
- },
- {
- id: '5',
- enCode: 'insurePersonNumber',
- name: '澶栭儴瀹℃牳鏃ユ湡',
- },
- {
- id: '6',
- enCode: 'orginInsurePersonNumber',
- name: '澶栭儴瀹℃牳缁撴灉',
+ enCode: 'outCheckStatus',
+ name: '瀹℃牳缁撴灉',
},
];
@@ -79,14 +70,15 @@
} = useTable(
async ({ pageIndex, pageSize }, extraParamState) => {
try {
- let params: API.GetInformationForManageInput = {
+ let params: API.QueryParkCustomerBountyApplyInput = {
pageModel: {
rows: pageSize,
page: pageIndex,
orderInput: extraParamState.orderInput,
},
+ id: id,
};
- let res = await informationServices.getInformationForManage(params, {
+ let res = await parkBountyApplyServices.getParkCustomerBountyApplyList(params, {
showLoading: !state.loading,
});
return res;
@@ -94,14 +86,22 @@
},
{
defaultExtraParams: {
- orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }],
+ orderInput: [{ property: 'id', order: OrderInputType.Desc }],
+ },
+ columnsRenderProps: {
+ outCheckTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
+ creationTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
+ outCheckStatus: { type: 'enum', valueEnum: BountyCheckStatusEnumText },
},
}
);
-async function goDetail(row: API.InsureBatchBillDto) {
+async function goDetail(row: API.GetParkCustomerBountyApplyOutput) {
router.push({
- name: '',
+ name: 'MaterialReviewDetail',
+ params: {
+ id: row.id,
+ },
});
}
--
Gitblit v1.9.1