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
90
91
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: huangtianyang
$Date: 2018/7/9 下午1:26
$Revision: 1.0
合同统计
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
<a:init-procedure/>
<a:view template="default" package="leaf.ui.std">
<style>
#row-second-middle-top-body-foot1_widget514 {
margin-left: 140px;
}
</style>
<div></div>
<script>
var statusInfo = [
{
statusValue: "新建",
status: "NEW",
color: "#2EC3E8",
valueParam: "credit_line_count"
},
{
statusValue: "审批中",
status: "APPROVING",
color: "#FFCD55",
valueParam: "credit_line_count"
},
{
statusValue: "审批通过",
status: "APPROVED",
color: "#A0D469",
valueParam: "credit_line_count"
},
/*{
statusValue: "审批退回",
status: "APPROVED_RETURN",
color: "#E75B8D",
valueParam: "credit_line_count"
},*/
{
statusValue: "审批拒绝",
status: "REJECT",
color: "#7085BF",
valueParam: "credit_line_count"
}/*,
{
statusValue: "挂起",
status: "PENDING",
color: "#FA6A4D",
valueParam: "credit_line_count"
}*/
/*{
statusValue: "申请通过",
status: "APPROVED",
color: "#A0D469",
valueParam: "creditLineCount"
},
{
statusValue: "拒绝",
status: "REJECT",
color: "#FFCD55",
valueParam: "creditLineCount"
},
{
statusValue: "取消",
status: "CANCEL",
color: "#8CC375",
valueParam: "creditLineCount"
}*/
];
</script>
<a:dataSets>
<a:dataSet id="widget514_ds" model="hls_component_demo.hls_component_demo" autoQuery="true">
</a:dataSet>
</a:dataSets>
<a:hlsAnalyseCountChart id="widget514" status="statusInfo" bindtarget="widget514_ds"
style="width: 870px;height:270px" color="colors" titleBgColor="yellow"
clickFunc="queryLineInfo" haveTitle="true" rightTitle="本月新增合同" title="合同总数">
<a:items>
<a:item name="status" map="credit_line_status" defaultMessage="授信状态"/>
<a:item name="percentCount" map="credit_line_count_percent" defaultMessage="占比"/>
<a:item name="itemNum" map="credit_line_count" defaultMessage="数量"/>
</a:items>
</a:hlsAnalyseCountChart>
<a:screenBody/>
</a:view>
</a:screen>