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
ae1e2a5b
Commit
ae1e2a5b
authored
Aug 02, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺管理
parent
db571a61
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
houseList.html
application/index/view/houses/houseList.html
+5
-3
houseList.js
public/resource/js/houseList.js
+5
-3
house_template_tpl.html
public/resource/template/house_template_tpl.html
+2
-1
No files found.
application/index/view/houses/houseList.html
View file @
ae1e2a5b
...
@@ -366,9 +366,7 @@
...
@@ -366,9 +366,7 @@
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body modal-body-one"
>
<div
class=
"modal-body modal-body-one"
>
<div
class=
"detail-modal-body-sec"
>
<iframe
class=
"iframe-shop-detail"
></iframe>
</div>
<div
class=
"detail-modal-body-sec"
>
<div
class=
"detail-modal-body-sec"
>
<div
class=
"followup-modal-list-area"
>
<div
class=
"followup-modal-list-area"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
...
@@ -390,6 +388,10 @@
...
@@ -390,6 +388,10 @@
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"modal_followup_submit_btn"
>
提交
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"modal_followup_submit_btn"
>
提交
</button>
</div>
</div>
<div
class=
"detail-modal-body-sec"
>
<iframe
class=
"iframe-shop-detail"
></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
public/resource/js/houseList.js
View file @
ae1e2a5b
...
@@ -122,9 +122,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -122,9 +122,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
business
.
detailTabIndex
=
_this
.
index
();
business
.
detailTabIndex
=
_this
.
index
();
$
(
'.detail-modal-body-sec:nth-of-type('
+
(
business
.
detailTabIndex
+
1
)
+
')'
).
show
().
siblings
().
hide
();
$
(
'.detail-modal-body-sec:nth-of-type('
+
(
business
.
detailTabIndex
+
1
)
+
')'
).
show
().
siblings
().
hide
();
if
(
business
.
detailTabIndex
==
0
){
if
(
business
.
detailTabIndex
==
1
){
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
business
.
id
);
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
business
.
id
);
}
else
if
(
business
.
detailTabIndex
==
1
){
}
else
if
(
business
.
detailTabIndex
==
0
){
$
(
'.followup-modal-comment-area>textarea'
).
val
(
''
);
//清空跟进框内容
$
(
'.followup-modal-comment-area>textarea'
).
val
(
''
);
//清空跟进框内容
business
.
getFollowupList
();
business
.
getFollowupList
();
}
}
...
@@ -315,7 +315,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -315,7 +315,9 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
$
(
'.detail-modal-header-tab>a:nth-of-type(1)'
).
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
$
(
'.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
;
business
.
detailTabIndex
=
0
;
$
(
'.detail-modal-body-sec:nth-of-type(1)'
).
show
().
siblings
().
hide
();
$
(
'.detail-modal-body-sec:nth-of-type(1)'
).
show
().
siblings
().
hide
();
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
_id
);
$
(
'.followup-modal-comment-area>textarea'
).
val
(
''
);
//清空跟进框内容
business
.
getFollowupList
();
// $('.iframe-shop-detail').attr('src', '/app_broker/shop_detail_pc?shop_id='+_id);
});
});
},
},
...
...
public/resource/template/house_template_tpl.html
View file @
ae1e2a5b
...
@@ -46,7 +46,8 @@
...
@@ -46,7 +46,8 @@
[
%
}
%
]
[
%
}
%
]
<
/td>--
>
<
/td>--
>
<
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
>
<
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'
))
{
%
]
[
%
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
>
<
a
class
=
"btn1 btn-success"
href
=
"/admin.php/index/houseEdit?id=[%= it[item]['id']%]"
data
-
toggle
=
"modal"
>
编辑
<
/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