Commit bcbd5e11 authored by agping's avatar agping

公告列表修改

parent 3b9b33f6
This diff is collapsed.
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<input type="hidden" class="page-load" id="carryOut" /> <input type="hidden" class="page-load" id="carryOut" />
<style> <style>
.modal-body { .modal-body{
/*height: 600px;*/ /*height: 600px;*/
overflow-y: auto; overflow-y: auto;
padding-bottom: 60px; padding-bottom: 60px;
} }
.user-ul2{
.user-ul2 {
width: 100%; width: 100%;
height: auto; height: auto;
padding-bottom: 15px; padding-bottom: 15px;
float: left; float: left;
} }
.user-ul2 li{
.user-ul2 li {
list-style: none; list-style: none;
line-height: 30px; line-height: 30px;
} }
.money_total_two{
.money_total_two {
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 15px;
}
#search { }
#search{
float: left; float: left;
} }
#reset{
#reset {
float: left; float: left;
} }
</style> </style>
...@@ -49,38 +45,25 @@ ...@@ -49,38 +45,25 @@
<tr> <tr>
<td colspan="10"> <td colspan="10">
<form id="form_search"> <form id="form_search">
<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="start_date" name="start_date1" type="date"> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="start_date" name="start_date1" type="date">
<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="end_date" name="end_date1" type="date"> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="end_date" name="end_date1" type="date">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="shop_name" placeholder="商铺名称" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visitors_shop" placeholder="拜访人所属门店名称" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="shop_num" placeholder="铺号" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visitors_phone" placeholder="拜访人手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="customer_phone" placeholder="客户手机号" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visitors_name" placeholder="拜访人姓名" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="customer_name" placeholder="客户姓名" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visiting_shop" placeholder="拜访的门店名称" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="store_name" placeholder="门店" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="applicant_phone" placeholder="报备手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="applicant_name" placeholder="报备人姓名" type="text" value="">
<span class=" btn btn-info btn3 ld-Marheight" style="visibility: hidden;">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span> <span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="reset">重置</span> <span class="btn btn-info btn3 ld-Marheight" id="reset">重置</span>
<span class="money_total_two fore-span ld-Marheight ">总额:</span><span id="money_total" class="money_total_two fore-span ld-Marheight"></span>
<span class="btn btn-info btn3 ld-Marheight" id="export">导出报表</span>
</form>
</form> </form>
</td> </td>
</tr> </tr>
<tr> <tr>
<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>
<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>
<tbody class="text-center" id="follow_list"> <tbody class="text-center" id="follow_list">
...@@ -106,16 +89,14 @@ ...@@ -106,16 +89,14 @@
× ×
</button> </button>
<h4 class="modal-title"> <h4 class="modal-title">
时间轴 图片
</h4> </h4>
</div> </div>
<div class="modal-body" class="iframe-div-parent"> <div class="modal-body">
<iframe class="iframe-time-line"></iframe> <img src="images/banner/Tulips.jpg" alt="" />
</div>
</div>
<!-- /.modal-content -->
</div> </div>
<!-- /.modal --> </div><!-- /.modal-content -->
</div><!-- /.modal -->
</div> </div>
<div class="modal fade" id="modal-linetime" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="modal-linetime" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog"> <div class="modal-dialog">
...@@ -130,7 +111,7 @@ ...@@ -130,7 +111,7 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="modal-body" id="del_msg"> <div class="modal-body" id="del_msg">
实付金额:<input type="number" id='real_money' /> 实付金额:<input type="number" id='real_money'/>
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
...@@ -145,3 +126,12 @@ ...@@ -145,3 +126,12 @@
</div> </div>
<!-- /.modal --> <!-- /.modal -->
</div> </div>
\ No newline at end of file
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<input type="hidden" class="page-load" id="visitShop" /> <input type="hidden" class="page-load" id="visitShop" />
<style> <style>
.modal-body { .modal-body{
/*height: 600px;*/ /*height: 600px;*/
overflow-y: auto; overflow-y: auto;
padding-bottom: 60px; padding-bottom: 60px;
} }
.user-ul2{
.user-ul2 {
width: 100%; width: 100%;
height: auto; height: auto;
padding-bottom: 15px; padding-bottom: 15px;
float: left; float: left;
} }
.user-ul2 li{
.user-ul2 li {
list-style: none; list-style: none;
line-height: 30px; line-height: 30px;
} }
.money_total_two{
.money_total_two {
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 15px;
}
#search { }
#search{
float: left; float: left;
} }
#reset{
#reset {
float: left; float: left;
} }
</style> </style>
...@@ -39,7 +35,7 @@ ...@@ -39,7 +35,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading breadcrumb"> <div class="panel-heading breadcrumb">
<li> <li>
<a href="javascript:;">门店拜访列表</a> <a href="javascript:;">拜访列表</a>
</li> </li>
</div> </div>
<div class="panel-body"> <div class="panel-body">
...@@ -49,38 +45,28 @@ ...@@ -49,38 +45,28 @@
<tr> <tr>
<td colspan="10"> <td colspan="10">
<form id="form_search"> <form id="form_search">
<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="start_date" name="start_date1" type="date"> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="start_date" name="start_date1" type="date">
<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="end_date" name="end_date1" type="date"> <input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="end_date" name="end_date1" type="date">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="shop_name" placeholder="商铺名称" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visitors_shop" placeholder="拜访人所属门店名称" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="shop_num" placeholder="铺号" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visitors_phone" placeholder="拜访人手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="customer_phone" placeholder="客户手机号" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visitors_name" placeholder="拜访人姓名" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="customer_name" placeholder="客户姓名" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="visiting_shop" placeholder="拜访的门店名称" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="store_name" placeholder="门店" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="applicant_phone" placeholder="报备手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="applicant_name" placeholder="报备人姓名" type="text" value="">
<span class=" btn btn-info btn3 ld-Marheight" style="visibility: hidden;">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span> <span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="reset">重置</span> <span class="btn btn-info btn3 ld-Marheight" id="reset">重置</span>
<span class="money_total_two fore-span ld-Marheight ">总额:</span><span id="money_total" class="money_total_two fore-span ld-Marheight"></span>
<span class="btn btn-info btn3 ld-Marheight" id="export">导出报表</span>
</form>
</form> </form>
</td> </td>
</tr> </tr>
<tr> <tr>
<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>
<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>
<tbody class="text-center" id="follow_list"> <tbody class="text-center" id="follow_list">
...@@ -106,16 +92,14 @@ ...@@ -106,16 +92,14 @@
× ×
</button> </button>
<h4 class="modal-title"> <h4 class="modal-title">
时间轴 图片
</h4> </h4>
</div> </div>
<div class="modal-body" class="iframe-div-parent"> <div class="modal-body">
<iframe class="iframe-time-line"></iframe> <img src="images/banner/Tulips.jpg" alt="" />
</div>
</div>
<!-- /.modal-content -->
</div> </div>
<!-- /.modal --> </div><!-- /.modal-content -->
</div><!-- /.modal -->
</div> </div>
<div class="modal fade" id="modal-linetime" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="modal-linetime" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog"> <div class="modal-dialog">
...@@ -130,7 +114,7 @@ ...@@ -130,7 +114,7 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="modal-body" id="del_msg"> <div class="modal-body" id="del_msg">
实付金额:<input type="number" id='real_money' /> 实付金额:<input type="number" id='real_money'/>
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
...@@ -145,3 +129,12 @@ ...@@ -145,3 +129,12 @@
</div> </div>
<!-- /.modal --> <!-- /.modal -->
</div> </div>
\ No newline at end of file
...@@ -138,7 +138,7 @@ define(['doT', 'text!temp/carry_out_template_tpl.html', 'css!style/home.css', 'c ...@@ -138,7 +138,7 @@ define(['doT', 'text!temp/carry_out_template_tpl.html', 'css!style/home.css', 'c
params.end_time =$('#end_date').val(); params.end_time =$('#end_date').val();
params.internal_title =$('#shop_name').val(); params.internal_title =$('#shop_name').val();
params.user_phone =$('#customer_phone').val(); params.user_phone =$('#customer_phone').val();
params.id =$('#shop_num').val()*1; // params.id =$('#shop_num').val()*1;
params.store_name =$('#store_name').val(); params.store_name =$('#store_name').val();
params.report_phone =$('#applicant_phone').val(); params.report_phone =$('#applicant_phone').val();
params.report_name =$('#applicant_name').val(); params.report_name =$('#applicant_name').val();
......
This diff is collapsed.
...@@ -138,16 +138,14 @@ define(['doT', 'text!temp/visit_shop_template_tpl.html', 'css!style/home.css', ' ...@@ -138,16 +138,14 @@ define(['doT', 'text!temp/visit_shop_template_tpl.html', 'css!style/home.css', '
params.end_time =$('#end_date').val(); params.end_time =$('#end_date').val();
params.internal_title =$('#shop_name').val(); params.internal_title =$('#shop_name').val();
params.user_phone =$('#customer_phone').val(); params.user_phone =$('#customer_phone').val();
params.id =$('#shop_num').val()*1;
params.store_name =$('#store_name').val(); params.store_name =$('#store_name').val();
params.report_phone =$('#applicant_phone').val(); params.report_phone =$('#applicant_phone').val();
params.report_name =$('#applicant_name').val(); params.report_name =$('#applicant_name').val();
params.pageNo = follow.pageNo; params.pageNo = follow.pageNo;
params.pageSize = follow.pageSize; params.pageSize = follow.pageSize;
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/index/getCollection', url: '/index/getCollection',//拜访列表
data: params, data: params,
timeout: 30000, timeout: 30000,
dataType: 'json', dataType: 'json',
......
...@@ -6,14 +6,9 @@ ...@@ -6,14 +6,9 @@
<td>[%= it[item]['user_name'] %]</td> <td>[%= it[item]['user_name'] %]</td>
<td>[%= it[item]['user_phone'] %]</td> <td>[%= it[item]['user_phone'] %]</td>
<td>[%= it[item]['money'] %]</td> <td>[%= it[item]['money'] %]</td>
<td>[%= it[item]['real_money'] %]</td>
<td class="pay_type">[%= it[item]['type'] %]</td>
<td>[%= it[item]['pay_type'] %]</td>
<td>[%= it[item]['internal_address'] %]</td>
<td>[%= it[item]['house_number'] %]</td>
<td> <td>
<a class="btn1 btn-info timeline" href="#modal-time" data-toggle="modal" data-id='[%= it[item]["order_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 submit_edit2" href="#modal-linetime" data-toggle="modal" data-id='[%= it[item]["id"]%]' data-money='[%= it[item]["real_money"] %]'>编辑</a>
</td> </td>
</tr> </tr>
[% } %] [% } %]
...@@ -32,6 +27,21 @@ ...@@ -32,6 +27,21 @@
......
<script id="notice_list_tpl" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr>
<td>[%= it[item]['id'] %]</td>
<td>[%= hideTel(it[item]["user_phone"]) %]</td>
<td>[%= it[item]["create_time"] %]</td>
<td>
<a class="btn1 btn-success caozuo" href="#modal-record" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
查看
</a>
<a class="btn1 btn-success genj_ure" href="#modal-delete" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
删除
</a>
<!--<a class="btn1 btn-danger " href="#modal-delete" data-toggle="modal" onclick="delete_user(this)" data-id='[%= it[item]["id"] %]'>-->
<!--删除-->
<!--</a>-->
</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="7" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
\ No newline at end of file
...@@ -9,11 +9,9 @@ ...@@ -9,11 +9,9 @@
<td>[%= it[item]['real_money'] %]</td> <td>[%= it[item]['real_money'] %]</td>
<td class="pay_type">[%= it[item]['type'] %]</td> <td class="pay_type">[%= it[item]['type'] %]</td>
<td>[%= it[item]['pay_type'] %]</td> <td>[%= it[item]['pay_type'] %]</td>
<td>[%= it[item]['internal_address'] %]</td>
<td>[%= it[item]['house_number'] %]</td>
<td> <td>
<a class="btn1 btn-info timeline" href="#modal-time" data-toggle="modal" data-id='[%= it[item]["order_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 submit_edit2" href="#modal-linetime" data-toggle="modal" data-id='[%= it[item]["id"]%]' data-money='[%= it[item]["real_money"] %]'>编辑</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