Commit b522c453 authored by agping's avatar agping

周报 日报 修改

parent 4b50ef26
......@@ -2,10 +2,18 @@
<input type="hidden" class="page-load" id="dayAchievementsReport" />
<style>
.modal-body{
/*height: 600px;*/
overflow-y: auto;
padding-bottom: 60px;
}
.modal-body-img{
height: 666px;
overflow-y: auto;
padding-bottom: 60px;
text-align: center;
}
.modal-body-img img{
width: 466px;
}
.user-ul2{
width: 100%;
height: auto;
......@@ -127,10 +135,10 @@
×
</button>
<h4 class="modal-title">
业绩图片
日报图片
</h4>
</div>
<div class="modal-body">
<div class="modal-body-img">
<img src="" alt="" class="review-images2"/>
</div>
</div><!-- /.modal-content -->
......
......@@ -2,10 +2,18 @@
<input type="hidden" class="page-load" id="weekAchievementsReport" />
<style>
.modal-body{
/*height: 600px;*/
overflow-y: auto;
padding-bottom: 60px;
}
.modal-body-img{
height: 666px;
overflow-y: auto;
padding-bottom: 60px;
text-align: center;
}
.modal-body-img img{
width: 466px;
}
.user-ul2{
width: 100%;
height: auto;
......@@ -99,10 +107,10 @@
×
</button>
<h4 class="modal-title">
业绩图片
周报图片
</h4>
</div>
<div class="modal-body">
<div class="modal-body-img">
<img src="" alt="" class="review-images2"/>
</div>
</div><!-- /.modal-content -->
......
......@@ -71,6 +71,7 @@
$("#reset").click(function() { //重置
document.getElementById("form_search").reset();
$('#guest_stores').html('');
report.agent_id_phone='';
});
},
......@@ -120,7 +121,8 @@
params.pageSize = report.pageSize;
$.ajax({
type: 'GET',
url: '/index/getPerformanceReportList',//拜访列表
// url: 'https://pre2.tonglianjituan.com' + '/index/getPerformanceReportList',
url: '/index/getPerformanceReportList',//日报
data: params,
timeout: 30000,
dataType: 'json',
......
......@@ -57,6 +57,8 @@
$("#reset").click(function() { //重置
document.getElementById("form_search").reset();
$('#guest_stores').html('');
report.agent_id_phone='';
});
},
......@@ -65,8 +67,8 @@
var params = {};
params.start_date =$('#create_time_start').val();
params.end_date =$('#create_time_end').val();
params.district_id =$('#district_id').val()*1;
params.store_id =$('#guest_stores').val()*1;
params.district_id =$('#district_id').val();
params.store_id =$('#guest_stores').val();
params.type = 0;//周报
params.pageNo = report.pageNo;
params.pageSize = report.pageSize;
......
<script id="day_achievements_report_list_tpl" type="text/template">
[% if(it) { %]
[% if(it&&it.length!=0) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]['create_time'] %]</td>
<td>
<a class="review-images" href="#modal-report-img" data-toggle="modal" data-img='[%= it[item]["scene_photo"] %]'>查看</a>
<a class="review-images" href="#modal-report-img" data-toggle="modal" data-img='[%= it[item]["img_file_path"] %]'>查看</a>
</td>
<td>[%= it[item]['house_title'] %]</td>
<td>[% if(it[item]["name"] != null) { %] [%= it[item]["name"] %] [% } %]</td>
<td>
<a class="btn1 btn-danger report-del" href="#modal-delete" data-toggle="modal" data-id='[%= it[item]["id"] %]'>删除</a>
</td>
......
<script id="week_achievements_report_list_tpl" type="text/template">
[% if(it) { %]
[% if(it&&it.length!=0) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]['user_name'] %]</td>
<td>[%= it[item]['start_date'] + '至' + it[item]['end_date']%]</td>
<td>
<a class="review-images" href="#modal-report-img" data-toggle="modal" data-img='[%= it[item]["scene_photo"] %]'>查看</a>
<a class="review-images" href="#modal-report-img" data-toggle="modal" data-img='[%= it[item]["img_file_path"] %]'>查看</a>
</td>
<td>[% if(it[item]["name"] != null) { %] [%= it[item]["name"] %] [% } %]</td>
<td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['report_agent_name'] %]</td>
<td>
<a class="btn1 btn-danger report-del" href="#modal-delete" data-toggle="modal" data-id='[%= it[item]["id"] %]'>删除</a>
</td>
......
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