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
11d59007
Commit
11d59007
authored
Sep 11, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运营数据 修改
parent
db634bc4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
operationalDataList.js
public/resource/js/operationalDataList.js
+3
-0
operational_dataList_template_tpl.html
.../resource/template/operational_dataList_template_tpl.html
+7
-2
No files found.
public/resource/js/operationalDataList.js
View file @
11d59007
...
@@ -89,8 +89,10 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
...
@@ -89,8 +89,10 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
tpl
).
innerHTML
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
tpl
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
//微聊统计
//微聊统计
$
(
'#maintable_form_search'
).
show
();
if
(
tpl
==
'small_talk_list_tpl'
&&
data
.
data
){
if
(
tpl
==
'small_talk_list_tpl'
&&
data
.
data
){
$
(
'#chat_user_num'
).
html
(
data
.
data
.
chat_user_num
);
$
(
'#chat_user_num'
).
html
(
data
.
data
.
chat_user_num
);
$
(
'#chat_user_all_num'
).
html
(
data
.
data
.
chat_user_all_num
);
}
}
//客户统计
//客户统计
if
(
tpl
==
'user_total_list_tpl'
&&
data
.
data
){
if
(
tpl
==
'user_total_list_tpl'
&&
data
.
data
){
...
@@ -100,6 +102,7 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
...
@@ -100,6 +102,7 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
}
}
//商铺统计
//商铺统计
if
(
tpl
==
'shop_number_list_tpl'
&&
data
.
data
){
if
(
tpl
==
'shop_number_list_tpl'
&&
data
.
data
){
$
(
'#maintable_form_search'
).
hide
();
$
(
'#have_not_rent_num'
).
html
(
data
.
data
.
have_not_rent_num
);
$
(
'#have_not_rent_num'
).
html
(
data
.
data
.
have_not_rent_num
);
$
(
'#house_num'
).
html
(
data
.
data
.
house_num
);
$
(
'#house_num'
).
html
(
data
.
data
.
house_num
);
}
}
...
...
public/resource/template/operational_dataList_template_tpl.html
View file @
11d59007
<!--微聊用户数据统计-->
<!--微聊用户数据统计-->
<script
id=
"small_talk_list_tpl"
type=
"text/template"
>
<script
id=
"small_talk_list_tpl"
type=
"text/template"
>
<
tr
>
<
tr
>
<
th
class
=
"text-left"
width
=
"26%"
>
发起微聊用户
数
:
<
span
id
=
"chat_user_num"
><
/span></
th
>
<
th
class
=
"text-left"
>
C
端微聊关系
数
:
<
span
id
=
"chat_user_num"
><
/span></
th
>
<
/tr
>
<
/tr
>
<
tr
>
<
th
class
=
"text-left"
>
C
端微聊用户数
:
<
span
id
=
"chat_user_all_num"
><
/span></
th
>
<
/tr
>
</script>
</script>
<!--客户来电统计-->
<!--客户来电统计-->
...
@@ -64,7 +69,7 @@
...
@@ -64,7 +69,7 @@
<
/tr
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
tr
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'
index_
'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'
district_name
'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'indoor_shop_look_at_num'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'indoor_shop_look_at_num'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'outdoor_shop_look_at_num'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'outdoor_shop_look_at_num'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'indoor_shop_bargain_num'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'indoor_shop_bargain_num'
]
%
]
<
/td
>
...
...
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