@ningboyz/apis 1.4.52 → 1.4.54
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/core/types.ts +3 -0
- package/packages/noti/main.ts +11 -9
- package/packages/noti/types.ts +12 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.54",
|
|
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.54",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -14,6 +14,8 @@ export interface ICoreDeptSelectdbQuerys {
|
|
|
14
14
|
get4dept: number;
|
|
15
15
|
queuesby: string;
|
|
16
16
|
sysclasc: number;
|
|
17
|
+
/**2为虚拟部门 */
|
|
18
|
+
datatype: number;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export class TCoreDeptSelectdbQuerys implements ICoreDeptSelectdbQuerys {
|
|
@@ -23,6 +25,7 @@ export class TCoreDeptSelectdbQuerys implements ICoreDeptSelectdbQuerys {
|
|
|
23
25
|
get4dept: number = -1;
|
|
24
26
|
queuesby: string = "";
|
|
25
27
|
sysclasc: number = -1;
|
|
28
|
+
datatype: number = -1;
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
export interface ICoreDeptDetaildbQuerys {
|
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, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys,
|
|
4
|
+
import { INotiMainAuditdbWithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys, INotiMainUpdatedbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -26,14 +26,6 @@ class ParaRequest {
|
|
|
26
26
|
insertdb(params: object) {
|
|
27
27
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/insertdb", undefined, params);
|
|
28
28
|
}
|
|
29
|
-
/**
|
|
30
|
-
* 新增公告
|
|
31
|
-
* @param params
|
|
32
|
-
* @returns
|
|
33
|
-
*/
|
|
34
|
-
insertdb1(querys: INotiMainInsertdb1Querys, params: object) {
|
|
35
|
-
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/insertdb", querys, params);
|
|
36
|
-
}
|
|
37
29
|
|
|
38
30
|
/**
|
|
39
31
|
* 修改公告
|
|
@@ -99,6 +91,16 @@ class ParaRequest {
|
|
|
99
91
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/selectdb", querys, params);
|
|
100
92
|
}
|
|
101
93
|
|
|
94
|
+
/**
|
|
95
|
+
* 修改收文或督办详情
|
|
96
|
+
* @param querys
|
|
97
|
+
* @param params
|
|
98
|
+
* @returns
|
|
99
|
+
*/
|
|
100
|
+
updatedbwithsccz(querys: INotiMainUpdatedbWithscczQuerys, params: object) {
|
|
101
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/update", querys,params);
|
|
102
|
+
}
|
|
103
|
+
|
|
102
104
|
/**
|
|
103
105
|
* 获取收文或督办详情
|
|
104
106
|
* @param querys
|
package/packages/noti/types.ts
CHANGED
|
@@ -94,6 +94,16 @@ export class TNotiMainSelectdbWithscczQuerys implements INotiMainSelectdbWithscc
|
|
|
94
94
|
queuesby: string = "";
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
export interface INotiMainUpdatedbWithscczQuerys {
|
|
98
|
+
datahide: number;
|
|
99
|
+
flowval2: number;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export class TNotiMainUpdatedbWithscczQuerys implements INotiMainUpdatedbWithscczQuerys {
|
|
103
|
+
datahide: number = -1;
|
|
104
|
+
flowval2: number = -1;
|
|
105
|
+
}
|
|
106
|
+
|
|
97
107
|
export interface INotiMainDetaildbWithscczQuerys {
|
|
98
108
|
notimain: number;
|
|
99
109
|
}
|
|
@@ -103,13 +113,11 @@ export class TNotiMainDetaildbWithscczQuerys implements INotiMainDetaildbWithscc
|
|
|
103
113
|
}
|
|
104
114
|
|
|
105
115
|
export interface INotiMainAuditdbWithscczQuerys {
|
|
106
|
-
|
|
107
|
-
deptfromtext: string;
|
|
116
|
+
notimain: number;
|
|
108
117
|
}
|
|
109
118
|
|
|
110
119
|
export class TNotiMainAuditdbWithscczQuerys implements INotiMainAuditdbWithscczQuerys {
|
|
111
|
-
|
|
112
|
-
deptfromtext: string = "";
|
|
120
|
+
notimain: number = -1;
|
|
113
121
|
}
|
|
114
122
|
|
|
115
123
|
export interface INotiMainFinishedWithscczQuerys {
|