Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
3023da8b
Commit
3023da8b
authored
Nov 23, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩记录
parent
7ae8a6c6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
208 additions
and
0 deletions
+208
-0
PerformanceAdjustment.php
application/index/controller/PerformanceAdjustment.php
+22
-0
performanceAdjustmentList.html
...view/performanceAdjustment/performanceAdjustmentList.html
+116
-0
route.php
application/route.php
+1
-0
performance_adjustment.js
public/resource/js/performance_adjustment.js
+48
-0
performance_adjustment_template_tpl.html
...esource/template/performance_adjustment_template_tpl.html
+21
-0
No files found.
application/index/controller/PerformanceAdjustment.php
0 → 100644
View file @
3023da8b
<?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'
);
}
}
}
application/index/view/performanceAdjustment/performanceAdjustmentList.html
0 → 100644
View file @
3023da8b
{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>
application/route.php
View file @
3023da8b
...
...
@@ -300,6 +300,7 @@ Route::group('index', [
'agentEvaluateNumAndFraction'
=>
[
'index/broker/agentEvaluateNumAndFraction'
,
[
'method'
=>
'POST|GET'
]],
//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'uploadImg'
=>
[
'index/UploadImg/uploadImg'
,
[
'method'
=>
'POST'
]],
//全局图片上传
'followUpList'
=>
[
'index/HouseFollowUp/followUpList'
,
[
'method'
=>
'GET'
]],
//商铺跟进liu
'performanceAdjustment'
=>
[
'index/PerformanceAdjustment/performanceAdjustment'
,
[
'method'
=>
'GET'
]],
//业绩调整记录 liu
'inspectionRecordList'
=>
[
'index/InspectionRecord/inspectionRecordList'
,
[
'method'
=>
'GET'
]],
//约带看记录liu
'realtimePerformance'
=>
[
'index/RealTimePerformance/realtimePerformanceList'
,
[
'method'
=>
'GET'
]],
//实时业绩liu
'shopinspectionLog'
=>
[
'index/ShopInspectionLog/shopinspectionLogList'
,
[
'method'
=>
'POST|GET'
]],
//商铺查看日志liu
...
...
public/resource/js/performance_adjustment.js
0 → 100644
View file @
3023da8b
define
([
'doT'
,
'text!temp/performance_adjustment_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
adjustment
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
15
,
/*每页显示多少条*/
init
:
function
()
{
//初始化dot
$
(
"body"
).
append
(
template
);
adjustment
.
getList
();
adjustment
.
event
();
},
event
:
function
()
{
var
_doc
=
$
(
document
);
$
(
"#search"
).
click
(
function
()
{
adjustment
.
getList
(
1
);
});
$
(
"#reset"
).
click
(
function
()
{
//重置
document
.
getElementById
(
"form_search"
).
reset
();
});
},
getList
:
function
(
pageNo
)
{
adjustment
.
pageNo
=
pageNo
;
var
params
=
{};
params
.
pageNo
=
adjustment
.
pageNo
;
params
.
pageSize
=
adjustment
.
pageSize
;
params
.
phone
=
$
(
'#user_phone'
).
val
();
params
.
name
=
$
(
'#user_name'
).
val
();
$
.
ajax
({
url
:
'/index/financeUpdateLog'
,
//获取列表
type
:
'GET'
,
async
:
true
,
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
console
.
log
(
data
);
var
temp
=
document
.
getElementById
(
'performance_adjustment_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#performance_adjustment_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
adjustment
.
pageSize
,
adjustment
.
getList
);
}
});
},
};
return
adjustment
;
});
\ No newline at end of file
public/resource/template/performance_adjustment_template_tpl.html
0 → 100644
View file @
3023da8b
<script
id=
"performance_adjustment_list_tpl"
type=
"text/template"
>
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment