@ningboyz/apis 1.1.17 → 1.1.19
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/main.ts +7 -1
- package/packages/myoa/type.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
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.1.
|
|
20
|
+
"@ningboyz/types": "1.1.19",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/myoa/main.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
IMyoaMainDetail2dbQuerys,
|
|
10
10
|
IMyoaMainSet4pathQuerys,
|
|
11
11
|
IMyoaMainUsesdzqzUpdatedbQuerys,
|
|
12
|
+
IMyoaFinishedQuerys,
|
|
12
13
|
IMyoaMainScheduleQuerys
|
|
13
14
|
} from "./type";
|
|
14
15
|
import { IEmptyQuerys, IParams } from "../type";
|
|
@@ -124,7 +125,12 @@ class ParaRequest {
|
|
|
124
125
|
usesdzqzUpdatedb(querys: IMyoaMainUsesdzqzUpdatedbQuerys, params: object) {
|
|
125
126
|
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/usesdzqz/updatedb", querys, params);
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
+
/**
|
|
129
|
+
* 获取登记已办业务
|
|
130
|
+
*/
|
|
131
|
+
finished(querys: IMyoaFinishedQuerys) {
|
|
132
|
+
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/finished", querys, undefined);
|
|
133
|
+
}
|
|
128
134
|
/**
|
|
129
135
|
* 获取用车列表/会议室列表
|
|
130
136
|
*/
|
package/packages/myoa/type.ts
CHANGED
|
@@ -16,6 +16,12 @@ export class TMyoaMainSelectdbQuerys implements IMyoaMainSelectdbQuerys {
|
|
|
16
16
|
useronly: number = -1;
|
|
17
17
|
myoatype: number = -1;
|
|
18
18
|
}
|
|
19
|
+
export interface IMyoaFinishedQuerys {
|
|
20
|
+
myoatype: number;
|
|
21
|
+
}
|
|
22
|
+
export class TMyoaFinishedQuerys implements IMyoaFinishedQuerys {
|
|
23
|
+
myoatype: number = -1;
|
|
24
|
+
}
|
|
19
25
|
/** ========== room ========== */
|
|
20
26
|
export interface IMyoaRoomSelectdbQuerys {}
|
|
21
27
|
|