@ningboyz/apis 1.0.52 → 1.0.53

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.0.52",
3
+ "version": "1.0.53",
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.0.51",
20
+ "@ningboyz/types": "1.0.53",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -65,13 +65,9 @@ class UnitRequest {
65
65
  return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tunit/withcard/get4unit", undefined, params);
66
66
  }
67
67
 
68
- /**
69
- * 补全固定资产相关配置
70
- * @param querys
71
- * @param params
72
- */
68
+ /** 钉钉单位配置 */
73
69
  get4unit(querys: ICoreUnitGet4UnitQuerys, params: TParams<TCore.IUnitResponse[]>) {
74
- return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tunit/withcard/get4unit", querys, params);
70
+ return this.httpRequest.post<TCore.IUnitResponse[]>("/core/tunit/get4unit", querys, params);
75
71
  }
76
72
  }
77
73
 
@@ -1,6 +1,6 @@
1
1
  import { TGzjg } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IGzjgGzlmDetaildbQuerys, IGzjgGzlmGet4GzlmQuerys, IGzjgGzlmInsertdbQuerys, IGzjgGzlmSelectdbQuerys, IGzjgGzlmUpdatedbQuerys, IGzjgGzlmSelectQuerys } from "./type";
3
+ import { IGzjgGzlmDetaildbQuerys, IGzjgGzlmGet4GzlmQuerys, IGzjgGzlmInsertdbQuerys, IGzjgGzlmSelectdbQuerys, IGzjgGzlmUpdatedbQuerys, IGzjgGzlmSelectQuerys, IGzjgGzlmUploadQuerys } from "./type";
4
4
 
5
5
  class GzlmRequest {
6
6
  private httpRequest: HttpRequest;
@@ -61,7 +61,13 @@ class GzlmRequest {
61
61
  * 获取列向栏目(指标要素)
62
62
  */
63
63
  select2(querys: IGzjgGzlmSelectQuerys) {
64
- return this.httpRequest.post<TGzjg.IElemElemResponse[]>(`/gzjg/tgzlm/withelem/selectd2`, querys, undefined);
64
+ return this.httpRequest.post<TGzjg.IGzjgGzlmResponse[]>(`/gzjg/tgzlm/withelem/selectd2`, querys, undefined);
65
+ }
66
+ /**
67
+ * 上传填报栏目
68
+ */
69
+ uploaddb(querys: IGzjgGzlmUploadQuerys, params: object) {
70
+ return this.httpRequest.post<TGzjg.IGzjgGzlmResponse[]>(`/gzjg/tgzlm/uploaddb`, querys, params);
65
71
  }
66
72
  }
67
73
 
@@ -10,16 +10,24 @@ export class TGzjgGzlmSelectdbQuerys implements IGzjgGzlmSelectdbQuerys {
10
10
  gzlmflgq: number = -1;
11
11
  tablname: string = "";
12
12
  }
13
+ export interface IGzjgGzlmUploadQuerys {
14
+ gzjgmain: number;
15
+ tablname: string;
16
+ }
17
+ export class TGzjgGzlmUploadQuerys implements IGzjgGzlmUploadQuerys {
18
+ gzjgmain: number = -1;
19
+ tablname: string = "";
20
+ }
13
21
  export interface IGzjgGzlmSelectQuerys {
14
22
  sourcend: number;
15
23
  gzjgmain: number;
16
- tabname: string;
24
+ tablname: string;
17
25
  }
18
26
 
19
27
  export class TGzjgGzlmSelectQuerys implements IGzjgGzlmSelectQuerys {
20
28
  sourcend: number = -1;
21
29
  gzjgmain: number = -1;
22
- tabname: string = "";
30
+ tablname: string = "";
23
31
  }
24
32
 
25
33
  export interface IGzjgGzlmInsertdbQuerys {