Newer
Older
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SupplierRate.aspx.cs" Inherits="Sqcy.Web.Supplier.SupplierRate" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title><%=Ces.Lib.ConfigHelper.GetConfigAppSetting("Title") %>-采用率</title>
<link rel="stylesheet" href="../Common/css/common.css">
<link rel="stylesheet" href="../Common/font.css">
<link rel="stylesheet" href="../Common/css/style.css">
<link rel="stylesheet" href="../Common/layui/css/layui.css" media="all">
<style>
.right_innner_table table td {
height: 30px !important;
}
.orderlist a {
text-decoration: none;
color: red !important;
}
.orderlist a:link {
text-decoration: none;
}
.orderlist a:hover {
text-decoration: none;
}
.orderlist a:focus {
outline: none;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:HiddenField ID="HiddenSel" runat="server" />
<div class="main_box">
<div class="right">
<div class="right_content">
<div class="right_single_box">
<div class="right_inner_content1">
<div class="right_innner_table" style="width: 950px; margin: auto;">
<div class="right_inner_title" style="height: 50px; line-height: 50px;">
<div class="layui-form sel" style="margin-left: -15px;">
<label class="layui-form-label" style="padding: 15px 0px; width: 75px;">开始日期</label>
<div class="layui-input-block small_ipt ipt_100">
<asp:TextBox ID="TxtStartDate" runat="server" CssClass="data_time"></asp:TextBox>
</div>
</div>
<div class="layui-form sel" style="margin-left: -15px;">
<label class="layui-form-label" style="padding: 15px 0px; width: 75px;">结束日期</label>
<div class="layui-input-block small_ipt ipt_100">
<asp:TextBox ID="TxtEndDate" runat="server" CssClass="data_time"></asp:TextBox>
</div>
</div>
<div class="layui-form sel" style="margin-left: -15px;">
<div class="layui-input-block small_ipt ipt_100">
<asp:Button ID="SearchBut" runat="server" Text="查询统计" OnClick="SearchBut_Click" CssClass="gre_btn" />
</div>
</div>
</div>
<div class="layui-form">
<div id="ContainerChart1" style="width: 100%; margin-left: auto; margin-right: auto;">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="../Common/js/jquery.1.10.2.min.js"></script>
<script src="../Common/js/main.js"></script>
<script src="../Common/js/Common.js"></script>
<script src="../Common/laydate/laydate.js"></script>
<script src="../Common/layui/layui.js" charset="utf-8"></script>
<script src="../plugin/highcharts/New/highcharts.js" type="text/javascript"></script>
<script src="../plugin/highcharts/New/highcharts-3d.js" type="text/javascript"></script>
<script src="../plugin/highcharts/drilldown.js" type="text/javascript"></script>
<script>
//Demo
layui.use('form', function () {
var form = layui.form;
//监听提交
form.on('submit(formDemo)', function (data) {
layer.msg(JSON.stringify(data.field));
return false;
});
<%-- form.on('select(<%=DDLYearForChart.ClientID%>)', function (data) {
data.elem.onchange();
});
form.on('select(<%=DDLSupplierForChart.ClientID%>)', function (data) {
data.elem.onchange();
});--%>
});
layui.use('element', function () {
var element = layui.element; //Tab的切换功能,切换事件监听等,需要依赖element模块
});
lay('#version').html('-v' + laydate.v);
laydate.render({
elem: '#TxtStartDate', //指定元素
// type: 'datetime',
format: 'yyyy-MM-dd',
done: function (value, date) {
// alert('你选择的日期是:' + value + '\n获得的对象是' + JSON.stringify(date));
}
});
laydate.render({
elem: '#TxtEndDate', //指定元素
// type: 'datetime',
format: 'yyyy-MM-dd',
done: function (value, date) {
// alert('你选择的日期是:' + value + '\n获得的对象是' + JSON.stringify(date));
}
});
</script>
<script>
$(function () {
//1
$('#ContainerChart1').highcharts({
chart: {
type: 'bar'
},
credits:
{
enabled: false
},
title: {
text: ''
},
xAxis: {
categories: [ <%=Chart_01_TitleData%>],
// labels:{
// formatter: function() {
// return '<span style="float:right;" class="x-labels" title="' + this.value + '">' + this.value.substr(0,8) + '</span>'
// },
// useHTML: true
//},
title: {
text: null
}
},
yAxis: {
min: 0,
title: {
text: '',
//align: 'high'
},
labels: {
overflow: 'justify'
}
},
tooltip:
{
valueSuffix: '%',
formatter:function(){
return''+this.series.name+' '+Highcharts.numberFormat(this.y,2,'.');}
},
plotOptions: {
// series: {
// stacking: 'normal'
//}
},
legend: {
//reversed: true
//layout: 'vertical',
//align: 'right',
//verticalAlign: 'top',
//x: -40,
//y: 100,
//floating: true,
//borderWidth: 1,
//backgroundColor: ((Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'),
//shadow: true
},
series: [{
name: '采用率(%)',
data: [<%=Chart_01_ChartData01 %>]
}
]
});
});
</script>
</form>
</body>
</html>