@ningboyz/types 1.2.92 → 1.2.94

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.92",
4
+ "version": "1.2.94",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -0,0 +1,119 @@
1
+ import { IPathResponse } from "../core";
2
+
3
+ export interface ICardBookResponse {
4
+ whoBuild: number;
5
+ cardIndx: number;
6
+ cardExid: number;
7
+ bookIndx: number;
8
+ dataStat: number;
9
+ dataHide: number;
10
+ dataOrdr: number;
11
+ dataFrom: number;
12
+ dataDate: number;
13
+ dataTime: number;
14
+ createBy: string;
15
+ createAt: number;
16
+ updateBy: string;
17
+ updateAt: number;
18
+ deleteBy: string;
19
+ deleteAt: number;
20
+ queuesBy: number;
21
+ entityID: string;
22
+ /** 证书类型 */
23
+ bookType: number;
24
+ /** 房产证编号/土地证编号/契证编号/租赁证编号/不动产编号 */
25
+ bookCode: string;
26
+ /** 房产证地址/土地证地址/租赁房源地址/坐落 */
27
+ cardZlwz: string;
28
+ /** 房产所有人/土地使用者/承受方/承租人/权利人 */
29
+ bookSyr: string;
30
+ /** 房产证面积/土地证面积/租赁证面积/房屋建筑面积 */
31
+ cardJzmj: number;
32
+ /** 房产规划用途/土地规划用途/不动产权用途 */
33
+ bookUses: number;
34
+ /** 使用开始日期 */
35
+ startDay: number;
36
+ /** 使用结束日期 */
37
+ endedDay: number;
38
+ /** 使用权类型 */
39
+ landSyq: number;
40
+ /** 土地等级 */
41
+ landTddj: number;
42
+ /** 出让方 */
43
+ deedSrf: string;
44
+ /** 转移方式 */
45
+ deedZyfs: number;
46
+ /** 不动产单元号 */
47
+ cardCode: string;
48
+ /** 共有情况 */
49
+ cardCase: string;
50
+ /** 权利性质 */
51
+ cardQlxz: number;
52
+ /** 权利类型 */
53
+ cardQllx: number;
54
+ /** 共有宗地面积 */
55
+ cardZdmj: number;
56
+ /** 权利其他情况 */
57
+ cardMemo: string;
58
+
59
+ listPath: IPathResponse[];
60
+ }
61
+
62
+ export class TCardBookResponse implements ICardBookResponse {
63
+ whoBuild: number = 0;
64
+ cardIndx: number = 0;
65
+ cardExid: number = 0;
66
+ bookIndx: number = 0;
67
+ dataStat: number = 0;
68
+ dataHide: number = 0;
69
+ dataOrdr: number = 0;
70
+ dataFrom: number = 0;
71
+ dataDate: number = 0;
72
+ dataTime: number = 0;
73
+ createBy: string = '';
74
+ createAt: number = 0;
75
+ updateBy: string = '';
76
+ updateAt: number = 0;
77
+ deleteBy: string = '';
78
+ deleteAt: number = 0;
79
+ queuesBy: number = 0;
80
+ entityID: string = '';
81
+ /** 证书类型 */
82
+ bookType: number = 0;
83
+ /** 房产证编号/土地证编号/契证编号/租赁证编号/不动产编号 */
84
+ bookCode: string = '';
85
+ /** 房产证地址/土地证地址/租赁房源地址/坐落 */
86
+ cardZlwz: string = '';
87
+ /** 房产所有人/土地使用者/承受方/承租人/权利人 */
88
+ bookSyr: string = '';
89
+ /** 房产证面积/土地证面积/租赁证面积/房屋建筑面积 */
90
+ cardJzmj: number = 0;
91
+ /** 房产规划用途/土地规划用途/不动产权用途 */
92
+ bookUses: number = 0;
93
+ /** 使用开始日期 */
94
+ startDay: number = 0;
95
+ /** 使用结束日期 */
96
+ endedDay: number = 0;
97
+ /** 使用权类型 */
98
+ landSyq: number = 0;
99
+ /** 土地等级 */
100
+ landTddj: number = 0;
101
+ /** 出让方 */
102
+ deedSrf: string = '';
103
+ /** 转移方式 */
104
+ deedZyfs: number = 0;
105
+ /** 不动产单元号 */
106
+ cardCode: string = '';
107
+ /** 共有情况 */
108
+ cardCase: string = '';
109
+ /** 权利性质 */
110
+ cardQlxz: number = 0;
111
+ /** 权利类型 */
112
+ cardQllx: number = 0;
113
+ /** 共有宗地面积 */
114
+ cardZdmj: number = 0;
115
+ /** 权利其他情况 */
116
+ cardMemo: string = '';
117
+
118
+ listPath: IPathResponse[] = [];
119
+ }
@@ -0,0 +1,168 @@
1
+ import { IPathResponse } from "../core";
2
+ import { ICardRoomResponse } from "./ICardRoomResponse";
3
+
4
+ export interface ICardFwczResponse {
5
+ whoBuild: number;
6
+ userIndx: number;
7
+ fwczIndx: number;
8
+ parentID: number;
9
+ hashCode: number;
10
+ dataLevl: number;
11
+ dataFrom: number;
12
+ kjndKJQJ: number;
13
+ dataStat: number;
14
+ dataOrdr: number;
15
+ dataHide: number;
16
+ dataType: number;
17
+ dataDate: number;
18
+ dataTime: number;
19
+ dataGUID: string;
20
+ userMain: number;
21
+ mastName: string;
22
+ mastGUID: string;
23
+ createBy: string;
24
+ createAt: number;
25
+ updateBy: string;
26
+ updateAt: number;
27
+ deleteBy: string;
28
+ deleteAt: number;
29
+ queuesBy: number;
30
+ entityID: string;
31
+ sourceND: number;
32
+ menuMain: number;
33
+ menuUUID: string;
34
+ unitMain: number;
35
+ deptMain: number;
36
+ sqyhText: string;
37
+ sqbmText: string;
38
+ flowUndo: number;
39
+ flowText: string;
40
+ fwczStat: number;
41
+ fwczCode: string;
42
+ fwczDate: number;
43
+ /** 招租方式 */
44
+ fwczZzfs: number;
45
+ /** 报名竞价人数 */
46
+ fwczBmrs: number;
47
+ /** 参与竞价人数 */
48
+ fwczCyrs: number;
49
+ /** 招租底价 */
50
+ fwczZzdj: number;
51
+ /** 成交首年租金 */
52
+ fwczNzj: number;
53
+ /** 溢价率 */
54
+ fwczYjl: number;
55
+ /** 成交时间 */
56
+ fwczCjsj: number;
57
+ /** 过会单价 */
58
+ fwczGhdj: number;
59
+ /** 过会有效期 */
60
+ fwczGhyxq: number;
61
+ /** 底价确定方式 */
62
+ fwczQdfs: number;
63
+ /** 备注 */
64
+ fwczMemo: string;
65
+
66
+ /** 单位名称 */
67
+ unitText: string;
68
+ /** 招租方式.名称 */
69
+ fwczZzfsText: string;
70
+ /** 底价确定方式.名称 */
71
+ fwczQdfsText: string;
72
+
73
+ lastDate: number;
74
+ lastTime: number;
75
+ flowMain: number;
76
+ flowNode: number;
77
+ flowStat: number;
78
+ didFirst: number;
79
+ lastMemo: string;
80
+ userName: string;
81
+ userGUID: string;
82
+
83
+ listRoom: ICardRoomResponse[];
84
+ listPath: IPathResponse[];
85
+ }
86
+
87
+ export class TCardFwczResponse implements ICardFwczResponse {
88
+ whoBuild: number = 0;
89
+ userIndx: number = 0;
90
+ fwczIndx: number = 0;
91
+ parentID: number = 0;
92
+ hashCode: number = 0;
93
+ dataLevl: number = 0;
94
+ dataFrom: number = 0;
95
+ kjndKJQJ: number = 0;
96
+ dataStat: number = 0;
97
+ dataOrdr: number = 0;
98
+ dataHide: number = 0;
99
+ dataType: number = 0;
100
+ dataDate: number = 0;
101
+ dataTime: number = 0;
102
+ dataGUID: string = '';
103
+ userMain: number = 0;
104
+ mastName: string = '';
105
+ mastGUID: string = '';
106
+ createBy: string = '';
107
+ createAt: number = 0;
108
+ updateBy: string = '';
109
+ updateAt: number = 0;
110
+ deleteBy: string = '';
111
+ deleteAt: number = 0;
112
+ queuesBy: number = 0;
113
+ entityID: string = '';
114
+ sourceND: number = 0;
115
+ menuMain: number = 0;
116
+ menuUUID: string = '';
117
+ unitMain: number = 0;
118
+ deptMain: number = 0;
119
+ sqyhText: string = '';
120
+ sqbmText: string = '';
121
+ flowUndo: number = 0;
122
+ flowText: string = '';
123
+ fwczStat: number = 0;
124
+ fwczCode: string = '';
125
+ fwczDate: number = 0;
126
+ /** 招租方式 */
127
+ fwczZzfs: number = 0;
128
+ /** 报名竞价人数 */
129
+ fwczBmrs: number = 0;
130
+ /** 参与竞价人数 */
131
+ fwczCyrs: number = 0;
132
+ /** 招租底价 */
133
+ fwczZzdj: number = 0;
134
+ /** 成交首年租金 */
135
+ fwczNzj: number = 0;
136
+ /** 溢价率 */
137
+ fwczYjl: number = 0;
138
+ /** 成交时间 */
139
+ fwczCjsj: number = 0;
140
+ /** 过会单价 */
141
+ fwczGhdj: number = 0;
142
+ /** 过会有效期 */
143
+ fwczGhyxq: number = 0;
144
+ /** 底价确定方式 */
145
+ fwczQdfs: number = 0;
146
+ /** 备注 */
147
+ fwczMemo: string = '';
148
+
149
+ /** 单位名称 */
150
+ unitText: string = "";
151
+ /** 招租方式.名称 */
152
+ fwczZzfsText: string = "";
153
+ /** 底价确定方式.名称 */
154
+ fwczQdfsText: string = "";
155
+
156
+ lastDate: number = 0;
157
+ lastTime: number = 0;
158
+ flowMain: number = 0;
159
+ flowNode: number = 0;
160
+ flowStat: number = 0;
161
+ didFirst: number = 0;
162
+ lastMemo: string = "";
163
+ userName: string = "";
164
+ userGUID: string = "";
165
+
166
+ listRoom: ICardRoomResponse[] = [];
167
+ listPath: IPathResponse[] = [];
168
+ }
@@ -28,9 +28,15 @@ export interface ICardHyhbBillResponse {
28
28
  pgdwUsci: string;
29
29
  /** 是否分次 */
30
30
  useBatch: number;
31
+ /** 年租金递增方式 */
32
+ nzdzMode: number;
33
+ /** 处置方式 */
34
+ get4from: number;
31
35
  /** 租赁模式 */
32
36
  zuliMode: number;
37
+ /** 付款方式 */
33
38
  fukuMode: number;
39
+ /** 租赁时长类型 */
34
40
  shchMode: number;
35
41
  /** 租赁时长 */
36
42
  duraTion: number;
@@ -68,9 +74,15 @@ export class TCardHyhbBillResponse implements ICardHyhbBillResponse {
68
74
  pgdwUsci: string = "";
69
75
  /** 是否分次 */
70
76
  useBatch: number = 0;
71
- /** 租赁模式 */
77
+ /** 年租金递增方式 */
78
+ nzdzMode: number=0;
79
+ /** 处置方式 */
80
+ get4from: number=0;
81
+ /** 租赁方式 */
72
82
  zuliMode: number = 0;
83
+ /** 付款方式 */
73
84
  fukuMode: number = 0;
85
+ /** 租赁时长类型 */
74
86
  shchMode: number = 0;
75
87
  /** 租赁时长 */
76
88
  duraTion: number = 0;
@@ -2,6 +2,7 @@ import _ from "lodash";
2
2
  import { Const, TCore } from "../..";
3
3
  import { IDeptResponse, IDictResponse, ILaidResponse, IPathResponse, IUnitResponse, IUserLiteResponse } from "../core";
4
4
  import { TFlowDataResponse } from "../flow";
5
+ import { ICardBookResponse } from "./ICardBookResponse";
5
6
  import { ICardFromResponse } from "./ICardFromResponse";
6
7
  import { ICardRoomResponse } from "./ICardRoomResponse";
7
8
 
@@ -405,6 +406,10 @@ export interface ICardMainResponse {
405
406
  listDDDW: IUserLiteResponse[];
406
407
  /** 房产房源 */
407
408
  listRoom: ICardRoomResponse[];
409
+ /** 产权信息 */
410
+ listBook: ICardBookResponse[];
411
+ /** 产权信息附件 */
412
+ listBookPath: IPathResponse[];
408
413
  /** 接收记录 */
409
414
  listFrom: ICardFromResponse[];
410
415
 
@@ -652,6 +657,8 @@ export class TCardMainResponse implements ICardMainResponse {
652
657
  listLaid: ILaidResponse[] = [];
653
658
  listPath: IPathResponse[] = [];
654
659
  listDDDW: IUserLiteResponse[] = [];
660
+ listBook: ICardBookResponse[] = [];
661
+ listBookPath: IPathResponse[] = [];
655
662
  listRoom: ICardRoomResponse[] = [];
656
663
  listFrom: ICardFromResponse[] = [];
657
664
  listPropDict: IDictResponse[] = [];
@@ -51,6 +51,8 @@ export interface ICardRoomResponse {
51
51
  readTxt3: string;
52
52
  /** 备注信息 */
53
53
  roomMemo: string;
54
+
55
+ fromBillIndx: number;
54
56
  }
55
57
 
56
58
  export class TCardRoomResponse implements ICardRoomResponse {
@@ -71,21 +73,40 @@ export class TCardRoomResponse implements ICardRoomResponse {
71
73
  deleteBy: string = "";
72
74
  deleteAt: number = 0;
73
75
  queuesBy: number = 0;
76
+ /** 唯一标识 */
74
77
  entityID: string = "";
78
+ /** 父级标识 */
75
79
  parentID: number = 0;
80
+ /** 是否父级 1:楼层;0:房间 */
76
81
  asParent: number = 0;
82
+ /** 楼幢号 */
77
83
  buildNum: number = 0;
84
+ /** 单元号 */
78
85
  squadNum: number = 0;
86
+ /** 楼层号 */
79
87
  floorNum: number = 0;
88
+ /** 房间号 */
80
89
  roomCode: string = "";
90
+ /** 具体地址 */
81
91
  roomAddr: string = "";
92
+ /** 建筑面积 */
82
93
  roomJzmj: number = 0;
94
+ /** 公摊面积 */
83
95
  roomGtmj: number = 0;
96
+ /** 出租面积 */
84
97
  roomCzmj: number = 0;
98
+ /** 闲置面积 */
85
99
  roomXzmj: number = 0;
100
+ /** 出租状态 */
86
101
  roomZczt: number = 0;
102
+ /** 电表号 */
87
103
  readTxt1: string = "";
104
+ /** 水表号 */
88
105
  readTxt2: string = "";
106
+ /** 燃气号 */
89
107
  readTxt3: string = "";
108
+ /** 备注信息 */
90
109
  roomMemo: string = "";
110
+
111
+ fromBillIndx: number = 0;
91
112
  }
package/src/card/index.ts CHANGED
@@ -1,4 +1,6 @@
1
+ import { ICardBookResponse, TCardBookResponse } from "./ICardBookResponse.ts";
1
2
  import { IDataResponse, TDataResponse } from "./ICardDataResponse.ts";
3
+ import { ICardFwczResponse, TCardFwczResponse } from "./ICardFwczResponse.ts";
2
4
  import { ICardHyhbBillResponse, TCardHyhbBillResponse } from "./ICardHyhbBillResponse.ts";
3
5
  import { ICardHyhbResponse, TCardHyhbResponse } from "./ICardHyhbResponse.ts";
4
6
  import { ICardMainFindResponse, IRangeVal, TCardMainFindResponse, TRangeVal } from "./ICardMainFindResponse";
@@ -16,10 +18,13 @@ import { IZczjPropResponse, TZczjPropResponse } from "./IZczjPropResponse";
16
18
  import { IZczjResponse, TZczjResponse } from "./IZczjResponse";
17
19
 
18
20
  export {
21
+ TCardBookResponse,
22
+ TCardFwczResponse,
19
23
  TCardHyhbBillResponse,
20
24
  TCardHyhbResponse,
21
25
  TCardMainFindResponse,
22
26
  TCardMainResponse,
27
+ TCardRoomResponse,
23
28
  TDataResponse,
24
29
  TGblbResponse,
25
30
  TP4pzResponse,
@@ -32,11 +37,13 @@ export {
32
37
  TZclbResponse,
33
38
  TZczjPropResponse,
34
39
  TZczjResponse,
35
- TCardRoomResponse,
40
+ type ICardBookResponse,
41
+ type ICardFwczResponse,
36
42
  type ICardHyhbBillResponse,
37
43
  type ICardHyhbResponse,
38
44
  type ICardMainFindResponse,
39
45
  type ICardMainResponse,
46
+ type ICardRoomResponse,
40
47
  type IDataResponse,
41
48
  type IGblbResponse,
42
49
  type IP4pzResponse,
@@ -48,6 +55,6 @@ export {
48
55
  type IZcdbResponse,
49
56
  type IZclbResponse,
50
57
  type IZczjPropResponse,
51
- type IZczjResponse,
52
- type ICardRoomResponse,
58
+ type IZczjResponse
53
59
  };
60
+
@@ -0,0 +1,2 @@
1
+ export const CONST_HZNK_DATA_DATA_TYPE_TO_个人荣誉 = 1001;
2
+ export const CONST_HZNK_DATA_DATA_TYPE_TO_人才称号 = 1002;
@@ -69,6 +69,10 @@ export const CONST_TABS_CONFIRM_TODO = "CONST_TABS_CONFIRM_TODO";
69
69
  * 已经确认业务
70
70
  */
71
71
  export const CONST_TABS_CONFIRM_PROC = "CONST_TABS_CONFIRM_PROC";
72
+ /**
73
+ * 确认中的所有业务
74
+ */
75
+ export const CONST_TABS_CONFIRM_ALL = "CONST_TABS_CONFIRM_ALL";
72
76
 
73
77
  /**
74
78
  * 网络支付 未支付
@@ -134,7 +138,8 @@ export type TabsStat =
134
138
  | typeof CONST_TABS_AUDIT_LOCK_ALL
135
139
  | typeof CONST_TABS_SXCX_ALL
136
140
  | typeof CONST_TABS_CONFIRM_PROC
137
- | typeof CONST_TABS_CONFIRM_TODO;
141
+ | typeof CONST_TABS_CONFIRM_TODO
142
+ | typeof CONST_TABS_CONFIRM_ALL;
138
143
 
139
144
  //============按钮名称===============
140
145
 
@@ -1,5 +1,7 @@
1
1
  import { IPathResponse } from "../core/IPathResponse";
2
2
  import { IHznkDataEachResponse } from "./IHznkDataEachResponse";
3
+ import _ from "lodash";
4
+ import { TFlowDataResponse } from "../flow/IFlowDataResponse";
3
5
 
4
6
  export interface IHznkDataResponse {
5
7
  whoBuild: number;
@@ -163,4 +165,39 @@ export class THznkDataResponse implements IHznkDataResponse {
163
165
 
164
166
  listPath: IPathResponse[] = [];
165
167
  listEach: IHznkDataEachResponse[] = [];
168
+
169
+ constructor(response?: any) {
170
+ if (response) {
171
+ _.merge(this, _.pick(response, Object.keys(this)));
172
+ }
173
+ }
174
+
175
+ static toFlowDatas(notis: THznkDataResponse[]): TFlowDataResponse[] {
176
+ return notis.map((u) => this.toFlowData(u));
177
+ }
178
+
179
+ static toFlowData(aNoti: THznkDataResponse): TFlowDataResponse {
180
+ const result = new TFlowDataResponse();
181
+ result.whoBuild = aNoti.whoBuild;
182
+ result.userIndx = aNoti.userIndx;
183
+ result.flowMain = aNoti.flowMain; //#flowmain=0
184
+ result.flowNode = aNoti.flowNode; //#flownode=0
185
+ result.entityID = aNoti.entityID;
186
+ result.billMain = aNoti.dataIndx;
187
+ result.billCode = aNoti.hznkCode;
188
+ result.billMemo = "";
189
+ result.billUses = "";
190
+ result.ysxmText = "";
191
+ result.outMoney = 0;
192
+ result.notified = "";
193
+ result.createAt = aNoti.createAt;
194
+ result.mastName = aNoti.mastName;
195
+ result.createBy = aNoti.createBy;
196
+ result.unitMain = aNoti.unitMain;
197
+ result.deptMain = aNoti.deptMain;
198
+ result.flowStat = aNoti.hznkStat;
199
+ result.menuUUID = aNoti.menuUUID;
200
+ //#result.touchURL = store.getState().userReducer!.touchURL;//TODO:XF-DEV
201
+ return result;
202
+ }
166
203
  }