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
09a5bac7
Commit
09a5bac7
authored
Jul 13, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约带看修改
parent
8d2341aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
inspectionRecord.js
public/resource/js/inspectionRecord.js
+5
-3
No files found.
public/resource/js/inspectionRecord.js
View file @
09a5bac7
...
...
@@ -89,6 +89,7 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
});
},
getList
:
function
(
pageNo
)
{
//获取约带看记录列表
record
.
pageNo
=
pageNo
;
//接收参数
var
params
=
{};
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
console
.
log
(
user_info_obj
);
...
...
@@ -115,7 +116,7 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
params
.
pageSize
=
record
.
pageSize
;
$
.
ajax
({
type
:
'GET'
,
url
:
'/broker/reportList'
,
//约带看记录 对接接口
url
:
'/broker/reportList
ForPc
'
,
//约带看记录 对接接口
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -124,10 +125,11 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'inspectionRecord_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
));
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
result
));
/*分页代码*/
console
.
log
(
data
.
data
.
total
);
add_page
(
data
.
data
.
total
,
pageNo
,
record
.
pageSize
,
record
.
getList
);
$
(
".move-block"
).
html
(
' '
);
//
$(".move-block").html(' ');
}
else
{
alert
(
data
[
'msg'
]);
...
...
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