@ningboyz/apis 1.4.77 → 1.4.79
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 +12 -2
- package/packages/noti/types.ts +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.79",
|
|
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.79",
|
|
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 {
|
|
4
|
+
import { INotiMainAuditd2WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys, INotiMainUpdatedbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -126,7 +126,7 @@ class ParaRequest {
|
|
|
126
126
|
* @param params
|
|
127
127
|
* @returns
|
|
128
128
|
*/
|
|
129
|
-
auditdbwithsccz(querys:
|
|
129
|
+
auditdbwithsccz(querys: IEmptyQuerys, params: object) {
|
|
130
130
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditdb", querys, params);
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -140,6 +140,16 @@ class ParaRequest {
|
|
|
140
140
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/revokeed", querys, params);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
/**
|
|
144
|
+
* 审核收文或督办
|
|
145
|
+
* @param querys
|
|
146
|
+
* @param params
|
|
147
|
+
* @returns
|
|
148
|
+
*/
|
|
149
|
+
auditd2withsccz(querys: INotiMainAuditd2WithscczQuerys, params: object) {
|
|
150
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditd2", querys, params);
|
|
151
|
+
}
|
|
152
|
+
|
|
143
153
|
/**
|
|
144
154
|
* 获取收文或督办已办
|
|
145
155
|
* @param querys
|
package/packages/noti/types.ts
CHANGED
|
@@ -97,13 +97,11 @@ export class TNotiMainSelectdbWithscczQuerys implements INotiMainSelectdbWithscc
|
|
|
97
97
|
export interface INotiMainUpdatedbWithscczQuerys {
|
|
98
98
|
datahide: number;
|
|
99
99
|
flowval2: number;
|
|
100
|
-
userfrom2: number;
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
export class TNotiMainUpdatedbWithscczQuerys implements INotiMainUpdatedbWithscczQuerys {
|
|
104
103
|
datahide: number = -1;
|
|
105
104
|
flowval2: number = -1;
|
|
106
|
-
userfrom2: number = -1;
|
|
107
105
|
}
|
|
108
106
|
|
|
109
107
|
export interface INotiMainDetaildbWithscczQuerys {
|
|
@@ -114,14 +112,18 @@ export class TNotiMainDetaildbWithscczQuerys implements INotiMainDetaildbWithscc
|
|
|
114
112
|
notimain: number = -1;
|
|
115
113
|
}
|
|
116
114
|
|
|
117
|
-
export interface
|
|
115
|
+
export interface INotiMainAuditd2WithscczQuerys {
|
|
118
116
|
notimain: number;
|
|
119
117
|
}
|
|
120
118
|
|
|
121
|
-
export class
|
|
119
|
+
export class TNotiMainAuditd2WithscczQuerys implements INotiMainAuditd2WithscczQuerys {
|
|
122
120
|
notimain: number = -1;
|
|
123
121
|
}
|
|
124
122
|
|
|
123
|
+
export interface INotiMainAuditdbWithscczQuerys { }
|
|
124
|
+
|
|
125
|
+
export class TNotiMainAuditdbWithscczQuerys implements INotiMainAuditdbWithscczQuerys { }
|
|
126
|
+
|
|
125
127
|
export interface INotiMainFinishedWithscczQuerys {
|
|
126
128
|
syspartc: number;
|
|
127
129
|
sourcend: number;
|