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
af229bc5
Commit
af229bc5
authored
Oct 10, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺跟进 业绩排行 修改
parent
acd9cebc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
houseFollowUp.js
public/resource/js/houseFollowUp.js
+4
-4
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+4
-2
No files found.
public/resource/js/houseFollowUp.js
View file @
af229bc5
...
...
@@ -77,7 +77,7 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
_this
.
next
().
html
(
''
);
//先清空
if
(
_id
&&
_id
!=
'0'
)
{
house
.
getDistrictStoreList
(
_id
,
function
(
_data
)
{
var
_str
=
'<option value="
0
">全部</option>'
;
var
_str
=
'<option value="">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
store_name
+
'</option>'
;
});
...
...
@@ -191,9 +191,9 @@ define(['doT', 'text!temp/followHouseUp_template_tpl.html', 'css!style/home.css'
//var date="2014-05-08 00:22:11";
// date = new Date(Date.parse(date.replace(/-/g, "/")));
// date = date.getTime();
params
.
district_id
=
$
(
'#district_id'
).
val
()
*
1
;
//部门
params
.
store_id
=
$
(
'#guest_stores'
).
val
()
*
1
;
//门店
params
.
house
ID
=
$
(
'#houseID'
).
val
()
*
1
;
//商铺 id
params
.
district_id
=
$
(
'#district_id'
).
val
();
//部门
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
//门店
params
.
house
_id
=
$
(
'#houseID'
).
val
()
;
//商铺 id
// params.user_name = $('#user_name').val();
params
.
name_or_phone
=
$
(
'#user_phone'
).
val
();
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
af229bc5
...
...
@@ -229,6 +229,7 @@
<!--门店-业绩 -->
<!--个人-业绩 -->
<script
id=
"performance_details_tpl"
type=
"text/template"
>
[
%
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
%
]
[
%
if
(
it
[
0
])
{
%
]
<
tr
>
<
th
class
=
"text-center"
>
成交报告
ID
<
/th
>
...
...
@@ -257,7 +258,7 @@
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
[
%
if
(
check_auth
(
'index/bargainInfo'
)
||
(
it
[
item
][
'agent_id'
]
==
user_info_obj
.
id
)
)
{
%
]
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a>--
>
...
...
@@ -276,6 +277,7 @@
<!--门店-成交单数 -->
<!--个人-成交单数 -->
<script
id=
"deal_number_details_tpl"
type=
"text/template"
>
[
%
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
%
]
[
%
if
(
it
&&
it
.
length
&&
it
.
length
>
0
)
{
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
10
:
return
"出租"
;
case
20
:
return
"增佣"
;
case
30
:
return
"代理"
;
case
40
:
return
"好处费"
;
default
:
return
s
}};
%
]
<
tr
>
...
...
@@ -299,7 +301,7 @@
<
td
class
=
"text-center"
>
[
%=
sw
(
it
[
item
][
'trade_type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
[
%
if
(
check_auth
(
'index/bargainInfo'
)
||
(
it
[
item
][
'agent_id'
]
==
user_info_obj
.
id
)
)
{
%
]
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详情
<
/a
>
[
%
}
%
]
...
...
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