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
77fc0fb5
Commit
77fc0fb5
authored
Nov 07, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺 列表修改
parent
6cdec7b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
7 deletions
+24
-7
shopList.vue
public/appnew/src/components/shop/shopList.vue
+24
-7
No files found.
public/appnew/src/components/shop/shopList.vue
View file @
77fc0fb5
...
...
@@ -129,8 +129,8 @@
icon_down02
,
icon_down
,
ajaxDisc
:
''
,
ajaxBusiness
:
''
,
ajaxYeTai
:
''
,
ajaxBusiness
:
0
,
ajaxYeTai
:
'
全部
'
,
ajax_shop_area_start
:
''
,
ajax_shop_area_end
:
''
,
ajax_rent_price_start
:
''
,
...
...
@@ -199,7 +199,7 @@
if
(
!
(
_this
.
ajaxBusiness
==
0
)){
_data
.
business_id
=
_this
.
ajaxBusiness
;
};
if
(
_this
.
ajaxYeTai
){
if
(
!
(
_this
.
ajaxYeTai
==
'全部'
)
){
_data
.
industry_type
=
_this
.
ajaxYeTai
;
};
if
(
_this
.
ajaxShopSign
){
...
...
@@ -216,7 +216,6 @@
_this
.
mainData
[
_index
].
isLoadOnce
=
true
;
if
(
response
.
data
.
code
==
200
)
{
let
_list
=
response
.
data
.
data
;
console
.
log
(
_list
);
if
(
Array
.
isArray
(
_list
)){
if
(
_list
.
length
===
0
)
{
_this
.
mainData
[
_index
].
page
===
1
&&
(
_this
.
mainData
[
_index
].
noDataFlag
=
true
);
...
...
@@ -288,7 +287,11 @@
let
_this
=
this
;
_this
.
initTabNumYeTai
=
index
;
_this
.
ajaxYeTai
=
yetai
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
yetai
;
if
(
_this
.
ajaxYeTai
==
'全部'
){
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
'业态'
;
}
else
{
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
yetai
;
};
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
isShow
=
false
;
_this
.
resetConditions
();
_this
.
getList
();
...
...
@@ -296,12 +299,13 @@
},
tabArea
(
index
,
area
){
let
_this
=
this
;
_this
.
initTabNumArea
=
index
;
_this
.
initTabNumArea
=
index
;
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
area
.
join
(
'-'
);
if
(
area
[
0
]
!=
'全部'
){
var
parseIntStart
=
parseInt
(
area
[
0
]);
}
if
(
area
[
0
]
==
'全部'
){
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
'面积'
;
_this
.
ajax_shop_area_start
=
''
;
_this
.
ajax_shop_area_end
=
''
;
}
else
if
((
area
.
length
==
1
)
&&
(
area
[
0
]
!=
'全部'
)){
...
...
@@ -330,7 +334,14 @@
tabAreaBusiness
(
index
,
business
,
businessStr
){
let
_this
=
this
;
_this
.
initTabNumBusiness
=
index
;
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
businessStr
;
if
(
business
==
0
&&
((
'全'
+
_this
.
initSelectCity
)
==
_this
.
ajaxDisc
)
||
_this
.
ajaxDisc
==
''
){
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
'区域'
;
}
else
if
(
business
!=
0
){
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
businessStr
;
}
else
{
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
title
=
_this
.
ajaxDisc
;
}
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
isShow
=
false
;
_this
.
ajaxBusiness
=
business
;
_this
.
resetConditions
();
...
...
@@ -363,6 +374,12 @@
},
tabShopSign
(
item
){
let
_this
=
this
;
if
((
_this
.
arrShop
.
length
>=
1
)
&&
(
_this
.
arrShop
[
0
]
==
'全部'
)){
_this
.
arrShop
.
splice
(
0
,
1
);
}
if
(
item
==
'全部'
){
_this
.
arrShop
=
[];
}
var
_shopIndex
=
_this
.
arrShop
.
indexOf
(
item
);
if
(
_shopIndex
>
-
1
){
_this
.
arrShop
.
splice
(
_shopIndex
,
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