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
d487fd2c
Commit
d487fd2c
authored
Jun 10, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
51e52250
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
22 deletions
+40
-22
buildingDictionary.html
...ication/index/view/officeBuilding/buildingDictionary.html
+2
-2
buildingDictionary.js
public/resource/js/buildingDictionary.js
+20
-2
officeBuildingList.js
public/resource/js/officeBuildingList.js
+2
-2
building_dictionary_list_template_tpl.html
...ource/template/building_dictionary_list_template_tpl.html
+5
-5
office_building_list_template_tpl.html
.../resource/template/office_building_list_template_tpl.html
+11
-11
No files found.
application/index/view/officeBuilding/buildingDictionary.html
View file @
d487fd2c
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
<!-- /#新增编辑楼盘字典模态框 -->
<!-- /#新增编辑楼盘字典模态框 -->
<div
class=
"modal fade"
id=
"modal_add_loupan"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal_add_loupan"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
style=
"width: 960px;
"
>
<div
class=
"modal-dialog"
style=
"width: 960px;
height:600px;overflow:scroll"
>
<div
class=
"modal-content modal-body-new-user"
>
<div
class=
"modal-content modal-body-new-user"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
...
@@ -486,7 +486,7 @@
...
@@ -486,7 +486,7 @@
</form>
</form>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
id=
"close"
>
关闭
<button
type=
"button"
class=
"btn btn-default"
id=
"close"
data-dismiss=
"modal"
>
关闭
</button>
</button>
<button
type=
"button"
class=
"btn btn-primary btn-guanbi"
id=
"saveBtn"
>
<button
type=
"button"
class=
"btn btn-primary btn-guanbi"
id=
"saveBtn"
>
提交
提交
...
...
public/resource/js/buildingDictionary.js
View file @
d487fd2c
...
@@ -526,7 +526,7 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
...
@@ -526,7 +526,7 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
e
.
stopPropagation
();
e
.
stopPropagation
();
if
(
confirm
(
'确认删除吗?'
)){
if
(
confirm
(
'确认删除吗?'
)){
_this
.
parent
().
remove
();
_this
.
parent
().
remove
();
that
.
spandelList
(
_this
.
prev
().
attr
(
'data-imgid'
));
business
.
spandelList
(
_this
.
prev
().
attr
(
'data-imgid'
));
};
};
});
});
//新增楼盘
//新增楼盘
...
@@ -632,7 +632,7 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
...
@@ -632,7 +632,7 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
params
.
type
=
$
(
'#shop_type'
).
val
();
params
.
type
=
$
(
'#shop_type'
).
val
();
}
}
if
(
$
(
'.shop_city_choose_site_list'
).
val
()){
if
(
$
(
'.shop_city_choose_site_list'
).
val
()){
params
.
city
=
$
(
'
#
shop_city_choose_site_list'
).
val
();
params
.
city
=
$
(
'
.
shop_city_choose_site_list'
).
val
();
}
}
if
(
$
(
'#shop_area_id'
).
val
()){
if
(
$
(
'#shop_area_id'
).
val
()){
params
.
disc
=
$
(
'#shop_area_id'
).
val
();
params
.
disc
=
$
(
'#shop_area_id'
).
val
();
...
@@ -801,6 +801,24 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
...
@@ -801,6 +801,24 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
}
}
}
}
});
});
},
//删除 编辑的图片
spandelList
:
function
(
id
)
{
$
.
ajax
({
url
:
'/office_index/delBuildingFile'
,
type
:
'POST'
,
async
:
true
,
data
:
{
'AuthToken'
:
user_info_obj
.
AuthToken
,
'id'
:
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
}
}
});
},
},
//城市 区域 筛选
//城市 区域 筛选
getDistrictStoreList
:
function
(
id
,
fn
)
{
getDistrictStoreList
:
function
(
id
,
fn
)
{
...
...
public/resource/js/officeBuildingList.js
View file @
d487fd2c
...
@@ -581,7 +581,7 @@ define(['doT', 'text!temp/office_building_list_template_tpl.html', 'css!style/ho
...
@@ -581,7 +581,7 @@ define(['doT', 'text!temp/office_building_list_template_tpl.html', 'css!style/ho
checkLogin
();
checkLogin
();
$
.
ajax
({
//推荐至首页
$
.
ajax
({
//推荐至首页
'type'
:
'POST'
,
'type'
:
'POST'
,
'url'
:
'/index/carefullyChosen'
,
'url'
:
'/
office_
index/carefullyChosen'
,
data
:
{
data
:
{
"houses_id"
:
business
.
id
,
"houses_id"
:
business
.
id
,
"is_carefully_chosen"
:
params
.
type
"is_carefully_chosen"
:
params
.
type
...
@@ -1648,7 +1648,7 @@ if(data.code == 200) {
...
@@ -1648,7 +1648,7 @@ if(data.code == 200) {
},
},
delBusiness
:
function
()
{
delBusiness
:
function
()
{
$
.
ajax
({
$
.
ajax
({
url
:
'/index/houseDel'
,
url
:
'/
office_
index/houseDel'
,
type
:
'POST'
,
type
:
'POST'
,
async
:
true
,
async
:
true
,
data
:
{
data
:
{
...
...
public/resource/template/building_dictionary_list_template_tpl.html
View file @
d487fd2c
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"type"
]
==
1
)
{
%
]
[
%
if
(
it
[
item
][
"type"
]
==
1
)
{
%
]
写字楼
写字楼
[
%
}
else
if
(
it
[
item
][
"
status
"
]
==
2
){
%
]
[
%
}
else
if
(
it
[
item
][
"
type
"
]
==
2
){
%
]
商住两用
商住两用
[
%
}
else
if
(
it
[
item
][
"
status
"
]
==
3
){
%
]
[
%
}
else
if
(
it
[
item
][
"
type
"
]
==
3
){
%
]
园区
园区
[
%
}
else
if
(
it
[
item
][
"
status
"
]
==
4
){
%
]
[
%
}
else
if
(
it
[
item
][
"
type
"
]
==
4
){
%
]
洋房
洋房
[
%
}
else
if
(
it
[
item
][
"
status
"
]
==
5
){
%
]
[
%
}
else
if
(
it
[
item
][
"
type
"
]
==
5
){
%
]
联合办公
联合办公
[
%
}
else
if
(
it
[
item
][
"
status
"
]
==
6
){
%
]
[
%
}
else
if
(
it
[
item
][
"
type
"
]
==
6
){
%
]
厂房
厂房
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
...
...
public/resource/template/office_building_list_template_tpl.html
View file @
d487fd2c
...
@@ -50,10 +50,10 @@
...
@@ -50,10 +50,10 @@
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"
residue_num
"
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
"
is_rent
"
]
==
0
)
{
%
]
已
租
未
租
[
%
}
else
{
%
]
[
%
}
else
{
%
]
求
租
已
租
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
<
td
>
<
td
>
...
@@ -92,8 +92,8 @@
...
@@ -92,8 +92,8 @@
<
a
class
=
"btn1 btn-default btn-default-show-caozuo"
>>>><
/a
>
<
a
class
=
"btn1 btn-default btn-default-show-caozuo"
>>>><
/a
>
[
%
if
(
check_auth
(
'index/houseEdit'
))
{
%
]
<!--
[
%
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
class
=
"btn1 btn-success is_show btn-default-hide-display"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_carefully_chosen"
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
"is_carefully_chosen"
]
==
0
)
{
%
]
推荐至首页
推荐至首页
[
%
}
else
if
(
it
[
item
][
"is_carefully_chosen"
]
==
1
)
{
%
]
[
%
}
else
if
(
it
[
item
][
"is_carefully_chosen"
]
==
1
)
{
%
]
...
@@ -101,8 +101,8 @@
...
@@ -101,8 +101,8 @@
[
%
}
%
]
[
%
}
%
]
<
/a>
--
>
<
/a
>
[
%
}
%
]
<!--
[
%
}
%
]
-->
[
%
if
(
check_auth
(
'index/lockHouse'
))
{
%
]
[
%
if
(
check_auth
(
'index/lockHouse'
))
{
%
]
<!--<
a
class
=
"btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<!--<
a
class
=
"btn1 is_show_lock_plate btn-default-hide-display [%= sw2(it[item]['is_lock']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
...
@@ -119,13 +119,13 @@
...
@@ -119,13 +119,13 @@
<!--<
a
class
=
"btn1 btn-success dujia btn-default-hide-display"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
exclusive
=
'[%= it[item]["auth_edit_exclusive"] %]'
>
是否独家
<
/a
>
<!--<
a
class
=
"btn1 btn-success dujia btn-default-hide-display"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
exclusive
=
'[%= it[item]["auth_edit_exclusive"] %]'
>
是否独家
<
/a
>
-->
[
%
}
%
]
-->
[
%
}
%
]
[
%
if
(
check_auth
(
'index/houseDel'
))
{
%
]
<!--
[
%
if
(
check_auth
(
'index/houseDel'
))
{
%
]
-->
[
%
if
((
it
[
item
][
"status"
]
!=
3
)){
%
]
[
%
if
((
it
[
item
][
"status"
]
!=
3
)){
%
]
<
!--<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal btn-default-hide-display"
>
无效
<
/a
>
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal btn-default-hide-display"
>
无效
<
/a
>
[
%
}
else
{
%
]
[
%
}
else
{
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
class
=
"btn1 btn-default add_applies del_modal btn-default-hide-display"
>
已无效
<
/a
>
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
class
=
"btn1 btn-default add_applies del_modal btn-default-hide-display"
>
已无效
<
/a
>
[
%
}
%
]
-->
[
%
}
%
]
[
%
}
%
]
<!--
[
%
}
%
]
-->
[
%
if
(
check_auth
(
'index/vipHouse'
))
{
%
]
[
%
if
(
check_auth
(
'index/vipHouse'
))
{
%
]
<!--<
a
class
=
"btn1 is_vip_plate btn-default-hide-display [%= sw3(it[item]['is_vip']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<!--<
a
class
=
"btn1 is_vip_plate btn-default-hide-display [%= sw3(it[item]['is_vip']) %]"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
if
(
it
[
item
][
"is_vip"
]
==
1
)
{
%
]
[
%
if
(
it
[
item
][
"is_vip"
]
==
1
)
{
%
]
...
...
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