@ningboyz/types 1.3.144 → 1.3.146
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
|
@@ -98,7 +98,7 @@ export class TViewCtrlResponse extends TBaseResponse<IViewCtrlResponse> implemen
|
|
|
98
98
|
const node = new TWtui.TWtuiNodeResponse();
|
|
99
99
|
_.merge(node, viewCtrl);
|
|
100
100
|
node.nodeName = viewCtrl.viewName;
|
|
101
|
-
node.wtuiView = viewCtrl.
|
|
101
|
+
node.wtuiView = viewCtrl.uniqueID;
|
|
102
102
|
return node;
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export const TODO_STAT_COLOR_RED = -1;
|
|
2
|
+
export const TODO_STAT_COLOR_ORANGE = 1;
|
|
3
|
+
export const TODO_STAT_COLOR_GREEN = 2;
|
|
4
|
+
export type TTodoStat = typeof TODO_STAT_COLOR_RED | typeof TODO_STAT_COLOR_ORANGE | typeof TODO_STAT_COLOR_GREEN;
|
|
5
|
+
|
|
1
6
|
export interface IWtuiTodoResponseWithPara {
|
|
2
7
|
todoName: string;
|
|
3
8
|
renameTo: string;
|
|
@@ -15,6 +20,12 @@ export interface IWtuiTodoResponseWithPara {
|
|
|
15
20
|
color2: any;
|
|
16
21
|
/** 工作台跳转过来的进行筛选的单据状态 */
|
|
17
22
|
flowStat: number[];
|
|
23
|
+
/**
|
|
24
|
+
* -1 红色
|
|
25
|
+
* 1 黄色
|
|
26
|
+
* 2 绿色
|
|
27
|
+
*/
|
|
28
|
+
todoStat: TTodoStat;
|
|
18
29
|
}
|
|
19
30
|
|
|
20
31
|
export class TWtuiTodoResponseWithPara implements IWtuiTodoResponseWithPara {
|
|
@@ -33,4 +44,10 @@ export class TWtuiTodoResponseWithPara implements IWtuiTodoResponseWithPara {
|
|
|
33
44
|
color: any;
|
|
34
45
|
color2: any;
|
|
35
46
|
flowStat: number[] = [];
|
|
47
|
+
/**
|
|
48
|
+
* -1 红色
|
|
49
|
+
* 1 黄色
|
|
50
|
+
* 2 绿色
|
|
51
|
+
*/
|
|
52
|
+
todoStat: TTodoStat = TODO_STAT_COLOR_GREEN;
|
|
36
53
|
}
|
package/src/wtui/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { IWtuiViewResponse, TWtuiViewResponse } from "./IWtuiViewResponse";
|
|
|
9
9
|
import { IWtuiZoneResponse, TWtuiZoneResponse } from "./IWtuiZoneResponse";
|
|
10
10
|
import { ITodoResponse } from "./ITodoResponse";
|
|
11
11
|
import { IWtuiTodoResponseTodoPara, TWtuiTodoResponseTodoPara } from "./IWtuiTodoResponseTodoPara";
|
|
12
|
-
import { IWtuiTodoResponseWithPara, TWtuiTodoResponseWithPara } from "./IWtuiTodoResponseWithPara";
|
|
12
|
+
import { IWtuiTodoResponseWithPara, TWtuiTodoResponseWithPara, TTodoStat, TODO_STAT_COLOR_RED, TODO_STAT_COLOR_ORANGE, TODO_STAT_COLOR_GREEN } from "./IWtuiTodoResponseWithPara";
|
|
13
13
|
import { IWtuiNodeResponse, TWtuiNodeResponse } from "./IWtuiNodeResponse";
|
|
14
14
|
import { IWtuiUserCnfgResponse, TWtuiUserCnfgResponse } from "./IWtuiUserCnfgResponse";
|
|
15
15
|
import { IWtuiColWidthResponse, TWtuiColWidthResponse } from "./IWtuiColWidthResponse";
|
|
@@ -36,6 +36,7 @@ export {
|
|
|
36
36
|
type IWtuiZoneResponse, // 位置调整 :ml-citation{ref="1,2" data="citationList"}
|
|
37
37
|
type IWtuiOperateResponse,
|
|
38
38
|
type IWtuiRootResponse,
|
|
39
|
+
|
|
39
40
|
TDictEffect,
|
|
40
41
|
TDictEffectData,
|
|
41
42
|
TDictEffectField,
|
|
@@ -53,5 +54,11 @@ export {
|
|
|
53
54
|
TWtuiViewResponse,
|
|
54
55
|
TWtuiZoneResponse, // 位置调整 :ml-citation{ref="1,2" data="citationList"}
|
|
55
56
|
TWtuiOperateResponse,
|
|
56
|
-
TWtuiRootResponse
|
|
57
|
+
TWtuiRootResponse,
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
type TTodoStat,
|
|
61
|
+
TODO_STAT_COLOR_RED,
|
|
62
|
+
TODO_STAT_COLOR_ORANGE,
|
|
63
|
+
TODO_STAT_COLOR_GREEN
|
|
57
64
|
};
|