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
b0833bca
Commit
b0833bca
authored
Aug 02, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4b1a1c6f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
14 deletions
+59
-14
houseList.html
application/index/view/houses/houseList.html
+28
-3
public.css
public/resource/css/public.css
+2
-2
houseList.js
public/resource/js/houseList.js
+21
-1
tax.js
public/resource/js/tax.js
+1
-1
house_template_tpl.html
public/resource/template/house_template_tpl.html
+7
-7
No files found.
application/index/view/houses/houseList.html
View file @
b0833bca
...
...
@@ -359,12 +359,37 @@
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
商铺详情
<h4
class=
"modal-title detail-modal-header-tab"
>
<a
href=
"javascript:;"
class=
"btn btn-default"
>
商铺跟进
</a>
<a
href=
"javascript:;"
class=
"btn btn-info"
>
查看商铺
</a>
</h4>
</div>
<div
class=
"modal-body modal-body-one"
>
<iframe
class=
"iframe-shop-detail"
></iframe>
<div
class=
"detail-modal-body-sec"
>
<iframe
class=
"iframe-shop-detail"
></iframe>
</div>
<div
class=
"detail-modal-body-sec"
>
<div
class=
"followup-modal-list-area"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<tbody
class=
""
id=
"modal_followup_table_list"
>
<tr>
<td>
电话跟进:测试测试测试测试测试测试测试测试测试测试测试测试
</td>
<td>
刘丹丹
</td>
<td>
2017-09-05 15:22:33
</td>
</tr>
<tr>
<td
colspan=
"3"
>
2017-09-05 15:22:33
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"followup-modal-comment-area"
>
<textarea></textarea>
</div>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"modal_followup_submit_btn"
>
提交
</button>
</div>
</div>
</div>
</div>
...
...
public/resource/css/public.css
View file @
b0833bca
...
...
@@ -2,8 +2,8 @@ body {
/*width: 1335px !important;*/
/*min-width: 1335px !important;*/
width
:
980
px
!important
;
min-width
:
980
px
!important
;
width
:
1024
px
!important
;
min-width
:
1024
px
!important
;
margin
:
0
;
margin
:
0
auto
;
background-color
:
#F2F2F2
;
...
...
public/resource/js/houseList.js
View file @
b0833bca
...
...
@@ -22,6 +22,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
boxphoto
:
''
,
exclusive_id
:
0
,
isFollowupSaving
:
false
,
detailTabIndex
:
0
,
//查看 弹出框 tab切换 初始化
init
:
function
()
{
//初始化dot
business
.
getDistrict
();
...
...
@@ -112,7 +113,22 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
e
.
stopPropagation
();
business
.
Dujianew
();
});
//查看弹出框里的tab点击事件,查看商铺,商铺跟进
_doc
.
on
(
'click'
,
'.detail-modal-header-tab>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
business
.
detailTabIndex
=
_this
.
index
();
$
(
'.detail-modal-body-sec:nth-of-type('
+
(
business
.
detailTabIndex
+
1
)
+
')'
).
show
().
siblings
().
hide
();
if
(
business
.
detailTabIndex
==
0
){
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
business
.
id
);
}
else
if
(
business
.
detailTabIndex
==
1
){
$
(
'.followup-modal-comment-area>textarea'
).
val
(
''
);
//清空跟进框内容
business
.
getFollowupList
();
}
});
// 提交按钮设置案场权限人
$
(
document
).
delegate
(
".submit_follow"
,
"click"
,
function
()
{
//提交按钮设置案场权限人
var
myModalLabel
=
$
(
"#myModalLabel"
).
html
();
...
...
@@ -294,7 +310,11 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-success'
).
addClass
(
'btn-warning'
);
var
_id
=
_this
.
attr
(
'data-id'
);
business
.
id
=
_id
;
console
.
log
(
_id
);
$
(
'.detail-modal-header-tab>a:nth-of-type(1)'
).
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
business
.
detailTabIndex
=
0
;
$
(
'.detail-modal-body-sec:nth-of-type(1)'
).
show
().
siblings
().
hide
();
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
_id
);
});
...
...
public/resource/js/tax.js
View file @
b0833bca
define
([
'doT'
,
'text!temp/
tax_template_tpl.html'
,
'text!temp/reportList_shuiFee2_template_tpl.html'
,
'text!temp/reportList_maidtwo_template_tpl.html'
,
'text!temp/reportList_maid_sub1
_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
define
([
'doT'
,
'text!temp/
reportList
_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
bargain
=
{
pageNo
:
1
,
/*第几页*/
...
...
public/resource/template/house_template_tpl.html
View file @
b0833bca
...
...
@@ -46,17 +46,17 @@
[
%
}
%
]
<
/td>--
>
<
td
>
<
a
class
=
"btn1 [%= (it[item]['is_look'] && it[item]['auth_edit_house'] == 0)?'btn-warning':'btn-success' %]"
href
=
"#modal_shop_detail"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
toggle
=
"modal"
>
查看
<
/a
>
[
%
if
(
check_auth
(
'broker/addShopFollowUp'
))
{
%
]
<
a
class
=
"btn1 btn-success "
href
=
"#modal_followup"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
toggle
=
"modal"
>
跟进
<
/a
>
<
a
class
=
"btn1 [%= (it[item]['is_look'] && it[item]['auth_edit_house'] == 0)?'btn-warning':'btn-success' %]"
href
=
"#modal_shop_detail"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
toggle
=
"modal"
>
查看
/
跟进
<
/a
>
[
%
if
(
it
[
item
][
'auth_edit_house'
]
||
check_auth
(
'index/houseEdit'
))
{
%
]
<
a
class
=
"btn1 btn-success"
href
=
"/admin.php/index/houseEdit?id=[%= it[item]['id']%]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
[
%
}
%
]
<!--
[
%
if
(
check_auth
(
'broker/addShopFollowUp'
))
{
%
]
<
a
class
=
"btn1 btn-success "
href
=
"#modal_followup"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
toggle
=
"modal"
>
跟进
<
/a
>
[
%
}
%
]
-->
<
a
class
=
"btn1 btn-default btn-default-show-caozuo"
>>>><
/a
>
[
%
if
(
it
[
item
][
'auth_edit_house'
]
||
check_auth
(
'index/houseEdit'
))
{
%
]
<
a
class
=
"btn1 btn-success btn-default-hide-display"
href
=
"/admin.php/index/houseEdit?id=[%= it[item]['id']%]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
[
%
}
%
]
[
%
if
(
check_auth
(
'index/houseEdit'
))
{
%
]
<
a
class
=
"btn1 btn-success is_show btn-default-hide-display"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
推荐
<
/a
>
...
...
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