@ningboyz/types 1.1.195 → 1.1.196
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
|
@@ -4,6 +4,7 @@ import { type IBaseResponse, TBaseResponse } from "../base/IBaseResponse";
|
|
|
4
4
|
import { IUnitResponse } from "./IUnitResponse.ts";
|
|
5
5
|
import { IDictResponseDictPara, TDictResponseDictPara } from "./IDictResponseDictPara";
|
|
6
6
|
import { TCore } from "../../index.ts";
|
|
7
|
+
import { TPartResponse } from "./IPartResponse.ts";
|
|
7
8
|
|
|
8
9
|
export interface IDictResponse extends IBaseResponse<IDictResponse[]> {
|
|
9
10
|
asParent: number;
|
|
@@ -37,6 +38,7 @@ export interface IDictResponse extends IBaseResponse<IDictResponse[]> {
|
|
|
37
38
|
isLasted: number; // 1表示最新
|
|
38
39
|
kjndKJQJ: number; // 会计期间YYYYMM
|
|
39
40
|
listUnit: IUnitResponse[]; // 单位列表
|
|
41
|
+
listPart: TPartResponse[]; // 部门列表
|
|
40
42
|
mastGUID: string; // UUID格式
|
|
41
43
|
mastName: string; // 创建者名称,如"管理员"
|
|
42
44
|
menuMain: number;
|
|
@@ -52,6 +54,7 @@ export interface IDictResponse extends IBaseResponse<IDictResponse[]> {
|
|
|
52
54
|
typeName: string;
|
|
53
55
|
typeUses: string;
|
|
54
56
|
unitText: string;
|
|
57
|
+
partText: string;
|
|
55
58
|
updateAt: number; // 时间戳格式YYYYMMDDHHmmss
|
|
56
59
|
updateBy: string; // UUID格式
|
|
57
60
|
userIndx: number;
|
|
@@ -61,11 +64,11 @@ export interface IDictResponse extends IBaseResponse<IDictResponse[]> {
|
|
|
61
64
|
/**
|
|
62
65
|
* 字典详情名称
|
|
63
66
|
*/
|
|
64
|
-
detailName: string
|
|
67
|
+
detailName: string;
|
|
65
68
|
/**
|
|
66
69
|
* 字典详情编码
|
|
67
70
|
*/
|
|
68
|
-
detailCode: string
|
|
71
|
+
detailCode: string;
|
|
69
72
|
}
|
|
70
73
|
|
|
71
74
|
export class TDictResponse extends TBaseResponse<IDictResponse[]> implements IDictResponse {
|
|
@@ -100,6 +103,7 @@ export class TDictResponse extends TBaseResponse<IDictResponse[]> implements IDi
|
|
|
100
103
|
isLasted: number = 0;
|
|
101
104
|
kjndKJQJ: number = 0;
|
|
102
105
|
listUnit: IUnitResponse[] = [];
|
|
106
|
+
listPart: TPartResponse[] = [];
|
|
103
107
|
mastGUID: string = "";
|
|
104
108
|
mastName: string = "";
|
|
105
109
|
menuMain: number = 0;
|
|
@@ -115,6 +119,7 @@ export class TDictResponse extends TBaseResponse<IDictResponse[]> implements IDi
|
|
|
115
119
|
typeName: string = "";
|
|
116
120
|
typeUses: string = "";
|
|
117
121
|
unitText: string = "";
|
|
122
|
+
partText: string = "";
|
|
118
123
|
updateAt: number = 0;
|
|
119
124
|
updateBy: string = "";
|
|
120
125
|
userIndx: number = 0;
|
|
@@ -35,6 +35,7 @@ export interface IPartResponse {
|
|
|
35
35
|
queuesBy: number;
|
|
36
36
|
usesZbhd: number;
|
|
37
37
|
usesFlow: number;
|
|
38
|
+
isPublic: number;
|
|
38
39
|
|
|
39
40
|
withMYOA: WithMYOA;
|
|
40
41
|
withEXPD: WithEXPDS;
|
|
@@ -81,6 +82,7 @@ export class TPartResponse implements IPartResponse {
|
|
|
81
82
|
queuesBy: number = 0;
|
|
82
83
|
usesZbhd: number = 0;
|
|
83
84
|
usesFlow: number = 0;
|
|
85
|
+
isPublic: number = 0;
|
|
84
86
|
|
|
85
87
|
withMYOA: WithMYOA = new TWithMYOA();
|
|
86
88
|
withEXPD: WithEXPDS = new TWithEXPDS();
|