From 12cce14bc30a85bbf96b5b30bb1aff1fc354091a Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 27 三月 2025 15:07:21 +0800 Subject: [PATCH] feat: 接口对接 --- src/views/Home/constants/index.ts | 202 +++++++++++++++++++------------------------------ 1 files changed, 79 insertions(+), 123 deletions(-) diff --git a/src/views/Home/constants/index.ts b/src/views/Home/constants/index.ts index f55dcfe..ad89815 100644 --- a/src/views/Home/constants/index.ts +++ b/src/views/Home/constants/index.ts @@ -1,138 +1,94 @@ import { defineColumns } from '@bole-core/components'; -import { AppType, isJYB } from '@/constants'; -export const HomeColumns = defineColumns([ +export const columns = defineColumns([ { id: '1', - enCode: 'channel', - name: '娓犻亾', + enCode: 'serialNum', + name: '鎵规鍙�', width: 160, }, - AppType === 'rz' && { + { id: '2', - enCode: 'salesmanName', - name: '涓氬姟鍛樺鍚�', - width: 160, - }, - { - id: '3', - enCode: 'name', - name: '濮撳悕', - width: 160, - }, - { - id: '4', - enCode: 'idNumber', - name: '韬唤璇佸彿', - width: 200, - }, - { - id: '5', - enCode: 'workType', - name: '闆囧憳宸ョ', - width: 160, - }, - { - id: '6', - enCode: 'laborContractEnterprise', - name: '鍔冲姩鍚堝悓鍗曚綅', - width: 160, - }, - { - id: '7', - enCode: 'workEnterprise', - name: '瀹為檯宸ヤ綔鍗曚綅', - width: 160, - }, - isJYB && { - id: '8', - enCode: 'workAddress', - name: '鐢ㄥ伐鍦扮偣', - width: 160, - }, - { - id: '9', - enCode: 'insuranceBeginTime', - name: '淇濋櫓璧锋湡', - width: 160, - }, - { - id: '10', - enCode: 'insuranceEndTime', - name: '淇濋櫓姝㈡湡', - width: 160, - }, - { - id: '11', - enCode: 'insuredInstitution', - name: '鍙備繚鏈烘瀯', - width: 160, - }, - { - id: '12', - enCode: 'insuranceScheme', - name: '鎶曚繚鏂规', - width: 160, - }, - isJYB && { - id: '13', - enCode: 'insuranceType', - name: '鎶曚繚鏂瑰紡', - width: 160, - }, - (AppType === 'rz' || isJYB) && { - id: '14', - enCode: 'orderNo', + enCode: 'insureBillNo', name: '淇濆崟鍙�', width: 160, }, { + id: '3', + enCode: 'insurerName', + name: '鎶曚繚浜�', + width: 160, + }, + { + id: '4', + enCode: 'policyerName', + name: '琚繚浜�', + width: 160, + }, + { + id: '5', + enCode: 'effectStartTime', + name: '淇濋櫓璧锋湡', + width: 160, + }, + { + id: '6', + enCode: 'effectEndTime', + name: '淇濋櫓姝㈡湡', + width: 160, + }, + { + id: '7', + enCode: 'insuranceOrg', + name: '鍙備繚鏈烘瀯', + width: 160, + }, + { + id: '8', + enCode: 'insuranceScheme', + name: '鎶曚繚鏂规', + width: 160, + }, + { + id: '9', + enCode: 'insurancePeriod', + name: '鎶曚繚鏂瑰紡', + width: 160, + }, + { + id: '10', + enCode: 'insureCount', + name: '鎶曚繚浜烘暟', + width: 160, + }, + { + id: '11', + enCode: 'sumInsured', + name: '鎬讳繚棰�(鍏�)', + width: 200, + }, + { + id: '12', + enCode: 'amount', + name: '鎬讳繚璐�(鍏�)', + width: 160, + }, + { + id: '13', + enCode: 'creationTime', + name: '鏈�杩戝鍏ユ棩鏈�', + width: 160, + }, + { + id: '14', + enCode: 'status', + name: '鎶曚繚鐘舵��', + width: 160, + }, + { id: '15', - enCode: 'onJobFlag', - name: '鍦ㄨ亴鏍囪瘑', - width: 160, - }, - { - id: '16', - enCode: 'gender', - name: '鎬у埆', - width: 160, - }, - { - id: '17', - enCode: 'age', - name: '骞撮緞', - width: 160, - }, - AppType !== 'other' && { - id: '18', - enCode: 'idCardCheckResult', - name: '韬唤璇佹牎楠�', - width: 160, - }, - AppType !== 'other' && { - id: '19', - enCode: 'idCardRepeatResult', - name: '韬唤璇佹槸鍚﹂噸澶�', - width: 160, - }, - { - id: '20', - enCode: 'premiumAmount', - name: '淇濊垂', - width: 160, - }, - { - id: '21', - enCode: 'incDecAmount', - name: '澧炲噺璐圭敤', - width: 160, - }, - - { - id: '20', - enCode: 'createTime', - name: '瀵煎叆鏃ユ湡', + enCode: 'claimCount', + name: '鐞嗚禂鏁伴噺', width: 160, }, ]).filter(Boolean); -- Gitblit v1.9.1