GWY
2022-05-18 7597e22d6dc731bc56ee0f411a50343ddebfc8bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
 * 各行、一番目は現在のStage、二番目からはクリックできるStage
 * 
 * 行を定義しない場合、二番目からStageを定義しない場合、クリック不能になる
 */
var SSBD =
[["Prospect Created","Phase1","Closed Lost","Closed Cancel","失败","取消"]
,["Phase1","Phase2","Closed Lost","Closed Cancel","失败","取消"]
,["Phase2","Phase3","Closed Lost","Closed Cancel","失败","取消"]
,["Phase3","Closed Won","Closed Lost","Closed Cancel","完成","失败","取消"]
,["Closed Won"]
,["Closed Lost"]
,["Closed Cancel"]
];
 
var SSBD_Approval =
[["Prospect Created"]
,["Phase1"]
,["Phase2"]
,["Phase3"]
,["Closed Won"]
,["Closed Lost"]
,["Closed Cancel"]
];
 
var SSBD_Service =
[["Prospect Created","Phase1","Closed Lost","Closed Cancel","失败","取消"]
,["Phase1","Phase2","Closed Lost","Closed Cancel","失败","取消"]
,["Phase2","Phase3","Closed Lost","Closed Cancel","失败","取消"]
,["Phase3","Closed Won","Closed Lost","Closed Cancel","完成","失败","取消"]
,["Closed Won"]
,["Closed Lost"]
,["Closed Cancel"]
];
 
/*
 * 每行第一个项目是现在的状态,第二个项目开始是变色的状态
 * 
 * 没有定义的行,第一个项目之后没有其他项目,状态不变色
 */
var SSBDCOLOR =
[["Prospect Created","Prospect Created"]
,["Phase1","Prospect Created","Phase1"]
,["Phase2","Prospect Created","Phase1","Phase2"]
,["Phase3","Prospect Created","Phase1","Phase2","Phase3"]
,["Closed Won","Prospect Created","Phase1","Phase2","Phase3","Closed Won","完成"]
,["Closed Lost","Prospect Created","Phase1","Phase2","Phase3","Closed Lost","失败"]
,["Closed Cancel","Prospect Created","Phase1","Phase2","Phase3","Closed Cancel","取消"]
];
 
var SSBD_Replacement =
[["Prospect Created","Phase1","Closed Lost","Closed Cancel","失败","取消"]
,["Phase1","Phase2","Closed Lost","Closed Cancel","失败","取消"]
,["Phase2","Phase3","Closed Lost","Closed Cancel","失败","取消"]
,["Phase3","Closed Won","Closed Lost","Closed Cancel","完成","失败","取消"]
,["Closed Won"]
,["Closed Lost"]
,["Closed Cancel"]
];
 
var SSBD_ReplacementCOLOR =
[["Prospect Created","Prospect Created"]
,["Phase1","Prospect Created","Phase1"]
,["Phase2","Prospect Created","Phase1","Phase2"]
,["Phase3","Prospect Created","Phase1","Phase2","Phase3"]
,["Closed Won","Prospect Created","Phase1","Phase2","Phase3","Closed Won","完成"]
,["Closed Lost","Prospect Created","Phase1","Phase2","Phase3","Closed Lost","失败"]
,["Closed Cancel","Prospect Created","Phase1","Phase2","Phase3","Closed Cancel","取消"]
];
 
var SSBD_ApprovalCOLOR =
[["Prospect Created","Prospect Created"]
,["Phase1","Prospect Created","Phase1"]
,["Phase2","Prospect Created","Phase1","Phase2"]
,["Phase3","Prospect Created","Phase1","Phase2","Phase3"]
,["Closed Won","Prospect Created","Phase1","Phase2","Phase3","Closed Won","完成"]
,["Closed Lost","Prospect Created","Phase1","Phase2","Phase3","Closed Lost","失败"]
,["Closed Cancel","Prospect Created","Phase1","Phase2","Phase3","Closed Cancel","取消"]
];
 
var SSBD_ServiceCOLOR =
[["Prospect Created","Prospect Created"]
,["Phase1","Prospect Created","Phase1"]
,["Phase2","Prospect Created","Phase1","Phase2"]
,["Phase3","Prospect Created","Phase1","Phase2","Phase3"]
,["Closed Won","Prospect Created","Phase1","Phase2","Phase3","Closed Won","完成"]
,["Closed Lost","Prospect Created","Phase1","Phase2","Phase3","Closed Lost","失败"]
,["Closed Cancel","Prospect Created","Phase1","Phase2","Phase3","Closed Cancel","取消"]
];