Przeglądaj źródła

Merge branch 'master' of http://192.168.1.41:3000/SmartCost/SCCommon

zhangweicheng 4 lat temu
rodzic
commit
1a142da619

+ 1 - 1
types/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@sc/types",
-  "version": "1.0.29",
+  "version": "1.0.30",
   "description": "共用类型文件",
   "main": "./dist/index.cjs.js",
   "module": "./dist/index.esm.js",

+ 1 - 0
types/src/interface/base.ts

@@ -141,6 +141,7 @@ export enum CptModelName {
   calcProgramFile = 'calcProgramFile',
   options = 'options',
   installationFee = 'installationFee',
+  financialProject = 'financialProject',
 }
 
 // 无数据表的模块名称的枚举

+ 31 - 0
types/src/interface/financialProject.ts

@@ -0,0 +1,31 @@
+// 财审项目类型,字段来自后台,无法修改
+export interface IFinancialProjectType {
+  ID: string;
+  name: string;
+}
+
+// 财审项目审批流程
+export interface IFinancialProjectApproval {
+  ID: string;
+  name: string;
+}
+
+// 财审项目上报人
+export interface IFinancialProjectReporter {
+  ID: string;
+  name: string;
+}
+
+// 财审项目,字段来自后台,无法修改
+export interface IFinancialProject {
+  ID: string;
+  name: string;
+  created: string; // 创建人名称
+  createdID: string; // 创建人ID
+  projectType: IFinancialProjectType;
+  approval?: IFinancialProjectApproval; // 审批流程
+  reportAccount?: IFinancialProjectReporter; // 上报人
+  constructionID?: string; // 关联的建设项目
+  createdTime: number;
+  [props: string]: any;
+}

+ 1 - 0
types/src/interface/index.ts

@@ -21,3 +21,4 @@ export * from './enterprise';
 export * from './infoPrice';
 export * from './installation';
 export * from './quantityNum';
+export * from './financialProject';

+ 1 - 1
types/src/interface/project.ts

@@ -135,7 +135,7 @@ export interface IInfoItem {
   options?: string;
   cellType?: string;
   fileKind?: FileTypeName;
-  items?: IInfoItem[]; 
+  items?: IInfoItem[];
   parentID: string;
   seq: number;
 }