Procházet zdrojové kódy

feat(types): 模板文件类型修改

lipk před 2 roky
rodič
revize
c07d516080
1 změnil soubory, kde provedl 8 přidání a 1 odebrání
  1. 8 1
      types/src/interface/matter.ts

+ 8 - 1
types/src/interface/matter.ts

@@ -106,7 +106,12 @@ export interface IYsProfileTemplate {
   fileNum?: number;
   remark?: string; // 备注
   profileIndex?: string; // 资料索引
-  templateFiles: { originalName: string; realName: string }[]; // 文件模板名称
+  templateFiles: {
+    originalName: string;
+    realName: string;
+    ID: string;
+    path: string;
+  }[]; // 文件模板名称
 }
 
 export interface IGatherYsProfileTemplate extends IYsProfileTemplate {
@@ -207,11 +212,13 @@ export const ComponentNameMap: Record<string, string> = {
 // 后台模板文件
 export interface IGypFileTemplate {
   ID: string;
+  dataID: string;
   url: string;
   originalName: string;
   realName: string;
   gypID: string;
   businessID: string;
+  path: string;
 }
 
 // 事项库