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
9e318ebc
Commit
9e318ebc
authored
Sep 18, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表优化
parent
6d68ef18
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
houseList.js
public/resource/js/houseList.js
+6
-13
No files found.
public/resource/js/houseList.js
View file @
9e318ebc
...
@@ -1123,9 +1123,7 @@ if(data.code == 200) {
...
@@ -1123,9 +1123,7 @@ if(data.code == 200) {
}
}
});
});
},
},
//==============批量修改客方===========
getList
:
function
(
pageNo
,
type
)
{
//商铺列表 搜索
getList
:
function
(
pageNo
,
type
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
business
.
pageNo
=
pageNo
;
business
.
pageNo
=
pageNo
;
var
params
=
{};
var
params
=
{};
...
@@ -1146,7 +1144,6 @@ if(data.code == 200) {
...
@@ -1146,7 +1144,6 @@ if(data.code == 200) {
params
.
internal_title
=
$
(
'#internal_title'
).
val
();
//对内商铺名称
params
.
internal_title
=
$
(
'#internal_title'
).
val
();
//对内商铺名称
params
.
external_title
=
$
(
'#internal_title_open'
).
val
();
//对外商铺名称
params
.
external_title
=
$
(
'#internal_title_open'
).
val
();
//对外商铺名称
params
.
area
=
$
(
'#area_id'
).
val
();
//面积筛选
params
.
area
=
$
(
'#area_id'
).
val
();
//面积筛选
//添加个人商铺和所有商铺选择功能
//添加个人商铺和所有商铺选择功能
params
.
dish_id
=
business
.
all_shop
?
''
:
user_info_obj
.
id
;
params
.
dish_id
=
business
.
all_shop
?
''
:
user_info_obj
.
id
;
...
@@ -1165,11 +1162,7 @@ if(data.code == 200) {
...
@@ -1165,11 +1162,7 @@ if(data.code == 200) {
params
.
end_date
=
$
(
'#end_date'
).
val
();
//时间2
params
.
end_date
=
$
(
'#end_date'
).
val
();
//时间2
params
.
dish_district_id
=
$
(
'#district_id_panfang'
).
val
();
//盘方 部门 id
params
.
dish_district_id
=
$
(
'#district_id_panfang'
).
val
();
//盘方 部门 id
params
.
dish_store_id
=
$
(
'#guest_stores_panfang'
).
val
();
//盘方 门店 id
params
.
dish_store_id
=
$
(
'#guest_stores_panfang'
).
val
();
//盘方 门店 id
params
.
dish_name
=
$
(
'#dish_name'
).
val
();
//盘方姓名 下拉式
params
.
dish_name
=
business
.
agent_id_choose
;
//盘方姓名 下拉式
$
.
ajax
({
$
.
ajax
({
url
:
'/index/getHouseList.html'
,
//获取列表
url
:
'/index/getHouseList.html'
,
//获取列表
type
:
'GET'
,
type
:
'GET'
,
...
@@ -1317,16 +1310,16 @@ if(data.code == 200) {
...
@@ -1317,16 +1310,16 @@ if(data.code == 200) {
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
{
data
:
{
"type"
:
1
,
"type"
:
2
,
"agent_
id
"
:
$
(
'#dish_name'
).
val
()
"agent_
name
"
:
$
(
'#dish_name'
).
val
()
},
},
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
user_ul
=
""
;
var
user_ul
=
""
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
$
.
each
(
data
.
data
.
data
,
function
(
i
,
item
)
{
user_ul
+=
'<li class="addphone-agent" data-id="'
+
item
.
id
+
'">'
+
item
.
id
+
'-'
+
item
.
name
+
'-'
+
item
.
phone
+
'</li>'
;
user_ul
+=
'<li class="addphone-agent" data-id="'
+
item
.
name
+
'">'
+
item
.
id
+
'-'
+
item
.
name
+
'-'
+
item
.
phone
+
'</li>'
;
});
});
$
(
".user-ul-agent"
).
html
(
user_ul
);
$
(
".user-ul-agent"
).
html
(
user_ul
);
...
...
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