@ningboyz/types 1.3.22 → 1.3.24
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 +1 -1
- package/src/hznk/IHznkDataBillResponse.ts +7 -0
- package/src/hznk/IHznkFydwResponse.ts +6 -5
- package/src/hznk/IHznkFytqResponse.ts +4 -1
- package/src/hznk/IHznkMainResponse.ts +4 -1
- package/src/hznk/IHznkNoteResponse.ts +5 -2
- package/src/hznk/IHznkXmysResponse.ts +20 -17
- package/src/hznk/IHznkYssqResponse.ts +20 -17
- package/src/vary/IVaryMainResponse.ts +4 -0
package/package.json
CHANGED
|
@@ -17,12 +17,19 @@ export interface IHznkDataBillResponse {
|
|
|
17
17
|
deleteBy: string;
|
|
18
18
|
deleteAt: number;
|
|
19
19
|
queuesBy: number;
|
|
20
|
+
/**到位时间 */
|
|
20
21
|
fydwDate: number;
|
|
22
|
+
/**分值 */
|
|
21
23
|
totalVal: number;
|
|
24
|
+
/**内部总经费 */
|
|
22
25
|
innerVal: number;
|
|
26
|
+
/**外部总经费 */
|
|
23
27
|
outerVal: number;
|
|
28
|
+
/**可用经费 */
|
|
24
29
|
nowMoney: number;
|
|
30
|
+
/**比例 */
|
|
25
31
|
ratioVal: number;
|
|
32
|
+
/**赋分方案 */
|
|
26
33
|
dictMain: number;
|
|
27
34
|
dictName: string;
|
|
28
35
|
fromWhoBuild: number;
|
|
@@ -41,11 +41,12 @@ export interface IHznkFydwResponse {
|
|
|
41
41
|
flowText: string;
|
|
42
42
|
fydwDate: number;
|
|
43
43
|
fydwStat: number;
|
|
44
|
-
fydwCode: number;
|
|
45
44
|
/**项目名称 */
|
|
46
45
|
baseName: string;
|
|
47
|
-
|
|
46
|
+
/**单据编号*/
|
|
48
47
|
baseCode: string;
|
|
48
|
+
/**项目编码 */
|
|
49
|
+
hznkXmbh: string;
|
|
49
50
|
/**申请理由 */
|
|
50
51
|
baseUses: string;
|
|
51
52
|
/**备注信息 */
|
|
@@ -99,6 +100,7 @@ export class THznkFydwResponse implements IHznkFydwResponse {
|
|
|
99
100
|
dataGUID: string = "";
|
|
100
101
|
userMain: number = 0;
|
|
101
102
|
mastName: string = "";
|
|
103
|
+
hznkXmbh: string = "";
|
|
102
104
|
mastGUID: string = "";
|
|
103
105
|
createBy: string = "";
|
|
104
106
|
createAt: number = 0;
|
|
@@ -120,13 +122,12 @@ export class THznkFydwResponse implements IHznkFydwResponse {
|
|
|
120
122
|
flowUser: string = "";
|
|
121
123
|
flowText: string = "";
|
|
122
124
|
fydwDate: number = 0;
|
|
123
|
-
fydwCode: number = 0;
|
|
124
125
|
fydwStat: number = 0;
|
|
125
126
|
baseName: string = "";
|
|
126
127
|
baseCode: string = "";
|
|
127
128
|
baseUses: string = "";
|
|
128
129
|
baseMemo: string = "";
|
|
129
|
-
|
|
130
|
+
|
|
130
131
|
coverURL: string = "";
|
|
131
132
|
touchURL: string = "";
|
|
132
133
|
unitText: string = "";
|
|
@@ -164,7 +165,7 @@ export class THznkFydwResponse implements IHznkFydwResponse {
|
|
|
164
165
|
// result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HTQD_WAIT;
|
|
165
166
|
result.entityID = data.entityID;
|
|
166
167
|
result.billMain = data.fydwIndx;
|
|
167
|
-
result.billCode = data.
|
|
168
|
+
result.billCode = data.baseCode;
|
|
168
169
|
result.billMemo = data.baseMemo;
|
|
169
170
|
result.billUses = "";
|
|
170
171
|
result.ysxmText = "";
|
|
@@ -44,8 +44,10 @@ export interface IHznkFytqResponse {
|
|
|
44
44
|
fytqStat: number;
|
|
45
45
|
/**项目名称 */
|
|
46
46
|
baseName: string;
|
|
47
|
-
|
|
47
|
+
/**单据编号*/
|
|
48
48
|
baseCode: string;
|
|
49
|
+
/**项目编码 */
|
|
50
|
+
hznkXmbh: string;
|
|
49
51
|
/**申请理由 */
|
|
50
52
|
baseUses: string;
|
|
51
53
|
/**备注信息 */
|
|
@@ -123,6 +125,7 @@ export class THznkFytqResponse implements IHznkFytqResponse {
|
|
|
123
125
|
fytqStat: number = 0;
|
|
124
126
|
baseName: string = "";
|
|
125
127
|
baseCode: string = "";
|
|
128
|
+
hznkXmbh: string = "";
|
|
126
129
|
baseUses: string = "";
|
|
127
130
|
baseMemo: string = "";
|
|
128
131
|
diskStat: number = 0;
|
|
@@ -48,8 +48,10 @@ export interface IHznkMainResponse {
|
|
|
48
48
|
hznkBase: number;
|
|
49
49
|
/**项目名称 */
|
|
50
50
|
baseName: string;
|
|
51
|
-
|
|
51
|
+
/**单据编号*/
|
|
52
52
|
baseCode: string;
|
|
53
|
+
/**项目编码 */
|
|
54
|
+
hznkXmbh: string;
|
|
53
55
|
/**申请理由 */
|
|
54
56
|
baseUses: string;
|
|
55
57
|
/**备注信息 */
|
|
@@ -162,6 +164,7 @@ export class THznkMainResponse implements IHznkMainResponse {
|
|
|
162
164
|
hznkBase: number = 0;
|
|
163
165
|
baseName: string = "";
|
|
164
166
|
baseCode: string = "";
|
|
167
|
+
hznkXmbh: string = "";
|
|
165
168
|
baseUses: string = "";
|
|
166
169
|
baseMemo: string = "";
|
|
167
170
|
baseType: number = 0;
|
|
@@ -46,8 +46,10 @@ export interface IHznkNoteResponse {
|
|
|
46
46
|
noteStat: number;
|
|
47
47
|
/**项目名称 */
|
|
48
48
|
baseName: string;
|
|
49
|
-
|
|
49
|
+
/**单据编号*/
|
|
50
50
|
baseCode: string;
|
|
51
|
+
/**项目编码 */
|
|
52
|
+
hznkXmbh: string;
|
|
51
53
|
/**申请理由 */
|
|
52
54
|
baseUses: string;
|
|
53
55
|
/**备注信息 */
|
|
@@ -104,8 +106,9 @@ export class THznkNoteResponse implements IHznkNoteResponse {
|
|
|
104
106
|
noteStat: number = 0;
|
|
105
107
|
/**项目名称 */
|
|
106
108
|
baseName: string = "";
|
|
107
|
-
|
|
109
|
+
/**单据编号*/
|
|
108
110
|
baseCode: string = "";
|
|
111
|
+
hznkXmbh: string = "";
|
|
109
112
|
/**申请理由 */
|
|
110
113
|
baseUses: string = "";
|
|
111
114
|
/**备注信息 */
|
|
@@ -44,8 +44,10 @@ export interface IHznkXmysResponse {
|
|
|
44
44
|
xmysStat: number;
|
|
45
45
|
/**项目名称 */
|
|
46
46
|
baseName: string;
|
|
47
|
-
|
|
47
|
+
/**单据编号 */
|
|
48
48
|
baseCode: string;
|
|
49
|
+
/**项目编码 */
|
|
50
|
+
hznkXmbh: string;
|
|
49
51
|
/**申请理由 */
|
|
50
52
|
baseUses: string;
|
|
51
53
|
/**备注信息 */
|
|
@@ -118,6 +120,7 @@ export class THznkXmysResponse implements IHznkXmysResponse {
|
|
|
118
120
|
xmysStat: number = 0;
|
|
119
121
|
baseName: string = "";
|
|
120
122
|
baseCode: string = "";
|
|
123
|
+
hznkXmbh: string = "";
|
|
121
124
|
baseUses: string = "";
|
|
122
125
|
baseMemo: string = "";
|
|
123
126
|
diskStat: number = 0;
|
|
@@ -152,25 +155,25 @@ export class THznkXmysResponse implements IHznkXmysResponse {
|
|
|
152
155
|
return card.map((u) => this.toFlowData(u));
|
|
153
156
|
}
|
|
154
157
|
|
|
155
|
-
static toFlowData(
|
|
158
|
+
static toFlowData(xmys: IHznkXmysResponse): TFlowDataResponse {
|
|
156
159
|
let result = new TFlowDataResponse();
|
|
157
|
-
result.whoBuild =
|
|
158
|
-
result.userIndx =
|
|
159
|
-
result.flowMain =
|
|
160
|
-
result.flowNode =
|
|
161
|
-
result.flowStat =
|
|
160
|
+
result.whoBuild = xmys.whoBuild;
|
|
161
|
+
result.userIndx = xmys.userIndx;
|
|
162
|
+
result.flowMain = xmys.flowMain;
|
|
163
|
+
result.flowNode = xmys.flowNode;
|
|
164
|
+
result.flowStat = xmys.xmysStat;
|
|
162
165
|
// result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HZCB_XMTZ_WAIT;
|
|
163
|
-
result.entityID =
|
|
164
|
-
result.billMain =
|
|
165
|
-
result.billCode =
|
|
166
|
-
result.billMemo =
|
|
166
|
+
result.entityID = xmys.entityID;
|
|
167
|
+
result.billMain = xmys.xmysIndx;
|
|
168
|
+
result.billCode = xmys.baseCode;
|
|
169
|
+
result.billMemo = xmys.baseMemo;
|
|
167
170
|
result.outMoney = 0;
|
|
168
|
-
result.createAt =
|
|
169
|
-
result.mastName =
|
|
170
|
-
result.createBy =
|
|
171
|
-
result.unitMain =
|
|
172
|
-
result.deptMain =
|
|
173
|
-
result.menuUUID =
|
|
171
|
+
result.createAt = xmys.createAt;
|
|
172
|
+
result.mastName = xmys.mastName;
|
|
173
|
+
result.createBy = xmys.createBy;
|
|
174
|
+
result.unitMain = xmys.unitMain;
|
|
175
|
+
result.deptMain = xmys.deptMain;
|
|
176
|
+
result.menuUUID = xmys.menuUUID;
|
|
174
177
|
return result;
|
|
175
178
|
}
|
|
176
179
|
}
|
|
@@ -43,8 +43,10 @@ export interface IHznkYssqResponse {
|
|
|
43
43
|
yssqStat: number;
|
|
44
44
|
/**项目名称 */
|
|
45
45
|
baseName: string;
|
|
46
|
-
|
|
46
|
+
/**单据编号*/
|
|
47
47
|
baseCode: string;
|
|
48
|
+
/**项目编码 */
|
|
49
|
+
hznkXmbh: string;
|
|
48
50
|
/**申请理由 */
|
|
49
51
|
baseUses: string;
|
|
50
52
|
/**备注信息 */
|
|
@@ -116,6 +118,7 @@ export class THznkYssqResponse implements IHznkYssqResponse {
|
|
|
116
118
|
yssqStat: number = 0;
|
|
117
119
|
baseName: string = "";
|
|
118
120
|
baseCode: string = "";
|
|
121
|
+
hznkXmbh: string = "";
|
|
119
122
|
baseUses: string = "";
|
|
120
123
|
baseMemo: string = "";
|
|
121
124
|
diskStat: number = 0;
|
|
@@ -143,25 +146,25 @@ export class THznkYssqResponse implements IHznkYssqResponse {
|
|
|
143
146
|
return card.map((u) => this.toFlowData(u));
|
|
144
147
|
}
|
|
145
148
|
|
|
146
|
-
static toFlowData(
|
|
149
|
+
static toFlowData(yssq: IHznkYssqResponse): TFlowDataResponse {
|
|
147
150
|
let result = new TFlowDataResponse();
|
|
148
|
-
result.whoBuild =
|
|
149
|
-
result.userIndx =
|
|
150
|
-
result.flowMain =
|
|
151
|
-
result.flowNode =
|
|
152
|
-
result.flowStat =
|
|
151
|
+
result.whoBuild = yssq.whoBuild;
|
|
152
|
+
result.userIndx = yssq.userIndx;
|
|
153
|
+
result.flowMain = yssq.flowMain;
|
|
154
|
+
result.flowNode = yssq.flowNode;
|
|
155
|
+
result.flowStat = yssq.yssqStat;
|
|
153
156
|
// result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HZCB_XMTZ_WAIT;
|
|
154
|
-
result.entityID =
|
|
155
|
-
result.billMain =
|
|
156
|
-
result.billCode =
|
|
157
|
-
result.billMemo =
|
|
157
|
+
result.entityID = yssq.entityID;
|
|
158
|
+
result.billMain = yssq.yssqIndx;
|
|
159
|
+
result.billCode = yssq.baseCode;
|
|
160
|
+
result.billMemo = yssq.baseMemo;
|
|
158
161
|
result.outMoney = 0;
|
|
159
|
-
result.createAt =
|
|
160
|
-
result.mastName =
|
|
161
|
-
result.createBy =
|
|
162
|
-
result.unitMain =
|
|
163
|
-
result.deptMain =
|
|
164
|
-
result.menuUUID =
|
|
162
|
+
result.createAt = yssq.createAt;
|
|
163
|
+
result.mastName = yssq.mastName;
|
|
164
|
+
result.createBy = yssq.createBy;
|
|
165
|
+
result.unitMain = yssq.unitMain;
|
|
166
|
+
result.deptMain = yssq.deptMain;
|
|
167
|
+
result.menuUUID = yssq.menuUUID;
|
|
165
168
|
return result;
|
|
166
169
|
}
|
|
167
170
|
}
|
|
@@ -67,6 +67,8 @@ export interface IVaryMainResponse {
|
|
|
67
67
|
userName: string;
|
|
68
68
|
userGUID: string;
|
|
69
69
|
cloneOld: number;
|
|
70
|
+
itemCode: string;
|
|
71
|
+
itemName: string;
|
|
70
72
|
|
|
71
73
|
listPath: TCore.IPathResponse[];
|
|
72
74
|
listSQBM: TCore.IDeptResponse[];
|
|
@@ -139,6 +141,8 @@ export class TVaryMainResponse implements IVaryMainResponse {
|
|
|
139
141
|
userName: string = "";
|
|
140
142
|
userGUID: string = "";
|
|
141
143
|
cloneOld: number = 0;
|
|
144
|
+
itemCode: string = "";
|
|
145
|
+
itemName: string = "";
|
|
142
146
|
|
|
143
147
|
listPath: TCore.IPathResponse[] = [];
|
|
144
148
|
listSQBM: TCore.IDeptResponse[] = [];
|