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
fa673bb3
Commit
fa673bb3
authored
Nov 07, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表 上一页 下一页 加站点
parent
a5006db0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
14 deletions
+52
-14
shopList.vue
public/appnew/src/components/shop/shopList.vue
+51
-7
user.js
public/resource/js/user.js
+1
-7
No files found.
public/appnew/src/components/shop/shopList.vue
View file @
fa673bb3
...
...
@@ -66,12 +66,12 @@
<div
v-show=
"index == 3"
>
<div
class=
"mark-shop-choose-ul mark-shop-choose-ul-padding"
>
<p
class=
"rent-choose"
>
租金(单选)
</p>
<span
v-for=
"(item6, index6) in mainDataChooseLi.money"
class=
"li-choose-span li-choose-span-rent"
:class=
"
{active:index6 === initTabNumRent}" @click="tabRent(index6)">
{{
item6
.
value
}}
</span>
<span
v-for=
"(item6, index6) in mainDataChooseLi.money"
class=
"li-choose-span li-choose-span-rent"
:class=
"
{active:index6 === initTabNumRent}" @click="tabRent(index6
,item6.value.split('-')
)">
{{
item6
.
value
}}
</span>
<p
class=
"lable-choose"
>
特色标签(多选)
</p>
<span
v-for=
"(item3, index3) in mainDataChooseLi.more"
class=
"li-choose-span li-choose-span-sign"
:class=
"
{active:arrShop.indexOf(item3) > -1}" @click="tabShopSign(item3)">
{{
item3
}}
</span>
<div
class=
"more-button"
>
<span
class=
"clear-btn"
>
清空
</span>
<span
class=
"save-btn"
>
保存
</span>
<span
class=
"clear-btn"
@
click=
"delMore()"
>
清空
</span>
<span
class=
"save-btn"
@
click=
"saveMore()"
>
保存
</span>
</div>
</div>
...
...
@@ -131,9 +131,11 @@
ajaxDisc
:
''
,
ajaxBusiness
:
''
,
ajaxYeTai
:
''
,
ajaxArea
:
''
,
ajax_shop_area_start
:
''
,
ajax_shop_area_end
:
''
,
ajax_rent_price_start
:
''
,
ajax_rent_price_end
:
''
,
ajaxShopSign
:
''
,
arrShop
:
[
'全部'
],
mainDataChoose
:[{
'title'
:
'区域'
,
...
...
@@ -185,6 +187,12 @@
if
(
_this
.
ajax_shop_area_end
){
_data
.
shop_area_end
=
_this
.
ajax_shop_area_end
;
};
if
(
_this
.
ajax_rent_price_start
){
_data
.
rent_price_start
=
_this
.
ajax_rent_price_start
;
};
if
(
_this
.
ajax_rent_price_end
){
_data
.
rent_price_end
=
_this
.
ajax_rent_price_end
;
};
if
(
_this
.
ajaxDisc
){
_data
.
disc
=
_this
.
ajaxDisc
;
};
...
...
@@ -194,6 +202,9 @@
if
(
_this
.
ajaxYeTai
){
_data
.
industry_type
=
_this
.
ajaxYeTai
;
};
if
(
_this
.
ajaxShopSign
){
_data
.
shop_sign
=
_this
.
ajaxShopSign
;
};
_this
.
axios
({
method
:
'get'
,
...
...
@@ -285,7 +296,6 @@
tabArea
(
index
,
area
){
let
_this
=
this
;
_this
.
initTabNumArea
=
index
;
_this
.
ajaxArea
=
area
;
if
(
area
[
0
]
!=
'全部'
){
var
parseIntStart
=
parseInt
(
area
[
0
]);
}
...
...
@@ -324,9 +334,29 @@
_this
.
getList
();
},
tabRent
(
index
){
tabRent
(
index
,
rent
){
let
_this
=
this
;
_this
.
initTabNumRent
=
index
;
if
(
rent
[
0
]
!=
'全部'
){
var
parseIntStart
=
parseInt
(
rent
[
0
]);
}
if
(
rent
[
0
]
==
'全部'
){
_this
.
ajax_rent_price_start
=
''
;
_this
.
ajax_rent_price_end
=
''
;
}
else
if
((
rent
.
length
==
1
)
&&
(
rent
[
0
]
!=
'全部'
)){
if
(
parseIntStart
>
1
){
_this
.
ajax_rent_price_start
=
parseIntStart
*
10000
;
_this
.
ajax_rent_price_end
=
''
;
}
else
{
_this
.
ajax_rent_price_start
=
'0'
;
_this
.
ajax_rent_price_end
=
parseIntStart
*
10000
;
};
}
else
{
var
parseIntEnd
=
parseInt
(
rent
[
1
]);
_this
.
ajax_rent_price_start
=
parseIntStart
*
10000
;
_this
.
ajax_rent_price_end
=
parseIntEnd
*
10000
;
}
},
tabShopSign
(
item
){
let
_this
=
this
;
...
...
@@ -335,7 +365,21 @@
_this
.
arrShop
.
splice
(
_shopIndex
,
1
);
}
else
{
_this
.
arrShop
.
push
(
item
);
}
};
_this
.
ajaxShopSign
=
_this
.
arrShop
.
join
(
','
);
},
delMore
(){
let
_this
=
this
;
_this
.
initTabNumRent
=
0
;
_this
.
ajax_rent_price_start
=
''
;
_this
.
ajax_rent_price_end
=
''
;
_this
.
arrShop
=
[
'全部'
];
},
saveMore
(){
let
_this
=
this
;
_this
.
mainDataChoose
[
_this
.
initTabNumMainChoose
].
isShow
=
false
;
_this
.
resetConditions
();
_this
.
getList
();
},
tabLable
(
index
){
let
_this
=
this
;
...
...
public/resource/js/user.js
View file @
fa673bb3
...
...
@@ -2068,17 +2068,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
params
.
industry_type
=
$
.
trim
(
$
(
"select[name=industry_type]"
).
val
());
params
.
first_login_start
=
$
.
trim
(
$
(
"#first_login_start"
).
val
());
params
.
first_login_end
=
$
.
trim
(
$
(
"#first_login_end"
).
val
());
if
(
$
(
'#user_city_choose'
).
val
()
==
310100
){
//城市
// params.city = '上海市' ;
}
if
(
$
(
'#user_city_choose'
).
val
()
==
330100
){
// params.city = '杭州市' ;
}
// params.disc = $.trim($("#user_area_choose").val());//区域
params
.
user_id
=
user
.
user_id
;
params
.
agent_id
=
user_info_obj
.
id
;
params
.
type
=
user_type
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
site_id
=
$
(
'.user_city_choose_site_list'
).
val
();
checkLogin
();
$
.
ajax
({
url
:
'/broker/getLastOrNextUserID'
,
...
...
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