@ningboyz/types 1.0.150 → 1.0.152

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.150",
3
+ "version": "1.0.152",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -18,6 +18,16 @@ export const CONST_MODULE_NOTI_FWDJ = "CONST_MODULE_NOTI_FWDJ";
18
18
  */
19
19
  export const CONST_MODULE_NOTI_FWSH = "CONST_MODULE_NOTI_FWSH";
20
20
 
21
+ /**
22
+ * 财政业务审批系统-预算资金登记
23
+ */
24
+ export const CONST_MODULE_NOTI_ZJDJ = "CONST_MODULE_NOTI_ZJDJ";
25
+
26
+ /**
27
+ * 财政业务审批系统-预算资金审核
28
+ */
29
+ export const CONST_MODULE_NOTI_ZJSH = "CONST_MODULE_NOTI_ZJSH";
30
+
21
31
  /**
22
32
  * 财政业务审批系统-信息公开登记
23
33
  */
@@ -17,9 +17,6 @@ export const CONST_MYOA_MYOA_TYPN_QIJI = "请假申请"; // #请假申请
17
17
  export const CONST_MYOA_MYOA_TYPN_HTQD = "合同签订"; // #合同签订
18
18
  export const CONST_MYOA_MYOA_TYPN_WJSC = "文件审查"; // #文件审查
19
19
 
20
- export const CONST_MODULE_MYOA_GZSQ = "CONST_MODULE_MYOA_GZSQ"; // #盖章申请
21
- export const CONST_MODULE_MYOA_GZSH = "CONST_MODULE_MYOA_GZSH"; // #盖章审核
22
-
23
20
 
24
21
  export const CONST_MYOA_MAIN_MYOA_TYPC_固定资产_公物仓入仓 = 1011; //#公物仓入仓
25
22
  export const CONST_MYOA_MAIN_MYOA_TYPC_固定资产_公物仓领用 = 1012; //#公物仓领用
@@ -24,11 +24,9 @@ import * as WldyItemType from "./const_wldy_item_type";
24
24
  import * as ConstModuleType from "./const_module";
25
25
  import * as Module from "./const_module";
26
26
  import * as Hznt from "./const_hznt";
27
- import * as Yzgc from "./const_yzcg";
28
27
 
29
28
  export { Align, Audit, Card, Clas, Cnfg, DataFrom, Elem, Flow, GamsMode, Gzlm, Module, Myoa, Part, Stat, TakeType, Todo, Travel, Type, TypeName, User, WldyItemType, WtuiItemType, Yiha, Zbzd };
30
29
 
31
30
  export type ModuleType = (typeof ConstModuleType)[keyof typeof ConstModuleType];
32
31
  export type HzntModuleType = (typeof Hznt)[keyof typeof Hznt];
33
- export type YzgcModuleType = (typeof Yzgc)[keyof typeof Yzgc];
34
32
  export type MyoaModuleType = (typeof Myoa)[keyof typeof Myoa];
@@ -1,3 +1,6 @@
1
+ import { TFlowDataResponse } from "../flow/IFlowDataResponse";
2
+ import * as Const from "../const";
3
+
1
4
  export interface IZbzdMainResponse {
2
5
  whoBuild: number
3
6
  userIndx: number
@@ -120,4 +123,32 @@ export class TZbzdMainResponse implements IZbzdMainResponse {
120
123
  dataType: number = 0
121
124
  zbzdCode: string = ''
122
125
  zbzdUses: string = ''
126
+
127
+
128
+ static toFlowDatas(card: TZbzdMainResponse[]): TFlowDataResponse[] {
129
+ return card.map((u) => this.toFlowData(u));
130
+ }
131
+
132
+ static toFlowData(zbzd: TZbzdMainResponse): TFlowDataResponse {
133
+ const result = new TFlowDataResponse();
134
+ result.whoBuild = zbzd.whoBuild;
135
+ result.userIndx = zbzd.userIndx;
136
+ result.flowMain = 0;
137
+ result.flowNode = 0;
138
+ result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_YZCG_WAIT;
139
+ result.entityID = zbzd.entityID;
140
+ result.billMain = 0;
141
+ result.billCode = zbzd.zbzdCode;
142
+ result.billMemo = zbzd.zbzdMemo;
143
+ result.ysxmText = "";
144
+ result.outMoney = 0;
145
+ result.createAt = zbzd.createAt;
146
+ result.mastName = zbzd.mastName;
147
+ result.createBy = zbzd.createBy;
148
+ result.unitMain = zbzd.unitMain;
149
+ result.menuUUID = zbzd.menuUUID;
150
+ result.deptMain = zbzd.deptMain;
151
+ result.flowStat = zbzd.zbzdStat;
152
+ return result;
153
+ }
123
154
  }
@@ -1,9 +0,0 @@
1
- /**
2
- * 财政业务审批系统-办公用品购置申请
3
- */
4
- export const CONST_MODULE_YZCG_BGSQ = "CONST_MODULE_YZCG_BGSQ";
5
-
6
- /**
7
- * 财政业务审批系统-办公用品购置审核
8
- */
9
- export const CONST_MODULE_YZCG_BGSH = "CONST_MODULE_YZCG_BGSH";