Commit 47ed1b47 authored by agping's avatar agping

客户跟进同步客户列表

parent 3051cf04
......@@ -9,8 +9,8 @@
.btn4-1 {
width: 30%;
}
.modal-body1 {
height: 600px;
.modal-body1 {
height:802px;
overflow-y: auto;
padding-bottom: 60px;
}
......@@ -107,7 +107,6 @@
margin-top: 30px;
}
/*客户列表商 约带看*/
.detail-modal-bargaininfo-main-left {
float: left;
width: 340px;
......@@ -218,7 +217,7 @@
}
/*客户动态*/
.followup-modal-list-area {
height: 450px;
height: 268px;
overflow-y: scroll;
}
/*客户详情 头像*/
......@@ -245,6 +244,26 @@
}
#phone_title{
font-weight: 600;
}
/*控制放大镜的*/
#preview{
z-index: 9999!important;
}
/*同步客户列表*/
.modal-title-genjing{
height: 50px;
line-height: 50px;
border-top: 3px solid #ccc;
}
.center-btn{
margin-top: 20px;
margin-bottom: 20px;
text-align: center;
}
#caozuo_table_scroll{
height: 268px;
overflow-y: scroll;
}
</style>
<div id="page-content-wrapper">
......@@ -311,7 +330,8 @@
</div>
</div>
</div>
<!--操作详情记录 同步客户列表-->
<!--客户详情 客户跟进-->
<div class="modal fade" id="modal-record" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content modal-body-details">
......@@ -319,8 +339,8 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
×
</button>
<h4 class="modal-title">
客户资料/跟进
<h4 class="modal-title text-info">
客户详情
</h4>
</div>
<div class="modal-body modal-body1">
......@@ -399,7 +419,9 @@
</td>
<td>
<span class="fore-span ld-Marheight">昵称:</span>
<img src="" alt="" id="user_pic" class="fore-span ld-Marheight diagram-image J_preview" />
<!--<input type="hidden" value='[%= it[item]["agent_img"] %]'>-->
<!--<img src='' class="diagram-image J_preview" data-bimg=''>-->
<img src="" alt="" id="user_pic" class="fore-span ld-Marheight diagram-image J_preview" data-bimg=''/>
<span class="fore-span ld-Marheight" id="cus_nick"></span>
</td>
</tr>
......@@ -432,7 +454,8 @@
</thead>
</table>
<table class="table table-striped table-bordered table-hover table-condensed">
<div id="caozuo_table_scroll">
<table class="table table-striped table-bordered table-hover table-condensed">
<!--<thead>
<tr class="ld-Marheight">
......@@ -442,15 +465,52 @@
<tbody class="text-center" id="caozuo_table"></tbody>
</table>
</div>
<!--客户详情保存-->
<div class="center-btn">
<button type="button" class="btn btn-primary submit_edit">保存</button>
</div>
<h4 class="modal-title-genjing clear text-info">
客户跟进
</h4>
<div id="gen_jing_user">
<label class="col-sm-3 control-label">跟进:</label>
<div class="col-sm-9">
<textarea class="form-control" rows="3" id="genj_text"></textarea>
<span class="use-span text-danger">(必填)</span>
</div>
<label class="col-sm-3 control-label">状态标签:</label>
<div class="col-sm-9">
<label class="control-label">求租</label><input type="radio" name="user_status" value="0">
<label class="control-label">已租</label><input type="radio" name="user_status" value="1">
<label class="control-label">无效</label><input type="radio" name="user_status" value="-1">
<span class="text-danger">(必填)</span>
</div>
<div class="clear">
</div>
<div class="followup-modal-list-area">
<table class="table table-striped table-bordered table-hover table-condensed">
<tbody class="text-center" id="caozuo_table2">
</tbody>
</table>
</div>
<!--跟进保存-->
<div class="center-btn">
<button type="button" class="btn btn-primary right-btn" id="edit_add">保存</button>
</div>
</div>
</div>
<div class="modal-footer">
<!--<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" class="btn btn-primary submit_edit" data-dismiss="modal">
提交
</button>
</div>
</div>-->
</div>
<!-- /.modal-content -->
</div>
......@@ -487,52 +547,7 @@
<!-- /.modal -->
</div>
<!-- /#跟进 -->
<div class="modal fade" id="modal-add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title">
跟进
</h4>
</div>
<div class="modal-body">
<label class="col-sm-3 control-label">跟进:</label>
<div class="col-sm-9">
<textarea class="form-control" rows="3" id="genj_text"></textarea>
<span class="use-span text-danger">(必填)</span>
</div>
<label class="col-sm-3 control-label">状态标签:</label>
<div class="col-sm-9">
<label class="control-label">求租</label><input type="radio" name="user_status" value="0">
<label class="control-label">已租</label><input type="radio" name="user_status" value="1">
<label class="control-label">无效</label><input type="radio" name="user_status" value="-1">
<span class="text-danger">(必填)</span>
</div>
<div class="clear">
</div>
<div class="followup-modal-list-area">
<table class="table table-striped table-bordered table-hover table-condensed">
<tbody class="text-center" id="caozuo_table2">
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" class="btn btn-primary" id="edit_add" data-dismiss="modal">
提交
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- #批量修改客方-->
<div class="modal fade" id="modal_modify_user" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-one">
......
......@@ -538,7 +538,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
var genj_text = $("#genj_text").val();
if(genj_text == '') {
alert('提交失败');
alert('请您填写跟进内容');
return false;
}
......@@ -560,7 +560,9 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
success: function(data) {
if(data.code == 200) {
alert('修改成功');
$("#modal-add").modal('hide');
$("#modal-record").modal('hide');
// $("#modal-add").modal('hide');
} else {
alert(data.msg);
}
......
......@@ -31,9 +31,9 @@
<!--客户跟进列表 同步 跟进列表-->
<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/pcEditClient') ) { %]
<a class="btn1 btn-success caozuo" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]'>详细信息</a>&nbsp;
<a class="btn1 btn-success caozuo genj_ure" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]'>详情/跟进</a>&nbsp;
<a class="btn1 btn-success genj_ure" href="#modal-add" data-toggle="modal" data-id='[%= it[item]["id"] %]'>跟进</a>&nbsp;
<!--<a class="btn1 btn-success genj_ure" href="#modal-add" data-toggle="modal" data-id='[%= it[item]["id"] %]'>跟进</a>&nbsp;-->
<a class="btn1 btn-success take-look" href="#modal-takeLook" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-name='[%= it[item]["user_name"] %]' data-phone='[%= it[item]["user_phone"] %]'>约带看</a>
[% } %]
......
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