@ningboyz/apis 1.4.37 → 1.4.38

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.4.37",
3
+ "version": "1.4.38",
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.37",
20
+ "@ningboyz/types": "1.4.38",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,7 @@
1
1
  import { TNoti } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { INotiMainDetaildbQuerys, INotiMainFinishedQuerys, INotiMainGet4NotiQuerys, INotiMainSelectdbQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys } from "./types";
3
+ import { IEmptyQuerys } from "../type";
4
+ import { INotiMainAuditdbWithscczQuerys, INotiMainDetaildbQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
4
5
 
5
6
  class ParaRequest {
6
7
  private httpRequest: HttpRequest;
@@ -78,6 +79,7 @@ class ParaRequest {
78
79
  get4noti(querys: INotiMainGet4NotiQuerys) {
79
80
  return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/get4noti", querys);
80
81
  }
82
+
81
83
  /**
82
84
  * 标记消息己读
83
85
  * @param querys
@@ -86,6 +88,67 @@ class ParaRequest {
86
88
  readplus(querys: INotiMainReadplusQuerys) {
87
89
  return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/readplus", querys);
88
90
  }
91
+
92
+ /**
93
+ * 获取收文或督办列表
94
+ * @param querys
95
+ * @param params
96
+ * @returns
97
+ */
98
+ selectdbwithsccz(querys: INotiMainSelectdbWithscczQuerys, params: object) {
99
+ return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/selectdb", querys, params);
100
+ }
101
+
102
+ /**
103
+ * 审核收文或督办
104
+ * @param querys
105
+ * @param params
106
+ * @returns
107
+ */
108
+ auditdbwithsccz(querys: INotiMainAuditdbWithscczQuerys, params: object) {
109
+ return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditdb", querys, params);
110
+ }
111
+
112
+ /**
113
+ * 撤销审核收文或督办
114
+ * @param querys
115
+ * @param params
116
+ * @returns
117
+ */
118
+ revokeedwithsccz(querys: IEmptyQuerys, params: object) {
119
+ return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/revokeed", querys, params);
120
+ }
121
+
122
+ /**
123
+ * 获取收文或督办已办
124
+ * @param querys
125
+ * @returns
126
+ */
127
+ finishedwithsccz(querys: INotiMainFinishedWithscczQuerys, params: object) {
128
+ return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/finished", querys, params);
129
+ }
130
+
131
+ /**
132
+ * 终审收文或督办
133
+ * @param querys
134
+ * @param params
135
+ * @returns
136
+ */
137
+ executedwithsccz(querys: IEmptyQuerys, params: object) {
138
+ return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/executed", querys, params);
139
+ }
140
+
141
+ /**
142
+ * 撤销终审收文或督办
143
+ * @param querys
144
+ * @param params
145
+ * @returns
146
+ */
147
+ canceledwithsccz(querys: IEmptyQuerys, params: object) {
148
+ return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/canceled", querys, params);
149
+ }
150
+
151
+
89
152
  }
90
153
 
91
154
  export default ParaRequest;
@@ -16,12 +16,15 @@ export class TNotiMainSelectdbQuerys implements INotiMainSelectdbQuerys {
16
16
  unitmain: number = -1;
17
17
  withflow: number = 0;
18
18
  }
19
+
19
20
  export interface INotiMainInsertdb1Querys {
20
21
  shareday: number;
21
22
  }
23
+
22
24
  export class TNotiMainInsertdb1Querys implements INotiMainInsertdb1Querys {
23
25
  shareday: number = -1;
24
26
  }
27
+
25
28
  export interface INotiMainDetaildbQuerys {
26
29
  notimain: number;
27
30
  }
@@ -42,14 +45,73 @@ export interface INotiMainGet4NotiQuerys {
42
45
  syspartc: number;
43
46
  sourcend: number;
44
47
  }
48
+
45
49
  export class TNotiMainGet4NotiQuerys implements INotiMainGet4NotiQuerys {
46
50
  syspartc: number = -1;
47
51
  sourcend: number = -1;
48
52
  }
53
+
49
54
  export interface INotiMainReadplusQuerys {
50
55
  //公告标识;noti.tmain.entityID
51
56
  entityid: string;
52
57
  }
58
+
53
59
  export class TNotiMainReadplusQuerys implements INotiMainReadplusQuerys {
54
60
  entityid: string = "";
55
61
  }
62
+
63
+ export interface INotiMainSelectdbWithscczQuerys {
64
+ withflow: number;
65
+ sysclasc: number;
66
+ syspartc: number;
67
+ notimain: number;
68
+ sourcend: number;
69
+ useronly: number;
70
+ viewonly: number;
71
+ unitonly: number;
72
+ unitmain: number;
73
+ withlock: number;
74
+ notitype: number;
75
+ limited: number;
76
+ menuuuid: string;
77
+ queuesby: string;
78
+ }
79
+
80
+ export class TNotiMainSelectdbWithscczQuerys implements INotiMainSelectdbWithscczQuerys {
81
+ withflow: number = -1;
82
+ sysclasc: number = -1;
83
+ syspartc: number = -1;
84
+ notimain: number = -1;
85
+ sourcend: number = -1;
86
+ useronly: number = -1;
87
+ viewonly: number = -1;
88
+ unitonly: number = -1;
89
+ unitmain: number = -1;
90
+ withlock: number = -1;
91
+ notitype: number = -1;
92
+ limited: number = -1;
93
+ menuuuid: string = "";
94
+ queuesby: string = "";
95
+ }
96
+
97
+ export interface INotiMainAuditdbWithscczQuerys {
98
+ deptfrom: number;
99
+ }
100
+
101
+ export class TNotiMainAuditdbWithscczQuerys implements INotiMainAuditdbWithscczQuerys {
102
+ deptfrom: number = -1;
103
+ }
104
+
105
+ export interface INotiMainFinishedWithscczQuerys {
106
+ syspartc: number;
107
+ sourcend: number;
108
+ voidonly: number;
109
+ queuesby: string;
110
+ }
111
+
112
+ export class TNotiMainFinishedWithscczQuerys implements INotiMainFinishedWithscczQuerys {
113
+ syspartc: number = -1;
114
+ sourcend: number = -1;
115
+ voidonly: number = -1;
116
+ queuesby: string = "";
117
+ }
package/pnpm-lock.yaml DELETED
@@ -1,237 +0,0 @@
1
- lockfileVersion: '9.0'
2
-
3
- settings:
4
- autoInstallPeers: true
5
- excludeLinksFromLockfile: false
6
-
7
- importers:
8
-
9
- .:
10
- dependencies:
11
- '@ningboyz/types':
12
- specifier: 1.4.28
13
- version: 1.4.28
14
- axios:
15
- specifier: 1.8.4
16
- version: 1.8.4
17
- lodash:
18
- specifier: ^4.17.21
19
- version: 4.17.21
20
- devDependencies:
21
- '@types/lodash':
22
- specifier: ^4.17.20
23
- version: 4.17.20
24
-
25
- packages:
26
-
27
- '@aximario/json-tree@2.2.4':
28
- resolution: {integrity: sha512-XGMJ+zuVQ0CRizo1d3ZTUKEvrTqKYbm2a00T6DnRFR36mzV6mexLUKRIk6repj3JKgLrj3iwW8aUFrOS4P7CEA==}
29
-
30
- '@ningboyz/types@1.4.28':
31
- resolution: {integrity: sha512-WZZpFi2I5/iKhheB3scKV1BPwd+SREeYBplbkjJuqxbOOSe+oYhMoC50K9U+uOXgVff7qxWOPPXWhyYbblVr1Q==}
32
-
33
- '@types/lodash@4.17.20':
34
- resolution: {integrity: sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==}
35
-
36
- asynckit@0.4.0:
37
- resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
38
-
39
- axios@1.8.4:
40
- resolution: {integrity: sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==}
41
-
42
- call-bind-apply-helpers@1.0.2:
43
- resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
44
- engines: {node: '>= 0.4'}
45
-
46
- combined-stream@1.0.8:
47
- resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
48
- engines: {node: '>= 0.8'}
49
-
50
- delayed-stream@1.0.0:
51
- resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
52
- engines: {node: '>=0.4.0'}
53
-
54
- dunder-proto@1.0.1:
55
- resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
56
- engines: {node: '>= 0.4'}
57
-
58
- es-define-property@1.0.1:
59
- resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
60
- engines: {node: '>= 0.4'}
61
-
62
- es-errors@1.3.0:
63
- resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
64
- engines: {node: '>= 0.4'}
65
-
66
- es-object-atoms@1.1.1:
67
- resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
68
- engines: {node: '>= 0.4'}
69
-
70
- es-set-tostringtag@2.1.0:
71
- resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}
72
- engines: {node: '>= 0.4'}
73
-
74
- follow-redirects@1.15.9:
75
- resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
76
- engines: {node: '>=4.0'}
77
- peerDependencies:
78
- debug: '*'
79
- peerDependenciesMeta:
80
- debug:
81
- optional: true
82
-
83
- form-data@4.0.3:
84
- resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
85
- engines: {node: '>= 6'}
86
-
87
- function-bind@1.1.2:
88
- resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
89
-
90
- get-intrinsic@1.3.0:
91
- resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
92
- engines: {node: '>= 0.4'}
93
-
94
- get-proto@1.0.1:
95
- resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
96
- engines: {node: '>= 0.4'}
97
-
98
- gopd@1.2.0:
99
- resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
100
- engines: {node: '>= 0.4'}
101
-
102
- has-symbols@1.1.0:
103
- resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
104
- engines: {node: '>= 0.4'}
105
-
106
- has-tostringtag@1.0.2:
107
- resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
108
- engines: {node: '>= 0.4'}
109
-
110
- hasown@2.0.2:
111
- resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
112
- engines: {node: '>= 0.4'}
113
-
114
- lodash@4.17.21:
115
- resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
116
-
117
- math-intrinsics@1.1.0:
118
- resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
119
- engines: {node: '>= 0.4'}
120
-
121
- mime-db@1.52.0:
122
- resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
123
- engines: {node: '>= 0.6'}
124
-
125
- mime-types@2.1.35:
126
- resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
127
- engines: {node: '>= 0.6'}
128
-
129
- proxy-from-env@1.1.0:
130
- resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
131
-
132
- snapshots:
133
-
134
- '@aximario/json-tree@2.2.4': {}
135
-
136
- '@ningboyz/types@1.4.28':
137
- dependencies:
138
- '@aximario/json-tree': 2.2.4
139
- lodash: 4.17.21
140
-
141
- '@types/lodash@4.17.20': {}
142
-
143
- asynckit@0.4.0: {}
144
-
145
- axios@1.8.4:
146
- dependencies:
147
- follow-redirects: 1.15.9
148
- form-data: 4.0.3
149
- proxy-from-env: 1.1.0
150
- transitivePeerDependencies:
151
- - debug
152
-
153
- call-bind-apply-helpers@1.0.2:
154
- dependencies:
155
- es-errors: 1.3.0
156
- function-bind: 1.1.2
157
-
158
- combined-stream@1.0.8:
159
- dependencies:
160
- delayed-stream: 1.0.0
161
-
162
- delayed-stream@1.0.0: {}
163
-
164
- dunder-proto@1.0.1:
165
- dependencies:
166
- call-bind-apply-helpers: 1.0.2
167
- es-errors: 1.3.0
168
- gopd: 1.2.0
169
-
170
- es-define-property@1.0.1: {}
171
-
172
- es-errors@1.3.0: {}
173
-
174
- es-object-atoms@1.1.1:
175
- dependencies:
176
- es-errors: 1.3.0
177
-
178
- es-set-tostringtag@2.1.0:
179
- dependencies:
180
- es-errors: 1.3.0
181
- get-intrinsic: 1.3.0
182
- has-tostringtag: 1.0.2
183
- hasown: 2.0.2
184
-
185
- follow-redirects@1.15.9: {}
186
-
187
- form-data@4.0.3:
188
- dependencies:
189
- asynckit: 0.4.0
190
- combined-stream: 1.0.8
191
- es-set-tostringtag: 2.1.0
192
- hasown: 2.0.2
193
- mime-types: 2.1.35
194
-
195
- function-bind@1.1.2: {}
196
-
197
- get-intrinsic@1.3.0:
198
- dependencies:
199
- call-bind-apply-helpers: 1.0.2
200
- es-define-property: 1.0.1
201
- es-errors: 1.3.0
202
- es-object-atoms: 1.1.1
203
- function-bind: 1.1.2
204
- get-proto: 1.0.1
205
- gopd: 1.2.0
206
- has-symbols: 1.1.0
207
- hasown: 2.0.2
208
- math-intrinsics: 1.1.0
209
-
210
- get-proto@1.0.1:
211
- dependencies:
212
- dunder-proto: 1.0.1
213
- es-object-atoms: 1.1.1
214
-
215
- gopd@1.2.0: {}
216
-
217
- has-symbols@1.1.0: {}
218
-
219
- has-tostringtag@1.0.2:
220
- dependencies:
221
- has-symbols: 1.1.0
222
-
223
- hasown@2.0.2:
224
- dependencies:
225
- function-bind: 1.1.2
226
-
227
- lodash@4.17.21: {}
228
-
229
- math-intrinsics@1.1.0: {}
230
-
231
- mime-db@1.52.0: {}
232
-
233
- mime-types@2.1.35:
234
- dependencies:
235
- mime-db: 1.52.0
236
-
237
- proxy-from-env@1.1.0: {}