@ningboyz/types 1.2.141 → 1.2.143
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
package/src/app/ITab.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TSkdwType, 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: TSkdwType;
|
|
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: TSkdwType = 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 TSkdwType = typeof USER_ACNO_DATA_TYPE_NULL | typeof USER_ACNO_DATA_TYPE_收款单位 | typeof USER_ACNO_DATA_TYPE_师资单位 | typeof USER_ACNO_DATA_TYPE_付款单位;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { construct } from "@aximario/json-tree";
|
|
2
2
|
import { IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
3
3
|
import _ from "lodash";
|
|
4
|
+
import { TSkdwType, USER_ACNO_DATA_TYPE_NULL } from "../const/const_user_acno";
|
|
4
5
|
|
|
5
6
|
export interface IViewCtrlResponse extends IBaseResponse<IViewCtrlResponse> {
|
|
6
7
|
asParent: number;
|
|
@@ -98,6 +99,7 @@ export interface IViewCtrlResponseWithParaConv {
|
|
|
98
99
|
auth: boolean;
|
|
99
100
|
keepAlive: boolean;
|
|
100
101
|
componentName: string;
|
|
102
|
+
skdwType: TSkdwType;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
export class TViewCtrlResponseWithParaConv implements IViewCtrlResponseWithParaConv {
|
|
@@ -105,4 +107,5 @@ export class TViewCtrlResponseWithParaConv implements IViewCtrlResponseWithParaC
|
|
|
105
107
|
auth: boolean = true;
|
|
106
108
|
keepAlive: boolean = false;
|
|
107
109
|
componentName: string = "";
|
|
110
|
+
skdwType: TSkdwType = USER_ACNO_DATA_TYPE_NULL
|
|
108
111
|
}
|