@ningboyz/apis 1.2.11 → 1.2.13

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/apis",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -17,7 +17,7 @@
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
19
  "dependencies": {
20
- "@ningboyz/types": "1.2.11",
20
+ "@ningboyz/types": "1.2.13",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -1,11 +1,13 @@
1
1
  /** ========== main ========== */
2
2
  export interface IHzcbMainSelectdbQuerys {
3
+ unitmain: number;
3
4
  withflow: number;
4
5
  sourcend: number;
5
6
  useronly: number;
6
7
  viewonly: number;
7
8
  }
8
9
  export class THzcbMainSelectdbQuerys implements IHzcbMainSelectdbQuerys {
10
+ unitmain: number = -1;
9
11
  withflow: number = 0; // 0不是审核流 1是审核流
10
12
  sourcend: number = -1;
11
13
  useronly: number = -1;
@@ -8,7 +8,12 @@ import {
8
8
  IZbhdMainStaredbyQuerys,
9
9
  IZbhdMainTargethdQuerys,
10
10
  IZbhdMainUpdatedbQuerys,
11
- IZbhdMainSet4dictQuerys
11
+ IZbhdMainSet4dictQuerys,
12
+ IZbhdMainQueuesbyQuerys,
13
+ IZbhdMainGet4zbflQuerys,
14
+ IZbhdMainMakezeroQuerys,
15
+ IZbhdMainCal4zbhdQuerys,
16
+ IZbhdMainExchangeQuerys
12
17
  } from "./types";
13
18
 
14
19
  class ZbhdRequest {
@@ -103,6 +108,55 @@ class ZbhdRequest {
103
108
  set4dict(querys: IZbhdMainSet4dictQuerys, params: object) {
104
109
  return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>("/zbhd/tmain/set4dict", querys, params);
105
110
  }
111
+
112
+ /**
113
+ * 排序指标额度
114
+ * @param params
115
+ * @returns
116
+ */
117
+ queuesby(querys: IZbhdMainQueuesbyQuerys, params: object) {
118
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/queuesby`, querys, params);
119
+ }
120
+
121
+ /**
122
+ * 获取指标额度明细
123
+ * @param querys
124
+ * @param params
125
+ * @returns
126
+ */
127
+ get4zbfl(querys: IZbhdMainGet4zbflQuerys, params: object) {
128
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/get4zbfl`, querys, params);
129
+ }
130
+
131
+ /**
132
+ * 收回指标额度
133
+ * @param querys
134
+ * @param params
135
+ * @returns
136
+ */
137
+ makezero(querys: IZbhdMainMakezeroQuerys, params: object) {
138
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/makezero`, querys, params);
139
+ }
140
+
141
+ /**
142
+ * 计算指标额度
143
+ * @param querys
144
+ * @param params
145
+ * @returns
146
+ */
147
+ cal4zbhd(querys: IZbhdMainCal4zbhdQuerys, params: object) {
148
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/cal4zbhd`, querys, params);
149
+ }
150
+
151
+ /**
152
+ * 迁移指标额度
153
+ * @param querys
154
+ * @param params
155
+ * @returns
156
+ */
157
+ exchange(querys: IZbhdMainExchangeQuerys, params: object) {
158
+ return this.httpRequest.post<TZbhd.IZbhdMainResponse[]>(`/zbhd/tmain/exchange`, querys, params);
159
+ }
106
160
  }
107
161
 
108
162
  export default ZbhdRequest;
@@ -46,7 +46,7 @@ export interface IZbhdMainUpdatedbQuerys {
46
46
  }
47
47
 
48
48
  export class TZbhdMainUpdatedbQuerys implements IZbhdMainUpdatedbQuerys {
49
- sourcend: number = -1
49
+ sourcend: number = -1;
50
50
  }
51
51
 
52
52
  export interface IZbhdMainDetaildbQuerys {
@@ -89,6 +89,50 @@ export class TZbhdMainSet4dictQuerys implements IZbhdMainSet4dictQuerys {
89
89
  zbhdmain: number = -1;
90
90
  }
91
91
 
92
+ export interface IZbhdMainQueuesbyQuerys {
93
+ sourcend: number;
94
+ }
95
+
96
+ export class TZbhdMainQueuesbyQuerys implements IZbhdMainQueuesbyQuerys {
97
+ sourcend: number = -1;
98
+ }
99
+
100
+ export interface IZbhdMainGet4zbflQuerys {
101
+ sourcend: number;
102
+ zbhdmain: number;
103
+ }
104
+
105
+ export class TZbhdMainGet4zbflQuerys implements IZbhdMainGet4zbflQuerys {
106
+ sourcend: number = -1;
107
+ zbhdmain: number = -1;
108
+ }
109
+
110
+ export interface IZbhdMainMakezeroQuerys {
111
+ sourcend: number;
112
+ }
113
+
114
+ export class TZbhdMainMakezeroQuerys implements IZbhdMainMakezeroQuerys {
115
+ sourcend: number = -1;
116
+ }
117
+
118
+ export interface IZbhdMainCal4zbhdQuerys {
119
+ sourcend: number;
120
+ }
121
+
122
+ export class TZbhdMainCal4zbhdQuerys implements IZbhdMainCal4zbhdQuerys {
123
+ sourcend: number = -1;
124
+ }
125
+
126
+ export interface IZbhdMainExchangeQuerys {
127
+ sourcend: number;
128
+ zbhd4new: number;
129
+ }
130
+
131
+ export class TZbhdMainExchangeQuerys implements IZbhdMainExchangeQuerys {
132
+ sourcend: number = -1;
133
+ zbhd4new: number = -1;
134
+ }
135
+
92
136
  /** ========== cnfg ========== */
93
137
  export interface IZbhdCnfgSelectdbQuerys {
94
138
  ysbmmain: number;
@@ -117,7 +161,7 @@ export interface IZbhdCnfgUpdatedbQuerys {
117
161
  }
118
162
 
119
163
  export class TZbhdCnfgUpdatedbQuerys implements IZbhdCnfgUpdatedbQuerys {
120
- sourcend: number = -1
164
+ sourcend: number = -1;
121
165
  }
122
166
 
123
167
  export interface IZbhdCnfgDetaildbQuerys {
@@ -129,4 +173,3 @@ export class TZbhdCnfgDetaildbQuerys implements IZbhdCnfgDetaildbQuerys {
129
173
  unitmain: number = -1;
130
174
  sourcend: number = -1;
131
175
  }
132
-
@@ -9,7 +9,8 @@ import {
9
9
  IZbzdMainUseszbkzUploaddbQuerys,
10
10
  IZbzdMainOriginidUploaddbQuerys,
11
11
  IZbzdMainUseszbhzUploaddbQuerys,
12
- IZbzdMainCansplitUploaddbQuerys
12
+ IZbzdMainCansplitUploaddbQuerys,
13
+ IZbzdMainQueuesbyQuerys
13
14
  } from "./types";
14
15
 
15
16
  class ParaRequest {
@@ -115,6 +116,16 @@ class ParaRequest {
115
116
  cansplit(querys: IZbzdMainCansplitUploaddbQuerys, params: object) {
116
117
  return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/cansplit/uploaddb", querys, params);
117
118
  }
119
+
120
+ /**
121
+ * 排序预算指标
122
+ * @param querys
123
+ * @param params
124
+ * @returns
125
+ */
126
+ queuesby(querys: IZbzdMainQueuesbyQuerys, params: object) {
127
+ return this.httpRequest.post<TZbzd.IZbhdMainResponse[]>(`/zbzd/tmain/queuesby`, querys, params);
128
+ }
118
129
  }
119
130
 
120
131
  export default ParaRequest;
@@ -78,3 +78,11 @@ export interface IZbzdMainCansplitUploaddbQuerys {
78
78
  export class TZbzdMainCansplitUploaddbQuerys implements IZbzdMainCansplitUploaddbQuerys {
79
79
  cansplit: number = -1;
80
80
  }
81
+
82
+ export interface IZbzdMainQueuesbyQuerys {
83
+ sourcend: number;
84
+ }
85
+
86
+ export class TZbzdMainQueuesbyQuerys implements IZbzdMainQueuesbyQuerys {
87
+ sourcend: number = -1;
88
+ }