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
e1b44ee1
Commit
e1b44ee1
authored
Sep 05, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限判断
parent
0f0eca57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
house_template_tpl.html
public/resource/template/house_template_tpl.html
+6
-3
No files found.
public/resource/template/house_template_tpl.html
View file @
e1b44ee1
...
...
@@ -57,7 +57,10 @@
[
%
}
%
]
<
/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
(
it
[
"item"
][
"is_lock"
]
==
0
||
check_auth
(
'index/lockHouse'
)
||
it
[
"item"
][
"auth_edit_exclusive"
]
==
1
||
it
[
"item"
][
"auth_edit_house"
]
==
1
)
{
%
]
<
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 is_show_shoucang [%= sw(it[item]['is_collect']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_collect"
]
==
1
)
{
%
]
取消收藏
...
...
@@ -94,9 +97,9 @@
[
%
}
%
]
-->
<
a
class
=
"btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_lock"
]
==
0
)
{
%
]
[
%
if
(
it
[
"item"
][
"is_lock"
]
==
0
)
{
%
]
锁盘
[
%
}
else
if
(
it
[
item
][
"is_lock"
]
==
1
)
{
%
]
[
%
}
else
if
(
it
[
"item"
][
"is_lock"
]
==
1
)
{
%
]
已锁盘
[
%
}
%
]
<
/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