Browse Source

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

lipk 2 years ago
parent
commit
c07d516080
1 changed files with 8 additions and 1 deletions
  1. 8 1
      types/src/interface/matter.ts

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

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