@ningboyz/apis 1.7.116 → 1.7.118

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.7.116",
3
+ "version": "1.7.118",
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.116",
20
+ "@ningboyz/types": "1.7.118",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -10,6 +10,8 @@ import {
10
10
  IGztbMainInsertd2Querys,
11
11
  IGztbMainInsertdbQuerys,
12
12
  IGztbMainLastgzdhQuerys,
13
+ IGztbMainMakezeroQuerys,
14
+ IGztbMainPublishQuerys,
13
15
  IGztbMainSelectdbQuerys,
14
16
  IGztbMainUsesNextQuerys
15
17
  } from "./types";
@@ -96,9 +98,9 @@ class MainRequest {
96
98
 
97
99
  /**
98
100
  * 获取填报明细
99
- * @param querys
100
- * @param params
101
- * @returns
101
+ * @param querys
102
+ * @param params
103
+ * @returns
102
104
  */
103
105
  get4gzzd(querys: IGztbMainGet4gzzdQuerys, params: object) {
104
106
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/get4gzzd", querys, params);
@@ -106,9 +108,9 @@ class MainRequest {
106
108
 
107
109
  /**
108
110
  * 追加填报表
109
- * @param querys
110
- * @param params
111
- * @returns
111
+ * @param querys
112
+ * @param params
113
+ * @returns
112
114
  */
113
115
  appendtmain(querys: IGztbMainAppendtmainQuerys, params: object) {
114
116
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/appenddb", querys, params);
@@ -116,9 +118,9 @@ class MainRequest {
116
118
 
117
119
  /**
118
120
  * 追加填报表
119
- * @param querys
120
- * @param params
121
- * @returns
121
+ * @param querys
122
+ * @param params
123
+ * @returns
122
124
  */
123
125
  appen2tmain(querys: IGztbMainAppen2tmainQuerys, params: object) {
124
126
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/appendd2", querys, params);
@@ -126,9 +128,9 @@ class MainRequest {
126
128
 
127
129
  /**
128
130
  * 删除工资发布
129
- * @param querys
130
- * @param params
131
- * @returns
131
+ * @param querys
132
+ * @param params
133
+ * @returns
132
134
  */
133
135
  del4gzzd(querys: IGztbMainDel4gzzdQuerys, params: object) {
134
136
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/del4gzzd", querys, params);
@@ -136,22 +138,37 @@ class MainRequest {
136
138
 
137
139
  /**
138
140
  * 获取期间
139
- * @param querys
140
- * @returns
141
+ * @param querys
142
+ * @returns
141
143
  */
142
144
  get4pzActivity(querys: IGztbMainGet4pzActivityQuerys) {
143
145
  return this.httpRequest.post<TGztb.ISysKjqjResponse[]>("/gapi/gztb/tmain/activity", querys, undefined);
144
146
  }
145
-
147
+
146
148
  /**
147
149
  * 期间结转
148
- * @param querys
149
- * @param params
150
- * @returns
150
+ * @param querys
151
+ * @param params
152
+ * @returns
151
153
  */
152
154
  usesNext(querys: IGztbMainUsesNextQuerys, params: object) {
153
155
  return this.httpRequest.post<string>("/gapi/gztb/tmain/nextkjqj", querys, params);
154
156
  }
157
+
158
+ /**新增填报 (新增为制单)*/
159
+ insertit(querys: IGztbMainInsertdbQuerys, params: object) {
160
+ return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/insertit", querys, params);
161
+ }
162
+
163
+ /**发布工资填报 */
164
+ publish(querys: IGztbMainPublishQuerys, params: object) {
165
+ return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/publicit", querys, params);
166
+ }
167
+
168
+ /**撤销工资填报 */
169
+ makezero(querys: IGztbMainMakezeroQuerys, params: object) {
170
+ return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/makezero", querys, params);
171
+ }
155
172
  }
156
173
 
157
174
  export default MainRequest;
@@ -37,11 +37,13 @@ export class TGztbMainLastgzdhQuerys implements IGztbMainLastgzdhQuerys {
37
37
  export interface IGztbMainInsertdbQuerys {
38
38
  menuuuid: string;
39
39
  bodyfill: number;
40
+ gztbStat: number;
40
41
  }
41
42
 
42
43
  export class TGztbMainInsertdbQuerys implements IGztbMainInsertdbQuerys {
43
44
  menuuuid: string = "";
44
45
  bodyfill: number = 0;
46
+ gztbStat: number = -1;
45
47
  }
46
48
 
47
49
  export interface IGztbMainInsertd2Querys {
@@ -103,3 +105,21 @@ export class TGztbMainUsesNextQuerys implements IGztbMainUsesNextQuerys {
103
105
  realkjqj: number = -1;
104
106
  kjndkjqj: number = -1;
105
107
  }
108
+
109
+ export interface IGztbMainPublishQuerys {
110
+ gztbmain: number;
111
+ gztbStat: number;
112
+ }
113
+
114
+ export class TGztbMainPublishQuerys implements IGztbMainPublishQuerys {
115
+ gztbmain: number = -1;
116
+ gztbStat: number = -1;
117
+ }
118
+
119
+ export interface IGztbMainMakezeroQuerys {
120
+ gztbmain: number;
121
+ }
122
+
123
+ export class TGztbMainMakezeroQuerys implements IGztbMainMakezeroQuerys {
124
+ gztbmain: number = -1;
125
+ }
@@ -1,14 +1,15 @@
1
1
  import type { TVary } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import {
4
+ IVaryMainCanceled4HznjQuerys,
4
5
  IVaryMainCanceled4MyoaQuerys,
5
6
  IVaryMainCanceled4UserQuerys,
6
7
  IVaryMainCanceledQuerys,
7
8
  IVaryMainDeletedbQuerys,
8
- IVaryMainDetaildbQuerys,
9
+ IVaryMainDetaildbQuerys, IVaryMainExecuted4HznjQuerys,
9
10
  IVaryMainExecuted4MyoaQuerys,
10
11
  IVaryMainExecutedQuerys,
11
- IVaryMainFinishedQuerys,
12
+ IVaryMainFinishedQuerys, IVaryMainFlusholdHznjQuerys,
12
13
  IVaryMainInsertdbQuerys,
13
14
  IVaryMainSelectdbQuerys,
14
15
  IVaryMainUpdatedbQuerys
@@ -88,6 +89,18 @@ class MainRequest {
88
89
  canceled4user(querys: IVaryMainCanceled4UserQuerys) {
89
90
  return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/withuser/canceled", querys, undefined);
90
91
  }
92
+
93
+ executed4hznj(querys: IVaryMainExecuted4HznjQuerys) {
94
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/withhznj/executed", querys, undefined);
95
+ }
96
+
97
+ canceled4hznj(querys: IVaryMainCanceled4HznjQuerys) {
98
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/withhznj/canceled", querys, undefined);
99
+ }
100
+
101
+ flushold4user(querys: IVaryMainFlusholdHznjQuerys) {
102
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/withhznj/flushold", querys, undefined);
103
+ }
91
104
  }
92
105
 
93
106
  export default MainRequest;
@@ -45,6 +45,15 @@ export class TVaryMainExecutedQuerys implements IVaryMainExecutedQuerys {
45
45
  entityid: string = "";
46
46
  }
47
47
 
48
+
49
+ export interface IVaryMainExecuted4HznjQuerys {
50
+ entityid: string;
51
+ }
52
+
53
+ export class TVaryMainExecuted4HznjQuerys implements IVaryMainExecuted4HznjQuerys {
54
+ entityid: string = "";
55
+ }
56
+
48
57
  export interface IVaryMainCanceledQuerys {
49
58
  entityid: string;
50
59
  }
@@ -91,6 +100,22 @@ export class TVaryMainCanceled4UserQuerys implements IVaryMainCanceled4UserQuery
91
100
  entityid: string = "";
92
101
  }
93
102
 
103
+ export interface IVaryMainCanceled4HznjQuerys {
104
+ entityid: string;
105
+ }
106
+
107
+ export class TVaryMainCanceled4HznjQuerys implements IVaryMainCanceled4HznjQuerys {
108
+ entityid: string = "";
109
+ }
110
+
111
+ export interface IVaryMainFlusholdHznjQuerys {
112
+ entityid: string;
113
+ }
114
+
115
+ export class TVaryMainFlusholdHznjQuerys implements IVaryMainFlusholdHznjQuerys {
116
+ entityid: string = "";
117
+ }
118
+
94
119
  export interface IVaryMainInsertdbQuerys {
95
120
  sourcend: number;
96
121
  }