@ningboyz/apis 1.6.183 → 1.6.185
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/types.ts +2 -0
- package/packages/gzzd/main.ts +11 -1
- package/packages/gzzd/types.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.185",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.185",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -717,12 +717,14 @@ export interface ICoreUserInitpswdQuerys {
|
|
|
717
717
|
whobuild: number;
|
|
718
718
|
userindx: number;
|
|
719
719
|
initpswd: string;
|
|
720
|
+
asnormal: number;
|
|
720
721
|
}
|
|
721
722
|
|
|
722
723
|
export class TCoreUserInitpswdQuerys implements ICoreUserInitpswdQuerys {
|
|
723
724
|
whobuild: number = -1;
|
|
724
725
|
userindx: number = -1;
|
|
725
726
|
initpswd: string = "";
|
|
727
|
+
asnormal: number = -1;
|
|
726
728
|
}
|
|
727
729
|
|
|
728
730
|
export interface ICoreUserMobileidUpdatedbQuerys {
|
package/packages/gzzd/main.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
IGzzdMainGet4gzzdQuerys,
|
|
10
10
|
IGzzdMainGet5BillWithZwlxQuerys,
|
|
11
11
|
IGzzdMainSelectdbQuerys,
|
|
12
|
-
IGzzdMainUpdatedbQuerys, IGzzdMainWithgzjgQuerys, TGzzdMainDetaild2Querys
|
|
12
|
+
IGzzdMainUpdatedbQuerys, IGzzdMainWithgzjgQuerys, TGzzdMainDetaild2Querys, IGzzdMainSet4userQuerys
|
|
13
13
|
} from "./types";
|
|
14
14
|
|
|
15
15
|
class ParaRequest {
|
|
@@ -36,6 +36,16 @@ class ParaRequest {
|
|
|
36
36
|
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/get4gzzd", querys, undefined);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
/**
|
|
40
|
+
* 设置特殊人员
|
|
41
|
+
* @param querys
|
|
42
|
+
* @param params
|
|
43
|
+
* @returns
|
|
44
|
+
*/
|
|
45
|
+
set4user(querys: IGzzdMainSet4userQuerys, params: object) {
|
|
46
|
+
return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/set4user", querys, params);
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
/**
|
|
40
50
|
* 获取单位用户权限范围内可填写的工资分录
|
|
41
51
|
* @param querys
|
package/packages/gzzd/types.ts
CHANGED
|
@@ -36,6 +36,13 @@ export class TGzzdMainGet4billQuerys implements IGzzdMainGet4billQuerys {
|
|
|
36
36
|
gzzdmain: number = -1;
|
|
37
37
|
viewmode: number = 0;
|
|
38
38
|
}
|
|
39
|
+
export interface IGzzdMainSet4userQuerys {
|
|
40
|
+
gzzdmain: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export class TGzzdMainSet4userQuerys implements IGzzdMainSet4userQuerys {
|
|
44
|
+
gzzdmain: number = -1;
|
|
45
|
+
}
|
|
39
46
|
|
|
40
47
|
export interface IGzzdMainWithgzjgQuerys {
|
|
41
48
|
gzzdmain: number;
|