Просмотр исходного кода

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

vian 4 лет назад
Родитель
Сommit
dea08f98c5

+ 3 - 2
report/src/interface/basic.ts

@@ -85,7 +85,7 @@ export interface IFontSubCollection {
     FontAngle?: string;
     FontBold?: string;
     FontColor?: string;
-    FontHeight: number;
+    FontHeight: string;
     FontItalic: string;
     FontStrikeOut?: string;
     FontUnderline: string;
@@ -175,6 +175,7 @@ export interface IPreviewPage {
     ];
     MergeBand: IMergeBand;
     style_collection:IStyleCollection;
+    pageBreaks?: any[];
 }
 
 interface ISimpleJSONPage {
@@ -353,7 +354,7 @@ export interface ICustomizeCfg {
     fonts: {
         CfgDispName: string;
         FontBold: string;
-        FontHeight: number;
+        FontHeight: string;
         FontItalic: string;
         FontUnderline: string;
         ID: string;

+ 10 - 7
types/src/interface/base.ts

@@ -156,13 +156,16 @@ export enum ActionType {
 // 特殊的action
 export enum ActionName {
   // ration相关
-  addStdRations = 'addStdRations', // 添加标准定额
-  resetColMetas = 'resetColMetas', // 重置默认列设置
-  updateIndexKey = 'updateIndexKey', // 修改定额工料机的名称,规格,单位
-  addRationGljs = 'addRationGljs', // 添加定额工料机(多个)
-  replaceRationGlj = 'replaceRationGlj', // 替换定额工料机(单个)
-  applyAllInfoPrice = 'applyAllInfoPrice', // 批量套用信息价
-  pasteBlock = 'pasteBlock', // 复制整块
+  ADD_STD_RATIONS = 'addStdRations', // 添加标准定额
+  RESET_COL_METAS = 'resetColMetas', // 重置默认列设置
+  UPDATE_INDEX_KEY = 'updateIndexKey', // 修改定额工料机的名称,规格,单位
+  ADD_RATION_GLJS = 'addRationGljs', // 添加定额工料机(多个)
+  REPLACE_RATION_GLJ = 'replaceRationGlj', // 替换定额工料机(单个)
+  APPLY_ALL_INFO_PRICE = 'applyAllInfoPrice', // 批量套用信息价
+  PASTE_BLOCK = 'pasteBlock', // 复制整块
+
+  // 清单相关
+  ADD_STD_BILLS = 'addStdBills', // 添加标准清单
 
   // 补充人材机相关
   CHANGE_CPT_RATION_TREE = 'changeCptRationTree', // 补充定额章节树数据变更

+ 3 - 0
types/src/interface/enterprise.ts

@@ -35,6 +35,9 @@ export interface IEnterprise {
   enterpriseScale: string;
   createTime: number;
   passwordCheck: 'no' | 'weak' | 'normal' | 'strong' | 'super';
+  subdomain: string;
+  domain: string;
+  icp: string;
   ip: string;
   logoutRule: string;
 }

+ 0 - 4
types/src/interface/user.ts

@@ -104,7 +104,3 @@ export interface IUser {
 export interface IRecentUser extends IUser {
   recentDate: number;
 }
-
-export interface ILoginResult {
-  userID: string;
-}