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
68ea2424
Commit
68ea2424
authored
Jan 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉console
parent
b7c184d2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
19 deletions
+1
-19
mainIndex.js
public/resource/js/mainIndex.js
+0
-2
performance_ranking.js
public/resource/js/performance_ranking.js
+0
-15
professionalList.js
public/resource/js/professionalList.js
+0
-1
b-liu.tabs.js
public/resource/lib/js/b-liu.tabs.js
+1
-1
No files found.
public/resource/js/mainIndex.js
View file @
68ea2424
...
...
@@ -16,9 +16,7 @@ define (['doT', 'text!temp/menu_template_tpl.html','ckfinder','ckfinderStart', '
var
that
=
this
;
//只在首页显示 菜单
var
height1
=
$
(
"html"
).
height
();
console
.
log
(
height1
)
var
height
=
$
(
"html"
).
height
()
-
120
+
"px !important"
;
console
.
log
(
height
)
// $('.tab-content').attr("style","height:"+height);
$
(
'#mainFrameTabs'
).
attr
(
"style"
,
"height:"
+
height
);
...
...
public/resource/js/performance_ranking.js
View file @
68ea2424
...
...
@@ -28,7 +28,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
that
.
initDate
();
$
(
document
).
on
(
'click'
,
'.business_more'
,
function
(
e
){
var
id
=
$
(
this
).
attr
(
"id"
);
console
.
log
(
id
);
that
.
loadBusinessById
(
id
);
});
...
...
@@ -38,7 +37,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
var
title
=
$
(
this
).
parent
().
parent
().
find
(
".title"
).
text
();
var
time
=
$
(
this
).
parent
().
parent
().
find
(
".time"
).
text
();
var
fujian
=
$
(
this
).
parent
().
parent
().
find
(
".dataFujian"
).
html
();
console
.
log
(
fujian
)
var
fujianArray
=
fujian
.
split
(
','
)
$
(
'.notice-title'
).
html
(
title
);
$
(
'.notice-time'
).
html
(
time
);
...
...
@@ -57,15 +55,11 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
$
(
document
).
on
(
'click'
,
'.table-choose'
,
function
(
e
){
// $('.table-choose').click(function(){
console
.
log
(
e
)
if
(
$
(
this
).
hasClass
(
"active"
)){
console
.
log
(
"true"
);
//nothing to change
}
else
{
console
.
log
(
"false"
)
$
(
this
).
parent
().
parent
().
find
(
".active"
).
removeClass
(
"active"
);
$
(
this
).
addClass
(
"active"
);
console
.
log
(
$
(
this
).
attr
(
"id"
));
if
(
$
(
this
).
attr
(
"id"
)
==
"table-title"
)
{
$
(
'#table2'
).
hide
();
$
(
'#table1'
).
show
();
...
...
@@ -77,7 +71,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
});
$
(
document
).
on
(
'click'
,
'.read-down'
,
function
(){
//业务消息 渲染 点击已读
var
news_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
news_id
);
performanceRanking
.
isRead
(
news_id
);
});
//点击时间轴
...
...
@@ -85,7 +78,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
e
.
preventDefault
();
e
.
stopPropagation
();
var
order_id
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
order_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
order_id
);
});
$
(
document
).
on
(
'click'
,
'#initOder'
,
function
(){
...
...
@@ -141,7 +133,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
'pageSize'
:
4
}
$
.
get
(
'/index/business_school'
,
params
,
function
(
data
){
console
.
log
(
data
.
data
.
list
);
var
tag
=
''
;
for
(
var
i
=
0
;
i
<
data
.
data
.
list
.
length
;
i
++
){
tag
+=
'<div class="content" style="overflow:hidden;">'
;
...
...
@@ -226,7 +217,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
'pageSize'
:
4
}
$
.
get
(
'/index/noticeIndex'
,
params
,
function
(
data
){
console
.
log
(
data
.
data
.
list
);
var
tag
=
''
;
for
(
var
i
=
0
;
i
<
data
.
data
.
list
.
length
;
i
++
){
...
...
@@ -264,7 +254,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
'site_id'
:
10001
}
$
.
get
(
'/index/selectPkSortByTime'
,
params
,
function
(
data
){
console
.
log
(
data
)
var
url
=
data
.
data
.
api_path
;
var
agent_sort
=
data
.
data
.
agent_sort
;
var
store_sort
=
data
.
data
.
store_sort
;
...
...
@@ -274,7 +263,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
}
,
initStoreSort
:
function
(
data
,
url
){
console
.
log
(
data
);
var
that
=
this
;
var
tag
=
''
;
...
...
@@ -314,7 +302,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
initAgentSort
:
function
(
data
,
url
){
console
.
log
(
data
);
var
that
=
this
;
var
tag
=
''
;
...
...
@@ -458,7 +445,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
text
=
"团队"
+
(
value
!=
undefined
?
value
:
"A"
)
+
"档"
$
(
'#group-title'
).
text
(
text
);
}
else
{
console
.
log
(
false
);
$
(
'#tbody2'
).
empty
();
$
(
'#group-title'
).
text
(
'团队A档'
);
var
tableDat
=
'<tr><td colspan="4" >您还没有团队</td></tr>'
;
...
...
@@ -515,7 +501,6 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
loadTable2
:
function
(
data
,
gradge
){
var
tableData
=
[]
;
var
tbody
=
''
;
console
.
log
(
data
);
if
(
data
){
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
tbody
+=
'<tr>'
;
...
...
public/resource/js/professionalList.js
View file @
68ea2424
...
...
@@ -246,7 +246,6 @@ define(['doT', 'text!temp/professional_list_template_tpl.html', 'text!temp/repor
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
tpl
=
'professional_list_tpl'
;
console
.
log
(
tpl
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
tpl
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
add_page
(
data
.
data
.
total
,
pageNo
,
professional
.
pageSize
,
professional
.
getList
);
...
...
public/resource/lib/js/b-liu.tabs.js
View file @
68ea2424
...
...
@@ -100,7 +100,7 @@
if
(
!
id
||
!
title
||
!
url
)
console
.
error
(
'新增tab时,id,title,url参数为必须传递参数!'
);
var
c
=
constants
,
$tabs
=
this
.
$container
,
openTabs
=
this
.
openTabs
,
p
=
this
.
p
;
var
tabId
=
c
.
prefixKey
+
id
;
console
.
log
(
openTabs
);
//
console.log(openTabs);
if
(
openTabs
&&
$
.
isArray
(
openTabs
)
&&
openTabs
.
length
>
0
){
var
exist
=
false
;
//是否已存在
...
...
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