Commit c6d51ab0 authored by hujun's avatar hujun

js 成交报告搜索

parent 5ae1020a
...@@ -365,13 +365,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -365,13 +365,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
type: 'GET', type: 'GET',
async: true, async: true,
data: { data: {
"keyword": $("#report_id_change").val(), // "keyword": $("#report_id_change").val(),
"bargain_id": $("#report_id_change").val(),
'status' : 0, 'status' : 0,
'is_my_correlation' : 0, 'is_my_correlation' : 0,
'page_no' : 1, 'page_no' : 1,
'page_size' : 20 , 'page_size' : 20 ,
'AuthToken' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).AuthToken, 'AuthToken' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).AuthToken,
'submit_agent_id' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).id // 'submit_agent_id' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).id
'submit_agent_id' : 0
}, },
dataType: 'json', dataType: 'json',
success: function(data) { success: function(data) {
......
...@@ -332,13 +332,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css', ...@@ -332,13 +332,15 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
type: 'GET', type: 'GET',
async: true, async: true,
data: { data: {
"keyword": $("#report_id_change").val(), // "keyword": $("#report_id_change").val(),
"bargain_id": $("#report_id_change").val(),
'status' : 0, 'status' : 0,
'is_my_correlation' : 0, 'is_my_correlation' : 0,
'page_no' : 1, 'page_no' : 1,
'page_size' : 20 , 'page_size' : 20 ,
'AuthToken' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).AuthToken, 'AuthToken' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).AuthToken,
'submit_agent_id' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).id // 'submit_agent_id' : JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))).id
'submit_agent_id' : 0
}, },
dataType: 'json', dataType: 'json',
success: function(data) { success: function(data) {
......
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