| | |
| | | // 费用数据 |
| | | commission_data:{"total_commission":0, "month_commission":0}, |
| | | // L2数据结束索引 |
| | | l2_end_index:null |
| | | |
| | | l2_end_index:null, |
| | | fast_mode: 1 |
| | | }, |
| | | watch: { |
| | | delegated_buy_code_infos: function() { |
| | |
| | | |
| | | var date = $("#date").val(); |
| | | |
| | | http_util.get_l2_datas(app.code, date, app.l2_end_index, function(res) { |
| | | http_util.get_l2_datas(app.code, date, app.l2_end_index, app.fast_mode, function(res) { |
| | | layer.close(index); |
| | | console.log("获取到L2数据:", res) |
| | | res = JSON.parse(res); |
| | | if (res.code == 0) { |
| | | var real_order_indexes = new Array(); |
| | |
| | | big_buy_order+=1; |
| | | } |
| | | |
| | | if(e[2][5] == 6){ |
| | | console.log("小单:", e) |
| | | } |
| | | |
| | | }); |
| | | res.data.data.transactions.forEach(function(e) { |
| | | if(parseFloat(e[2][3])>=299){ |
| | |
| | | console.log("最近真实下单位置:", real_order_indexes); |
| | | app.real_order_indexes = real_order_indexes; |
| | | app.l2_datas = res.data.data; |
| | | console.log("L2数据:", app.l2_datas); |
| | | |
| | | console.log("第1条L2数据:", res.data.data[0]) |
| | | |
| | | // console.log("L2数据:", app.l2_datas); |
| | | var code_name = res.data.code_name; |
| | | var code_ = res.data.code; |
| | | app.l2_code_name = code_ + " " + code_name; |
| | |
| | | app.hidden_little_money = e.currentTarget.checked; |
| | | }, |
| | | |
| | | set_fast_mode: function(e) { |
| | | app.fast_mode = e.currentTarget.checked?1:0; |
| | | }, |
| | | |
| | | hidden_canceled_big_money_check: function(e) { |
| | | app.not_hidden_canceled_big_money = e.currentTarget.checked; |
| | | }, |