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
59bde970
Commit
59bde970
authored
Sep 17, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表显示优化
parent
947a3b6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
agent.js
public/resource/js/agent.js
+10
-1
houseList.js
public/resource/js/houseList.js
+10
-1
No files found.
public/resource/js/agent.js
View file @
59bde970
...
...
@@ -422,7 +422,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
var
doTempl
=
doT
.
template
(
temp
);
$
(
"#agentlist"
).
html
(
doTempl
(
data
.
data
.
list
));
agent
.
getEvaluationList
(
agent
.
idArray
);
$
(
'.btn-default-show-caozuo'
).
nextAll
().
hide
();
//默认按钮只显示两个
//显示优化
var
_tempObj
=
$
(
'.btn-default-show-caozuo'
);
$
.
each
(
_tempObj
,
function
(
i
,
v
)
{
var
_$this
=
$
(
v
);
_$this
.
nextAll
().
hide
();
//默认按钮只显示两个
if
(
_$this
.
index
()
==
0
){
_$this
.
click
();
}
});
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
agent
.
pageSize
,
agent
.
getList
);
...
...
public/resource/js/houseList.js
View file @
59bde970
...
...
@@ -1146,7 +1146,16 @@ if(data.code == 200) {
var
temp
=
document
.
getElementById
(
'house_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#business_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
$
(
'.btn-default-show-caozuo'
).
nextAll
().
hide
();
//默认按钮只显示两个
//显示优化
var
_tempObj
=
$
(
'.btn-default-show-caozuo'
);
$
.
each
(
_tempObj
,
function
(
i
,
v
)
{
var
_$this
=
$
(
v
);
_$this
.
nextAll
().
hide
();
//默认按钮只显示两个
if
(
_$this
.
index
()
==
0
){
_$this
.
click
();
}
});
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
business
.
pageSize
,
business
.
getList
);
...
...
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