@ningboyz/types 1.1.78 → 1.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ export const CONST_ITEM_TYPE_TO_文本 = 1; // #文本
|
|
|
3
3
|
export const CONST_ITEM_TYPE_TO_文本域 = 2; // #备注
|
|
4
4
|
export const CONST_ITEM_TYPE_TO_日期 = 3; // #日期
|
|
5
5
|
export const CONST_ITEM_TYPE_TO_字典 = 4; // #字典
|
|
6
|
+
export const CONST_ITEM_TYPE_TO_单选 = 5; // #单选
|
|
6
7
|
export const CONST_VALIDATE_TO_弹窗 = 1001; //弹窗
|
|
7
8
|
export const CONST_MODAL_DOUBLE_TABLE_弹窗 = 1002; //表格弹窗
|
|
8
9
|
export const CONST_IMAGE_UPLOAD_图片 = 1003; //图片上传
|
|
@@ -8,6 +8,8 @@ export interface IDictResponseDictPara {
|
|
|
8
8
|
unused: number; //字典-资产状态_固定资产是否是闲置状态
|
|
9
9
|
used: number; //字典-资产状态_固定资产是否是在用状态
|
|
10
10
|
zcdbType: number; ///字典-资产调拨-单据类型 配置0, 为单位内,调拨只在同一个单位下进行,调拨到其他部门。配置1,为跨单位调拨。配置2,为跨部门调拨
|
|
11
|
+
/** 是否附件类型不判断必填 */
|
|
12
|
+
notRequiredPath: boolean;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
export class TDictResponseDictPara implements IDictResponseDictPara {
|
|
@@ -20,4 +22,6 @@ export class TDictResponseDictPara implements IDictResponseDictPara {
|
|
|
20
22
|
unused: number = 0;
|
|
21
23
|
used: number = 0;
|
|
22
24
|
zcdbType: number = 0;
|
|
25
|
+
/** 是否附件类型不判断必填 */
|
|
26
|
+
notRequiredPath: boolean = false;
|
|
23
27
|
}
|
|
@@ -124,6 +124,7 @@ export interface IUnitResponse extends IBaseResponse<IUnitResponse[]> {
|
|
|
124
124
|
codeTxt2: string; //对应统发工资编码
|
|
125
125
|
gnkmCode: string; //功能科目
|
|
126
126
|
gnkmName: string; //功能科目
|
|
127
|
+
parentId: number[];
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
export class TUnitResponse extends TBaseResponse<IUnitResponse[]> implements IUnitResponse {
|
|
@@ -202,6 +203,8 @@ export class TUnitResponse extends TBaseResponse<IUnitResponse[]> implements IUn
|
|
|
202
203
|
gnkmCode: string = ""; //功能科目
|
|
203
204
|
gnkmName: string = ""; //功能科目
|
|
204
205
|
|
|
206
|
+
parentId: number[] = [];
|
|
207
|
+
|
|
205
208
|
constructor(card: any = {}) {
|
|
206
209
|
super();
|
|
207
210
|
if (card) {
|
|
@@ -5,20 +5,21 @@ import type { IGzjgGzlmLandResponse } from "./IGzjgGzlmLandResponse";
|
|
|
5
5
|
import type { IGzjgGzlmResponse } from "./IGzjgGzlmResponse";
|
|
6
6
|
import type { IGzjgQzgsResponse } from "./IGzjgQzgsResponse";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
export interface ICompare {
|
|
9
|
+
[key: string]: number;
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
export interface IGzjgMainResponseGzjgPara {
|
|
13
|
+
col: number;
|
|
14
|
+
labelWidth: number;
|
|
15
|
+
titleAlign: "left" | "center" | "right" | "" | null;
|
|
16
|
+
titleColon: boolean;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
typeMain: number;
|
|
19
|
+
typeName: string;
|
|
20
|
+
compare: ICompare;
|
|
21
|
+
uploadMode: string; //导入模式excel/txt
|
|
22
|
+
}
|
|
22
23
|
|
|
23
24
|
export class TGzjgMainResponseGzjgPara implements IGzjgMainResponseGzjgPara {
|
|
24
25
|
col: number = 0;
|
|
@@ -29,6 +30,7 @@ export class TGzjgMainResponseGzjgPara implements IGzjgMainResponseGzjgPara {
|
|
|
29
30
|
typeMain: number = 0;
|
|
30
31
|
typeName: string = "";
|
|
31
32
|
compare: ICompare = {};
|
|
33
|
+
uploadMode: string = "";
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
// #工资结构
|