@ningboyz/apis 1.0.150 → 1.0.151
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/withcard.ts +4 -4
- package/packages/zbzd/main.ts +3 -3
- package/packages/zbzd/type.ts +2 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.151",
|
|
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.0.
|
|
20
|
+
"@ningboyz/types": "1.0.151",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TCore, TMyoa
|
|
1
|
+
import {TCard, TCore, TMyoa} from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
4
|
IMyoaMainDetail2dbQuerys,
|
|
@@ -50,7 +50,7 @@ class WithCardRequest {
|
|
|
50
50
|
/**
|
|
51
51
|
* 删除公物仓入仓/领用关联资产卡片
|
|
52
52
|
*/
|
|
53
|
-
deletedb(querys: IEmptyQuerys, params: IParams<
|
|
53
|
+
deletedb(querys: IEmptyQuerys, params: IParams<TCard.ICardMainResponse[]>) {
|
|
54
54
|
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/withcard/deletedb", querys, params);
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -78,7 +78,7 @@ class WithCardRequest {
|
|
|
78
78
|
/**
|
|
79
79
|
* 公物仓入仓终审
|
|
80
80
|
*/
|
|
81
|
-
executed(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
81
|
+
executed(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
82
82
|
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/withcard/executed", querys, params);
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -99,7 +99,7 @@ class WithCardRequest {
|
|
|
99
99
|
/**
|
|
100
100
|
* 公物仓领用确认/取消确认
|
|
101
101
|
*/
|
|
102
|
-
mrokdb(querys: IMyoaMainMrokdbQuerys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
102
|
+
mrokdb(querys: IMyoaMainMrokdbQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
103
103
|
return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/withcard/mrokdb", querys, params);
|
|
104
104
|
}
|
|
105
105
|
|
package/packages/zbzd/main.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TZbzd } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {IZbzdMainSelectdbQuerys,
|
|
3
|
+
import {IZbzdMainSelectdbQuerys, IZbzdMainDetaildbQuerys} from "./type";
|
|
4
4
|
import { IParams } from "../type";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
@@ -12,8 +12,8 @@ class ParaRequest {
|
|
|
12
12
|
/**
|
|
13
13
|
* 获取预算指标
|
|
14
14
|
*/
|
|
15
|
-
selectdb(querys: IZbzdMainSelectdbQuerys
|
|
16
|
-
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/selectdb", querys
|
|
15
|
+
selectdb(querys: IZbzdMainSelectdbQuerys) {
|
|
16
|
+
return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/selectdb", querys);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
package/packages/zbzd/type.ts
CHANGED
|
@@ -2,21 +2,13 @@
|
|
|
2
2
|
export interface IZbzdMainSelectdbQuerys {
|
|
3
3
|
withflow: number;
|
|
4
4
|
useronly: number;
|
|
5
|
-
|
|
5
|
+
sourcend: number;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export class TZbzdMainSelectdbQuerys implements IZbzdMainSelectdbQuerys {
|
|
9
9
|
withflow: number = 0
|
|
10
10
|
useronly: number = -1;
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface IZbzdMainSelectdbParams {
|
|
15
|
-
sorucend: number;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export class TZbzdMainSelectdbParams implements IZbzdMainSelectdbParams {
|
|
19
|
-
sorucend: number = -1
|
|
11
|
+
sourcend: number = -1
|
|
20
12
|
}
|
|
21
13
|
|
|
22
14
|
export interface IZbzdMainDetaildbQuerys {
|