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
673a2de1
Commit
673a2de1
authored
Aug 08, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
city
parent
b36bd158
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
14 deletions
+15
-14
myCollectionOfficeList.js
public/resource/js/myCollectionOfficeList.js
+4
-3
myCollectionShopList.js
public/resource/js/myCollectionShopList.js
+5
-5
myCollectionUserList.js
public/resource/js/myCollectionUserList.js
+5
-5
my_collection_user_template_tpl.html
...ic/resource/template/my_collection_user_template_tpl.html
+1
-1
No files found.
public/resource/js/myCollectionOfficeList.js
View file @
673a2de1
...
@@ -221,7 +221,8 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho
...
@@ -221,7 +221,8 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho
params
.
pageNo
=
house
.
pageNo
;
params
.
pageNo
=
house
.
pageNo
;
params
.
pageSize
=
house
.
pageSize
;
params
.
pageSize
=
house
.
pageSize
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
agents_id
=
$
(
'#user_city'
).
val
();
params
.
agents_id
=
user_info_obj
.
id
;
params
.
city
=
$
(
'#user_city'
).
val
();
params
.
from
=
1
;
params
.
from
=
1
;
$
.
ajax
({
$
.
ajax
({
...
@@ -274,11 +275,11 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho
...
@@ -274,11 +275,11 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho
//获取转勤账号
//获取转勤账号
var
_str
=
''
;
var
_str
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
city
+
'</option>'
;
_str
+=
'<option value="'
+
item
.
city
+
'">'
+
item
.
city
+
'</option>'
;
});
});
$
(
'#user_city'
).
html
(
_str
);
$
(
'#user_city'
).
html
(
_str
);
//默认显示本账号所在城市
//默认显示本账号所在城市
$
(
'#user_city'
).
val
(
user_info_obj
.
id
);
$
(
'#user_city'
).
val
(
user_info_obj
.
city
);
house
.
getList
(
1
);
//搜索列表
house
.
getList
(
1
);
//搜索列表
}
else
{
}
else
{
...
...
public/resource/js/myCollectionShopList.js
View file @
673a2de1
...
@@ -222,8 +222,9 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
...
@@ -222,8 +222,9 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
params
.
pageNo
=
house
.
pageNo
;
params
.
pageNo
=
house
.
pageNo
;
params
.
pageSize
=
house
.
pageSize
;
params
.
pageSize
=
house
.
pageSize
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
// params.agents_id = user_info_obj.id;
params
.
agents_id
=
user_info_obj
.
id
;
params
.
agents_id
=
$
(
'#user_city'
).
val
();
//城市筛选
params
.
city
=
$
(
'#user_city'
).
val
();
// params.agents_id = $('#user_city').val();//城市筛选
params
.
from
=
1
;
params
.
from
=
1
;
...
@@ -277,12 +278,11 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
...
@@ -277,12 +278,11 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
//获取转勤账号
//获取转勤账号
var
_str
=
''
;
var
_str
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
city
+
'</option>'
;
_str
+=
'<option value="'
+
item
.
city
+
'">'
+
item
.
city
+
'</option>'
;
});
});
$
(
'#user_city'
).
html
(
_str
);
$
(
'#user_city'
).
html
(
_str
);
//默认显示本账号所在城市
//默认显示本账号所在城市
$
(
'#user_city'
).
val
(
user_info_obj
.
id
);
$
(
'#user_city'
).
val
(
user_info_obj
.
city
);
house
.
getList
(
1
);
//搜索列表
house
.
getList
(
1
);
//搜索列表
}
else
{
}
else
{
alert
(
data
[
'msg'
]);
alert
(
data
[
'msg'
]);
...
...
public/resource/js/myCollectionUserList.js
View file @
673a2de1
...
@@ -1529,8 +1529,8 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
...
@@ -1529,8 +1529,8 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
//商铺 办公楼
//商铺 办公楼
params
.
entrust_type
=
user
.
entrust_type_list
;
params
.
entrust_type
=
user
.
entrust_type_list
;
//
params.agents_id = user_info_obj.id;
params
.
agents_id
=
user_info_obj
.
id
;
params
.
agents
_id
=
$
(
'#user_city'
).
val
();
params
.
site
_id
=
$
(
'#user_city'
).
val
();
params
.
pageNo
=
user
.
pageNo
;
params
.
pageNo
=
user
.
pageNo
;
params
.
pageSize
=
user
.
pageSize
;
params
.
pageSize
=
user
.
pageSize
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
...
@@ -1577,13 +1577,13 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
...
@@ -1577,13 +1577,13 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
//获取转勤账号
//获取转勤账号
var
_str
=
''
;
var
_str
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
city
+
'</option>'
;
_str
+=
'<option value="'
+
item
.
site_
id
+
'">'
+
item
.
city
+
'</option>'
;
});
});
$
(
'#user_city'
).
html
(
_str
);
$
(
'#user_city'
).
html
(
_str
);
//默认显示本账号所在城市
//默认显示本账号所在城市
$
(
'#user_city'
).
val
(
user_info_obj
.
id
);
$
(
'#user_city'
).
val
(
user_info_obj
.
site_
id
);
house
.
getList
(
1
);
//搜索列表
user
.
getList
(
1
);
//搜索列表
}
else
{
}
else
{
alert
(
data
[
'msg'
]);
alert
(
data
[
'msg'
]);
};
};
...
...
public/resource/template/my_collection_user_template_tpl.html
View file @
673a2de1
<script
id=
"my_collection_user_list_tpl"
type=
"text/template"
>
<script
id=
"my_collection_user_list_tpl"
type=
"text/template"
>
[
%
var
delName
=
function
(
s
){
delete
s
.
user_name
;
delete
s
.
user_nick
;
return
s
};
%
]
[
%
var
delName
=
function
(
s
){
delete
s
.
user_name
;
delete
s
.
user_nick
;
return
s
};
%
]
[
%
if
(
it
)
{
%
]
[
%
if
(
it
&&
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
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