@ningboyz/apis 1.3.92 → 1.3.94

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.3.92",
3
+ "version": "1.3.94",
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.3.92",
20
+ "@ningboyz/types": "1.3.94",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -6,6 +6,7 @@ import {
6
6
  IMyoaMainDetail2dbQuerys,
7
7
  IMyoaMainInsertdb2Querys,
8
8
  IMyoaMainScheduleQuerys,
9
+ IMyoaMainSelectdb2Querys,
9
10
  IMyoaMainSelectdbQuerys,
10
11
  IMyoaMainSet4pathQuerys,
11
12
  IMyoaMainUpdated4Querys,
@@ -30,6 +31,16 @@ class ParaRequest {
30
31
  return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/selectdb", querys, params);
31
32
  }
32
33
 
34
+ /**
35
+ * 获取资产关联内部办公列表
36
+ * @param querys
37
+ * @param params
38
+ * @returns
39
+ */
40
+ selectd2(querys: IMyoaMainSelectdb2Querys) {
41
+ return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/selectd2", querys, undefined);
42
+ }
43
+
33
44
  /**
34
45
  * 新增内部办公
35
46
  * @param params
@@ -16,6 +16,20 @@ export class TMyoaMainSelectdbQuerys implements IMyoaMainSelectdbQuerys {
16
16
  useronly: number = -1;
17
17
  myoatype: number = -1;
18
18
  }
19
+
20
+ export interface IMyoaMainSelectdb2Querys {
21
+ sourcend: number;
22
+ /** 1001 会议申请 1002 用车申请 1010 盖章 1016仪器预约*/
23
+ myoatype: number;
24
+ cardmain: number;
25
+ }
26
+
27
+ export class TMyoaMainSelectdb2Querys implements IMyoaMainSelectdb2Querys {
28
+ sourcend: number = -1;
29
+ myoatype: number = -1;
30
+ cardmain: number = -1;
31
+ }
32
+
19
33
  export interface IMyoaFinishedQuerys {
20
34
  myoatype: number;
21
35
  withflow: number;
@@ -1,17 +1,18 @@
1
1
  import { TZbzd } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import {
4
+ IZbzdMainCansplitUploaddbQuerys,
4
5
  IZbzdMainDetaildbQuerys,
6
+ IZbzdMainFinishedQuerys,
5
7
  IZbzdMainInsertdbQuerys,
8
+ IZbzdMainOriginidUploaddbQuerys,
9
+ IZbzdMainQueuesbyQuerys,
10
+ IZbzdMainSelectd4Querys,
6
11
  IZbzdMainSelectdbQuerys,
7
12
  IZbzdMainUpdatedbQuerys,
8
13
  IZbzdMainUploaddbQuerys,
9
- IZbzdMainUseszbkzUploaddbQuerys,
10
- IZbzdMainOriginidUploaddbQuerys,
11
14
  IZbzdMainUseszbhzUploaddbQuerys,
12
- IZbzdMainCansplitUploaddbQuerys,
13
- IZbzdMainQueuesbyQuerys,
14
- IZbzdMainFinishedQuerys
15
+ IZbzdMainUseszbkzUploaddbQuerys
15
16
  } from "./types";
16
17
 
17
18
  class ParaRequest {
@@ -135,6 +136,16 @@ class ParaRequest {
135
136
  queuesby(querys: IZbzdMainQueuesbyQuerys, params: object) {
136
137
  return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>(`/zbzd/tmain/queuesby`, querys, params);
137
138
  }
139
+
140
+ /**
141
+ * 获取预算指标列表
142
+ * @param querys
143
+ * @param params
144
+ * @returns
145
+ */
146
+ selectd4(querys: IZbzdMainSelectd4Querys, params: object) {
147
+ return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/selectd4", querys, params);
148
+ }
138
149
  }
139
150
 
140
151
  export default ParaRequest;
@@ -95,6 +95,21 @@ export class TZbzdMainQueuesbyQuerys implements IZbzdMainQueuesbyQuerys {
95
95
  sourcend: number = -1;
96
96
  }
97
97
 
98
+ export interface IZbzdMainSelectd4Querys {
99
+ sourcend: number;
100
+ withflow: number;
101
+ viewonly: number;
102
+ useronly: number;
103
+ }
104
+
105
+ export class TZbzdMainSelectd4Querys implements IZbzdMainSelectd4Querys {
106
+ sourcend: number = -1;
107
+ withflow: number = -1;
108
+ viewonly: number = -1;
109
+ useronly: number = -1;
110
+ }
111
+
112
+
98
113
  /** ========== zbfl ========== */
99
114
  export interface IZbzdZbflZbflbmkmQuerys {
100
115
  zbzdmain: number;