@ningboyz/types 1.1.136 → 1.1.138
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
|
@@ -162,6 +162,7 @@ export const CONST_SYS_TYPEU_变动方式_固定资产 = "变动方式-固定资
|
|
|
162
162
|
export const CONST_SYS_TYPEU_打印设置_纸张尺寸 = "打印设置-纸张尺寸";
|
|
163
163
|
|
|
164
164
|
export const CONST_SYS_TYPEU_固定资产_卡片打印 = "固定资产-卡片打印";
|
|
165
|
+
export const CONST_SYS_TYPEU_固定资产_列表打印 = "固定资产-列表打印";
|
|
165
166
|
|
|
166
167
|
export const CONST_SYS_TYPEU_上城财政_密级 = "上城财政-密级";
|
|
167
168
|
export const CONST_SYS_TYPEU_上城财政_紧急程度 = "上城财政-紧急程度";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TCore } from "../../index.ts";
|
|
2
2
|
import _ from "lodash";
|
|
3
|
-
import {
|
|
3
|
+
import { TWithEXPDS, TWithMYOA, WithEXPDS, WithMYOA } from "./IUserResponse.ts";
|
|
4
4
|
|
|
5
5
|
export interface IPartResponse {
|
|
6
6
|
whoBuild: number;
|
|
@@ -36,8 +36,16 @@ export interface IPartResponse {
|
|
|
36
36
|
usesZbhd: number;
|
|
37
37
|
usesFlow: number;
|
|
38
38
|
|
|
39
|
-
withMYOA:
|
|
40
|
-
withEXPD:
|
|
39
|
+
withMYOA: WithMYOA;
|
|
40
|
+
withEXPD: WithEXPDS;
|
|
41
|
+
/** 单据加载 */
|
|
42
|
+
listExpdDoPeriod: number;
|
|
43
|
+
/** 用户角色 */
|
|
44
|
+
listUserGet4Part: string;
|
|
45
|
+
/** 支出管理:显示以下角色的用户 */
|
|
46
|
+
listUserWhenExpd: number;
|
|
47
|
+
/** 内部管理:允许查看请假统计 */
|
|
48
|
+
asLeaderWhenMYOA: number;
|
|
41
49
|
}
|
|
42
50
|
|
|
43
51
|
export class TPartResponse implements IPartResponse {
|
|
@@ -74,8 +82,12 @@ export class TPartResponse implements IPartResponse {
|
|
|
74
82
|
usesZbhd: number = 0;
|
|
75
83
|
usesFlow: number = 0;
|
|
76
84
|
|
|
77
|
-
withMYOA:
|
|
78
|
-
withEXPD:
|
|
85
|
+
withMYOA: WithMYOA = new TWithMYOA();
|
|
86
|
+
withEXPD: WithEXPDS = new TWithEXPDS();
|
|
87
|
+
listExpdDoPeriod: number = 0;
|
|
88
|
+
listUserGet4Part: string = "";
|
|
89
|
+
listUserWhenExpd: number = 0;
|
|
90
|
+
asLeaderWhenMYOA: number = 0;
|
|
79
91
|
|
|
80
92
|
static toTravel(part: IPartResponse, buttonType: string): TCore.ISysTravelResponse {
|
|
81
93
|
const travel = new TCore.TSysTravelResponse();
|
|
@@ -358,6 +358,13 @@ export interface WithEXPD {
|
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
export interface WithMYOA {
|
|
361
|
+
asLeaderWhenMYOA: number;
|
|
362
|
+
usrPartc: number;
|
|
363
|
+
userIndx: number;
|
|
364
|
+
whoBuild: number;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export interface WithEXPDS {
|
|
361
368
|
listExpdDoPeriod: number;
|
|
362
369
|
listUserGet4Part: string;
|
|
363
370
|
listUserWhenExpd: number;
|
|
@@ -383,6 +390,13 @@ export class TWithEXPD implements WithEXPD {
|
|
|
383
390
|
}
|
|
384
391
|
|
|
385
392
|
export class TWithMYOA implements WithMYOA {
|
|
393
|
+
asLeaderWhenMYOA: number = 0;
|
|
394
|
+
usrPartc: number = 0;
|
|
395
|
+
userIndx: number = 0;
|
|
396
|
+
whoBuild: number = 0;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export class TWithEXPDS implements WithEXPDS {
|
|
386
400
|
listExpdDoPeriod: number = 0;
|
|
387
401
|
listUserGet4Part: string = "";
|
|
388
402
|
listUserWhenExpd: number = 0;
|