@ningboyz/types 1.4.31 → 1.4.33
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,4 +1,5 @@
|
|
|
1
|
-
import { IPathResponse, IUserSzdwResponse } from "../core";
|
|
1
|
+
import { IPathResponse, IUserResponse, IUserSzdwResponse } from "../core";
|
|
2
|
+
import _ from "lodash";
|
|
2
3
|
|
|
3
4
|
export interface ITalkMainResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -29,19 +30,28 @@ export interface ITalkMainResponse {
|
|
|
29
30
|
startDay: number;
|
|
30
31
|
endedDay: number;
|
|
31
32
|
manageAt: number;
|
|
33
|
+
/**团队首席名称 */
|
|
32
34
|
manageBy: string;
|
|
35
|
+
/**团队首席id */
|
|
36
|
+
manageID: number;
|
|
33
37
|
talkType: number;
|
|
34
38
|
talkUses: string;
|
|
35
39
|
talkCode: string;
|
|
40
|
+
/**团队名称 */
|
|
36
41
|
talkName: string;
|
|
37
42
|
talkMemo: string;
|
|
38
43
|
unitMain: number;
|
|
39
44
|
unitText: string;
|
|
40
45
|
deptMain: number;
|
|
41
46
|
deptText: string;
|
|
47
|
+
szdwText: string;
|
|
48
|
+
/**团队成员名称 */
|
|
49
|
+
sqyhText: string;
|
|
42
50
|
|
|
43
51
|
listPath: IPathResponse[];
|
|
44
52
|
listSZDW: IUserSzdwResponse[];
|
|
53
|
+
/**团队成员列表 */
|
|
54
|
+
listSQYH: IUserResponse[];
|
|
45
55
|
}
|
|
46
56
|
|
|
47
57
|
export class TTalkMainResponse implements ITalkMainResponse {
|
|
@@ -89,7 +99,17 @@ export class TTalkMainResponse implements ITalkMainResponse {
|
|
|
89
99
|
deptMain: number = 0;
|
|
90
100
|
/** 归属部门 */
|
|
91
101
|
deptText: string = "";
|
|
102
|
+
manageID: number = 0;
|
|
103
|
+
szdwText: string = "";
|
|
104
|
+
sqyhText: string = "";
|
|
92
105
|
|
|
93
106
|
listPath: IPathResponse[] = [];
|
|
94
107
|
listSZDW: IUserSzdwResponse[] = [];
|
|
108
|
+
listSQYH: IUserResponse[] = [];
|
|
109
|
+
|
|
110
|
+
constructor(talk: any = {}) {
|
|
111
|
+
if (talk) {
|
|
112
|
+
_.merge(this, _.pick(talk, Object.keys(this)));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
95
115
|
}
|