@ningboyz/apis 1.7.64 → 1.7.65
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/dept.ts +6 -0
- package/packages/core/types.ts +10 -0
- package/packages/core/unit.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.65",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.65",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/dept.ts
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
ICoreDeptLiteGet4deptQuerys,
|
|
14
14
|
ICoreDeptSelectdbQuerys,
|
|
15
15
|
ICoreDeptUpdatedbQuerys,
|
|
16
|
+
ICoreDeptUpdateDeptCodeQuerys,
|
|
16
17
|
ICoreDeptUploadd2Querys,
|
|
17
18
|
ICoreDeptUploadd3Querys
|
|
18
19
|
} from "./types";
|
|
@@ -178,6 +179,11 @@ class DeptRequest {
|
|
|
178
179
|
deptPathResetdp(querys: ICoreDeptDeptPathResetdpQuerys, params: object) {
|
|
179
180
|
return this.httpRequest.post<string>("/core/tdept/deptpath/deletedb", querys, params);
|
|
180
181
|
}
|
|
182
|
+
|
|
183
|
+
/**修改部门编号 */
|
|
184
|
+
updateDeptCode(querys: ICoreDeptUpdateDeptCodeQuerys, params: object) {
|
|
185
|
+
return this.httpRequest.post<TCore.IDeptResponse[]>("/core/tdept/deptcode/uploaddb", querys, params);
|
|
186
|
+
}
|
|
181
187
|
}
|
|
182
188
|
|
|
183
189
|
export default DeptRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -1434,3 +1434,13 @@ export class TCoreUserGet4BodyQuerys implements ICoreUserGet4BodyQuerys {
|
|
|
1434
1434
|
unitlike: string = "";
|
|
1435
1435
|
deptlike: string = "";
|
|
1436
1436
|
}
|
|
1437
|
+
|
|
1438
|
+
/**修改单位编号 */
|
|
1439
|
+
export interface ICoreUnitUpdateUnitCodeQuerys {}
|
|
1440
|
+
|
|
1441
|
+
export class TCoreUnitUpdateUnitCodeQuerys implements ICoreUnitUpdateUnitCodeQuerys {}
|
|
1442
|
+
|
|
1443
|
+
/**修改部门编号 */
|
|
1444
|
+
export interface ICoreDeptUpdateDeptCodeQuerys {}
|
|
1445
|
+
|
|
1446
|
+
export class TCoreDeptUpdateDeptCodeQuerys implements ICoreDeptUpdateDeptCodeQuerys {}
|
package/packages/core/unit.ts
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
ICoreUnitDetaildbQuerys,
|
|
7
7
|
ICoreUnitGet4UnitQuerys,
|
|
8
8
|
ICoreUnitSelectdbQuerys,
|
|
9
|
+
ICoreUnitUpdateUnitCodeQuerys,
|
|
9
10
|
ICoreUnitUploadd5Querys,
|
|
10
11
|
ICoreUnitUploadPathQuerys,
|
|
11
12
|
ICoreUnitUploadQuerys
|
|
@@ -144,6 +145,11 @@ class UnitRequest {
|
|
|
144
145
|
uploadd5(querys: ICoreUnitUploadd5Querys, params: object) {
|
|
145
146
|
return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tunit/listload/uploaddb", querys, params);
|
|
146
147
|
}
|
|
148
|
+
|
|
149
|
+
/**修改单位编号 */
|
|
150
|
+
updateUnitCode(querys: ICoreUnitUpdateUnitCodeQuerys, params: object) {
|
|
151
|
+
return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tunit/unitcode/uploaddb", querys, params);
|
|
152
|
+
}
|
|
147
153
|
}
|
|
148
154
|
|
|
149
155
|
export default UnitRequest;
|