Commit fdc56aff authored by agping's avatar agping

后台修改

parent 8521e5c7
...@@ -1246,6 +1246,7 @@ ...@@ -1246,6 +1246,7 @@
<!--客户详情保存--> <!--客户详情保存-->
<div class="center-btn"> <div class="center-btn">
<button type="button" class="btn btn-primary submit_edit">保存</button> <button type="button" class="btn btn-primary submit_edit">保存</button>
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div> </div>
</div> </div>
......
...@@ -338,10 +338,16 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css ...@@ -338,10 +338,16 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
var store_name = $('#store_name').val(); var store_name = $('#store_name').val();
var report_phone = $('#applicant_phone').val(); var report_phone = $('#applicant_phone').val();
var report_name = $('#applicant_name').val(); var report_name = $('#applicant_name').val();
var store_id = $("select[name='store_id'] option:selected").val();
var district_id = $("select[name='district_id'] option:selected").val();
var pay_type = $("select[name='maintable_shop_type_2'] option:selected").val();
var type = $("select[name='maintable_shop_type_1'] option:selected").val();
window.open('/index/getCollection?' + window.open('/index/getCollection?' +
'excel=' + excel_two + '&user_name=' + user_name + '&start_time=' + start_time + '&end_time=' + end_time + '&internal_address=' + internal_address + '&user_phone=' + user_phone + '&id=' + id + '&store_name=' + store_name + '&report_phone=' + report_phone + '&report_name=' + report_name); 'excel=' + excel_two + '&user_name=' + user_name + '&start_time=' + start_time + '&end_time=' + end_time + '&internal_address=' + internal_address + '&user_phone=' + user_phone + '&id=' + id + '&store_name=' + store_name + '&report_phone=' + report_phone + '&report_name=' + report_name+ '&store_id=' + store_id+ '&district_id=' + district_id+ '&pay_type=' + pay_type+ '&type=' + type);
}, },
getList: function(pageNo) { getList: function(pageNo) {
follow.pageNo = pageNo; follow.pageNo = pageNo;
......
...@@ -820,7 +820,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck ...@@ -820,7 +820,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'ckfinder', 'ck
}; };
// $("#user_area_edit").val(data.data.user_info.disc); //编辑区域 // $("#user_area_edit").val(data.data.user_info.disc); //编辑区域
user.agent_id_2 = data.data.user_info.agent_id;
user.agent_id_two = data.data.user_info.agent_id; user.agent_id_two = data.data.user_info.agent_id;
if(data.data.user_info.source == 10) { if(data.data.user_info.source == 10) {
$(".source_type").html('APP注册'); //客方 $(".source_type").html('APP注册'); //客方
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
[% } %] [% } %]
</td> </td>
<td width="16%"> <td width="16%">
[% if((check_auth('auth_vip') && it[item]['vip']) || (it[item]['agent_id'] == 0) || (it[item]['agent_id'] == it[item]['current_agent_id']) || check_auth('index/useraction_search') ) { %] [% if((check_auth('auth_vip') && it[item]['vip']) || (it[item]['agent_id'] == 0) || (it[item]['agent_id'] == it[item]['current_agent_id']) || (check_auth('index/useraction_search') && it[item]['vip'] == 0)) { %]
<a class="btn1 caozuo genj_ure btn-success" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["user_id"] %]' data-agentId='[%= it[item]["agent_id"] %]' data-name='[%= it[item]["user_name"] %]'>详情/跟进</a>&nbsp; <a class="btn1 caozuo genj_ure btn-success" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["user_id"] %]' data-agentId='[%= it[item]["agent_id"] %]' data-name='[%= it[item]["user_name"] %]'>详情/跟进</a>&nbsp;
<!--<a class="btn1 btn-info is_show" data-toggle="modal" data-id='[%= it[item]["id"] %]'>收藏</a> <!--<a class="btn1 btn-info is_show" data-toggle="modal" data-id='[%= it[item]["id"] %]'>收藏</a>
......
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
<td>[%= it[item]["price_demand"] %]</td> <td>[%= it[item]["price_demand"] %]</td>
<td>[%= it[item]["area_demand"] %]</td> <td>[%= it[item]["area_demand"] %]</td>
<td width="16%"> <td width="16%">
[% if((check_auth('auth_vip') && it[item]['vip']) || (it[item]['agent_id'] == 0) || (it[item]['agent_id'] == it[item]['current_agent_id']) || check_auth('index/useraction_search') ) { %] [% if((check_auth('auth_vip') && it[item]['vip']) || (it[item]['agent_id'] == 0) || (it[item]['agent_id'] == it[item]['current_agent_id']) || (check_auth('index/useraction_search') && it[item]['vip'] == 0)) { %]
<a class="btn1 caozuo genj_ure btn-success" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["user_id"] %]' data-agentId='[%= it[item]["agent_id"] %]' data-name='[%= it[item]["user_name"] %]'>详情/跟进</a>&nbsp; <a class="btn1 caozuo genj_ure btn-success" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["user_id"] %]' data-agentId='[%= it[item]["agent_id"] %]' data-name='[%= it[item]["user_name"] %]'>详情/跟进</a>&nbsp;
<a class="btn1 btn-default is_show" data-id='[%= it[item]["user_id"] %]'>取消收藏</a> <a class="btn1 btn-default is_show" data-id='[%= it[item]["user_id"] %]'>取消收藏</a>
[% if(it[item]['agent_id'] == it[item]['current_agent_id'] || check_auth('index/pcEditClient')) { %] [% if(it[item]['agent_id'] == it[item]['current_agent_id'] || check_auth('index/pcEditClient')) { %]
<a class="btn1 btn-success caozuo" href="#modal-record-edit" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]'>客户编辑</a>&nbsp;
<a class="btn1 btn-success caozuo" href="#modal-record-edit" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["user_id"] %]'>客户编辑</a>&nbsp;
[% } %] [% } %]
[% } %] [% } %]
......
...@@ -25,12 +25,9 @@ ...@@ -25,12 +25,9 @@
</td> </td>
<!--<td>[%= it[item]['user_phone'] %]</td>--> <!--<td>[%= it[item]['user_phone'] %]</td>-->
<td>[%= hideTel(it[item]['user_phone']) %]</td> <td>[%= hideTel(it[item]['user_phone']) %]</td>
<!--<td>
<a class="btn1 btn-success caozuo" href="#modal-record" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详细信息</a>
</td>-->
<!--客户跟进列表 同步 跟进列表-->
<td width="16%"> <td width="16%">
[% if((check_auth('auth_vip') && it[item]['vip']) || (it[item]['agent_id'] == 0) || (it[item]['agent_id'] == it[item]['current_agent_id']) || check_auth('index/useraction_search') ) { %] [% if((check_auth('auth_vip') && it[item]['vip']) || (it[item]['agent_id'] == 0) || (it[item]['agent_id'] == it[item]['current_agent_id']) || (check_auth('index/useraction_search') && it[item]['vip'] == 0)) { %]
<a class="btn1 caozuo genj_ure btn-success" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]' data-agentId='[%= it[item]["agent_id"] %]' data-name='[%= it[item]["user_name"] %]'>详情/跟进</a>&nbsp; <a class="btn1 caozuo genj_ure btn-success" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]' data-agentId='[%= it[item]["agent_id"] %]' data-name='[%= it[item]["user_name"] %]'>详情/跟进</a>&nbsp;
[% if(it[item]['agent_id'] == it[item]['current_agent_id'] || check_auth('index/pcEditClient')) { %] [% if(it[item]['agent_id'] == it[item]['current_agent_id'] || check_auth('index/pcEditClient')) { %]
......
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