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
50102681
Commit
50102681
authored
Sep 12, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告详情 优化
parent
31c33be1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
reportList.js
public/resource/js/reportList.js
+6
-4
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+2
-2
No files found.
public/resource/js/reportList.js
View file @
50102681
...
...
@@ -38,8 +38,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
e
.
preventDefault
();
e
.
stopPropagation
();
var
_id
=
bargain
.
detail_shop_id
;
console
.
log
(
_id
);
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
7436
);
//记得修改修改
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
_id
);
//记得修改修改
});
//成交报告详情 点击客户 查看客户详情
_doc
.
on
(
'click'
,
'a[href="#modal_user_detail"]'
,
function
(
e
){
...
...
@@ -1467,10 +1466,13 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'reportList_list_tpl'
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
//点击成交报告详情 获取商铺id 客户id
var
hanghao
=
(
pageNo
-
1
)
*
10
+
1
;
$
(
"#maintable_list tr"
).
each
(
function
()
{
if
(
data
.
data
.
list
&&
data
.
data
.
list
[
0
]){
var
hanghao
=
(
pageNo
-
1
)
*
10
+
1
;
$
(
"#maintable_list tr"
).
each
(
function
()
{
$
(
this
).
children
(
'td:eq(0)'
).
html
(
hanghao
++
);
});
}
// var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
...
...
public/resource/template/reportList_template_tpl.html
View file @
50102681
...
...
@@ -39,7 +39,7 @@
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"1
0"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
td
colspan
=
"1
1"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
...
...
@@ -134,7 +134,7 @@
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"11"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
td
colspan
=
"11"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
...
...
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