@ningboyz/types 1.1.48 → 1.1.50
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
package/src/enums/editMode.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { TFlowDataResponse } from "../flow/IFlowDataResponse";
|
|
1
2
|
import { IGzzdBillResponse } from "./IGzzdBillResponse";
|
|
3
|
+
import _ from "lodash";
|
|
2
4
|
|
|
3
5
|
export interface IGzzdMainResponse {
|
|
4
6
|
whoBuild: number;
|
|
@@ -169,4 +171,39 @@ export class TGzzdMainResponse implements IGzzdMainResponse {
|
|
|
169
171
|
fromGzjgQueuesBy: number = 0; // 工资结构按照Y中的顺序进行排序
|
|
170
172
|
taskPara: string = "";
|
|
171
173
|
listBill: Array<IGzzdBillResponse> = [];
|
|
174
|
+
|
|
175
|
+
constructor(card: keyof IGzzdMainResponse | object) {
|
|
176
|
+
if (card) {
|
|
177
|
+
_.merge(this, _.pick(card, Object.keys(this)));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
static toFlowDatas(card: IGzzdMainResponse[]): TFlowDataResponse[] {
|
|
182
|
+
return card.map((u) => this.toFlowData(u));
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
//#进入流程
|
|
186
|
+
static toFlowData(myoa: IGzzdMainResponse): TFlowDataResponse {
|
|
187
|
+
const result = new TFlowDataResponse();
|
|
188
|
+
result.whoBuild = myoa.whoBuild;
|
|
189
|
+
result.userIndx = myoa.userIndx;
|
|
190
|
+
result.flowMain = myoa.flowMain;
|
|
191
|
+
result.flowNode = myoa.flowNode;
|
|
192
|
+
// result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HTQD_WAIT;
|
|
193
|
+
result.entityID = myoa.entityID;
|
|
194
|
+
result.billMain = myoa.gzzdIndx;
|
|
195
|
+
result.billCode = myoa.gzzdCode;
|
|
196
|
+
result.billMemo = myoa.gzzdMemo;
|
|
197
|
+
result.billUses = "";
|
|
198
|
+
result.ysxmText = "";
|
|
199
|
+
result.outMoney = 0;
|
|
200
|
+
result.createAt = myoa.createAt;
|
|
201
|
+
result.mastName = myoa.mastName;
|
|
202
|
+
result.createBy = myoa.createBy;
|
|
203
|
+
result.unitMain = myoa.unitMain;
|
|
204
|
+
result.menuUUID = myoa.menuUUID;
|
|
205
|
+
result.deptMain = myoa.deptMain;
|
|
206
|
+
result.flowStat = myoa.gzzdStat;
|
|
207
|
+
return result;
|
|
208
|
+
}
|
|
172
209
|
}
|
|
@@ -126,78 +126,86 @@ export interface INotiMainResponse {
|
|
|
126
126
|
unitArray?: number[];
|
|
127
127
|
diskArray?: number[];
|
|
128
128
|
|
|
129
|
-
/**
|
|
129
|
+
/**
|
|
130
130
|
* 栏目名称
|
|
131
131
|
*/
|
|
132
132
|
columnBy: string;
|
|
133
|
-
/**
|
|
133
|
+
/**
|
|
134
134
|
* 编辑排版
|
|
135
135
|
*/
|
|
136
136
|
editedBy: string;
|
|
137
|
-
/**
|
|
137
|
+
/**
|
|
138
138
|
* 服务对象
|
|
139
139
|
*/
|
|
140
140
|
directAt: number;
|
|
141
|
-
/**
|
|
141
|
+
/**
|
|
142
142
|
* 截止日期
|
|
143
143
|
*/
|
|
144
144
|
endedDay: number;
|
|
145
|
-
/**
|
|
145
|
+
/**
|
|
146
146
|
* 撰稿人
|
|
147
147
|
*/
|
|
148
148
|
sqyhText: string;
|
|
149
|
-
/**
|
|
149
|
+
/**
|
|
150
150
|
* 印发份数
|
|
151
151
|
*/
|
|
152
152
|
issueCnt: number;
|
|
153
|
-
/**
|
|
153
|
+
/**
|
|
154
154
|
* 行政规范性文件
|
|
155
155
|
*/
|
|
156
156
|
zdField1: number;
|
|
157
|
-
/**
|
|
157
|
+
/**
|
|
158
158
|
* 党的规范性文件
|
|
159
159
|
*/
|
|
160
160
|
zdField2: number;
|
|
161
|
-
/**
|
|
161
|
+
/**
|
|
162
162
|
* 市场公平竞争审查意见
|
|
163
163
|
*/
|
|
164
164
|
zdField3: number;
|
|
165
|
-
/**
|
|
165
|
+
/**
|
|
166
166
|
* 信息公开审查意见
|
|
167
167
|
*/
|
|
168
168
|
zdField4: number;
|
|
169
|
-
/**
|
|
169
|
+
/**
|
|
170
170
|
* 密级
|
|
171
171
|
*/
|
|
172
172
|
secretID: string;
|
|
173
|
-
/**
|
|
173
|
+
/**
|
|
174
174
|
* 保密期限
|
|
175
175
|
*/
|
|
176
176
|
secretAt: number;
|
|
177
|
-
/**
|
|
177
|
+
/**
|
|
178
178
|
* 紧急程度
|
|
179
179
|
*/
|
|
180
180
|
urgentID: number;
|
|
181
|
-
/**
|
|
181
|
+
/**
|
|
182
182
|
* 是否督办
|
|
183
183
|
*/
|
|
184
184
|
deadLock: number;
|
|
185
|
-
/**
|
|
185
|
+
/**
|
|
186
186
|
* 来文日期
|
|
187
187
|
*/
|
|
188
188
|
fileDate: number;
|
|
189
|
-
/**
|
|
189
|
+
/**
|
|
190
190
|
* 纸质分送
|
|
191
191
|
*/
|
|
192
192
|
usePaper: string;
|
|
193
|
-
/**
|
|
193
|
+
/**
|
|
194
194
|
* 办理提醒
|
|
195
195
|
*/
|
|
196
196
|
usesNoti: string;
|
|
197
|
-
/**
|
|
197
|
+
/**
|
|
198
198
|
* 申请科室
|
|
199
199
|
*/
|
|
200
200
|
deptName: string;
|
|
201
|
+
/**
|
|
202
|
+
* 文件条码
|
|
203
|
+
*/
|
|
204
|
+
scanCode: string;
|
|
205
|
+
/**
|
|
206
|
+
* 来文单位
|
|
207
|
+
*/
|
|
208
|
+
fileFrom: string;
|
|
201
209
|
}
|
|
202
210
|
|
|
203
211
|
export class TNotiMainResponse implements INotiMainResponse {
|
|
@@ -336,6 +344,8 @@ export class TNotiMainResponse implements INotiMainResponse {
|
|
|
336
344
|
usePaper: string = "";
|
|
337
345
|
usesNoti: string = "";
|
|
338
346
|
deptName: string = "";
|
|
347
|
+
scanCode: string = "";
|
|
348
|
+
fileFrom: string = "";
|
|
339
349
|
|
|
340
350
|
constructor(card: any = {}) {
|
|
341
351
|
if (card) {
|