@ningboyz/apis 1.5.7 → 1.5.9
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 +23 -2
- package/packages/core/types.ts +28 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9",
|
|
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.5.
|
|
20
|
+
"@ningboyz/types": "1.5.9",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/dept.ts
CHANGED
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
ICoreDeptDeptBindSelectdbQuerys,
|
|
6
6
|
ICoreDeptDeptBindUploadd2Querys,
|
|
7
7
|
ICoreDeptDeptBindUploaddbQuerys,
|
|
8
|
+
ICoreDeptDeptPathResetdpQuerys,
|
|
9
|
+
ICoreDeptDeptPathUploaddbQuerys,
|
|
8
10
|
ICoreDeptDetaildbQuerys,
|
|
9
11
|
ICoreDeptInsertdbQuerys,
|
|
10
12
|
ICoreDeptLiteGet4deptQuerys,
|
|
@@ -126,8 +128,7 @@ class DeptRequest {
|
|
|
126
128
|
return this.httpRequest.post<TCore.IDeptBindResponse[]>("/core/tdept/deptbind/selectdb", querys, params);
|
|
127
129
|
}
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
+
/**
|
|
131
132
|
* 部门绑定第三方数据(辅助核算)
|
|
132
133
|
* @param querys
|
|
133
134
|
* @param params
|
|
@@ -136,6 +137,26 @@ class DeptRequest {
|
|
|
136
137
|
deptBindUploadd2(querys: ICoreDeptDeptBindUploadd2Querys, params: object) {
|
|
137
138
|
return this.httpRequest.post<TCore.IDeptBindResponse[]>("/core/tdept/deptbind/uploadd2", querys, params);
|
|
138
139
|
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* 附件上传
|
|
143
|
+
* @param querys
|
|
144
|
+
* @param params
|
|
145
|
+
* @returns
|
|
146
|
+
*/
|
|
147
|
+
deptPathUploaddb(querys: ICoreDeptDeptPathUploaddbQuerys, params: object) {
|
|
148
|
+
return this.httpRequest.post<TCore.IDeptPathResponse[]>("/core/tdept/deptpath/uploaddb", querys, params);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* 重置公章
|
|
153
|
+
* @param querys
|
|
154
|
+
* @param params
|
|
155
|
+
* @returns
|
|
156
|
+
*/
|
|
157
|
+
deptPathResetdp(querys: ICoreDeptDeptPathResetdpQuerys, params: object) {
|
|
158
|
+
return this.httpRequest.post<TCore.IDeptPathResponse[]>("/core/tdept/deptpath/deletedb", querys, params);
|
|
159
|
+
}
|
|
139
160
|
}
|
|
140
161
|
|
|
141
162
|
export default DeptRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -446,8 +446,8 @@ export interface ICoreUnitUploadd5Querys {
|
|
|
446
446
|
overload: number;
|
|
447
447
|
}
|
|
448
448
|
export class TCoreUnitUploadd5Querys implements ICoreUnitUploadd5Querys {
|
|
449
|
-
unitmain: number
|
|
450
|
-
overload: number
|
|
449
|
+
unitmain: number = -1;
|
|
450
|
+
overload: number = -1;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
export interface ICoreUnitDetaildbQuerys {
|
|
@@ -872,7 +872,6 @@ export class TCoreDeptDeptBindUploadd2Querys implements ICoreDeptDeptBindUploadd
|
|
|
872
872
|
matchval: string = "";
|
|
873
873
|
}
|
|
874
874
|
|
|
875
|
-
|
|
876
875
|
export interface ICoreUserUpdatedbTouchurlQuerys {
|
|
877
876
|
touchurl: string;
|
|
878
877
|
}
|
|
@@ -882,38 +881,25 @@ export class TCoreUserUpdatedbTouchurlQuerys implements ICoreUserUpdatedbTouchur
|
|
|
882
881
|
}
|
|
883
882
|
|
|
884
883
|
// 供货商
|
|
885
|
-
export interface ICoreDddwInsertdbQuerys {
|
|
884
|
+
export interface ICoreDddwInsertdbQuerys {}
|
|
886
885
|
|
|
887
|
-
}
|
|
886
|
+
export class TCoreDddwInsertdbQuerys implements ICoreDddwInsertdbQuerys {}
|
|
888
887
|
|
|
889
|
-
export
|
|
890
|
-
}
|
|
888
|
+
export interface ICoreDddwSelectdb1Querys {}
|
|
891
889
|
|
|
890
|
+
export class TCoreDddwSelectdb1Querys implements ICoreDddwSelectdb1Querys {}
|
|
892
891
|
|
|
893
|
-
export interface
|
|
894
|
-
}
|
|
892
|
+
export interface ICoreDddwUpdatedb1Querys {}
|
|
895
893
|
|
|
896
|
-
export class
|
|
897
|
-
}
|
|
894
|
+
export class TCoreDddwUpdatedb1Querys implements ICoreDddwUpdatedb1Querys {}
|
|
898
895
|
|
|
899
|
-
export interface
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
export class TCoreDddwUpdatedb1Querys implements ICoreDddwUpdatedb1Querys {
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
export interface ICoreDddwDeletedb1Querys {
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
export class TCoreDddwDeletedb1Querys implements ICoreDddwDeletedb1Querys {
|
|
909
|
-
}
|
|
896
|
+
export interface ICoreDddwDeletedb1Querys {}
|
|
910
897
|
|
|
911
|
-
export
|
|
912
|
-
}
|
|
898
|
+
export class TCoreDddwDeletedb1Querys implements ICoreDddwDeletedb1Querys {}
|
|
913
899
|
|
|
914
|
-
export
|
|
915
|
-
}
|
|
900
|
+
export interface ICoreDddwDetaildb1Querys {}
|
|
916
901
|
|
|
902
|
+
export class TCoreDddwDetaildb1Querys implements ICoreDddwDetaildb1Querys {}
|
|
917
903
|
|
|
918
904
|
export interface ICoreDictUploaddbQuerys {
|
|
919
905
|
typemain: number;
|
|
@@ -925,6 +911,22 @@ export class TCoreDictUploaddbQuerys implements ICoreDictUploaddbQuerys {
|
|
|
925
911
|
systypec: number = -1;
|
|
926
912
|
}
|
|
927
913
|
|
|
914
|
+
export interface ICoreDeptDeptPathUploaddbQuerys {
|
|
915
|
+
// 附件上传
|
|
916
|
+
cnfgmain: number;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
export class TCoreDeptDeptPathUploaddbQuerys implements ICoreDeptDeptPathUploaddbQuerys {
|
|
920
|
+
cnfgmain: number = -1;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export interface ICoreDeptDeptPathResetdpQuerys {
|
|
924
|
+
cnfgmain: number;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
export class TCoreDeptDeptPathResetdpQuerys implements ICoreDeptDeptPathResetdpQuerys {
|
|
928
|
+
cnfgmain: number = -1;
|
|
929
|
+
}
|
|
928
930
|
|
|
929
931
|
export interface ICoreSysmenuWldypageSelectdbQuerys {}
|
|
930
932
|
export class TCoreSysmenuWldypageSelectdbQuerys implements ICoreSysmenuWldypageSelectdbQuerys {}
|