@ningboyz/apis 1.2.70 → 1.2.72
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/card/types.ts +2 -1
- package/packages/core/unit.ts +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.72",
|
|
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.2.
|
|
20
|
+
"@ningboyz/types": "1.2.72",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/card/types.ts
CHANGED
|
@@ -95,7 +95,8 @@ export class TCardMainSelectd2Querys implements ICardMainSelectd2Querys {
|
|
|
95
95
|
viewonly: number = -1;
|
|
96
96
|
canclose: number = -1;
|
|
97
97
|
sourcend: number = -1;
|
|
98
|
-
|
|
98
|
+
// 默认为1
|
|
99
|
+
normalonly: number = 1;
|
|
99
100
|
useronly: number = -1;
|
|
100
101
|
cardkjnd: number = -1;
|
|
101
102
|
cardkjqj: number = -1;
|
package/packages/core/unit.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IParams } from "../type";
|
|
3
|
+
import { IEmptyQuerys, IParams } from "../type";
|
|
4
4
|
import { ICoreUnitDetaildbQuerys, ICoreUnitGet4UnitQuerys, ICoreUnitSelectdbQuerys, ICoreUnitUploadQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class UnitRequest {
|
|
@@ -99,6 +99,15 @@ class UnitRequest {
|
|
|
99
99
|
uploaddb(querys: ICoreUnitUploadQuerys, params: IParams<TCore.IUnitResponse[]>) {
|
|
100
100
|
return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tunit/uploaddb", querys, params);
|
|
101
101
|
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 单位导入统发编码
|
|
105
|
+
* @param params
|
|
106
|
+
* @returns
|
|
107
|
+
*/
|
|
108
|
+
uploadu2(querys: IEmptyQuerys, params: IParams<TCore.IUnitResponse[]>) {
|
|
109
|
+
return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tunit/codetxt2/uploaddb", querys, params);
|
|
110
|
+
}
|
|
102
111
|
}
|
|
103
112
|
|
|
104
113
|
export default UnitRequest;
|