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
bc01c200
Commit
bc01c200
authored
Sep 11, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户来电 不显示时间
parent
c44f10f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
operationalDataList.js
public/resource/js/operationalDataList.js
+13
-2
reportList.js
public/resource/js/reportList.js
+2
-1
No files found.
public/resource/js/operationalDataList.js
View file @
bc01c200
...
...
@@ -24,7 +24,13 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
operating
.
mainTabIndex
=
_this
.
index
();
//没有时间 搜索的 也会传时间过去 为了切换不同的按钮 时间的连贯性 方便使用
// if(operating.mainTabIndex == 1 || operating.mainTabIndex == 3){
// $('#maintable_create_time').val('');
// $('#maintable_end_time').val('');
// }
operating
.
getList
(
1
);
});
$
(
"#maintable_search"
).
click
(
function
()
{
//搜索
operating
.
getList
(
1
);
...
...
@@ -88,12 +94,17 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
var
tpl
=
operating
.
switchTpl
();
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
tpl
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
$
(
'#maintable_form_search'
).
show
();
//微聊统计
$
(
'#maintable_form_search'
).
show
();
if
(
tpl
==
'small_talk_list_tpl'
&&
data
.
data
){
$
(
'#chat_user_num'
).
html
(
data
.
data
.
chat_user_num
);
$
(
'#chat_user_all_num'
).
html
(
data
.
data
.
chat_user_all_num
);
}
//客户来电统计
if
(
tpl
==
'user_call_list_tpl'
&&
data
.
data
){
$
(
'#maintable_form_search'
).
hide
();
}
//客户统计
if
(
tpl
==
'user_total_list_tpl'
&&
data
.
data
){
$
(
'#add_user_num'
).
html
(
data
.
data
.
add_user_num
);
...
...
@@ -102,7 +113,7 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
}
//商铺统计
if
(
tpl
==
'shop_number_list_tpl'
&&
data
.
data
){
$
(
'#maintable_form_search'
).
hide
();
$
(
'#maintable_form_search'
).
hide
();
$
(
'#have_not_rent_num'
).
html
(
data
.
data
.
have_not_rent_num
);
$
(
'#house_num'
).
html
(
data
.
data
.
house_num
);
}
...
...
public/resource/js/reportList.js
View file @
bc01c200
...
...
@@ -657,7 +657,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
'industry_type'
:
$
.
trim
(
$
(
'#bargaininfo_yetai'
).
val
()),
'price'
:
$
(
'#bargaininfo_chengjiao_price'
).
val
(),
'estimated_receipt_date'
:
$
(
'#bargaininfo_expect_payback_time'
).
val
(),
'step'
:
bargain
.
mainTabIndex
+
1
'step'
:
bargain
.
mainTabIndex
+
1
,
'house_number'
:
$
.
trim
(
$
(
'#bargaininfo_shop_num'
).
val
())
};
$
.
each
(
$
(
'.detail-modal-bargaininfo-commission-sec'
),
function
(
i
,
v
)
{
...
...
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