@ningboyz/types 1.3.20 → 1.3.22
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
|
@@ -16,6 +16,7 @@ export interface IDictResponseDictPara {
|
|
|
16
16
|
* */
|
|
17
17
|
change: string[];
|
|
18
18
|
noChange: string[];
|
|
19
|
+
code: string;
|
|
19
20
|
zcdbType: number; ///字典-资产调拨-单据类型 配置0, 为单位内,调拨只在同一个单位下进行,调拨到其他部门。配置1,为跨单位调拨。配置2,为跨部门调拨
|
|
20
21
|
/** 是否附件类型不判断必填 */
|
|
21
22
|
notRequiredPath: boolean;
|
|
@@ -43,4 +44,6 @@ export class TDictResponseDictPara implements IDictResponseDictPara {
|
|
|
43
44
|
fraction: number = 0;
|
|
44
45
|
/** 是否填写付费总额 */
|
|
45
46
|
isPayTotal: number = 0;
|
|
47
|
+
/** 对应的编码 */
|
|
48
|
+
code: string = "";
|
|
46
49
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export interface IHznkDataBillResponse {
|
|
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
|
+
fydwDate: number;
|
|
21
|
+
totalVal: number;
|
|
22
|
+
innerVal: number;
|
|
23
|
+
outerVal: number;
|
|
24
|
+
nowMoney: number;
|
|
25
|
+
ratioVal: number;
|
|
26
|
+
dictMain: number;
|
|
27
|
+
dictName: string;
|
|
28
|
+
fromWhoBuild: number;
|
|
29
|
+
fromUserIndx: number;
|
|
30
|
+
fromHznkIndx: number;
|
|
31
|
+
fromHznkUUID: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export class THznkDataBillResponse implements IHznkDataBillResponse {
|
|
35
|
+
whoBuild: number = 0;
|
|
36
|
+
userIndx: number = 0;
|
|
37
|
+
dataIndx: number = 0;
|
|
38
|
+
idEntity: number = 0;
|
|
39
|
+
dataStat: number = 0;
|
|
40
|
+
dataHide: number = 0;
|
|
41
|
+
dataOrdr: number = 0;
|
|
42
|
+
dataFrom: number = 0;
|
|
43
|
+
dataType: number = 0;
|
|
44
|
+
dataDate: number = 0;
|
|
45
|
+
dataTime: number = 0;
|
|
46
|
+
createBy: string = "";
|
|
47
|
+
createAt: number = 0;
|
|
48
|
+
updateBy: string = "";
|
|
49
|
+
updateAt: number = 0;
|
|
50
|
+
deleteBy: string = "";
|
|
51
|
+
deleteAt: number = 0;
|
|
52
|
+
queuesBy: number = 0;
|
|
53
|
+
fydwDate: number = 0;
|
|
54
|
+
totalVal: number = 0;
|
|
55
|
+
innerVal: number = 0;
|
|
56
|
+
outerVal: number = 0;
|
|
57
|
+
nowMoney: number = 0;
|
|
58
|
+
ratioVal: number = 0;
|
|
59
|
+
dictMain: number = 0;
|
|
60
|
+
dictName: string = "";
|
|
61
|
+
fromWhoBuild: number = 0;
|
|
62
|
+
fromUserIndx: number = 0;
|
|
63
|
+
fromHznkIndx: number = 0;
|
|
64
|
+
fromHznkUUID: string = "";
|
|
65
|
+
}
|
|
@@ -122,7 +122,7 @@ export interface IHznkDataResponse {
|
|
|
122
122
|
/**字典3名称 */
|
|
123
123
|
fromDic3Text: string;
|
|
124
124
|
/** 关联的项目indx */
|
|
125
|
-
fromHznkMain:number
|
|
125
|
+
fromHznkMain: number;
|
|
126
126
|
coverURL: string;
|
|
127
127
|
touchURL: string;
|
|
128
128
|
unitText: string;
|
|
@@ -146,6 +146,8 @@ export interface IHznkDataResponse {
|
|
|
146
146
|
listLock: THznk.IHznkDataResponse[];
|
|
147
147
|
/** 关联项目 */
|
|
148
148
|
listFrom: THznk.IHznkMainResponse[];
|
|
149
|
+
/**成果转化到位经费 */
|
|
150
|
+
listBill: THznk.IHznkDataBillResponse[];
|
|
149
151
|
}
|
|
150
152
|
|
|
151
153
|
export class THznkDataResponse implements IHznkDataResponse {
|
|
@@ -224,7 +226,7 @@ export class THznkDataResponse implements IHznkDataResponse {
|
|
|
224
226
|
fromDic2Text: string = "";
|
|
225
227
|
fromDic3Text: string = "";
|
|
226
228
|
/** 关联的项目indx */
|
|
227
|
-
fromHznkMain:number=0
|
|
229
|
+
fromHznkMain: number = 0;
|
|
228
230
|
|
|
229
231
|
coverURL: string = "";
|
|
230
232
|
touchURL: string = "";
|
|
@@ -254,6 +256,7 @@ export class THznkDataResponse implements IHznkDataResponse {
|
|
|
254
256
|
listLock: THznk.IHznkDataResponse[] = [];
|
|
255
257
|
/** 关联项目 */
|
|
256
258
|
listFrom: THznk.IHznkMainResponse[] = [];
|
|
259
|
+
listBill: THznk.IHznkDataBillResponse[] = [];
|
|
257
260
|
|
|
258
261
|
constructor(response?: any) {
|
|
259
262
|
if (response) {
|
|
@@ -41,6 +41,7 @@ export interface IHznkFydwResponse {
|
|
|
41
41
|
flowText: string;
|
|
42
42
|
fydwDate: number;
|
|
43
43
|
fydwStat: number;
|
|
44
|
+
fydwCode: number;
|
|
44
45
|
/**项目名称 */
|
|
45
46
|
baseName: string;
|
|
46
47
|
/**项目编码 */
|
|
@@ -119,6 +120,7 @@ export class THznkFydwResponse implements IHznkFydwResponse {
|
|
|
119
120
|
flowUser: string = "";
|
|
120
121
|
flowText: string = "";
|
|
121
122
|
fydwDate: number = 0;
|
|
123
|
+
fydwCode: number = 0;
|
|
122
124
|
fydwStat: number = 0;
|
|
123
125
|
baseName: string = "";
|
|
124
126
|
baseCode: string = "";
|
|
@@ -153,27 +155,27 @@ export class THznkFydwResponse implements IHznkFydwResponse {
|
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
//#进入流程
|
|
156
|
-
static toFlowData(
|
|
158
|
+
static toFlowData(data: IHznkFydwResponse): TFlowDataResponse {
|
|
157
159
|
const result = new TFlowDataResponse();
|
|
158
|
-
result.whoBuild =
|
|
159
|
-
result.userIndx =
|
|
160
|
-
result.flowMain =
|
|
161
|
-
result.flowNode =
|
|
160
|
+
result.whoBuild = data.whoBuild;
|
|
161
|
+
result.userIndx = data.userIndx;
|
|
162
|
+
result.flowMain = data.flowMain;
|
|
163
|
+
result.flowNode = data.flowNode;
|
|
162
164
|
// result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HTQD_WAIT;
|
|
163
|
-
result.entityID =
|
|
164
|
-
result.billMain =
|
|
165
|
-
result.billCode =
|
|
166
|
-
result.billMemo =
|
|
165
|
+
result.entityID = data.entityID;
|
|
166
|
+
result.billMain = data.fydwIndx;
|
|
167
|
+
result.billCode = data.fydwCode;
|
|
168
|
+
result.billMemo = data.baseMemo;
|
|
167
169
|
result.billUses = "";
|
|
168
170
|
result.ysxmText = "";
|
|
169
171
|
result.outMoney = 0;
|
|
170
|
-
result.createAt =
|
|
171
|
-
result.mastName =
|
|
172
|
-
result.createBy =
|
|
173
|
-
result.unitMain =
|
|
174
|
-
result.menuUUID =
|
|
175
|
-
result.deptMain =
|
|
176
|
-
result.flowStat =
|
|
172
|
+
result.createAt = data.createAt;
|
|
173
|
+
result.mastName = data.mastName;
|
|
174
|
+
result.createBy = data.createBy;
|
|
175
|
+
result.unitMain = data.unitMain;
|
|
176
|
+
result.menuUUID = data.menuUUID;
|
|
177
|
+
result.deptMain = data.deptMain;
|
|
178
|
+
result.flowStat = data.fydwStat;
|
|
177
179
|
return result;
|
|
178
180
|
}
|
|
179
181
|
}
|
package/src/hznk/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { IHznkDataEachResponse, THznkDataEachResponse } from "./IHznkDataEachRes
|
|
|
4
4
|
import { IHznkDataPathResponse, THznkDataPathResponse } from "./IHznkDataPathResponse";
|
|
5
5
|
import { IHznkDataItemResponse, THznkDataItemResponse } from "./IHznkDataItemResponse";
|
|
6
6
|
import { IHznkDataNbyhResponse, THznkDataNbyhResponse } from "./IHznkDataNbyhResponse";
|
|
7
|
+
import { IHznkDataBillResponse, THznkDataBillResponse } from "./IHznkDataBillResponse";
|
|
7
8
|
//#base
|
|
8
9
|
import { IHznkBaseResponse, THznkBaseResponse } from "./IHznkBaseResponse";
|
|
9
10
|
import { IHznkBaseNbyhResponse, THznkBaseNbyhResponse } from "./IHznkBaseNbyhResponse";
|
|
@@ -42,6 +43,7 @@ export {
|
|
|
42
43
|
THznkDataPathResponse,
|
|
43
44
|
THznkBaseResponse,
|
|
44
45
|
THznkDataItemResponse,
|
|
46
|
+
THznkDataBillResponse,
|
|
45
47
|
THznkBaseNbyhResponse,
|
|
46
48
|
THznkBaseWbyhResponse,
|
|
47
49
|
THznkBaseWbdwResponse,
|
|
@@ -69,6 +71,7 @@ export {
|
|
|
69
71
|
type IHznkDataResponse,
|
|
70
72
|
type IHznkDataEachResponse,
|
|
71
73
|
type IHznkDataPathResponse,
|
|
74
|
+
type IHznkDataBillResponse,
|
|
72
75
|
type IHznkBaseResponse,
|
|
73
76
|
type IHznkDataItemResponse,
|
|
74
77
|
type IHznkBaseNbyhResponse,
|