@ningboyz/apis 1.4.85 → 1.4.86
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/myoa/types.ts +0 -2
- package/packages/noti/main.ts +12 -2
- package/packages/noti/types.ts +20 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.86",
|
|
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.86",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/myoa/types.ts
CHANGED
|
@@ -7,7 +7,6 @@ export interface IMyoaMainSelectdbQuerys {
|
|
|
7
7
|
useronly: number;
|
|
8
8
|
/** 1001 会议申请 1002 用车申请 1010 盖章 */
|
|
9
9
|
myoatype: number;
|
|
10
|
-
unitmain: number;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
export class TMyoaMainSelectdbQuerys implements IMyoaMainSelectdbQuerys {
|
|
@@ -16,7 +15,6 @@ export class TMyoaMainSelectdbQuerys implements IMyoaMainSelectdbQuerys {
|
|
|
16
15
|
viewonly: number = -1;
|
|
17
16
|
useronly: number = -1;
|
|
18
17
|
myoatype: number = -1;
|
|
19
|
-
unitmain: number = -1;
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
export interface IMyoaMainSelectdb2Querys {
|
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, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
4
|
+
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainAuditd4WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -146,10 +146,20 @@ class ParaRequest {
|
|
|
146
146
|
* @param params
|
|
147
147
|
* @returns
|
|
148
148
|
*/
|
|
149
|
-
auditd3withsccz(querys:
|
|
149
|
+
auditd3withsccz(querys: INotiMainAuditd3WithscczQuerys, params: object) {
|
|
150
150
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditd3", querys, params);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* 承办科室审核收文或督办切换科室
|
|
155
|
+
* @param querys
|
|
156
|
+
* @param params
|
|
157
|
+
* @returns
|
|
158
|
+
*/
|
|
159
|
+
auditd4withsccz(querys: INotiMainAuditd4WithscczQuerys, params: object) {
|
|
160
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditd4", querys, params);
|
|
161
|
+
}
|
|
162
|
+
|
|
153
163
|
/**
|
|
154
164
|
* 获取收文或督办已办
|
|
155
165
|
* @param querys
|
package/packages/noti/types.ts
CHANGED
|
@@ -102,6 +102,10 @@ export class TNotiMainDetaildbWithscczQuerys implements INotiMainDetaildbWithscc
|
|
|
102
102
|
notimain: number = -1;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
export interface INotiMainAuditdbWithscczQuerys { }
|
|
106
|
+
|
|
107
|
+
export class TNotiMainAuditdbWithscczQuerys implements INotiMainAuditdbWithscczQuerys { }
|
|
108
|
+
|
|
105
109
|
export interface INotiMainAuditd2WithscczQuerys {
|
|
106
110
|
notimain: number;
|
|
107
111
|
}
|
|
@@ -110,9 +114,23 @@ export class TNotiMainAuditd2WithscczQuerys implements INotiMainAuditd2WithscczQ
|
|
|
110
114
|
notimain: number = -1;
|
|
111
115
|
}
|
|
112
116
|
|
|
113
|
-
export interface
|
|
117
|
+
export interface INotiMainAuditd3WithscczQuerys {
|
|
118
|
+
notimain: number;
|
|
119
|
+
}
|
|
114
120
|
|
|
115
|
-
export class
|
|
121
|
+
export class TNotiMainAuditd3WithscczQuerys implements INotiMainAuditd3WithscczQuerys {
|
|
122
|
+
notimain: number = -1;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export interface INotiMainAuditd4WithscczQuerys {
|
|
126
|
+
deptfrom: number;
|
|
127
|
+
deptfromtext: string;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export class TNotiMainAuditd4WithscczQuerys implements INotiMainAuditd4WithscczQuerys {
|
|
131
|
+
deptfrom: number = -1;
|
|
132
|
+
deptfromtext: string = "";
|
|
133
|
+
}
|
|
116
134
|
|
|
117
135
|
export interface INotiMainFinishedWithscczQuerys {
|
|
118
136
|
syspartc: number;
|