Commit 1ea92998 authored by agping's avatar agping

收款记录修改

parent 987c2f98
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<th class="text-center">入账类型</th> <th class="text-center">入账类型</th>
<th class="text-center">入账方式</th> <th class="text-center">入账方式</th>
<th class="text-center">商铺地址</th> <th class="text-center">商铺地址</th>
<th class="text-center">商铺名称</th> <th class="text-center">商铺</th>
<th class="text-center">操作</th> <th class="text-center">操作</th>
</tr> </tr>
</thead> </thead>
......
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<input type="hidden" class="page-load" id="user" /> <input type="hidden" class="page-load" id="user" />
<style> <style>
.modal-body1{ .modal-body1 {
height: 600px; height: 600px;
overflow-y: auto; overflow-y: auto;
padding-bottom: 60px; padding-bottom: 60px;
} }
.user-ul{
.user-ul {
width: 100%; width: 100%;
height: auto; height: auto;
padding-bottom: 15px; padding-bottom: 15px;
...@@ -14,11 +15,13 @@ ...@@ -14,11 +15,13 @@
position: relative; position: relative;
left: -40px; left: -40px;
} }
.user-ul li{
.user-ul li {
list-style: none; list-style: none;
line-height: 30px; line-height: 30px;
} }
.user-ul2{
.user-ul2 {
width: 100%; width: 100%;
height: auto; height: auto;
padding-bottom: 15px; padding-bottom: 15px;
...@@ -26,76 +29,87 @@ ...@@ -26,76 +29,87 @@
position: relative; position: relative;
left: -40px; left: -40px;
} }
.user-ul2 li{
.user-ul2 li {
list-style: none; list-style: none;
line-height: 30px; line-height: 30px;
} }
.input { .input {
width: 16%!important; width: 16%!important;
} }
.text-left{
.text-left {
float: left; float: left;
display: inline-block; display: inline-block;
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
font-size: 14px; font-size: 14px;
} }
.text-right{
.text-right {
float: right; float: right;
display: inline-block; display: inline-block;
} }
#batch{
#batch {
float: left; float: left;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
} }
.ld-Marheight{
.ld-Marheight {
margin-top: 15px; margin-top: 15px;
} }
.phone_list{
.phone_list {
margin-top: 32px; margin-top: 32px;
width: 182px; width: 182px;
margin-left: -182px; margin-left: -182px;
} }
.phone_jia{
width: 182px;
.phone_jia {
width: 182px;
} }
.phone_list li{ .phone_list li {
height: 22px; height: 22px;
line-height: 22px; line-height: 22px;
} }
.phone_list li:nth-of-type(even) { .phone_list li:nth-of-type(even) {
display: none; display: none;
} }
.modal-dialog-one{
.modal-dialog-one {
width: 668px; width: 668px;
} }
.clear{
.clear {
clear: both; clear: both;
} }
</style> </style>
<!--导航star--> <!--导航star-->
<!-- Sidebar --> <!-- Sidebar -->
<!-- /#sidebar-wrapper --> <!-- /#sidebar-wrapper -->
<!-- Page Content --> <!-- Page Content -->
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-0"> <div class="col-lg-10 col-lg-offset-0">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading breadcrumb"> <div class="panel-heading breadcrumb">
<li><a href="#">客源管理</a></li> <li>
<a href="#">客源管理</a>
</li>
<li class="active">客户列表</li> <li class="active">客户列表</li>
<div class="pull-right"> <div class="pull-right">
<ul class="bread_btn"> <ul class="bread_btn">
<li> <li>
<a href="#modal_add_user" data-toggle="modal" class="btn btn-default add_alert"><i class="icon-plus"></i> <a href="#modal_add_user" data-toggle="modal" class="btn btn-default add_alert"><i class="icon-plus"></i> 新增客户
新增客户</a> </a>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -129,13 +143,11 @@ ...@@ -129,13 +143,11 @@
<span class="fore-span ld-Marheight">-</span> <span class="fore-span ld-Marheight">-</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="login_end" name="login_end" type="date"> --> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="login_end" name="login_end" type="date"> -->
<!-- <div class="row"></div> --> <!-- <div class="row"></div> -->
<!-- <input class="form-control btn2 margin-top-ld" data-rule-phoneus="false" data-rule-required="false" name="user" placeholder="客户姓名" type="text" value=""> --> <!-- <input class="form-control btn2 margin-top-ld" data-rule-phoneus="false" data-rule-required="false" name="user" placeholder="客户姓名" type="text" value=""> -->
<input class="form-control btn2 margin-top-ld" data-rule-phoneus="false" data-rule-required="false" name="phone" placeholder="客户姓名或手机号" type="text" value=""> <input class="form-control btn2 margin-top-ld" data-rule-phoneus="false" data-rule-required="false" name="phone" placeholder="客户姓名或手机号" type="text" value="">
<input class="form-control btn2 margin-top-ld input" data-rule-phoneus="false" data-rule-required="false" name="invite_phone" placeholder="邀请人(C端用户)手机号" type="text" value=""> <input class="form-control btn2 margin-top-ld input" data-rule-phoneus="false" data-rule-required="false" name="invite_phone" placeholder="邀请人(C端用户)手机号" type="text" value="">
<input class="form-control btn2 margin-top-ld input" data-rule-phoneus="false" data-rule-required="false" name="invite_agent_phone" placeholder="邀请人(经纪人)手机号" type="text" value=""> <input class="form-control btn2 margin-top-ld input" data-rule-phoneus="false" data-rule-required="false" name="invite_agent_phone" placeholder="邀请人(经纪人)手机号" type="text" value="">
...@@ -196,8 +208,8 @@ ...@@ -196,8 +208,8 @@
<span class="btn btn-info btn3 margin-top-ld" class="reset_1">重置</span> --> <span class="btn btn-info btn3 margin-top-ld" class="reset_1">重置</span> -->
<span class="btn btn-info btn3 margin-top-ld" id="search">搜索</span> <span class="btn btn-info btn3 margin-top-ld" id="search">搜索</span>
<span class="btn btn-info btn3 margin-top-ld" id="reset">重置</span> <span class="btn btn-info btn3 margin-top-ld" id="reset">重置</span>
<a href="#modal_modify_user" data-toggle="modal" class="btn btn-info btn3 margin-top-ld"><i class="icon-plus"></i> <a href="#modal_modify_user" data-toggle="modal" class="btn btn-info btn3 margin-top-ld"><i class="icon-plus"></i> 批量修改客方
批量修改客方</a> </a>
<!-- <span class="btn btn-info btn3 margin-top-ld" id="modify">批量修改客方</span> --> <!-- <span class="btn btn-info btn3 margin-top-ld" id="modify">批量修改客方</span> -->
</form> </form>
...@@ -235,7 +247,7 @@ ...@@ -235,7 +247,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- /#wrapper --> <!-- /#wrapper -->
<!-- /#新增客户模态框 --> <!-- /#新增客户模态框 -->
...@@ -246,7 +258,7 @@ ...@@ -246,7 +258,7 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times; &times;
</button> </button>
<h4 class="modal-title" > <h4 class="modal-title">
新增客户 新增客户
</h4> </h4>
</div> </div>
...@@ -270,7 +282,7 @@ ...@@ -270,7 +282,7 @@
</select> </select>
</div> </div>
</div> </div>
<div class="form-group" > <div class="form-group">
<label class="col-sm-3 control-label">电话:</label> <label class="col-sm-3 control-label">电话:</label>
<div class="col-sm-9"> <div class="col-sm-9">
<input type="number" class="form-control btn6" name="user_phone" autocomplete="off" id="set_father_id2"> <input type="number" class="form-control btn6" name="user_phone" autocomplete="off" id="set_father_id2">
...@@ -282,7 +294,6 @@ ...@@ -282,7 +294,6 @@
<div class="col-sm-9"> <div class="col-sm-9">
<select class="form-control btn6" id="industry_type2"> <select class="form-control btn6" id="industry_type2">
<option value="0">业态选择</option> <option value="0">业态选择</option>
<option>轻餐饮</option> <option>轻餐饮</option>
...@@ -314,7 +325,6 @@ ...@@ -314,7 +325,6 @@
<div class="col-sm-9"> <div class="col-sm-9">
<input type="number" class="form-control btn6" id="area_type2" /><span class="use-span"></span> <input type="number" class="form-control btn6" id="area_type2" /><span class="use-span"></span>
<!--<option value="0">面积需求</option> <!--<option value="0">面积需求</option>
<option value="1">100㎡以下</option> <option value="1">100㎡以下</option>
...@@ -324,9 +334,7 @@ ...@@ -324,9 +334,7 @@
</div> </div>
</div> </div>
<div class="form-group">
<div class="form-group" >
<label class="col-sm-3 control-label">客方:</label> <label class="col-sm-3 control-label">客方:</label>
<div class="col-sm-9"> <div class="col-sm-9">
<input type="text" class="form-control btn6" name="agent_id" autocomplete="off" id="set_father_id3"> <input type="text" class="form-control btn6" name="agent_id" autocomplete="off" id="set_father_id3">
...@@ -341,15 +349,16 @@ ...@@ -341,15 +349,16 @@
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" id="close">关闭 <button type="button" class="btn btn-default" data-dismiss="modal" id="close">关闭
</button> </button>
<button type="button" class="btn btn-primary" id="add_user" > <button type="button" class="btn btn-primary" id="add_user">
提交 提交
</button> </button>
</div> </div>
</div><!-- /.modal-content --> </div>
</div><!-- /.modal --> <!-- /.modal-content -->
</div>
<!-- /.modal -->
</div> </div>
<!--操作详情记录--> <!--操作详情记录-->
<div class="modal fade" id="modal-record" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="modal-record" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog"> <div class="modal-dialog">
...@@ -404,7 +413,7 @@ ...@@ -404,7 +413,7 @@
<span class="fore-span ld-Marheight">创建时间:</span> <span class="fore-span ld-Marheight">创建时间:</span>
<span class="fore-span ld-Marheight" id="cus_date"></span> <span class="fore-span ld-Marheight" id="cus_date"></span>
<span class="fore-span ld-Marheight" >邀请人:</span> <span class="fore-span ld-Marheight">邀请人:</span>
<span class="fore-span ld-Marheight" id="referrer_user"></span> <span class="fore-span ld-Marheight" id="referrer_user"></span>
<span class="fore-span ld-Marheight">昵称:</span> <span class="fore-span ld-Marheight">昵称:</span>
<span class="fore-span ld-Marheight" id="cus_nick"></span> <span class="fore-span ld-Marheight" id="cus_nick"></span>
...@@ -460,8 +469,7 @@ ...@@ -460,8 +469,7 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="modal-body"> <div class="modal-body">
<input type="hidden" value="" id="delete_id"/> <input type="hidden" value="" id="delete_id" /> 确认删除吗?
确认删除吗?
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
...@@ -471,8 +479,10 @@ ...@@ -471,8 +479,10 @@
删除 删除
</button> </button>
</div> </div>
</div><!-- /.modal-content --> </div>
</div><!-- /.modal --> <!-- /.modal-content -->
</div>
<!-- /.modal -->
</div> </div>
<!-- /#跟进 --> <!-- /#跟进 -->
<div class="modal fade" id="modal-add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="modal-add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
...@@ -482,7 +492,7 @@ ...@@ -482,7 +492,7 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times; &times;
</button> </button>
<h4 class="modal-title" > <h4 class="modal-title">
跟进 跟进
</h4> </h4>
</div> </div>
...@@ -507,8 +517,10 @@ ...@@ -507,8 +517,10 @@
提交 提交
</button> </button>
</div> </div>
</div><!-- /.modal-content --> </div>
</div><!-- /.modal --> <!-- /.modal-content -->
</div>
<!-- /.modal -->
</div> </div>
<!-- #批量修改客方--> <!-- #批量修改客方-->
<div class="modal fade" id="modal_modify_user" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="modal_modify_user" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
...@@ -518,7 +530,7 @@ ...@@ -518,7 +530,7 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times; &times;
</button> </button>
<h4 class="modal-title" > <h4 class="modal-title">
批量修改客方 批量修改客方
</h4> </h4>
</div> </div>
...@@ -526,7 +538,7 @@ ...@@ -526,7 +538,7 @@
<br> <br>
<!-- ============添加========== --> <!-- ============添加========== -->
<div class="jian_class"> <div class="jian_class">
<input name="ues_id" placeholder="请输入经纪人姓名" type="tel" value="" class="phone_jia old_agents form-control" > <input name="ues_id" placeholder="请输入经纪人姓名" type="tel" value="" class="phone_jia old_agents form-control">
<ul class="phone_list"></ul> <ul class="phone_list"></ul>
</div> </div>
...@@ -536,7 +548,6 @@ ...@@ -536,7 +548,6 @@
<ul class="phone_list"></ul> <ul class="phone_list"></ul>
</div> </div>
<br><br><br> <br><br><br>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
...@@ -546,6 +557,8 @@ ...@@ -546,6 +557,8 @@
提交 提交
</button> </button>
</div> </div>
</div><!-- /.modal-content --> </div>
</div><!-- /.modal --> <!-- /.modal-content -->
</div>
<!-- /.modal -->
</div> </div>
\ No newline at end of file
...@@ -19,6 +19,16 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css ...@@ -19,6 +19,16 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
follow.event(); follow.event();
}, },
event: function() { event: function() {
var _doc = $(document);
_doc.on("click", ".timeline", function() {
follow.Timeline();
});
_doc.on('click', 'a[href="#modal-time"]', function(e){
e.preventDefault();
e.stopPropagation();
var _this = $(this);
$('.iframe-time-line').attr('src', '/app_broker/timeline_pc?order_id='+follow.house_id);
});
$("#search").click(function() { $("#search").click(function() {
follow.getList(1); follow.getList(1);
}); });
...@@ -76,27 +86,21 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css ...@@ -76,27 +86,21 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
} }
}); });
}, },
Caozuo:function(){//获取跟进详情的数据
//时间轴点击事件
Timeline: function() { //获取时间轴
$.ajax({ $.ajax({
'type': 'GET', 'type': 'GET',
'url' : '/index/useraction_search', 'url': '/index/selectReportAll',
data: {"user_id":follow.house_id}, data: {
"order_id": follow.house_id
},
dataType: "json", dataType: "json",
success: function(data){ success: function(data) {
if(data.code == 200){ if(data.code == 200) {
if (data.data) { if(data.data) {
$("#cus_id").html(data.data.user_info.user_id);//客户编号 console.log(data.data);
$("#cus_name").val(data.data.user_info.user_nick);//姓名
$("#sex").val(data.data.user_info.sex);//性别
$("#cus_phone").html(data.data.user_info.user_phone);//电话
$("#cus_date").html(data.data.user_info.create_time);//上传时间
$("#cus_fang").val(data.data.user_info.agentinfo);//客方
var caozuo_table="";
$.each(data['data']['user_date'], function(i, item) {
console.log(item)
caozuo_table +='<tr><td>'+item.content+'</td><td>'+item.agentinfo+'</td><td>'+item.create_time+'</td></tr>';
});
$("#caozuo_table").html(caozuo_table);
} }
} else { } else {
alert('获取失败!'); alert('获取失败!');
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
<td class="pay_type">[%= it[item]['pay_type'] %]</td> <td class="pay_type">[%= it[item]['pay_type'] %]</td>
<td>[%= it[item]['type'] %]</td> <td>[%= it[item]['type'] %]</td>
<td>[%= it[item]['internal_address'] %]</td> <td>[%= it[item]['internal_address'] %]</td>
<td>[%= it[item]['internal_title'] %]</td> <td>[%= it[item]['house_number'] %]</td>
<td> <td>
<a class="btn1 btn-info caozuo" href="#modal-record" data-toggle="modal" data-id='[%= it[item]["id"] %]'>时间轴</a> <a class="btn1 btn-info timeline" href="#modal-time" data-toggle="modal" data-id='[%= it[item]["order_id"] %]'>时间轴</a>
<a class="btn1 btn-info caozuo" href="#modal-linetime" data-toggle="modal" data-id='[%= it[item]["id"] %]'>编辑</a> <a class="btn1 btn-info " href="#modal-linetime" data-toggle="modal" data-id='[%= it[item]["id"] %]'>编辑</a>
</td> </td>
</tr> </tr>
[% } %] [% } %]
......
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