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
e26fc5bf
Commit
e26fc5bf
authored
Jul 08, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
楼盘权限
parent
ca0861e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
index.html
application/index/view/office/index.html
+1
-1
buildingDictionary.js
public/resource/js/buildingDictionary.js
+7
-2
building_dictionary_list_template_tpl.html
...ource/template/building_dictionary_list_template_tpl.html
+5
-1
No files found.
application/index/view/office/index.html
View file @
e26fc5bf
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<ul
class=
"bread_btn"
>
<li>
<li>
<a
class=
"btn btn-default add"
href=
"#modal_add_loupan"
data-toggle=
"modal"
>
新增楼盘
</a>
<a
class=
"btn btn-default add"
href=
"#modal_add_loupan"
data-toggle=
"modal"
style=
"display: none;"
>
新增楼盘
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
public/resource/js/buildingDictionary.js
View file @
e26fc5bf
...
@@ -38,9 +38,14 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
...
@@ -38,9 +38,14 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
$
(
"body"
).
append
(
template
);
$
(
"body"
).
append
(
template
);
//初始化城市 区域筛选
//商铺列表 默认显示求租房源
// 商铺列表 默认显示求租房源
$
(
'#lease_state'
).
val
(
1
);
$
(
'#lease_state'
).
val
(
1
);
//新增楼盘字典权限
if
(
check_auth
(
'office_index/houseDictionaryAdd'
)){
$
(
".add"
).
show
()
}
else
{
$
(
".add"
).
hide
()
}
business
.
getList
(
1
);
business
.
getList
(
1
);
business
.
event
();
business
.
event
();
//显示 隐藏城市 默认显示 当前账号 所在城市
//显示 隐藏城市 默认显示 当前账号 所在城市
...
...
public/resource/template/building_dictionary_list_template_tpl.html
View file @
e26fc5bf
...
@@ -34,7 +34,11 @@
...
@@ -34,7 +34,11 @@
<
/td
>
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal_add_loupan"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
编辑
<
/a
>
[
%
if
(
check_auth
(
'office_index/houseDictionaryEdit'
)){
%
]
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal_add_loupan"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
编辑
<
/a
>
[
%
}
%
]
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
...
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