Commit 699275bf authored by agping's avatar agping

商铺查看日志修改

parent 96c7dbac
......@@ -116,7 +116,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'css!style/h
'agent_id':user_info_obj.id,
'start_day':$('#maintable_create_time').val(),
'end_day':$('#maintable_end_time').val(),
'request_source_type':1
'request_source_type':1,
'second_select':0
};
$.ajax({
type: 'GET',
......
......@@ -31,21 +31,17 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
getList: function(pageNo) {
shoplog.pageNo = pageNo;
var params = {};
params.user_name = $.trim($('#customer_name').val());
params.start_time = $('#start_date').val();
params.end_time = $('#end_date').val();
params.internal_address = $('#shop_name').val();
params.user_phone = $('#customer_phone').val();
params.id = $('#shop_num').val();
params.store_name = $('#store_name').val();
params.report_phone = $('#applicant_phone').val();
params.report_name = $('#applicant_name').val();
params.house_id = $('#shop_id').val();
params.house_name = $('#shop_name').val();
params.agent_phone = $('#looker_phone').val();
params.agent_name = $('#looker_name').val();
params.pageNo = shoplog.pageNo;
params.pageSize = shoplog.pageSize;
$.ajax({
type: 'GET',
url: '/index/getCollection',//商铺查看日志
url: '/index/lookShopIndex',//商铺查看日志
data: params,
timeout: 30000,
dataType: 'json',
......
......@@ -2,10 +2,10 @@
[% if(it&&it.length!=0) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['user_name'] %]</td>
<td>[%= it[item]['user_phone'] %]</td>
<td>[%= it[item]['money'] %]</td>
<td>[%= it[item]['look_time'] %]</td>
<td>[%= it[item]['house_id'] %]</td>
<td>[%= it[item]['internal_title'] %]</td>
<td>[%= it[item]['agent_name'] %]</td>
</tr>
[% } %]
[% }else{ %]
......@@ -26,5 +26,3 @@
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