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
5cc2ecc5
Commit
5cc2ecc5
authored
Aug 24, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩排行修改
parent
b261408e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
7 deletions
+56
-7
realtimePerformance.html
application/index/view/realtime/realtimePerformance.html
+2
-2
realtimePerformance.js
public/resource/js/realtimePerformance.js
+53
-4
user.js
public/resource/js/user.js
+1
-1
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+0
-0
No files found.
application/index/view/realtime/realtimePerformance.html
View file @
5cc2ecc5
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
收款数时间:
</span>
<span
id=
"
rank_start_day_agent_two"
></span>
至
<span
id=
"rank_end_day_agent_two
"
></span></a>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
收款数时间:
</span>
<span
id=
"
collection_details_time_start"
></span>
至
<span
id=
"collection_details_time_end
"
></span></a>
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
进场数时间:
</span>
<span
id=
"
rank_start_day_agent_two"
></span>
至
<span
id=
"rank_end_day_agent_two
"
></span></a>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
进场数时间:
</span>
<span
id=
"
approach_details_time_start"
></span>
至
<span
id=
"approach_details_time_end
"
></span></a>
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
...
public/resource/js/realtimePerformance.js
View file @
5cc2ecc5
...
@@ -124,6 +124,13 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
...
@@ -124,6 +124,13 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
realtime
.
district_store_agent_id
=
$
(
this
).
attr
(
"data-id"
);
realtime
.
district_store_agent_id
=
$
(
this
).
attr
(
"data-id"
);
realtime
.
getcollectionNumberDetails
(
1
);
realtime
.
getcollectionNumberDetails
(
1
);
});
});
//部门-进场数-弹出框
_doc
.
on
(
'click'
,
'.approach-number-details'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
realtime
.
district_store_agent_id
=
$
(
this
).
attr
(
"data-id"
);
realtime
.
getapproachNumberDetails
(
1
);
});
//点击详情按钮事件,获取报告详情
//点击详情按钮事件,获取报告详情
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
...
@@ -480,11 +487,53 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
...
@@ -480,11 +487,53 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'
performance
_details_tpl'
).
innerHTML
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'
collection_number
_details_tpl'
).
innerHTML
);
$
(
"#
performance_details_list"
).
html
(
doTtmpl
(
data
.
data
.
data
));
$
(
"#
collection_number_details_list"
).
html
(
doTtmpl
(
data
.
data
));
//获取统计时间
//获取统计时间
$
(
'#performance_details_time_start'
).
html
(
realtime
.
time_search_start
);
$
(
'#collection_details_time_start'
).
html
(
realtime
.
time_search_start
);
$
(
'#performance_details_time_end'
).
html
(
realtime
.
time_search_end
);
$
(
'#collection_details_time_end'
).
html
(
realtime
.
time_search_end
);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
error
:
function
()
{
alert
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
};
}
});
},
//部门-进场-弹出框-详情
getapproachNumberDetails
:
function
(
pageNo
){
var
params
=
{
'id'
:
realtime
.
district_store_agent_id
,
'type'
:
realtime
.
switchType
(),
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
};
$
.
ajax
({
type
:
'GET'
,
url
:
'/broker/housingResourcePcInfo'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'approach_number_details_tpl'
).
innerHTML
);
$
(
"#approach_number_details_list"
).
html
(
doTtmpl
(
data
.
data
));
//获取统计时间
$
(
'#approach_details_time_start'
).
html
(
realtime
.
time_search_start
);
$
(
'#approach_details_time_end'
).
html
(
realtime
.
time_search_end
);
}
else
{
}
else
{
alert
(
data
[
'msg'
]);
alert
(
data
[
'msg'
]);
...
...
public/resource/js/user.js
View file @
5cc2ecc5
...
@@ -970,7 +970,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -970,7 +970,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
_backPhone
=
data
[
'data'
][
'
data'
][
'
phone'
];
_backPhone
=
data
[
'data'
][
'phone'
];
_temp_follow_id
=
data
[
'data'
][
'follow_id'
];
//临时的跟进id
_temp_follow_id
=
data
[
'data'
][
'follow_id'
];
//临时的跟进id
console
.
log
(
_backPhone
);
console
.
log
(
_backPhone
);
$
(
'.call-hide-area>p:nth-of-type(1)>span'
).
html
(
_selectPhone
);
$
(
'.call-hide-area>p:nth-of-type(1)>span'
).
html
(
_selectPhone
);
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
5cc2ecc5
This diff is collapsed.
Click to expand it.
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