@ningboyz/types 1.0.152 → 1.0.153

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.152",
3
+ "version": "1.0.153",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -125,6 +125,75 @@ export interface INotiMainResponse {
125
125
  typeArray?: number[];
126
126
  unitArray?: number[];
127
127
  diskArray?: number[];
128
+
129
+ /**
130
+ * 栏目名称
131
+ */
132
+ columnBy: string;
133
+ /**
134
+ * 编辑排版
135
+ */
136
+ editedBy: string;
137
+ /**
138
+ * 服务对象
139
+ */
140
+ directAt: number;
141
+ /**
142
+ * 截止日期
143
+ */
144
+ endedDay: number;
145
+ /**
146
+ * 撰稿人
147
+ */
148
+ sqyhText: string;
149
+ /**
150
+ * 印发份数
151
+ */
152
+ issueCnt: number;
153
+ /**
154
+ * 行政规范性文件
155
+ */
156
+ zdField1: number;
157
+ /**
158
+ * 党的规范性文件
159
+ */
160
+ zdField2: number;
161
+ /**
162
+ * 市场公平竞争审查意见
163
+ */
164
+ zdField3: number;
165
+ /**
166
+ * 信息公开审查意见
167
+ */
168
+ zdField4: number;
169
+ /**
170
+ * 密级
171
+ */
172
+ secretID: number;
173
+ /**
174
+ * 保密期限
175
+ */
176
+ secretAt: string;
177
+ /**
178
+ * 紧急程度
179
+ */
180
+ urgentID: number;
181
+ /**
182
+ * 是否督办
183
+ */
184
+ deadLock: number;
185
+ /**
186
+ * 来文日期
187
+ */
188
+ fileDate: string;
189
+ /**
190
+ * 纸质分送
191
+ */
192
+ usePaper: string;
193
+ /**
194
+ * 办理提醒
195
+ */
196
+ usesNoti: string;
128
197
  }
129
198
 
130
199
  export class TNotiMainResponse implements INotiMainResponse {
@@ -245,6 +314,24 @@ export class TNotiMainResponse implements INotiMainResponse {
245
314
  unitArray?: number[] = [];
246
315
  diskArray?: number[] = [];
247
316
 
317
+ columnBy: string = "";
318
+ editedBy: string = "";
319
+ directAt: number = 0;
320
+ endedDay: number = 0;
321
+ sqyhText: string = "";
322
+ issueCnt: number = 0;
323
+ zdField1: number = 0;
324
+ zdField2: number = 0;
325
+ zdField3: number = 0;
326
+ zdField4: number = 0;
327
+ secretID: number = 0;
328
+ secretAt: string = "";
329
+ urgentID: number = 0;
330
+ deadLock: number = 0;
331
+ fileDate: string = "";
332
+ usePaper: string = "";
333
+ usesNoti: string = "";
334
+
248
335
  constructor(card: any = {}) {
249
336
  if (card) {
250
337
  _.merge(this, _.pick(card, Object.keys(this)));
@@ -55,6 +55,7 @@ export interface IPzptCnfgResponse {
55
55
  cnfgText: string;
56
56
  targetDb: string;
57
57
  cnfgCode: string;
58
+ unitTypeText: string; // #单位类型
58
59
  editItemWhenVoid: number;
59
60
  editItemWhenP5pz: number; // 允许修改辅助核算
60
61
  findK8kmWhenP2pz: number;
@@ -92,6 +93,7 @@ export class TPzptCnfgResponse implements IPzptCnfgResponse {
92
93
  dataHide: number = 0;
93
94
  dataGUID: string = "";
94
95
  mastName: string = "";
96
+ unitTypeText: string = ""; // #单位类型
95
97
  mastGUID: string = "";
96
98
  createBy: string = "";
97
99
  createAt: number = 0;
@@ -1,5 +1,6 @@
1
1
  import { TFlowDataResponse } from "../flow/IFlowDataResponse";
2
2
  import * as Const from "../const";
3
+ import _ from "lodash";
3
4
 
4
5
  export interface IZbzdMainResponse {
5
6
  whoBuild: number
@@ -124,6 +125,11 @@ export class TZbzdMainResponse implements IZbzdMainResponse {
124
125
  zbzdCode: string = ''
125
126
  zbzdUses: string = ''
126
127
 
128
+ constructor(card: any = {}) {
129
+ if (card) {
130
+ _.merge(this, _.pick(card, Object.keys(this)));
131
+ }
132
+ }
127
133
 
128
134
  static toFlowDatas(card: TZbzdMainResponse[]): TFlowDataResponse[] {
129
135
  return card.map((u) => this.toFlowData(u));