@ningboyz/types 1.0.31 → 1.0.34

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
- "version": "1.0.31",
3
+ "version": "1.0.34",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -0,0 +1,69 @@
1
+ export interface IClasAttrResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ attrIndx: number;
5
+
6
+ clasMain: number;
7
+ parentID: number;
8
+ hashCode: number;
9
+ dataLevl: number;
10
+ dataStat: number;
11
+ dataOrdr: number;
12
+ dataDate: number;
13
+ dataTime: number;
14
+ dataHide: number;
15
+ dataFrom: number;
16
+ kjndKJQJ: number;
17
+ dataGUID: string;
18
+ mastName: string;
19
+ mastGUID: string;
20
+ createBy: string;
21
+ createAt: number;
22
+ updateBy: string;
23
+ updateAt: number;
24
+ deleteBy: string;
25
+ deleteAt: number;
26
+ queuesBy: number;
27
+
28
+ dataCode: string;
29
+ attrCode: string;
30
+ attrName: string;
31
+ attrType: number;
32
+ attrUses: string;
33
+ attrMemo: string;
34
+ }
35
+
36
+ export class TClasAttrResponse implements IClasAttrResponse {
37
+ whoBuild: number = 0;
38
+ userIndx: number = 0;
39
+ attrIndx: number = 0;
40
+
41
+ clasMain: number = 0;
42
+ parentID: number = 0;
43
+ hashCode: number = 0;
44
+ dataLevl: number = 0;
45
+ dataStat: number = 0;
46
+ dataOrdr: number = 0;
47
+ dataDate: number = 0;
48
+ dataTime: number = 0;
49
+ dataHide: number = 0;
50
+ dataFrom: number = 0;
51
+ kjndKJQJ: number = 0;
52
+ dataGUID: string = "";
53
+ mastName: string = "";
54
+ mastGUID: string = "";
55
+ createBy: string = "";
56
+ createAt: number = 0;
57
+ updateBy: string = "";
58
+ updateAt: number = 0;
59
+ deleteBy: string = "";
60
+ deleteAt: number = 0;
61
+ queuesBy: number = 0;
62
+
63
+ dataCode: string = "";
64
+ attrCode: string = "";
65
+ attrName: string = "";
66
+ attrType: number = 0;
67
+ attrUses: string = "";
68
+ attrMemo: string = "";
69
+ }
@@ -0,0 +1,67 @@
1
+ export interface IClasMainResponse {
2
+ whoBuild: number; //#PK
3
+ userIndx: number; //#PK
4
+ clasIndx: number; //#PK
5
+
6
+ parentID: number;
7
+ hashCode: number;
8
+ dataLevl: number;
9
+ dataStat: number;
10
+ dataOrdr: number;
11
+ dataDate: number;
12
+ dataTime: number;
13
+ dataHide: number;
14
+ dataFrom: number;
15
+ kjndKJQJ: number;
16
+ dataGUID: string;
17
+ mastName: string;
18
+ mastGUID: string;
19
+ createBy: string;
20
+ createAt: number;
21
+ updateBy: string;
22
+ updateAt: number;
23
+ deleteBy: string;
24
+ deleteAt: number;
25
+ queuesBy: number;
26
+
27
+ attrSize: number;
28
+ clasType: number;
29
+ clasTabl: string;
30
+ clasCode: string;
31
+ clasName: string;
32
+ clasMemo: string;
33
+ }
34
+
35
+ export class TClasMainResponse implements IClasMainResponse {
36
+ whoBuild: number = 0;
37
+ userIndx: number = 0;
38
+ clasIndx: number = 0;
39
+
40
+ parentID: number = 0;
41
+ hashCode: number = 0;
42
+ dataLevl: number = 0;
43
+ dataStat: number = 0;
44
+ dataOrdr: number = 0;
45
+ dataDate: number = 0;
46
+ dataTime: number = 0;
47
+ dataHide: number = 0;
48
+ dataFrom: number = 0;
49
+ kjndKJQJ: number = 0;
50
+ dataGUID: string = "";
51
+ mastName: string = "";
52
+ mastGUID: string = "";
53
+ createBy: string = "";
54
+ createAt: number = 0;
55
+ updateBy: string = "";
56
+ updateAt: number = 0;
57
+ deleteBy: string = "";
58
+ deleteAt: number = 0;
59
+ queuesBy: number = 0;
60
+
61
+ attrSize: number = 0;
62
+ clasType: number = 0;
63
+ clasTabl: string = "";
64
+ clasCode: string = "";
65
+ clasName: string = "";
66
+ clasMemo: string = "";
67
+ }
@@ -0,0 +1 @@
1
+ ## 数据字典
@@ -4,10 +4,10 @@ import { TGzjgGzlmResponseGzlmPara } from "./IGzjgGzlmResponseGzlmPara";
4
4
 
5
5
  // #工资栏目
6
6
  export interface IGzjgGzlmResponse {
7
- whoBuild: number;
8
- userIndx: number;
9
- gzjgIndx: number;
10
- gzlmFlid: number;
7
+ whoBuild: number; //#PK
8
+ userIndx: number; //#PK
9
+ gzjgIndx: number; //#PK
10
+ gzlmFlid: number; //#PK
11
11
 
12
12
  parentID: number;
13
13
  parentCD: string | undefined;
@@ -26,49 +26,52 @@ export interface IGzjgGzlmResponse {
26
26
  updateAt: number;
27
27
  deleteBy: string;
28
28
  deleteAt: number;
29
- gzlmFlbh: number; // #栏目编号
30
- gzlmFllx: number; // #栏目类型 0:数值;
31
- gzlmFlws: number; // #小数位数
32
- gzlmFljs: number; // #是否计算
33
- gzlmFllj: number; // #是否累计
34
- gzlmFlgq: number; // #是否挂起
35
- gzlmFlkd: number; // #栏目宽度
36
- gzlmFldq: number; // #栏目对齐 对齐方式{1:居左,2:居中,3:居右}
37
- gzlmTjlx: number; // @统计类型(字段作废)
38
- gzlmFlmc: string; // #栏目名称
39
- entityID: string; // #唯一标识
40
- dictType: number;
41
- canInput: number;
42
- gzlmQzgs: string; // #取值公式
43
- gzlmLxgs: number;
44
- formType: string;
45
- inFormat: string;
29
+
30
+ gzlmFlbh: number; //#栏目编号
31
+ gzlmFllx: number; //#栏目类型 0:数值;
32
+ gzlmFlws: number; //#小数位数
33
+ gzlmFljs: number; //#是否计算
34
+ gzlmFllj: number; //#是否累计
35
+ gzlmFlgq: number; //#是否挂起
36
+ gzlmFlkd: number; //#栏目宽度
37
+ gzlmFldq: number; //#栏目对齐 对齐方式{1:居左,2:居中,3:居右}
38
+ gzlmTjlx: number; //@统计类型(字段作废)
39
+ gzlmFlmc: string; //#栏目名称
40
+ entityID: string; //#唯一标识
41
+ dictType: number; //#字典类型
42
+ canInput: number; //#允许编辑
43
+ gzlmQzgs: string; //#取值公式
44
+ gzlmLxgs: number; //#列向公式
45
+ formType: string; //#表单形式
46
+ formArea: string; //#表单区块
47
+ inFormat: string; //#显示格式
46
48
  gzlmQslm: number;
47
49
  gzlmTotal: number;
48
- gzlmPara: string; // #参数约定
50
+ gzlmPara: string; //#参数约定
49
51
  gzlmParaConv: IGzjgGzlmResponseGzlmPara;
50
- gzlmLmbm: string; // #栏目别名
51
- gzlmFlbm: string; // #栏目编号
52
- typTotal: number; // #统计类型{1:应发合计,2:应扣合计,3:实发合计}
52
+ gzlmLmbm: string; //#栏目别名
53
+ gzlmFlbm: string; //#栏目编号
54
+ typTotal: number; //#统计类型{1:应发合计,2:应扣合计,3:实发合计}
53
55
  dataGUID: string;
54
56
 
55
- isLasted: number; // #是否子级{1:是;0:否}
57
+ isLasted: number; //#是否子级{1:是;0:否}
58
+
59
+ expdType: number; //#支出科目
60
+ expdTypc: string; //#支出科目编码
61
+ expdTypn: string; //#支出科目名称
62
+ heavyVal: number; //#待扣优先
63
+ copyJoin: number; //#参与复制
56
64
 
57
- expdType: number; // #支出科目
58
- expdTypc: string; // #支出科目编码
59
- expdTypn: string; // #支出科目名称
60
- heavyVal: number; // #待扣优先
65
+ notEmpty: number; //#非空栏目
66
+ useQuery: number; //#开放查询
67
+ jsScript: string; //#js运行脚本
68
+ sql4Load: string; //#sql运行脚本
61
69
 
62
70
  // 虚拟字段
63
71
  colIndex: number; // 报表工资栏目显示起始位置
64
72
 
65
- notEmpty: number;
66
- useQuery: number;
67
-
68
73
  dynamicField: string;
69
74
  dynamicDict: any[];
70
- jsScript: string;
71
- sql4Load: string;
72
75
 
73
76
  id: number;
74
77
  children: IGzjgGzlmResponse[];
@@ -113,6 +116,7 @@ export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
113
116
  gzlmQzgs: string = "";
114
117
  gzlmLxgs: number = 0;
115
118
  formType: string = "";
119
+ formArea: string = "";
116
120
  inFormat: string = "";
117
121
  gzlmQslm: number = 0;
118
122
  gzlmTotal: number = 0;
@@ -132,6 +136,7 @@ export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
132
136
  expdTypn: string = "";
133
137
  colIndex: number = 0;
134
138
  heavyVal: number = 0; // #待扣优先
139
+ copyJoin: number = 0;
135
140
 
136
141
  notEmpty: number = 0;
137
142
  useQuery: number = 0;
@@ -152,7 +157,7 @@ export class TGzjgGzlmResponse implements IGzjgGzlmResponse {
152
157
  return _.merge(defaultGzlmPara, obj);
153
158
  } catch (e) {
154
159
  const error = e as Error;
155
- console.error(error.message);
160
+ // console.error(error.message);
156
161
  }
157
162
  return defaultGzlmPara;
158
163
  }
@@ -21,9 +21,10 @@ export class TGzjgMainResponseGzjgPara implements IGzjgMainResponseGzjgPara {
21
21
 
22
22
  // #工资结构
23
23
  export interface IGzjgMainResponse {
24
- whoBuild: number;
25
- userIndx: number;
26
- gzjgIndx: number;
24
+ whoBuild: number; //#PK
25
+ userIndx: number; //#PK
26
+ gzjgIndx: number; //#PK
27
+ gzjgMain: number;
27
28
 
28
29
  parentID: number;
29
30
  hashCode: number;
@@ -50,7 +51,7 @@ export interface IGzjgMainResponse {
50
51
  gzjgCode: string;
51
52
  gzjgName: string;
52
53
  gzjgMemo: string;
53
- tablType: number;
54
+ tablType: number; //填报模式
54
55
  colLevel: number;
55
56
  colStart: number;
56
57
  colCount: number;
@@ -63,40 +64,40 @@ export interface IGzjgMainResponse {
63
64
  rowsCopy: number;
64
65
  sysClasc: number;
65
66
  sysClasn: string;
66
- allowAdd: number;
67
- usesYzpz: number;
68
- usesGrid: number;
69
- inOnecol: number;
70
- useTotal: number;
67
+ allowAdd: number; //#允许动态添加行
68
+ usesYzpz: number; //#启用预算账套
69
+ usesGrid: number; //#使用表格展示
70
+ inOnecol: number; //#一列显示行向栏目
71
+ useTotal: number; //#启用合计公式
71
72
  usesYzcg: number;
72
73
  usrGroup: string;
73
- withBody: number;
74
- data4URL: string;
74
+ withBody: number; //#以json格式存储
75
+ data4URL: string; //转换路由
75
76
  thHeight: number;
76
77
  gzjgPara: string;
77
78
  gzjgParaConv: IGzjgMainResponseGzjgPara;
78
79
 
79
- gzjgIcon: string;
80
+ gzjgIcon: string; //相关图标
80
81
  gzlmSize: number;
81
82
  jsScript: string; //#js运行脚本
82
83
  sql4load: string; //#sql运行脚本
83
84
 
84
- usesGsqj: number;
85
+ usesGsqj: number; //#启用归属期间
85
86
  unionCnt: number;
86
- unionTyp: number; //#人员集合类型
87
+ unionTyp: number; //#人员集合
87
88
  menuMain: number;
88
89
  menuUUID: string;
89
- usesHold: number;
90
+ usesHold: number; //#启用待扣管理
90
91
  holdRate: number;
91
92
 
92
- antvView: number;
93
- asHolder: number;
93
+ antvView: number; //数字提取
94
+ asHolder: number; //#作为待扣栏目
94
95
  qzgsSize: number;
95
96
  fixedCol: number;
96
97
  fixedRow: number;
97
98
  gzjgFrom: number;
98
- gzjgMode: number;
99
- directAt: number;
99
+ gzjgMode: number; //#结构模式
100
+ directAt: number; //#报表针对
100
101
 
101
102
  usesPrevious: number;
102
103
  colsCopyText: string;
@@ -105,19 +106,23 @@ export interface IGzjgMainResponse {
105
106
  unitTypeText: string; //#单位类型.文件
106
107
  pathTypeText: string; //#附件类型.文本
107
108
 
108
- usesItemWhenPzpt: number;
109
- useEqualWhenPzpt: number;
109
+ usesItemWhenPzpt: number; //#启用辅助核算
110
+ useEqualWhenPzpt: number; //#启用平衡检查
111
+
112
+ pathType: IDictResponse[]; //#附件类型
113
+ userType: IDictResponse[]; //#人员类型
114
+ unitType: IDictResponse[]; //#单位类型
110
115
 
111
116
  listCols: IGzjgGzlmResponse[];
112
117
  listRows: IGzjgGzlmResponse[];
113
- bodyLook: TGzjgBodyLockResponse[];
114
118
  listGZLM: IGzjgGzlmResponse[];
115
- pathType: IDictResponse[];
116
- colsLand: IGzjgGzlmLandResponse[];
117
- userType: IDictResponse[]; // 人员类型
119
+
118
120
  listQZGS: IGzjgQzgsResponse[];
119
121
  gzlmLock: IGzjgGzlmResponse[];
120
122
 
123
+ colsLand: IGzjgGzlmLandResponse[];
124
+ bodyLook: TGzjgBodyLockResponse[];
125
+
121
126
  // 虚拟字段
122
127
  bodyText: string;
123
128
  colIndex: number; // 报表工资栏目显示起始位置
@@ -128,6 +133,7 @@ export class TGzjgMainResponse implements IGzjgMainResponse {
128
133
  whoBuild: number = 0;
129
134
  userIndx: number = 0;
130
135
  gzjgIndx: number = 0;
136
+ gzjgMain: number = 0;
131
137
 
132
138
  parentID: number = 0;
133
139
  hashCode: number = 0;
@@ -214,16 +220,20 @@ export class TGzjgMainResponse implements IGzjgMainResponse {
214
220
  usesItemWhenPzpt: number = 0;
215
221
  useEqualWhenPzpt: number = 0;
216
222
 
217
- listCols: IGzjgGzlmResponse[] = [];
218
- listGZLM: IGzjgGzlmResponse[] = [];
219
- colsLand: IGzjgGzlmLandResponse[] = [];
220
223
  userType: IDictResponse[] = [];
221
224
  pathType: IDictResponse[] = [];
225
+ unitType: IDictResponse[] = [];
226
+
227
+ listCols: IGzjgGzlmResponse[] = [];
228
+ listGZLM: IGzjgGzlmResponse[] = [];
222
229
  listRows: IGzjgGzlmResponse[] = [];
223
- bodyLook: IGzjgBodyLockResponse[] = [];
230
+
224
231
  listQZGS: IGzjgQzgsResponse[] = [];
225
232
  gzlmLock: IGzjgGzlmResponse[] = [];
226
233
 
234
+ colsLand: IGzjgGzlmLandResponse[] = [];
235
+ bodyLook: IGzjgBodyLockResponse[] = [];
236
+
227
237
  colIndex: number = 0;
228
238
  antvData: number = 0;
229
239
 
@@ -238,4 +248,4 @@ export class TGzjgMainResponse implements IGzjgMainResponse {
238
248
  } catch (e) {}
239
249
  return defaultGzjgPara;
240
250
  }
241
- }
251
+ }