@ningboyz/apis 1.4.39 → 1.4.40
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 +11 -1
- package/packages/noti/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.40",
|
|
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.40",
|
|
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 { INotiMainAuditdbWithscczQuerys, INotiMainDetaildbQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
4
|
+
import { INotiMainAuditdbWithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -99,6 +99,16 @@ class ParaRequest {
|
|
|
99
99
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/selectdb", querys, params);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
/**
|
|
103
|
+
* 获取收文或督办详情
|
|
104
|
+
* @param querys
|
|
105
|
+
* @param params
|
|
106
|
+
* @returns
|
|
107
|
+
*/
|
|
108
|
+
detaildbwithsccz(querys: INotiMainDetaildbWithscczQuerys) {
|
|
109
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/detaildb", querys);
|
|
110
|
+
}
|
|
111
|
+
|
|
102
112
|
/**
|
|
103
113
|
* 审核收文或督办
|
|
104
114
|
* @param querys
|
package/packages/noti/types.ts
CHANGED
|
@@ -94,12 +94,22 @@ export class TNotiMainSelectdbWithscczQuerys implements INotiMainSelectdbWithscc
|
|
|
94
94
|
queuesby: string = "";
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
export interface INotiMainDetaildbWithscczQuerys {
|
|
98
|
+
notimain: number;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export class TNotiMainDetaildbWithscczQuerys implements INotiMainDetaildbWithscczQuerys {
|
|
102
|
+
notimain: number = -1;
|
|
103
|
+
}
|
|
104
|
+
|
|
97
105
|
export interface INotiMainAuditdbWithscczQuerys {
|
|
98
106
|
deptfrom: number;
|
|
107
|
+
deptfromtext: string;
|
|
99
108
|
}
|
|
100
109
|
|
|
101
110
|
export class TNotiMainAuditdbWithscczQuerys implements INotiMainAuditdbWithscczQuerys {
|
|
102
111
|
deptfrom: number = -1;
|
|
112
|
+
deptfromtext: string = "";
|
|
103
113
|
}
|
|
104
114
|
|
|
105
115
|
export interface INotiMainFinishedWithscczQuerys {
|