@ningboyz/apis 1.4.103 → 1.4.105
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 +2 -2
- package/packages/noti/main.ts +3 -3
- package/packages/noti/types.ts +0 -10
- package/packages/zbzd/main.ts +10 -0
- package/packages/zbzd/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.105",
|
|
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.4.
|
|
20
|
+
"@ningboyz/types": "1.4.105",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/noti/main.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TNoti } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys,
|
|
4
|
+
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainNextNodeWithscczQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -153,10 +153,10 @@ class ParaRequest {
|
|
|
153
153
|
/**
|
|
154
154
|
* 承办科室审核收文或督办切换科室
|
|
155
155
|
* @param querys
|
|
156
|
-
* @param params
|
|
156
|
+
* @param params {deptfrom:{}, params:{}}
|
|
157
157
|
* @returns
|
|
158
158
|
*/
|
|
159
|
-
auditd4withsccz(querys:
|
|
159
|
+
auditd4withsccz(querys: IEmptyQuerys, params: object) {
|
|
160
160
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditd4", querys, params);
|
|
161
161
|
}
|
|
162
162
|
|
package/packages/noti/types.ts
CHANGED
|
@@ -126,16 +126,6 @@ export class TNotiMainAuditd3WithscczQuerys implements INotiMainAuditd3WithscczQ
|
|
|
126
126
|
notimain: number = -1;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
export interface INotiMainAuditd4WithscczQuerys {
|
|
130
|
-
deptfrom: number;
|
|
131
|
-
deptfromtext: string;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export class TNotiMainAuditd4WithscczQuerys implements INotiMainAuditd4WithscczQuerys {
|
|
135
|
-
deptfrom: number = -1;
|
|
136
|
-
deptfromtext: string = "";
|
|
137
|
-
}
|
|
138
|
-
|
|
139
129
|
export interface INotiMainFinishedWithscczQuerys {
|
|
140
130
|
syspartc: number;
|
|
141
131
|
sourcend: number;
|
package/packages/zbzd/main.ts
CHANGED
|
@@ -179,6 +179,16 @@ class ParaRequest {
|
|
|
179
179
|
updated2(querys: IEmptyQuerys, params: object) {
|
|
180
180
|
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/updated2", querys, params);
|
|
181
181
|
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* 修改预算指标
|
|
185
|
+
* @param querys
|
|
186
|
+
* @param params {deptfrom:{},userfrom:{},params:{}}
|
|
187
|
+
* @returns
|
|
188
|
+
*/
|
|
189
|
+
auditdb(querys: IEmptyQuerys, params: object) {
|
|
190
|
+
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/auditdb", querys, params);
|
|
191
|
+
}
|
|
182
192
|
}
|
|
183
193
|
|
|
184
194
|
export default ParaRequest;
|
package/packages/zbzd/types.ts
CHANGED
|
@@ -125,6 +125,16 @@ export class TZbzdMainInsertd2Querys implements IZbzdMainInsertd2Querys {
|
|
|
125
125
|
sourcend: number = -1;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
export interface IZbzdMainAuditdbQuerys {
|
|
129
|
+
deptfrom: number;
|
|
130
|
+
deptfromtext: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class TZbzdMainAuditdbQuerys implements IZbzdMainAuditdbQuerys {
|
|
134
|
+
deptfrom: number = -1;
|
|
135
|
+
deptfromtext: string = "";
|
|
136
|
+
}
|
|
137
|
+
|
|
128
138
|
/** ========== zbfl ========== */
|
|
129
139
|
export interface IZbzdZbflZbflbmkmQuerys {
|
|
130
140
|
zbzdmain: number;
|