@ningboyz/wxmp 1.0.25 → 1.0.26

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/es/index.js CHANGED
@@ -1,10 +1,12 @@
1
1
  import { CoreRequest as t } from "./packages/core/index.js";
2
2
  import { NotiRequest as r } from "./packages/noti/index.js";
3
3
  import { WtuiRequest as o } from "./packages/wtui/index.js";
4
- import { REQUEST_TIMEOUT_MILLISECONDS as p, TWxConfig as C } from "./packages/types.js";
5
- import { WxRequestError as c } from "./packages/wx.js";
6
- import { TCorePathUploaddbQuerys as x, TCoreUnitSelectdbQuerys as Q, TCoreUserDetailddCardQuerys as f, TCoreUserUpdateclQuerys as l, TCoreUserUpdatedbQuerys as y, TWxLoginParams as R } from "./packages/core/types.js";
7
- import { TNotiMainDetaildbQuerys as w, TNotiMainGet4NotiQuerys as E } from "./packages/noti/types.js";
4
+ import { TaskRequest as d } from "./packages/task/index.js";
5
+ import { REQUEST_TIMEOUT_MILLISECONDS as c, TWxConfig as f } from "./packages/types.js";
6
+ import { WxRequestError as C } from "./packages/wx.js";
7
+ import { TCorePathUploaddbQuerys as U, TCoreUnitSelectdbQuerys as l, TCoreUserDetailddCardQuerys as y, TCoreUserUpdateclQuerys as R, TCoreUserUpdatedbQuerys as q, TWxLoginParams as b } from "./packages/core/types.js";
8
+ import { TNotiMainDetaildbQuerys as E, TNotiMainGet4NotiQuerys as M } from "./packages/noti/types.js";
9
+ import { TTaskMainSelectdbQuerys as S } from "./packages/task/types.js";
8
10
  class T {
9
11
  static core;
10
12
  static noti;
@@ -16,18 +18,20 @@ class T {
16
18
  export {
17
19
  t as CoreRequest,
18
20
  r as NotiRequest,
19
- p as REQUEST_TIMEOUT_MILLISECONDS,
21
+ c as REQUEST_TIMEOUT_MILLISECONDS,
20
22
  T as Request,
21
- x as TCorePathUploaddbQuerys,
22
- Q as TCoreUnitSelectdbQuerys,
23
- f as TCoreUserDetailddCardQuerys,
24
- l as TCoreUserUpdateclQuerys,
25
- y as TCoreUserUpdatedbQuerys,
26
- w as TNotiMainDetaildbQuerys,
27
- E as TNotiMainGet4NotiQuerys,
28
- C as TWxConfig,
29
- R as TWxLoginParams,
23
+ U as TCorePathUploaddbQuerys,
24
+ l as TCoreUnitSelectdbQuerys,
25
+ y as TCoreUserDetailddCardQuerys,
26
+ R as TCoreUserUpdateclQuerys,
27
+ q as TCoreUserUpdatedbQuerys,
28
+ E as TNotiMainDetaildbQuerys,
29
+ M as TNotiMainGet4NotiQuerys,
30
+ S as TTaskMainSelectdbQuerys,
31
+ f as TWxConfig,
32
+ b as TWxLoginParams,
33
+ d as TaskRequest,
30
34
  o as WtuiRequest,
31
- c as WxRequestError,
35
+ C as WxRequestError,
32
36
  T as default
33
37
  };
@@ -0,0 +1,9 @@
1
+ import { IWxConfig } from '../types';
2
+ import { default as MainRequest } from './main';
3
+ declare class GztbRequest {
4
+ main: MainRequest;
5
+ constructor(config: IWxConfig);
6
+ }
7
+ export default GztbRequest;
8
+ export { GztbRequest };
9
+ export * from './types';
@@ -0,0 +1,109 @@
1
+ import { TGztb, TGzzd } from '@ningboyz/types';
2
+ import { WxRequest } from '../wx';
3
+ import { IGztbMainAppen2tmainQuerys, IGztbMainAppendtmainQuerys, IGztbMainDel4gzzdQuerys, IGztbMainDetaildbQuerys, IGztbMainGet4gzzdQuerys, IGztbMainGet4pzActivityQuerys, IGztbMainInsertd2Querys, IGztbMainInsertdbQuerys, IGztbMainLastgzdhQuerys, IGztbMainMakezeroQuerys, IGztbMainPublishQuerys, IGztbMainSelectdbQuerys, IGztbMainUpdateQuerys, IGztbMainUsersizeSelectdbQuerys, IGztbMainUsesNextQuerys } from './types';
4
+ declare class MainRequest {
5
+ private wxRequest;
6
+ constructor(wxRequest: WxRequest);
7
+ /**
8
+ * 获取工资填报列表
9
+ * @param querys
10
+ * @returns
11
+ */
12
+ selectdb(querys: IGztbMainSelectdbQuerys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
13
+ /**
14
+ * 获取工资填报详情
15
+ * @param querys
16
+ * @returns
17
+ */
18
+ detaildb(querys: IGztbMainDetaildbQuerys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
19
+ /**
20
+ * 获取最新批次
21
+ * @param querys
22
+ * @returns
23
+ */
24
+ lastgzdh(querys: IGztbMainLastgzdhQuerys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
25
+ /**
26
+ * 新增工资填报
27
+ * @param querys
28
+ * @param params
29
+ * @returns
30
+ */
31
+ insertdb(querys: IGztbMainInsertdbQuerys, params: TGztb.IGztbMainResponse): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
32
+ /**
33
+ * 检查是否重复发布
34
+ * @param params
35
+ * @returns
36
+ */
37
+ chkexist(params: TGztb.IGztbMainResponse): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
38
+ /**
39
+ * 删除工资填报
40
+ * @param params
41
+ * @returns
42
+ */
43
+ deletedb(params: TGztb.IGztbMainResponse[]): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
44
+ /**
45
+ * 追加工资填报-参照单位
46
+ * @param params
47
+ * @returns
48
+ */
49
+ appenddb(params: TGztb.IGztbMainResponse): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
50
+ /**
51
+ * 新增填报
52
+ * @param querys
53
+ * @param params
54
+ * @returns
55
+ */
56
+ insertd2(querys: IGztbMainInsertd2Querys, params: TGztb.IGztbMainResponse): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
57
+ /**
58
+ * 获取填报明细
59
+ * @param querys
60
+ * @param params
61
+ * @returns
62
+ */
63
+ get4gzzd(querys: IGztbMainGet4gzzdQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGzzd.IGzzdMainResponse[]>>;
64
+ /**
65
+ * 追加填报表
66
+ * @param querys
67
+ * @param params
68
+ * @returns
69
+ */
70
+ appendtmain(querys: IGztbMainAppendtmainQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGzzd.IGzzdMainResponse[]>>;
71
+ /**
72
+ * 追加填报表
73
+ * @param querys
74
+ * @param params
75
+ * @returns
76
+ */
77
+ appen2tmain(querys: IGztbMainAppen2tmainQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGzzd.IGzzdMainResponse[]>>;
78
+ /**
79
+ * 删除工资发布
80
+ * @param querys
81
+ * @param params
82
+ * @returns
83
+ */
84
+ del4gzzd(querys: IGztbMainDel4gzzdQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGzzd.IGzzdMainResponse[]>>;
85
+ /**
86
+ * 获取期间
87
+ * @param querys
88
+ * @returns
89
+ */
90
+ get4pzActivity(querys: IGztbMainGet4pzActivityQuerys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.ISysKjqjResponse[]>>;
91
+ /**
92
+ * 期间结转
93
+ * @param querys
94
+ * @param params
95
+ * @returns
96
+ */
97
+ usesNext(querys: IGztbMainUsesNextQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<string>>;
98
+ /**新增填报 (新增为制单)*/
99
+ insertit(querys: IGztbMainInsertdbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
100
+ /**发布工资填报 */
101
+ publish(querys: IGztbMainPublishQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
102
+ /**撤销工资填报 */
103
+ makezero(querys: IGztbMainMakezeroQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
104
+ /**更新接口 */
105
+ updatedb(querys: IGztbMainUpdateQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
106
+ /**获取人数统计*/
107
+ usersizeSelectdb(querys: IGztbMainUsersizeSelectdbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGztb.IGztbMainResponse[]>>;
108
+ }
109
+ export default MainRequest;
@@ -0,0 +1,108 @@
1
+ export interface IGztbMainSelectdbQuerys {
2
+ taskmain: number;
3
+ sourcend: number;
4
+ sourceqj: number;
5
+ useronly: number;
6
+ showunit: number;
7
+ }
8
+ export declare class TGztbMainSelectdbQuerys implements IGztbMainSelectdbQuerys {
9
+ taskmain: number;
10
+ sourcend: number;
11
+ sourceqj: number;
12
+ useronly: number;
13
+ showunit: number;
14
+ }
15
+ export interface IGztbMainDetaildbQuerys {
16
+ gztbmain: number;
17
+ }
18
+ export declare class TGztbMainDetaildbQuerys implements IGztbMainDetaildbQuerys {
19
+ gztbmain: number;
20
+ }
21
+ export interface IGztbMainLastgzdhQuerys {
22
+ sourcend: number;
23
+ taskmain: number;
24
+ sourceqj: number;
25
+ allowusr: number;
26
+ }
27
+ export declare class TGztbMainLastgzdhQuerys implements IGztbMainLastgzdhQuerys {
28
+ sourcend: number;
29
+ taskmain: number;
30
+ sourceqj: number;
31
+ allowusr: number;
32
+ }
33
+ export interface IGztbMainInsertdbQuerys {
34
+ menuuuid: string;
35
+ bodyfill: number;
36
+ gztbStat: number;
37
+ }
38
+ export declare class TGztbMainInsertdbQuerys implements IGztbMainInsertdbQuerys {
39
+ menuuuid: string;
40
+ bodyfill: number;
41
+ gztbStat: number;
42
+ }
43
+ export interface IGztbMainInsertd2Querys {
44
+ menuuuid: string;
45
+ }
46
+ export declare class TGztbMainInsertd2Querys implements IGztbMainInsertd2Querys {
47
+ menuuuid: string;
48
+ }
49
+ export interface IGztbMainGet4gzzdQuerys {
50
+ gztbmain: number;
51
+ }
52
+ export declare class TGztbMainGet4gzzdQuerys implements IGztbMainGet4gzzdQuerys {
53
+ gztbmain: number;
54
+ }
55
+ export interface IGztbMainAppendtmainQuerys {
56
+ gztbmain: number;
57
+ menuuuid: string;
58
+ }
59
+ export declare class TGztbMainAppendtmainQuerys implements IGztbMainAppendtmainQuerys {
60
+ gztbmain: number;
61
+ menuuuid: string;
62
+ }
63
+ export interface IGztbMainAppen2tmainQuerys {
64
+ }
65
+ export declare class TGztbMainAppen2tmainQuerys implements IGztbMainAppen2tmainQuerys {
66
+ }
67
+ export interface IGztbMainDel4gzzdQuerys {
68
+ gztbmain: number;
69
+ }
70
+ export declare class TGztbMainDel4gzzdQuerys implements IGztbMainDel4gzzdQuerys {
71
+ gztbmain: number;
72
+ }
73
+ export interface IGztbMainGet4pzActivityQuerys {
74
+ }
75
+ export declare class TGztbMainGet4pzActivityQuerys implements IGztbMainGet4pzActivityQuerys {
76
+ }
77
+ export interface IGztbMainUsesNextQuerys {
78
+ realkjnd: number;
79
+ realkjqj: number;
80
+ kjndkjqj: number;
81
+ }
82
+ export declare class TGztbMainUsesNextQuerys implements IGztbMainUsesNextQuerys {
83
+ realkjnd: number;
84
+ realkjqj: number;
85
+ kjndkjqj: number;
86
+ }
87
+ export interface IGztbMainPublishQuerys {
88
+ gztbmain: number;
89
+ gztbStat: number;
90
+ }
91
+ export declare class TGztbMainPublishQuerys implements IGztbMainPublishQuerys {
92
+ gztbmain: number;
93
+ gztbStat: number;
94
+ }
95
+ export interface IGztbMainMakezeroQuerys {
96
+ gztbmain: number;
97
+ }
98
+ export declare class TGztbMainMakezeroQuerys implements IGztbMainMakezeroQuerys {
99
+ gztbmain: number;
100
+ }
101
+ export interface IGztbMainUpdateQuerys {
102
+ }
103
+ export declare class TGztbMainUpdateQuerys implements IGztbMainUpdateQuerys {
104
+ }
105
+ export interface IGztbMainUsersizeSelectdbQuerys {
106
+ }
107
+ export declare class TGztbMainUsersizeSelectdbQuerys implements IGztbMainUsersizeSelectdbQuerys {
108
+ }
@@ -1,6 +1,7 @@
1
1
  export * from './core';
2
2
  export * from './noti';
3
3
  export * from './wtui';
4
+ export * from './task';
4
5
  export * from './types';
5
6
  export { WxRequestError } from './wx';
6
7
  export type { WxRequest } from './wx';
@@ -0,0 +1,9 @@
1
+ import { IWxConfig } from '../types';
2
+ import { default as MainRequest } from './main';
3
+ declare class TablRequest {
4
+ main: MainRequest;
5
+ constructor(config: IWxConfig);
6
+ }
7
+ export default TablRequest;
8
+ export { TablRequest };
9
+ export * from './types';
@@ -0,0 +1,170 @@
1
+ import { TGzjg, TTabl, TCore } from '@ningboyz/types';
2
+ import { WxRequest } from '../wx';
3
+ import { ITablMainBackupstatusQuerys, ITablMainChkexist2Querys, ITablMainChkexistQuerys, ITablMainDeleted2Querys, ITablMainDetaild2Querys, ITablMainDetaild3Querys, ITablMainDetaild5Querys, ITablMainDetaild6Querys, ITablMainDetaildbQuerys, ITablMainFinishcxQuerys, ITablMainFinishedQuerys, ITablMainGet3formulaQuerys, ITablMainGet4dataQuerys, ITablMainGet5formulaQuerys, ITablMainGet5wzk8Querys, ITablMainInsertdbQuerys, ITablMainOnstatusSwitchdbQuerys, ITablMainRestorestatusQuerys, ITablMainSelectcxQuerys, ITablMainSwitchbackupQuerys, ITablMainSwitchreturnQuerys, ITablMainTablstatUpdatedb2Querys, ITablMainTablstatUpdatedbQuerys, ITablMainUpdatedbAsnormalQuerys, ITablMainUpdatedbCommitQuerys, ITablMainUpdatedbQuerys, ITablMainUploadd2TablstatQuerys, ITablMainUploaddbAsnormalQuerys, ITablMainWithPageGet5wzk8Querys, TTablMainSelectdbQuerys } from './types';
4
+ declare class MainRequest {
5
+ private wxRequest;
6
+ constructor(wxRequest: WxRequest);
7
+ /**
8
+ * 获取动态表单列表
9
+ * @param querys
10
+ * @returns
11
+ */
12
+ selectdb(querys: TTablMainSelectdbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
13
+ /**
14
+ * 新增动态表单
15
+ * @param querys
16
+ * @param params
17
+ * @returns
18
+ */
19
+ insertdb(querys: ITablMainInsertdbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
20
+ /**
21
+ * 修改动态表单-保留历史记录
22
+ * @param params
23
+ * @returns
24
+ */
25
+ modifydx(params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
26
+ /**
27
+ * 批量修改动态表单-保留历史记录
28
+ */
29
+ modifyd2(params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
30
+ updatedb(params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
31
+ updatedb2(querys: ITablMainUpdatedbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
32
+ /**
33
+ * 删除动态表单
34
+ * @param params
35
+ * @returns
36
+ */
37
+ deletedb(params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
38
+ /**
39
+ * 获取已办
40
+ * @param querys
41
+ * @param params
42
+ * @returns
43
+ */
44
+ finishcx(querys: ITablMainFinishcxQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablDataResponse[]>>;
45
+ /**
46
+ * 获取动态列表列表
47
+ * @param querys
48
+ * @param params
49
+ * @returns
50
+ */
51
+ selectcx(querys: ITablMainSelectcxQuerys, params: object | undefined): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablDataResponse[]>>;
52
+ /**
53
+ * 批量导入
54
+ * @param params
55
+ * @returns
56
+ */
57
+ uploaddb(params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablDataResponse[]>>;
58
+ /**
59
+ * 获取动态表单详情
60
+ * @param querys
61
+ * @returns
62
+ */
63
+ detaildb(querys: ITablMainDetaildbQuerys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
64
+ /**
65
+ * 获取动态表单详情
66
+ * @param querys
67
+ * @returns
68
+ */
69
+ detaild2(querys: ITablMainDetaild2Querys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
70
+ /**
71
+ * 获取动态表单详情
72
+ * @param querys
73
+ * @returns
74
+ */
75
+ detaild3(querys: ITablMainDetaild3Querys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
76
+ /**
77
+ * 获取动态表单列表
78
+ * @param querys
79
+ * @returns
80
+ */
81
+ get4data(querys: ITablMainGet4dataQuerys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablDataResponse[]>>;
82
+ /**
83
+ * 预算编辑调用
84
+ * @param params
85
+ * @returns
86
+ */
87
+ detaild4(querys: ITablMainDetaild5Querys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
88
+ /**
89
+ * 根据编制状态获取动态表单
90
+ * @param params
91
+ * @returns
92
+ */
93
+ detaild5(querys: ITablMainDetaild6Querys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
94
+ /**
95
+ * 判断存在
96
+ * @param querys
97
+ * @param params
98
+ * @returns
99
+ */
100
+ chkexist(querys: ITablMainChkexistQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablDataResponse[]>>;
101
+ /**
102
+ * 判断存在
103
+ * @param querys
104
+ * @param params
105
+ * @returns
106
+ */
107
+ chkexis2(querys: ITablMainChkexist2Querys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
108
+ /**
109
+ * 计算
110
+ * @param querys
111
+ * @param params
112
+ * @returns
113
+ */
114
+ get5formula(querys: ITablMainGet5formulaQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablDataResponse[]>>;
115
+ /**
116
+ * 批量修改状态
117
+ * @param querys
118
+ * @param params
119
+ * @returns
120
+ */
121
+ tablstatUpdatedb(querys: ITablMainTablstatUpdatedbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablDataResponse[]>>;
122
+ /**
123
+ * 获取当前计划的表单
124
+ * @param querys
125
+ * @param params
126
+ * @returns
127
+ */
128
+ get5wzk8(querys: ITablMainGet5wzk8Querys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablWzk8Response[]>>;
129
+ /**
130
+ * 更新上报人
131
+ * @param querys
132
+ * @param params
133
+ * @returns
134
+ */
135
+ updatedbcommit(querys: ITablMainUpdatedbCommitQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
136
+ /**
137
+ * 已处理
138
+ * @param querys
139
+ * @param params
140
+ * @returns
141
+ */
142
+ finished(querys: ITablMainFinishedQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
143
+ /**
144
+ * 调用公式计算
145
+ * @param querys
146
+ * @param params {gzjgmain: {}, listqzgs: {}, pzptcnfg: {}}
147
+ * @returns
148
+ */
149
+ get3formula(querys: ITablMainGet3formulaQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TGzjg.TGzjgQzgsResponse[]>>;
150
+ /**备份状态 */
151
+ backupstatus(querys: ITablMainBackupstatusQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
152
+ /**还原状态 */
153
+ restorestatus(querys: ITablMainRestorestatusQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
154
+ /**批量修改状态 */
155
+ tablstatUploaddb(querys: ITablMainTablstatUpdatedb2Querys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
156
+ /**修改asnormal 单个*/
157
+ updatedbAsnormal(querys: ITablMainUpdatedbAsnormalQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
158
+ /**批量修改asnormal */
159
+ uploaddbAsnormal(querys: ITablMainUploaddbAsnormalQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
160
+ /**批量备份 */
161
+ switchBackup(querys: ITablMainSwitchbackupQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
162
+ /**批量还原状态 */
163
+ switchReturn(querys: ITablMainSwitchreturnQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
164
+ /**更新填报状态(gztb_main&unit_main)*/
165
+ uploadd2Tablstat(querys: ITablMainUploadd2TablstatQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
166
+ withPageGet5wzk8(querys: ITablMainWithPageGet5wzk8Querys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TCore.IUserResponse[]>>;
167
+ deleted2(querys: ITablMainDeleted2Querys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
168
+ onstatusSwitchdb(querys: ITablMainOnstatusSwitchdbQuerys, params: object): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTabl.ITablMainResponse[]>>;
169
+ }
170
+ export default MainRequest;
@@ -0,0 +1,281 @@
1
+ /** ========== main ========== */
2
+ export interface ITablMainSelectdbQuerys {
3
+ sourcend: number;
4
+ sysclasc: number;
5
+ withflow: number;
6
+ usesyzcg: number;
7
+ usesform: number;
8
+ gzjgmain: number;
9
+ taskmain: number;
10
+ tablmode: number;
11
+ gztbmain: number;
12
+ deptmain: number;
13
+ useronly: number;
14
+ unitmain: number;
15
+ usermain: number;
16
+ }
17
+ export declare class TTablMainSelectdbQuerys implements ITablMainSelectdbQuerys {
18
+ sourcend: number;
19
+ sysclasc: number;
20
+ withflow: number;
21
+ usesyzcg: number;
22
+ usesform: number;
23
+ gzjgmain: number;
24
+ taskmain: number;
25
+ tablmode: number;
26
+ gztbmain: number;
27
+ deptmain: number;
28
+ useronly: number;
29
+ unitmain: number;
30
+ usermain: number;
31
+ }
32
+ export interface ITablMainInsertdbQuerys {
33
+ isauto: number;
34
+ }
35
+ export declare class TTablMainInsertdbQuerys implements ITablMainInsertdbQuerys {
36
+ isauto: number;
37
+ }
38
+ export interface ITablMainFinishcxQuerys {
39
+ gzjgmain: number;
40
+ sourcend: number;
41
+ sourceqj: number;
42
+ unitmain: number;
43
+ withstat: number;
44
+ dataguid: string;
45
+ withlock: number;
46
+ gzjglock: number;
47
+ taskmain: number;
48
+ voidonly: number;
49
+ }
50
+ export declare class TTablMainFinishcxQuerys implements ITablMainFinishcxQuerys {
51
+ gzjgmain: number;
52
+ sourcend: number;
53
+ sourceqj: number;
54
+ unitmain: number;
55
+ withstat: number;
56
+ dataguid: string;
57
+ withlock: number;
58
+ gzjglock: number;
59
+ taskmain: number;
60
+ voidonly: number;
61
+ }
62
+ export interface ITablMainSelectcxQuerys {
63
+ gzjgmain: number;
64
+ sourcend: number;
65
+ sourceqj: number;
66
+ unitmain: number;
67
+ withstat: number;
68
+ dataguid: string;
69
+ withlock: number;
70
+ gzjglock: number;
71
+ taskmain: number;
72
+ }
73
+ export declare class TTablMainSelectcxQuerys implements ITablMainSelectcxQuerys {
74
+ gzjgmain: number;
75
+ sourcend: number;
76
+ sourceqj: number;
77
+ unitmain: number;
78
+ withstat: number;
79
+ dataguid: string;
80
+ withlock: number;
81
+ gzjglock: number;
82
+ taskmain: number;
83
+ }
84
+ export interface ITablMainDetaildbQuerys {
85
+ tablmain: number;
86
+ }
87
+ export declare class TTablMainDetaildbQuerys implements ITablMainDetaildbQuerys {
88
+ tablmain: number;
89
+ }
90
+ export interface ITablMainDetaild2Querys {
91
+ gzjgmain: number;
92
+ dataguid: string;
93
+ }
94
+ export declare class TTablMainDetaild2Querys implements ITablMainDetaild2Querys {
95
+ gzjgmain: number;
96
+ dataguid: string;
97
+ }
98
+ export interface ITablMainDetaild3Querys {
99
+ gzjgmain: number;
100
+ fromguid: string;
101
+ }
102
+ export declare class TTablMainDetaild3Querys implements ITablMainDetaild3Querys {
103
+ gzjgmain: number;
104
+ fromguid: string;
105
+ }
106
+ export interface ITablMainGet4dataQuerys {
107
+ sourcend: number;
108
+ unitmain: number;
109
+ fromguid: string;
110
+ }
111
+ export declare class TTablMainGet4dataQuerys implements ITablMainGet4dataQuerys {
112
+ sourcend: number;
113
+ unitmain: number;
114
+ fromguid: string;
115
+ }
116
+ export interface ITablMainDetaild5Querys {
117
+ tablmain: number;
118
+ endkjqj: number;
119
+ calculate: number;
120
+ }
121
+ export declare class TTablMainDetaild5Querys implements ITablMainDetaild5Querys {
122
+ tablmain: number;
123
+ endkjqj: number;
124
+ calculate: number;
125
+ }
126
+ export interface ITablMainDetaild6Querys {
127
+ tablmain: number;
128
+ onstatus: number;
129
+ }
130
+ export declare class TTablMainDetaild6Querys implements ITablMainDetaild6Querys {
131
+ tablmain: number;
132
+ onstatus: number;
133
+ }
134
+ export interface ITablMainChkexistQuerys {
135
+ gzjgmain: number;
136
+ sourcend: number;
137
+ link: number;
138
+ dataguid: string;
139
+ }
140
+ export declare class TTablMainChkexistQuerys implements ITablMainChkexistQuerys {
141
+ gzjgmain: number;
142
+ sourcend: number;
143
+ link: number;
144
+ dataguid: string;
145
+ }
146
+ export interface ITablMainChkexist2Querys {
147
+ gzjgmain: number;
148
+ }
149
+ export declare class TTablMainChkexist2Querys implements ITablMainChkexist2Querys {
150
+ gzjgmain: number;
151
+ }
152
+ export interface ITablMainGet5formulaQuerys {
153
+ tabltzbl: number;
154
+ }
155
+ export declare class TTablMainGet5formulaQuerys implements ITablMainGet5formulaQuerys {
156
+ tabltzbl: number;
157
+ }
158
+ export interface ITablMainUpdatedbQuerys {
159
+ recreate: number;
160
+ }
161
+ export declare class TTablMainUpdatedbQuerys implements ITablMainUpdatedbQuerys {
162
+ recreate: number;
163
+ }
164
+ export interface ITablMainTablstatUpdatedbQuerys {
165
+ unitmain: number;
166
+ gztbmain: number;
167
+ tablmode: number;
168
+ tablstat: number;
169
+ }
170
+ export declare class TTablMainTablstatUpdatedbQuerys implements ITablMainTablstatUpdatedbQuerys {
171
+ unitmain: number;
172
+ gztbmain: number;
173
+ tablmode: number;
174
+ tablstat: number;
175
+ }
176
+ export interface ITablMainGet5wzk8Querys {
177
+ gztbmain: number;
178
+ voidonly: number;
179
+ }
180
+ export declare class TTablMainGet5wzk8Querys implements ITablMainGet5wzk8Querys {
181
+ gztbmain: number;
182
+ voidonly: number;
183
+ }
184
+ export interface ITablMainUpdatedbCommitQuerys {
185
+ }
186
+ export declare class TTablMainUpdatedbCommitQuerys implements ITablMainUpdatedbCommitQuerys {
187
+ }
188
+ export interface ITablMainFinishedQuerys {
189
+ sourcend: number;
190
+ sysclasc: number;
191
+ }
192
+ export declare class TTablMainFinishedQuerys implements ITablMainFinishedQuerys {
193
+ sourcend: number;
194
+ sysclasc: number;
195
+ }
196
+ export interface ITablMainGet3formulaQuerys {
197
+ sourcend: number;
198
+ sourceqj: number;
199
+ decimals: number;
200
+ isilence: number;
201
+ }
202
+ export declare class TTablMainGet3formulaQuerys implements ITablMainGet3formulaQuerys {
203
+ sourcend: number;
204
+ sourceqj: number;
205
+ decimals: number;
206
+ isilence: number;
207
+ }
208
+ export interface ITablMainBackupstatusQuerys {
209
+ }
210
+ export declare class TTablMainBackupstatusQuerys implements ITablMainBackupstatusQuerys {
211
+ }
212
+ export interface ITablMainRestorestatusQuerys {
213
+ }
214
+ export declare class TTablMainRestorestatusQuerys implements ITablMainRestorestatusQuerys {
215
+ }
216
+ export interface ITablMainTablstatUpdatedb2Querys {
217
+ }
218
+ export declare class TTablMainTablstatUpdatedb2Querys implements ITablMainTablstatUpdatedb2Querys {
219
+ }
220
+ export interface ITablMainUpdatedbAsnormalQuerys {
221
+ asnormal: number;
222
+ unitMain: number;
223
+ gztbMain: number;
224
+ tablmode: number;
225
+ }
226
+ export declare class TTablMainUpdatedbAsnormalQuerys implements ITablMainUpdatedbAsnormalQuerys {
227
+ asnormal: number;
228
+ unitMain: number;
229
+ gztbMain: number;
230
+ tablmode: number;
231
+ }
232
+ export interface ITablMainUploaddbAsnormalQuerys {
233
+ asnormal: number;
234
+ }
235
+ export declare class TTablMainUploaddbAsnormalQuerys implements ITablMainUploaddbAsnormalQuerys {
236
+ asnormal: number;
237
+ }
238
+ export interface ITablMainSwitchbackupQuerys {
239
+ }
240
+ export declare class TTablMainSwitchbackupQuerys implements ITablMainSwitchbackupQuerys {
241
+ }
242
+ export interface ITablMainSwitchreturnQuerys {
243
+ }
244
+ export declare class TTablMainSwitchreturnQuerys implements ITablMainSwitchreturnQuerys {
245
+ }
246
+ export interface ITablMainUploadd2TablstatQuerys {
247
+ tablmode: number;
248
+ tablstat: number;
249
+ }
250
+ export declare class TTablMainUploadd2TablstatQuerys implements ITablMainUploadd2TablstatQuerys {
251
+ tablmode: number;
252
+ tablstat: number;
253
+ }
254
+ export interface ITablMainWithPageGet5wzk8Querys {
255
+ gztbmain: number;
256
+ voidonly: number;
257
+ realpage: number;
258
+ pagesize: number;
259
+ wzk8only: number;
260
+ }
261
+ export declare class TTablMainWithPageGet5wzk8Querys implements ITablMainWithPageGet5wzk8Querys {
262
+ gztbmain: number;
263
+ voidonly: number;
264
+ realpage: number;
265
+ pagesize: number;
266
+ wzk8only: number;
267
+ }
268
+ export interface ITablMainDeleted2Querys {
269
+ tablmode: string;
270
+ }
271
+ export declare class TTablMainDeleted2Querys implements ITablMainDeleted2Querys {
272
+ tablmode: string;
273
+ }
274
+ export interface ITablMainOnstatusSwitchdbQuerys {
275
+ sourceat: number;
276
+ targetto: number;
277
+ }
278
+ export declare class TTablMainOnstatusSwitchdbQuerys implements ITablMainOnstatusSwitchdbQuerys {
279
+ sourceat: number;
280
+ targetto: number;
281
+ }
@@ -0,0 +1,9 @@
1
+ import { IWxConfig } from '../types';
2
+ import { default as MainRequest } from './main';
3
+ declare class TaskRequest {
4
+ main: MainRequest;
5
+ constructor(config: IWxConfig);
6
+ }
7
+ export default TaskRequest;
8
+ export { TaskRequest };
9
+ export * from './types';
@@ -0,0 +1,12 @@
1
+ import { createWxRequest as s } from "../wx.js";
2
+ import r from "./main.js";
3
+ class m {
4
+ main;
5
+ constructor(e) {
6
+ const t = s(e);
7
+ this.main = new r(t);
8
+ }
9
+ }
10
+ export {
11
+ m as TaskRequest
12
+ };
@@ -0,0 +1,14 @@
1
+ import { TTask } from '@ningboyz/types';
2
+ import { WxRequest } from '../wx';
3
+ import { ITaskMainSelectdbQuerys } from './types';
4
+ declare class MainRequest {
5
+ private wxRequest;
6
+ constructor(wxRequest: WxRequest);
7
+ /**
8
+ * 获取任务定义列表
9
+ * @param querys
10
+ * @returns
11
+ */
12
+ selectdb(querys: ITaskMainSelectdbQuerys): Promise<import('@ningboyz/types/es/response/IResponse.js').IResponse<TTask.ITaskMainResponse[]>>;
13
+ }
14
+ export default MainRequest;
@@ -0,0 +1,17 @@
1
+ class s {
2
+ wxRequest;
3
+ constructor(t) {
4
+ this.wxRequest = t;
5
+ }
6
+ /**
7
+ * 获取任务定义列表
8
+ * @param querys
9
+ * @returns
10
+ */
11
+ selectdb(t) {
12
+ return this.wxRequest.post("/gapi/task/tmain/selectdb", t, void 0);
13
+ }
14
+ }
15
+ export {
16
+ s as default
17
+ };
@@ -0,0 +1,10 @@
1
+ export interface ITaskMainSelectdbQuerys {
2
+ useronly: number;
3
+ gzjgmain: number;
4
+ queuesby: string;
5
+ }
6
+ export declare class TTaskMainSelectdbQuerys implements ITaskMainSelectdbQuerys {
7
+ useronly: number;
8
+ gzjgmain: number;
9
+ queuesby: string;
10
+ }
@@ -0,0 +1,8 @@
1
+ class s {
2
+ useronly = -1;
3
+ gzjgmain = -1;
4
+ queuesby = "";
5
+ }
6
+ export {
7
+ s as TTaskMainSelectdbQuerys
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/wxmp",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "private": false,
5
5
  "description": "宁波甬政微信小程序库",
6
6
  "author": "nbyt-syq",