@ningboyz/apis 1.4.190 → 1.4.192
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/dict.ts +6 -1
- package/packages/core/types.ts +7 -0
- package/packages/noti/main.ts +12 -2
- package/packages/yzht/main.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.192",
|
|
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.4.
|
|
20
|
+
"@ningboyz/types": "1.4.192",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/dict.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { ICoreDictDetaildbQuerys, ICoreDictSelectdbQuerys } from "./types";
|
|
3
|
+
import { ICoreDictDetaildbQuerys, ICoreDictSelectdbQuerys, ICoreDictUploaddbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class DictRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -70,6 +70,11 @@ class DictRequest {
|
|
|
70
70
|
selectdy(params: object) {
|
|
71
71
|
return this.httpRequest.post<TCore.IDictResponse[]>("/core/tdict/selectdy", undefined, params);
|
|
72
72
|
}
|
|
73
|
+
|
|
74
|
+
// 批量导入
|
|
75
|
+
uploaddb( querys: ICoreDictUploaddbQuerys, params: object) {
|
|
76
|
+
return this.httpRequest.post<TCore.IDictResponse[]>("/core/tdict/uploaddb", querys, params);
|
|
77
|
+
}
|
|
73
78
|
}
|
|
74
79
|
|
|
75
80
|
export default DictRequest;
|
package/packages/core/types.ts
CHANGED
|
@@ -914,5 +914,12 @@ export interface ICoreDddwDetaildb1Querys {
|
|
|
914
914
|
export class TCoreDddwDetaildb1Querys implements ICoreDddwDetaildb1Querys {
|
|
915
915
|
}
|
|
916
916
|
|
|
917
|
+
|
|
918
|
+
export interface ICoreDictUploaddbQuerys {
|
|
919
|
+
typemain: number;
|
|
920
|
+
systypec: number;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
|
|
917
924
|
export interface ICoreSysmenuWldypageSelectdbQuerys {}
|
|
918
925
|
export class TCoreSysmenuWldypageSelectdbQuerys implements ICoreSysmenuWldypageSelectdbQuerys {}
|
package/packages/noti/main.ts
CHANGED
|
@@ -151,15 +151,25 @@ class ParaRequest {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* 承办科室领导审核收文或督办切换科室
|
|
155
155
|
* @param querys
|
|
156
|
-
* @param params {deptfrom:{},
|
|
156
|
+
* @param params {deptfrom:{}, params:{}}
|
|
157
157
|
* @returns
|
|
158
158
|
*/
|
|
159
159
|
auditd4withsccz(querys: IEmptyQuerys, params: object) {
|
|
160
160
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditd4", querys, params);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
/**
|
|
164
|
+
* 承办科室承办人审核收文或督办
|
|
165
|
+
* @param querys
|
|
166
|
+
* @param params {userfrom:{}, params:{}}
|
|
167
|
+
* @returns
|
|
168
|
+
*/
|
|
169
|
+
auditd5withsccz(querys: IEmptyQuerys, params: object) {
|
|
170
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditd5", querys, params);
|
|
171
|
+
}
|
|
172
|
+
|
|
163
173
|
/**
|
|
164
174
|
* 获取收文或督办已办
|
|
165
175
|
* @param querys
|
package/packages/yzht/main.ts
CHANGED
|
@@ -107,6 +107,15 @@ class YzhtRequest {
|
|
|
107
107
|
return this.httpRequest.post<TYzht.IYzhtBillResponse[]>("/gapi/yzht/tbill/updated8", undefined, params);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* 检查合同关联投资计划
|
|
112
|
+
* @param params
|
|
113
|
+
* @returns
|
|
114
|
+
*/
|
|
115
|
+
chkexis1(params: object) {
|
|
116
|
+
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/chkexis1", undefined, params);
|
|
117
|
+
}
|
|
118
|
+
|
|
110
119
|
/**
|
|
111
120
|
* 检查合同关联用款计划
|
|
112
121
|
* @param params
|