Commit ff3ab829 authored by agping's avatar agping

记录修改

parent 0a62cef1
<?php
namespace app\index\controller;
/**
* Created by PhpStorm.
* User: liu yin ping
* Date: 2018/3/13
* Time: 15:48
*/
use app\index\extend\Basic;
class PerformanceAdjustment extends Basic
{
public function performanceAdjustment()
{
if (!$this->request->isAjax()) {
return view('performanceAdjustment/performanceAdjustmentList');
}
}
}
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<input type="hidden" class="page-load" id="performance_adjustment" />
<style>
#note_text {
width: 80%;
margin-left: 48px;
margin-top: -20px;
}
#note_text_re {
width: 80%;
margin-left: 48px;
margin-top: -20px;
}
.Tswitch_one {
display: none;
}
.Tswitch_two {
display: none;
}
.left {
float: left;
width: 340px;
line-height: 36px;
}
.right {
line-height: 36px;
}
.btn_2 {
width: 60px;
display: inline-block;
height: 26px;
padding: 3px 6px
}
.edit_new {
float: right;
margin-bottom: 5px;
margin-top: -10px;
}
.form-control-one {
display: inline-block;
width: 40%;
}
#form_search {
line-height: 48px;
}
.modal-body-two {
height: 500px;
overflow-y: scroll;
}
.btn2-2{
width: 9%!important;
}
.clear{
clear: both;
}
.btn3{
float: left;
}
</style>
<div id="page-content-wrapper">
<div class="container">
<div class="row">
<div class="">
<div class="panel panel-default">
<div class="panel-heading breadcrumb">
<li>
<a href="#">业绩调整记录</a>
</li>
</div>
业绩调整记录 <div class="panel-body">
\ No newline at end of file <div class="table-responsive">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<td colspan="10">
<form id="form_search">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="user_name" placeholder="姓名" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="user_phone" placeholder="手机号" type="text" value="">
<span class="btn btn-info btn3" id="search">搜索</span>
<span class="btn btn-info btn3" id="reset">重置</span>
</form>
</td>
</tr>
<tr>
<th class="text-center">提交时间</th>
<th class="text-center">用户ID</th>
<th class="text-center">被调整人</th>
<th class="text-center">手机号</th>
<th class="text-center">被调整到的新门店</th>
<th class="text-center">业绩开始调整时间</th>
</tr>
</thead>
<tbody class="text-center" id="performance_adjustment_list">
</table>
</div>
<!-- /#page-content-wrapper -->
<div class="text-right" id="pagediv">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{layout name="global/frame_tpl" /}
<input type="hidden" class="page-load" id="performance_adjustment" />
<style>
#note_text {
width: 80%;
margin-left: 48px;
margin-top: -20px;
}
#note_text_re {
width: 80%;
margin-left: 48px;
margin-top: -20px;
}
.Tswitch_one {
display: none;
}
.Tswitch_two {
display: none;
}
.left {
float: left;
width: 340px;
line-height: 36px;
}
.right {
line-height: 36px;
}
.btn_2 {
width: 60px;
display: inline-block;
height: 26px;
padding: 3px 6px
}
.edit_new {
float: right;
margin-bottom: 5px;
margin-top: -10px;
}
.form-control-one {
display: inline-block;
width: 40%;
}
#form_search {
line-height: 48px;
}
.modal-body-two {
height: 500px;
overflow-y: scroll;
}
.btn2-2{
width: 9%!important;
}
.clear{
clear: both;
}
</style>
<div id="page-content-wrapper">
<div class="container">
<div class="row">
<div class="">
<div class="panel panel-default">
<div class="panel-heading breadcrumb">
<li>
<a href="#">业绩调整记录</a>
</li>
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<td colspan="10">
<form id="form_search">
<input class="form-control btn2 ld-Marheight btn2-2" data-rule-phoneus="false" data-rule-required="false" id="user_name" placeholder="姓名" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="user_phone" placeholder="手机号" type="text" value="">
<span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="reset">重置</span>
</form>
</td>
</tr>
<tr>
<th class="text-center">提交时间</th>
<th class="text-center">用户ID</th>
<th class="text-center">被调整人</th>
<th class="text-center">手机号</th>
<th class="text-center">被调整到的新门店</th>
<th class="text-center">业绩开始调整时间</th>
</tr>
</thead>
<tbody class="text-center" id="performance_adjustment_list">
</table>
</div>
<!-- /#page-content-wrapper -->
<div class="text-right" id="pagediv">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...@@ -301,7 +301,6 @@ Route::group('index', [ ...@@ -301,7 +301,6 @@ Route::group('index', [
'agentEvaluateNumAndFraction' => ['index/broker/agentEvaluateNumAndFraction', ['method' => 'POST|GET']],//经纪人列表计算-评价次数和分数 朱伟 2018-07-03 'agentEvaluateNumAndFraction' => ['index/broker/agentEvaluateNumAndFraction', ['method' => 'POST|GET']],//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'uploadImg' => ['index/UploadImg/uploadImg', ['method' => 'POST']],//全局图片上传 'uploadImg' => ['index/UploadImg/uploadImg', ['method' => 'POST']],//全局图片上传
'followUpList' => ['index/HouseFollowUp/followUpList', ['method' => 'GET']],//商铺跟进liu 'followUpList' => ['index/HouseFollowUp/followUpList', ['method' => 'GET']],//商铺跟进liu
'performanceAdjustment' => ['index/PerformanceAdjustment/performanceAdjustment', ['method' => 'GET']],//业绩调整记录 liu
'inspectionRecordList' => ['index/InspectionRecord/inspectionRecordList', ['method' => 'GET']],//约带看记录liu 'inspectionRecordList' => ['index/InspectionRecord/inspectionRecordList', ['method' => 'GET']],//约带看记录liu
'realtimePerformance' => ['index/RealTimePerformance/realtimePerformanceList', ['method' => 'GET']],//实时业绩liu 'realtimePerformance' => ['index/RealTimePerformance/realtimePerformanceList', ['method' => 'GET']],//实时业绩liu
'shopinspectionLog' => ['index/ShopInspectionLog/shopinspectionLogList', ['method' => 'POST|GET']],//商铺查看日志liu 'shopinspectionLog' => ['index/ShopInspectionLog/shopinspectionLogList', ['method' => 'POST|GET']],//商铺查看日志liu
......
...@@ -1143,14 +1143,14 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -1143,14 +1143,14 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}, },
search_phone_look: function(n) { //商铺名选择 search_phone_look: function(n) { //商铺名选择
$.ajax({ $.ajax({
// url:"https://pre2.tonglianjituan.com"+ '/broker/getShopList', url:'/broker/getShopListByReport',
url:'/broker/getShopList',
type: 'GET', type: 'GET',
async: true, async: true,
data: { data: {
'AuthToken' : user_info_obj.AuthToken, 'AuthToken' : user_info_obj.AuthToken,
"site_area":5, "pageNo":1,
"title":$(n).val() "pageSize":20,
"keyword":$(n).val()
}, },
dataType: 'json', dataType: 'json',
success: function(data) { success: function(data) {
......
...@@ -27,7 +27,7 @@ define(['doT', 'text!temp/performance_adjustment_template_tpl.html', 'css!style/ ...@@ -27,7 +27,7 @@ define(['doT', 'text!temp/performance_adjustment_template_tpl.html', 'css!style/
params.phone = $('#user_phone').val(); params.phone = $('#user_phone').val();
params.name = $('#user_name').val(); params.name = $('#user_name').val();
$.ajax({ $.ajax({
url: '/index/financeUpdateLog', //获取列表 url: '/index/getPerformanceRecordList', //获取列表
type: 'GET', type: 'GET',
async: true, async: true,
data: params, data: params,
...@@ -36,7 +36,7 @@ define(['doT', 'text!temp/performance_adjustment_template_tpl.html', 'css!style/ ...@@ -36,7 +36,7 @@ define(['doT', 'text!temp/performance_adjustment_template_tpl.html', 'css!style/
console.log(data); console.log(data);
var temp = document.getElementById('performance_adjustment_list_tpl').innerHTML; var temp = document.getElementById('performance_adjustment_list_tpl').innerHTML;
var doTtmpl = doT.template(temp); var doTtmpl = doT.template(temp);
$("#performance_adjustment_list").html(doTtmpl(data.data.list)); $("#performance_adjustment_list").html(doTtmpl(data.data.data));
/*分页代码*/ /*分页代码*/
add_page(data.data.total, pageNo, adjustment.pageSize, adjustment.getList); add_page(data.data.total, pageNo, adjustment.pageSize, adjustment.getList);
} }
......
...@@ -1359,13 +1359,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1359,13 +1359,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}, },
search_phone_look: function(n) { //商铺名选择 search_phone_look: function(n) { //商铺名选择
$.ajax({ $.ajax({
url:'/broker/getShopList', url:'/broker/getShopListByReport',
type: 'GET', type: 'GET',
async: true, async: true,
data: { data: {
'AuthToken' : user_info_obj.AuthToken, 'AuthToken' : user_info_obj.AuthToken,
"site_area":5, "pageNo":1,
"title":$(n).val() "pageSize":20,
"keyword":$(n).val()
}, },
dataType: 'json', dataType: 'json',
success: function(data) { success: function(data) {
......
<script id="performance_adjustment_list_tpl" type="text/template"> <script id="performance_adjustment_list_tpl" type="text/template">
[% if(it[0]) { %] [% if(it.length) { %]
[% for(var item in it){ %] [% for(var item in it){ %]
<tr> <tr>
<td>[%= it[item]['id'] %]</td> <td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['create_time'] %]</td> <td>[%= it[item]['id'] %]</td>
<td>[%= it[item]['create_time'] %]</td> <td>[%= it[item]['name'] %]</td>
<td>[%= it[item]['create_time']%]</td> <td>[%= it[item]['phone']%]</td>
<td>[%= it[item]['create_time'] %]</td> <td>[%= it[item]['store_name'] %]</td>
<td>[%= it[item]['create_time']%]</td> <td>[%= it[item]['performance_time']%]</td>
</tr> </tr>
[% } %] [% } %]
[% }else{ %] [% }else{ %]
......
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