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
e40eadd1
Commit
e40eadd1
authored
Oct 11, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩对比优化
parent
a9170351
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
6 deletions
+41
-6
performanceContrast.html
application/index/view/realtime/performanceContrast.html
+2
-1
performanceContrast.js
public/resource/js/performanceContrast.js
+39
-5
No files found.
application/index/view/realtime/performanceContrast.html
View file @
e40eadd1
...
...
@@ -99,7 +99,7 @@
<tr>
<td
colspan=
"11"
>
<form
action=
""
method=
"get"
id=
"form_search"
>
<span
class=
"fore-span ld-Marheight"
>
对比月份
(至少选择3个月)
:
</span>
<span
class=
"fore-span ld-Marheight"
>
对比月份:
</span>
<input
id=
"count_time1"
class=
"form-control btn4 ld-Marheight"
type=
"text"
placeholder=
"请选择"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM',readOnly:'readonly' })"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
...
...
@@ -132,6 +132,7 @@
</tr>-->
</thead>
</table>
<div
class=
"search-con text-danger"
>
暂无数据,请输入时间进行搜索
</div>
<!--<div style="width: 680px;height: 700px;overflow-y: scroll;">-->
<table
class=
"table table-bordered table-hover table-condensed"
style=
"width: 650px;font-size: 13px;"
>
<tbody
id=
"users_list"
class=
"text-center"
>
...
...
public/resource/js/performanceContrast.js
View file @
e40eadd1
...
...
@@ -10,7 +10,7 @@ define (['doT', 'text!temp/performanceContrast_template_tpl.html','ckfinder','ck
init
:
function
()
{
//初始化dot
$
(
"body"
).
append
(
template
);
user
.
getList
();
//
user.getList ();
user
.
event
();
},
event
:
function
()
{
...
...
@@ -89,14 +89,48 @@ define (['doT', 'text!temp/performanceContrast_template_tpl.html','ckfinder','ck
},
//获取业绩对比
getList
:
function
(
pageNo
)
{
$
(
".search-con"
).
hide
();
//隐藏提示内容
user
.
pageNo
=
pageNo
;
var
params
=
{};
params
.
time_start
=
$
(
"#count_time1"
).
val
();
params
.
time_end
=
$
(
"#count_time2"
).
val
();
params
.
performance_time_start
=
$
(
"#count_time3"
).
val
();
params
.
performance_time_end
=
$
(
"#count_time4"
).
val
();;
params
.
real_performance_time_start
=
$
(
"#count_time5"
).
val
();;
params
.
real_performance_time_end
=
$
(
"#count_time6"
).
val
();;
params
.
real_performance_time_start
=
$
(
"#count_time3"
).
val
();
params
.
real_performance_time_end
=
$
(
"#count_time4"
).
val
();
params
.
performance_time_start
=
$
(
"#count_time5"
).
val
();
params
.
performance_time_end
=
$
(
"#count_time6"
).
val
();
if
(
!
params
.
time_start
){
alert
(
'请选择对比月份'
);
return
;
}
if
(
!
params
.
time_end
){
alert
(
'请选择对比月份'
);
return
;
}
if
(
!
params
.
real_performance_time_start
){
alert
(
'请选择实收对比时间'
);
return
;
}
if
(
!
params
.
real_performance_time_end
){
alert
(
'请选择实收对比时间'
);
return
;
}
if
(
!
params
.
performance_time_start
){
alert
(
'请选择业绩对比时间'
);
return
;
}
if
(
!
params
.
performance_time_end
){
alert
(
'请选择业绩对比时间'
);
return
;
}
$
.
ajax
({
url
:
'https://pre2.tonglianjituan.com/index/performanceStatistics'
,
type
:
'GET'
,
...
...
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