From 524b1febe13e9305e9a27c870e09819e0e363bbd Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 21 四月 2025 17:28:48 +0800
Subject: [PATCH] feat: 接口

---
 src/components/commonView/types.ts |   43 +++++++++++++++++++++++++++++++++++++------
 1 files changed, 37 insertions(+), 6 deletions(-)

diff --git a/src/components/commonView/types.ts b/src/components/commonView/types.ts
index dee3565..997e2ba 100644
--- a/src/components/commonView/types.ts
+++ b/src/components/commonView/types.ts
@@ -1,4 +1,3 @@
-import { EnterpriseMaterialFileBusinessTypeEnum } from '@/constants';
 import { UploadUserFile } from '@bole-core/components';
 
 export type FourStreamsMaterialFileTableProps = {
@@ -7,12 +6,19 @@
   showDownloadBtn?: boolean;
   showDeleteBtn?: boolean;
   downloadBtnText?: string;
+  BusinessTypeEnumText?: { [key: number]: string };
 };
 
-export type FourStreamsMaterialFileTableItem = {
-  fileBusinessType: FourStreamsMaterialFileBusinessTypeEnum;
+export type BaseMaterialFileTableItem<T> = {
+  fileBusinessType: T;
   fileList: UploadUserFile[];
 };
+
+export type FourStreamsMaterialFileTableItem =
+  BaseMaterialFileTableItem<FourStreamsMaterialFileBusinessTypeEnum>;
+
+export type ApplyTransferMaterialFileTableItem =
+  BaseMaterialFileTableItem<ApplyTransferFileBusinessTypeEnum>;
 
 export enum EnterpriseTypeEnum {
   /**
@@ -49,18 +55,25 @@
   TaxSubFileUrl = 30,
   /** 浼佷笟钀ユ敹鍒╂鼎琛� */
   OperateProfitesUrl = 40,
-  /** 鍏ラ┗鍏宠仈璇存槑 */
+  /**
+   * 鍏ラ┗鍏宠仈璇存槑
+   * @deprecated 宸茬粡涓嶇敤浜�
+   */
   EnterRelateUrl = 50,
-  /** C绔釜绋庡畬绋庢儏鍐佃鏄� */
+  /** C绔釜绋庡畬绋庤鏄� */
   PersonTaxRatePayUrl = 60,
+  /** C绔釜绋庡畬绋庤鏄� */
+  PersonTaxInstructUrl = 70,
 }
+
 export const FourStreamsMaterialFileBusinessTypeEnumText = {
   [FourStreamsMaterialFileBusinessTypeEnum.ParkEnterPactUrl]: '鍥尯鍏ラ┗鍗忚',
   [FourStreamsMaterialFileBusinessTypeEnum.RatePaymentFileUrl]: '浼佷笟瀹岀◣璇佹槑(鐩栫珷)',
   [FourStreamsMaterialFileBusinessTypeEnum.TaxSubFileUrl]: '浼佷笟缂寸◣鏄庣粏姹囨�昏〃(鐩栫珷)',
   [FourStreamsMaterialFileBusinessTypeEnum.OperateProfitesUrl]: '浼佷笟钀ユ敹鍒╂鼎琛�',
   [FourStreamsMaterialFileBusinessTypeEnum.EnterRelateUrl]: '鍏ラ┗鍏宠仈璇存槑',
-  [FourStreamsMaterialFileBusinessTypeEnum.PersonTaxRatePayUrl]: 'C绔釜绋庡畬绋庢儏鍐佃鏄�',
+  [FourStreamsMaterialFileBusinessTypeEnum.PersonTaxRatePayUrl]: 'C绔釜绋庡畬绋庤鏄�',
+  [FourStreamsMaterialFileBusinessTypeEnum.PersonTaxInstructUrl]: 'C绔畬绋庢儏鍐佃鏄�',
 };
 
 export const FourStreamsMaterialFileBusinessTypeEnumKey = {
@@ -70,4 +83,22 @@
   [FourStreamsMaterialFileBusinessTypeEnum.OperateProfitesUrl]: 'operateProfitesUrl',
   [FourStreamsMaterialFileBusinessTypeEnum.EnterRelateUrl]: 'enterRelateUrl',
   [FourStreamsMaterialFileBusinessTypeEnum.PersonTaxRatePayUrl]: 'personTaxRatePayUrl',
+  [FourStreamsMaterialFileBusinessTypeEnum.PersonTaxInstructUrl]: 'personTaxInstructUrl',
+} as const;
+
+export enum ApplyTransferFileBusinessTypeEnum {
+  /** 鎷ㄤ粯鍑瘉*/
+  FinanceToFileUrl = 100,
+  /** 鍏呭�煎嚟璇�*/
+  TransferToFileUrl = 110,
+}
+
+export const ApplyTransferFileBusinessTypeEnumText = {
+  [ApplyTransferFileBusinessTypeEnum.FinanceToFileUrl]: '鎷ㄤ粯鍑瘉',
+  [ApplyTransferFileBusinessTypeEnum.TransferToFileUrl]: '鍏呭�煎嚟璇�',
+};
+
+export const ApplyTransferFileBusinessTypeEnumKey = {
+  [ApplyTransferFileBusinessTypeEnum.FinanceToFileUrl]: 'financeToFileUrl',
+  [ApplyTransferFileBusinessTypeEnum.TransferToFileUrl]: 'transferToFileUrl',
 } as const;

--
Gitblit v1.9.1