@ningboyz/apis 1.3.15 → 1.3.16
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/sysmenu.ts +18 -1
- package/packages/core/types.ts +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
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.3.
|
|
20
|
+
"@ningboyz/types": "1.3.16",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/sysmenu.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
ICoreBillcodeSelectdbInsertdbQuerys,
|
|
5
|
+
ICoreSysmenuWithCoreDetaildbQuerys,
|
|
6
|
+
ICoreSysmenuWithCoreInsertdbQuerys,
|
|
7
|
+
ICoreSysmenuWithExpdDetaildbQuerys,
|
|
8
|
+
ICoreSysmenuWithExpdSelectdbQuerys,
|
|
9
|
+
TCoreBillcodeSelectdbInsertdbQuerys
|
|
10
|
+
} from "./types";
|
|
4
11
|
|
|
5
12
|
class SysmenuRequest {
|
|
6
13
|
private httpRequest: HttpRequest;
|
|
@@ -115,6 +122,16 @@ class SysmenuRequest {
|
|
|
115
122
|
uploadit(querys: ICoreSysmenuWithCoreInsertdbQuerys, params: object) {
|
|
116
123
|
return this.httpRequest.post<TCore.ISysMenuWithCoreResponse[]>("/core/tsysmenu/withcore/uploadit", querys, params);
|
|
117
124
|
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* 获取单据编码
|
|
128
|
+
* @param querys
|
|
129
|
+
* @param params
|
|
130
|
+
* @returns
|
|
131
|
+
*/
|
|
132
|
+
billcodeSelectdb(querys: ICoreBillcodeSelectdbInsertdbQuerys) {
|
|
133
|
+
return this.httpRequest.post<TCore.ISysMenuWithCoreResponse[]>("/core/tsysmenu/billcode/selectdb", querys);
|
|
134
|
+
}
|
|
118
135
|
}
|
|
119
136
|
|
|
120
137
|
export default SysmenuRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -657,3 +657,20 @@ export class TCoreSkdwDetaildbQuerys implements ICoreSkdwDetaildbQuerys {
|
|
|
657
657
|
acnomain: number = -1;
|
|
658
658
|
usermain: number = -1;
|
|
659
659
|
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* 获取单据编号
|
|
663
|
+
* */
|
|
664
|
+
export interface ICoreBillcodeSelectdbInsertdbQuerys {
|
|
665
|
+
menuuuid: string;
|
|
666
|
+
billbody: string;
|
|
667
|
+
menuuses: string;
|
|
668
|
+
tablfrom: string;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
export class TCoreBillcodeSelectdbInsertdbQuerys implements ICoreBillcodeSelectdbInsertdbQuerys {
|
|
672
|
+
menuuuid: string = "";
|
|
673
|
+
billbody: string = "";
|
|
674
|
+
menuuses: string = "";
|
|
675
|
+
tablfrom: string = "";
|
|
676
|
+
}
|