|
|
@@ -74,6 +74,7 @@ $(function() {
|
|
74
|
74
|
format: 'yyyy-MM-dd',
|
|
75
|
75
|
theme: '#114a97',
|
|
76
|
76
|
done: function(value, date) {
|
|
|
77
|
+ floag = true
|
|
77
|
78
|
oneScreen(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1])
|
|
78
|
79
|
}
|
|
79
|
80
|
});
|
|
|
@@ -188,11 +189,12 @@ function oneScreen(sd, ed) {
|
|
188
|
189
|
start: sd,
|
|
189
|
190
|
end: ed,
|
|
190
|
191
|
},
|
|
|
192
|
+
|
|
191
|
193
|
success: function(data) {
|
|
192
|
194
|
if (data.state.toLowerCase() == 'success') {
|
|
193
|
195
|
var con = data.data;
|
|
194
|
196
|
newData = con.sort(compare("SLCount"));
|
|
195
|
|
- console.log(1)
|
|
|
197
|
+ console.log(newData)
|
|
196
|
198
|
$(newData).each(function(i, n) {
|
|
197
|
199
|
if (n.AreaName == '安阳市') {
|
|
198
|
200
|
n.AreaName = "市区"
|
|
|
@@ -231,6 +233,7 @@ function oneScreen(sd, ed) {
|
|
231
|
233
|
$("#det_ult").html('')
|
|
232
|
234
|
$(".right_box").html('')
|
|
233
|
235
|
$(newData).each(function(i, n) {
|
|
|
236
|
+ console.log(n.SLCount)
|
|
234
|
237
|
if (i < 5) {
|
|
235
|
238
|
var str = ' <li class="orderli"><img src="img/num_icon.png" alt="" /><p class="num_word"><span>' + n.AreaName +
|
|
236
|
239
|
'</span><span class="AY_num">' + n.SLCount + '</span></p></li>';
|