@ningboyz/types 1.2.94 → 1.2.96

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.2.94",
4
+ "version": "1.2.96",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -199,3 +199,8 @@ export const CONST_SYS_TYPEU_RYGL_ZZMM = "人员管理-政治面貌";
199
199
 
200
200
  /** 票据打印系统 */
201
201
  export const CONST_SYS_TYPEU_PGDY_YT = "票据列表-用途";
202
+
203
+ // 决策管理
204
+ export const CONST_SYS_TYPEU_决策管理_决策类型 = "决策管理-处置方式";
205
+ export const CONST_SYS_TYPEU_决策管理_租赁方式 = "决策管理-租赁方式";
206
+ export const CONST_SYS_TYPEU_决策管理_付款方式 = "决策管理-付款方式";
@@ -1,8 +1,8 @@
1
+ import _ from "lodash";
1
2
  import type { IBaseResponse } from "../base/IBaseResponse";
2
3
  import { TBaseResponse } from "../base/IBaseResponse";
3
4
  import type { IDictResponseDictPara } from "./IDictResponseDictPara";
4
5
  import { TDictResponseDictPara } from "./IDictResponseDictPara";
5
- import _ from "lodash";
6
6
 
7
7
  // #收款单位
8
8
  export interface IUserAcnoResponse extends IBaseResponse<IUserAcnoResponse> {
@@ -41,7 +41,7 @@ export interface IUserAcnoResponse extends IBaseResponse<IUserAcnoResponse> {
41
41
  propoTxt: string; // #修改建议
42
42
  modifyBy: string; // #修改用户.标识
43
43
  modifyAt: number; // #修改时间
44
- acnoType: number; // 收款人类型
44
+ acnoType: number; // 发票类型
45
45
  modifyByText: string; // #修改用户.名称
46
46
  acnoTypeText: string; //
47
47
  acnoTypeMark: string;
@@ -124,7 +124,7 @@ export class TUserAcnoResponse extends TBaseResponse<IUserAcnoResponse> implemen
124
124
  propoTxt: string = "";
125
125
  modifyBy: string = "";
126
126
  modifyAt: number = 0;
127
- acnoType: number = 0;
127
+ acnoType: number = 0; //发票类型
128
128
  modifyByText: string = "";
129
129
  acnoTypeText: string = "";
130
130
  acnoTypeMark: string = "";
@@ -1,14 +1,14 @@
1
1
  import { construct } from "@aximario/json-tree";
2
+ import _ from "lodash";
3
+ import { TCore } from "../../index.ts";
2
4
  import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
3
5
  import type { IDeptResponse } from "./IDeptResponse";
4
6
  import type { IDictResponse } from "./IDictResponse";
7
+ import type { IPartResponse } from "./IPartResponse";
8
+ import { IPathResponse } from "./IPathResponse.ts";
5
9
  import type { IUnitResponse } from "./IUnitResponse";
6
10
  import type { IUserAcnoResponse } from "./IUserAcnoResponse";
7
- import type { IPartResponse } from "./IPartResponse";
8
- import { TCore } from "../../index.ts";
9
- import _ from "lodash";
10
11
  import { IUserPartResponse } from "./IUserPartResponse.ts";
11
- import { IPathResponse } from "./IPathResponse.ts";
12
12
 
13
13
  export interface IUserResponse extends IBaseResponse<IUserResponse> {
14
14
  whoBuild: number; // #PK
@@ -56,9 +56,9 @@ export interface IUserResponse extends IBaseResponse<IUserResponse> {
56
56
  unitReal: number;
57
57
  updateAt: number;
58
58
  updateBy: string;
59
- useAdmin: 1 | 0; // 是否管理员 1是 0不是
60
- isPublic: 1 | 0; // 是否公共账户 1是 0不是
61
- userAddr: string;
59
+ useAdmin: 1 | 0; // 是否管理员 1是 0不是
60
+ isPublic: 1 | 0; // 是否公共账户 1是 0不是
61
+ userAddr: string; // 注册地址
62
62
  userBorn: number;
63
63
  userByrq: number;
64
64
  userCjgz: number;
@@ -94,6 +94,8 @@ export interface IUserResponse extends IBaseResponse<IUserResponse> {
94
94
  wbField1: string; // 区域
95
95
  wbField2: string; // 开票地址
96
96
  wbField3: string; // 开票电话
97
+ wbField4: string; // 单位电话
98
+ wbField5: string; // 法人
97
99
  usciCode: string;
98
100
 
99
101
  get4deptText: string;
@@ -213,10 +215,9 @@ export class TUserResponse extends TBaseResponse<IUserResponse> implements IUser
213
215
  unitReal: number = 0;
214
216
  updateAt: number = 0;
215
217
  updateBy: string = "";
216
- useAdmin: 0 | 1 = 0;
217
- isPublic: 0 | 1 = 0;
218
-
219
- userAddr: string = "";
218
+ useAdmin: 0 | 1 = 0; // 是否管理员 1是 0不是
219
+ isPublic: 0 | 1 = 0; // 是否公共账户 1是 0不是
220
+ userAddr: string = ""; // 注册地址
220
221
  userBorn: number = 0;
221
222
  userByrq: number = 0;
222
223
  userCjgz: number = 0;
@@ -258,6 +259,8 @@ export class TUserResponse extends TBaseResponse<IUserResponse> implements IUser
258
259
  wbField1: string = ""; // 区域
259
260
  wbField2: string = ""; // 开票地址
260
261
  wbField3: string = ""; // 开票电话
262
+ wbField4: string = ""; // 单位电话
263
+ wbField5: string = ""; // 法人
261
264
  usciCode: string = ""; // 征信代码
262
265
 
263
266
  usrPartnText: string = "";
@@ -0,0 +1,49 @@
1
+ export interface IHznkDataItemResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ dataIndx: number;
5
+ idEntity: number;
6
+ dataStat: number;
7
+ dataHide: number;
8
+ dataOrdr: number;
9
+ dataFrom: number;
10
+ dataType: number;
11
+ dataDate: number;
12
+ dataTime: number;
13
+ createBy: string;
14
+ createAt: number;
15
+ updateBy: string;
16
+ updateAt: number;
17
+ deleteBy: string;
18
+ deleteAt: number;
19
+ queuesBy: number;
20
+ userMain: number;
21
+ userName: string;
22
+ ratioVal: number;
23
+ totalVal: number;
24
+ }
25
+
26
+ export class THznkDataItemResponse implements IHznkDataItemResponse {
27
+ whoBuild: number = 0;
28
+ userIndx: number = 0;
29
+ dataIndx: number = 0;
30
+ idEntity: number = 0;
31
+ dataStat: number = 0;
32
+ dataHide: number = 0;
33
+ dataOrdr: number = 0;
34
+ dataFrom: number = 0;
35
+ dataType: number = 0;
36
+ dataDate: number = 0;
37
+ dataTime: number = 0;
38
+ createBy: string = "";
39
+ createAt: number = 0;
40
+ updateBy: string = "";
41
+ updateAt: number = 0;
42
+ deleteBy: string = "";
43
+ deleteAt: number = 0;
44
+ queuesBy: number = 0;
45
+ userMain: number = 0;
46
+ userName: string = "";
47
+ ratioVal: number = 0;
48
+ totalVal: number = 0;
49
+ }
@@ -0,0 +1,45 @@
1
+ export interface IHznkDataNbyhResponse {
2
+ whoBuild: number;
3
+ userIndx: number;
4
+ dataIndx: number;
5
+ idEntity: number;
6
+ dataStat: number;
7
+ dataHide: number;
8
+ dataOrdr: number;
9
+ dataFrom: number;
10
+ dataType: number;
11
+ dataDate: number;
12
+ dataTime: number;
13
+ createBy: string;
14
+ createAt: number;
15
+ updateBy: string;
16
+ updateAt: number;
17
+ deleteBy: string;
18
+ deleteAt: number;
19
+ queuesBy: number;
20
+ userMain: number;
21
+ userName: string;
22
+ }
23
+
24
+ export class THznkDataNbyhResponse implements IHznkDataNbyhResponse {
25
+ whoBuild: number = 0;
26
+ userIndx: number = 0;
27
+ dataIndx: number = 0;
28
+ idEntity: number = 0;
29
+ dataStat: number = 0;
30
+ dataHide: number = 0;
31
+ dataOrdr: number = 0;
32
+ dataFrom: number = 0;
33
+ dataType: number = 0;
34
+ dataDate: number = 0;
35
+ dataTime: number = 0;
36
+ createBy: string = "";
37
+ createAt: number = 0;
38
+ updateBy: string = "";
39
+ updateAt: number = 0;
40
+ deleteBy: string = "";
41
+ deleteAt: number = 0;
42
+ queuesBy: number = 0;
43
+ userMain: number = 0;
44
+ userName: string = "";
45
+ }
@@ -1,5 +1,7 @@
1
1
  import { IPathResponse } from "../core/IPathResponse";
2
2
  import { IHznkDataEachResponse } from "./IHznkDataEachResponse";
3
+ import { IHznkDataItemResponse } from "./IHznkDataItemResponse";
4
+ import { IHznkDataNbyhResponse } from "./IHznkDataNbyhResponse";
3
5
  import _ from "lodash";
4
6
  import { TFlowDataResponse } from "../flow/IFlowDataResponse";
5
7
 
@@ -73,6 +75,25 @@ export interface IHznkDataResponse {
73
75
  /**联系方式 */
74
76
  dContact: string;
75
77
 
78
+ /**知识产权类型 */
79
+ medalTyp: number;
80
+ /**是否主导 */
81
+ isMaster: number;
82
+ /**证书号 */
83
+ bookCode: string;
84
+ /**申请国际专利 */
85
+ isPatent: number;
86
+ /**申请国别 */
87
+ nationBy: string;
88
+ /**是否有价转让(许可) */
89
+ isAssign: number;
90
+ /**是否有价转让(许可) */
91
+ assignAt: number;
92
+ /**期刊名(针对论文) */
93
+ magaZine: string;
94
+ /**作者 */
95
+ writerBy: string;
96
+
76
97
  coverURL: string;
77
98
  touchURL: string;
78
99
  unitText: string;
@@ -91,6 +112,8 @@ export interface IHznkDataResponse {
91
112
  /**附件 */
92
113
  listPath: IPathResponse[];
93
114
  listEach: IHznkDataEachResponse[];
115
+ listItem: IHznkDataItemResponse[];
116
+ listNBYH: IHznkDataNbyhResponse[];
94
117
  }
95
118
 
96
119
  export class THznkDataResponse implements IHznkDataResponse {
@@ -148,6 +171,16 @@ export class THznkDataResponse implements IHznkDataResponse {
148
171
  wContact: string = "";
149
172
  dContact: string = "";
150
173
 
174
+ medalTyp: number = 0;
175
+ isMaster: number = 0;
176
+ bookCode: string = "";
177
+ isPatent: number = 0;
178
+ nationBy: string = "";
179
+ isAssign: number = 0;
180
+ assignAt: number = 0;
181
+ magaZine: string = "";
182
+ writerBy: string = "";
183
+
151
184
  coverURL: string = "";
152
185
  touchURL: string = "";
153
186
  unitText: string = "";
@@ -161,10 +194,12 @@ export class THznkDataResponse implements IHznkDataResponse {
161
194
  didFirst: number = 0;
162
195
  lastMemo: string = "";
163
196
  userName: string = "";
164
- userGUID: string = "";
197
+ userGUID: string = "";
165
198
 
166
199
  listPath: IPathResponse[] = [];
167
200
  listEach: IHznkDataEachResponse[] = [];
201
+ listItem: IHznkDataItemResponse[] = [];
202
+ listNBYH: IHznkDataNbyhResponse[] = [];
168
203
 
169
204
  constructor(response?: any) {
170
205
  if (response) {