@ningboyz/types 1.2.141 → 1.2.142

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.2.141",
4
+ "version": "1.2.142",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
package/src/app/ITab.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { SkdwType, USER_ACNO_DATA_TYPE_NULL } from "../const/const_user_acno";
1
2
  import { TEditMode } from "../enums";
2
3
  import { IAppTab, TAppTab } from "../micro";
3
4
 
@@ -9,6 +10,7 @@ interface ITabQuery {
9
10
  billCnfg: number;
10
11
  billType: number;
11
12
  wagePage: number;
13
+ skdwType: SkdwType;
12
14
  }
13
15
 
14
16
  class TTabQuery implements ITabQuery {
@@ -19,6 +21,7 @@ class TTabQuery implements ITabQuery {
19
21
  billCnfg: number = 0;
20
22
  billType: number = 0;
21
23
  wagePage: number = 0;
24
+ skdwType: SkdwType = USER_ACNO_DATA_TYPE_NULL;
22
25
  }
23
26
 
24
27
  interface ITab {
@@ -1,3 +1,6 @@
1
+ export const USER_ACNO_DATA_TYPE_NULL = -1;
1
2
  export const USER_ACNO_DATA_TYPE_收款单位 = 0;
2
3
  export const USER_ACNO_DATA_TYPE_师资单位 = 1;
3
4
  export const USER_ACNO_DATA_TYPE_付款单位 = 2;
5
+
6
+ export type SkdwType = typeof USER_ACNO_DATA_TYPE_NULL | typeof USER_ACNO_DATA_TYPE_收款单位 | typeof USER_ACNO_DATA_TYPE_师资单位 | typeof USER_ACNO_DATA_TYPE_付款单位;