@ningboyz/types 1.3.121 → 1.3.124
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,11 +1,11 @@
|
|
|
1
1
|
import { construct, destruct } from "@aximario/json-tree";
|
|
2
2
|
import _ from "lodash";
|
|
3
|
-
import type { IPzptTypeResponse } from "../pzpt";
|
|
4
3
|
import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
4
|
+
import { TCore } from "../index.ts";
|
|
5
|
+
import type { IPzptTypeResponse } from "../pzpt";
|
|
6
|
+
import { IPzptCnfgResponse } from "../pzpt";
|
|
5
7
|
import type { IUnitResponseElemPara } from "./IUnitResponseElemPara";
|
|
6
8
|
import { TUnitResponseElemPara } from "./IUnitResponseElemPara";
|
|
7
|
-
import { IPzptCnfgResponse } from "../pzpt";
|
|
8
|
-
import { TCore } from "../index.ts";
|
|
9
9
|
|
|
10
10
|
export interface IUnitWithCardResponse {
|
|
11
11
|
realKJQJ: number;
|
|
@@ -102,6 +102,9 @@ export interface IUnitResponse extends IBaseResponse<IUnitResponse> {
|
|
|
102
102
|
/** 启用状态 1:开启;0:关闭 */
|
|
103
103
|
usesStat: number;
|
|
104
104
|
|
|
105
|
+
/** 直拨标志 1:直拨单位;0:非直拨单位 */
|
|
106
|
+
usesZbdw: number;
|
|
107
|
+
|
|
105
108
|
listType: any[];
|
|
106
109
|
listCnfg: IPzptCnfgResponse[];
|
|
107
110
|
|
|
@@ -189,6 +192,7 @@ export class TUnitResponse extends TBaseResponse<IUnitResponse> implements IUnit
|
|
|
189
192
|
realKJQJ: number = 0;
|
|
190
193
|
|
|
191
194
|
usesStat: number = 0;
|
|
195
|
+
usesZbdw: number = 0;
|
|
192
196
|
dataType: number = 0;
|
|
193
197
|
|
|
194
198
|
/** 折旧方法 */
|
|
@@ -222,7 +226,7 @@ export class TUnitResponse extends TBaseResponse<IUnitResponse> implements IUnit
|
|
|
222
226
|
try {
|
|
223
227
|
const obj = JSON.parse(unitPara) as TUnitResponseElemPara;
|
|
224
228
|
return _.merge(defaultUnitPara, obj);
|
|
225
|
-
} catch (e) {}
|
|
229
|
+
} catch (e) { }
|
|
226
230
|
return defaultUnitPara;
|
|
227
231
|
}
|
|
228
232
|
|
|
@@ -50,6 +50,10 @@ export interface IHznjZbjgItemResponse {
|
|
|
50
50
|
fromZblrItem: number;
|
|
51
51
|
/**关联任务通知样品 */
|
|
52
52
|
fromNotiItem: number;
|
|
53
|
+
/**正样制备样品编号 */
|
|
54
|
+
mainCode: string;
|
|
55
|
+
/**副样制备样品编号 */
|
|
56
|
+
minoCode: string;
|
|
53
57
|
|
|
54
58
|
/**制备结果单号 */
|
|
55
59
|
zbjgCode: string;
|
|
@@ -72,6 +76,8 @@ export interface IHznjZbjgItemResponse {
|
|
|
72
76
|
mainJcsl: number;
|
|
73
77
|
/**副样结存数量 */
|
|
74
78
|
minoJcsl: number;
|
|
79
|
+
/**到样日期 */
|
|
80
|
+
itemDyrq: number;
|
|
75
81
|
}
|
|
76
82
|
|
|
77
83
|
export class THznjZbjgItemResponse implements IHznjZbjgItemResponse {
|
|
@@ -130,6 +136,13 @@ export class THznjZbjgItemResponse implements IHznjZbjgItemResponse {
|
|
|
130
136
|
/**副样结存数量 */
|
|
131
137
|
minoJcsl: number = 0;
|
|
132
138
|
|
|
139
|
+
/**正样制备样品编号 */
|
|
140
|
+
mainCode: string = "";
|
|
141
|
+
/**副样制备样品编号 */
|
|
142
|
+
minoCode: string = "";
|
|
143
|
+
/**到样日期 */
|
|
144
|
+
itemDyrq: number = 0;
|
|
145
|
+
|
|
133
146
|
constructor(data: Partial<IHznjZbjgItemResponse> = {}) {
|
|
134
147
|
if (data) {
|
|
135
148
|
_.merge(this, _.pick(data, Object.keys(this)));
|
|
@@ -59,8 +59,10 @@ export interface IHznkNoteResponse {
|
|
|
59
59
|
wContact: string;
|
|
60
60
|
/**联系方式 */
|
|
61
61
|
dContact: string;
|
|
62
|
-
|
|
62
|
+
/** 送审/审核时间 */
|
|
63
63
|
lastTime: number;
|
|
64
|
+
/**实际赋分 */
|
|
65
|
+
inputVal: number;
|
|
64
66
|
|
|
65
67
|
/**附件 */
|
|
66
68
|
listPath: TCore.IPathResponse[];
|
|
@@ -122,8 +124,9 @@ export class THznkNoteResponse implements IHznkNoteResponse {
|
|
|
122
124
|
flowStat: number = 0;
|
|
123
125
|
wContact: string = "";
|
|
124
126
|
dContact: string = "";
|
|
125
|
-
|
|
126
|
-
lastTime: number=0;
|
|
127
|
+
/** 送审/审核时间 */
|
|
128
|
+
lastTime: number = 0;
|
|
129
|
+
inputVal: number = 0;
|
|
127
130
|
|
|
128
131
|
listPath: TCore.IPathResponse[] = [];
|
|
129
132
|
listFrom: THznk.IHznkMainResponse[] = [];
|
|
@@ -197,6 +197,12 @@ export interface IMyoaMainResponse {
|
|
|
197
197
|
detailId: number;
|
|
198
198
|
cardMain: number;
|
|
199
199
|
fromCardIndx: number;
|
|
200
|
+
|
|
201
|
+
sField01: string; //用车用途文本
|
|
202
|
+
sField02: string;
|
|
203
|
+
sField03: string;
|
|
204
|
+
sField04: string;
|
|
205
|
+
sField05: string;
|
|
200
206
|
}
|
|
201
207
|
|
|
202
208
|
export class TMyoaMainResponse implements IMyoaMainResponse {
|
|
@@ -373,6 +379,12 @@ export class TMyoaMainResponse implements IMyoaMainResponse {
|
|
|
373
379
|
cardMain: number = 0;
|
|
374
380
|
fromCardIndx: number = 0;
|
|
375
381
|
|
|
382
|
+
sField01: string = ""; //用车用途文本
|
|
383
|
+
sField02: string = "";
|
|
384
|
+
sField03: string = "";
|
|
385
|
+
sField04: string = "";
|
|
386
|
+
sField05: string = "";
|
|
387
|
+
|
|
376
388
|
constructor(card: keyof TMyoaMainResponse | object) {
|
|
377
389
|
if (card) {
|
|
378
390
|
_.merge(this, _.pick(card, Object.keys(this)));
|