venus-design 0.5.0 → 0.5.1

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.
@@ -1,44 +1,7 @@
1
1
  /**
2
2
  * 获取调整流程中数据(调整前,调整后)
3
3
  */
4
- export declare function LoadingAdjustData(data: any): Promise<{
5
- success: boolean;
6
- data: {
7
- innerId: string;
8
- classId: string;
9
- name: string;
10
- age: number;
11
- securityLevelId: string;
12
- conflictFlag: null;
13
- budgetFunds: number;
14
- projectCode: string;
15
- startStamp: number;
16
- finishStamp: number;
17
- stateId: string;
18
- stateName: string;
19
- classifyId: string;
20
- classifyName: string;
21
- respUserId: string;
22
- respUserName: string;
23
- respDeptId: string;
24
- respDeptName: string;
25
- joinDeptId: string;
26
- joinDeptName: string;
27
- businessDeptId: string;
28
- businessDeptName: string;
29
- securityLimit: string;
30
- designType: string;
31
- deptNumType: string;
32
- impType: string;
33
- flowType: string;
34
- junMinType: string;
35
- keOrProdType: string;
36
- cooDeptFlag: string;
37
- costAmount: string;
38
- nature: string;
39
- sortNo: number;
40
- }[];
41
- }>;
4
+ export declare function LoadingAdjustData(data: any): Promise<any>;
42
5
  /**
43
6
  * 获取流程中数据
44
7
  */
@@ -20,78 +20,11 @@ function _LoadingAdjustData() {
20
20
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21
21
  while (1) switch (_context.prev = _context.next) {
22
22
  case 0:
23
- return _context.abrupt("return", {
24
- success: true,
25
- data: [{
26
- innerId: "209cb60d0bce1e9a48bd40b2a131cc56",
27
- classId: "PmProject",
28
- name: "审核",
29
- age: 1,
30
- securityLevelId: "6",
31
- conflictFlag: null,
32
- budgetFunds: 12,
33
- projectCode: "eee",
34
- startStamp: 1706755959000,
35
- finishStamp: 1706755960000,
36
- stateId: "RUNN",
37
- stateName: "进行中",
38
- classifyId: "80df55cea17f0dda5026e682a3697e8e",
39
- classifyName: "固定资产投资类项目",
40
- respUserId: "4384",
41
- respUserName: "樊元",
42
- respDeptId: "35604",
43
- respDeptName: "水下系统研究所(三所)综合办公室",
44
- joinDeptId: "35604",
45
- joinDeptName: "水下系统研究所(三所)综合办公室",
46
- businessDeptId: "4",
47
- businessDeptName: "水面系统研究所(二所)",
48
- securityLimit: "1",
49
- designType: "1",
50
- deptNumType: "A",
51
- impType: "ZD",
52
- flowType: "WWXM",
53
- junMinType: "JP",
54
- keOrProdType: "KY",
55
- cooDeptFlag: "Y",
56
- costAmount: "GFKJ",
57
- nature: "JPXMLXM",
58
- sortNo: 1
59
- }, {
60
- innerId: "209cb60d0bce1e9a48bd40b2a131cc56",
61
- classId: "PmProject",
62
- name: "审核2",
63
- securityLevelId: "6",
64
- conflictFlag: null,
65
- budgetFunds: 12,
66
- age: 2,
67
- projectCode: "eedde",
68
- startStamp: 1706755959000,
69
- finishStamp: 1706755960000,
70
- stateId: "RUNN",
71
- stateName: "进行中",
72
- classifyId: "80df55cea17f0dda5026e682a3697e8e",
73
- classifyName: "固定资产投资类项目",
74
- respUserId: "4384",
75
- respUserName: "樊元",
76
- respDeptId: "35604",
77
- respDeptName: "水下系统研究所(三所)综合办公室",
78
- joinDeptId: "35604",
79
- joinDeptName: "水下系统研究所(三所)综合办公室",
80
- businessDeptId: "4",
81
- businessDeptName: "水面系统研究所(二所)",
82
- securityLimit: "1",
83
- designType: "1",
84
- deptNumType: "A",
85
- impType: "ZD",
86
- flowType: "WWXM",
87
- junMinType: "JP",
88
- keOrProdType: "KY",
89
- cooDeptFlag: "Y",
90
- costAmount: "GFKJ",
91
- nature: "JPXMLXM",
92
- sortNo: 1
93
- }]
94
- });
23
+ return _context.abrupt("return", request("".concat(data.serviceUrl), {
24
+ method: 'post',
25
+ data: data,
26
+ prefix: "".concat(data.prefix)
27
+ }));
95
28
  case 1:
96
29
  case "end":
97
30
  return _context.stop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "venus-design",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "venus all compoments",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",