From 5664a1a616df498cba58b9a8e63a91ac0ba96bab Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 01 七月 2025 13:44:55 +0800 Subject: [PATCH] feat: add rrweb --- src/views/Home/constants/index.ts | 270 ++++++++++++++++++++++++++++++----------------------- 1 files changed, 151 insertions(+), 119 deletions(-) diff --git a/src/views/Home/constants/index.ts b/src/views/Home/constants/index.ts index f55dcfe..9582a45 100644 --- a/src/views/Home/constants/index.ts +++ b/src/views/Home/constants/index.ts @@ -1,138 +1,170 @@ 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: 'auditStatus', + name: '瀹℃牳鐘舵��', + width: 160, + }, + { + id: '141', + enCode: 'payStatus', + name: '鏀粯鐘舵��', + width: 160, + }, + { id: '15', - enCode: 'onJobFlag', - name: '鍦ㄨ亴鏍囪瘑', + enCode: 'status', + 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); + +export const InsurancePolicyStampFilesColumns = defineColumns([ + { + id: '1', + enCode: 'channelOrderNo', + name: '璁㈠崟鍙�', + }, + { + id: '2', + enCode: 'proposalNo', + name: '鎶曚繚鍗曞彿', + }, + { + id: '3', + enCode: 'sumSignPremium', + name: '淇濊垂閲戦', + }, +]); + +export const InsureDownloadInvoiceColumns = defineColumns([ + { + id: '1', + enCode: 'channelOrderNo', + name: '璁㈠崟鍙�', + }, + { + id: '2', + enCode: 'proposalNo', + name: '鎶曚繚鍗曞彿', + }, + { + id: '3', + enCode: 'invoiceSerialNo', + name: '鍙戠エ鍙风爜', + }, + { + id: '4', + enCode: 'invoicePlanFee', + name: '浠风◣鍚堣', + }, +]); + +export const InsurePayDetailColumns = defineColumns([ + { + id: '1', + enCode: 'channelOrderNo', + name: '璁㈠崟鍙�', + }, + { + id: '2', + enCode: 'proposalNo', + name: '鎶曚繚鍗曞彿', + }, + { + id: '3', + enCode: 'sumSignPremium', + name: '淇濊垂閲戦', + }, + { + id: '4', + enCode: 'status', + name: '鏀粯鐘舵��', + }, +]); -- Gitblit v1.9.1