From cb5c584850e50d7f033b030ed0a9f3a59da37291 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 14 四月 2025 10:51:28 +0800
Subject: [PATCH] feat: 接口
---
src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue | 60 ++++++++++++++++++++++++++++++------------------------------
1 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue b/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
index 3c2cc91..0405ef3 100644
--- a/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
+++ b/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
@@ -10,42 +10,33 @@
<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',
});
const column: API.CustomModuleColumnDto[] = [
- {
- id: '1',
- enCode: 'batchBillNo',
- name: '鐢虫姤鎵规鍙�',
- },
- {
- id: '2',
- enCode: 'changeType',
- name: '鐢虫姤鏃ユ湡',
- },
+ // {
+ // id: '1',
+ // enCode: 'batchNo',
+ // name: '鐢虫姤鎵规鍙�',
+ // },
+ // {
+ // id: '2',
+ // 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