Commit 8b86ba5d authored by duxinyuan's avatar duxinyuan

commit

parent f05eff37
......@@ -54,15 +54,6 @@ define(['doT', 'text!temp/adjustment_template_tpl.html', 'css!style/home.css', '
e.stopPropagation();
$('.iframe-time-line').attr('src', '/app_broker/timeline_pc?order_id=' + house_id);
});
var aaa = [{'create_time' : '12','income_time' : '13','report_agent_name' : '14','report_agent_phone' : '15','store_name' : '16','money' : '17',
'real_money' : '18','type' : '19','pay_type' : '10','internal_address' : '21','house_number' : '31','aaa' : '41','bbb' : '51','id' : '61'},{
'create_time' : '12','income_time' : '13','report_agent_name' : '14','report_agent_phone' : '15','store_name' : '16','money' : '17',
'real_money' : '18','type' : '19','pay_type' : '10','internal_address' : '21','house_number' : '31','aaa' : '41','bbb' : '51','id' : '80'}]
var temp = document.getElementById('adjustment_template_tpl').innerHTML;
var doTtmpl = doT.template(temp);
$("#order_list").html(doTtmpl(aaa));
that.setValue();
},
setValue : function(){
......@@ -93,6 +84,19 @@ define(['doT', 'text!temp/adjustment_template_tpl.html', 'css!style/home.css', '
var that = adjustment;
var params = that.buildSearchParams();
console.log(params) ;
//功能模拟
var aaa = [{'create_time' : '12','income_time' : '13','report_agent_name' : '14','report_agent_phone' : '15','store_name' : '16','money' : '17',
'real_money' : '18','type' : '19','pay_type' : '10','internal_address' : '21','house_number' : '31','aaa' : '41','bbb' : '51','id' : '61'},{
'create_time' : '12','income_time' : '13','report_agent_name' : '14','report_agent_phone' : '15','store_name' : '16','money' : '17',
'real_money' : '18','type' : '19','pay_type' : '10','internal_address' : '21','house_number' : '31','aaa' : '41','bbb' : '51','id' : '80'}]
var temp = document.getElementById('adjustment_template_tpl').innerHTML;
var doTtmpl = doT.template(temp);
$("#order_list").html(doTtmpl(aaa));
that.setValue();
//******************************************************************************
},
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment