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
778bf062
Commit
778bf062
authored
Aug 08, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
cf74d939
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
16 deletions
+15
-16
myCollectionOfficeList.js
public/resource/js/myCollectionOfficeList.js
+4
-4
myCollectionShopList.js
public/resource/js/myCollectionShopList.js
+5
-6
myCollectionUserList.js
public/resource/js/myCollectionUserList.js
+5
-5
receivingLog.js
public/resource/js/receivingLog.js
+1
-1
No files found.
public/resource/js/myCollectionOfficeList.js
View file @
778bf062
...
@@ -221,8 +221,8 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho
...
@@ -221,8 +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_info_obj
.
id
;
params
.
agents_id
=
$
(
'#user_city'
).
val
()
;
params
.
city
=
$
(
'#user_city'
).
val
();
//
params.city = $('#user_city').val();
params
.
from
=
1
;
params
.
from
=
1
;
$
.
ajax
({
$
.
ajax
({
...
@@ -275,11 +275,11 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho
...
@@ -275,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
.
city
+
'">'
+
item
.
city
+
'</option>'
;
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
city
+
'</option>'
;
});
});
$
(
'#user_city'
).
html
(
_str
);
$
(
'#user_city'
).
html
(
_str
);
//默认显示本账号所在城市
//默认显示本账号所在城市
$
(
'#user_city'
).
val
(
user_info_obj
.
city
);
$
(
'#user_city'
).
val
(
user_info_obj
.
id
);
house
.
getList
(
1
);
//搜索列表
house
.
getList
(
1
);
//搜索列表
}
else
{
}
else
{
...
...
public/resource/js/myCollectionShopList.js
View file @
778bf062
...
@@ -222,9 +222,8 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
...
@@ -222,9 +222,8 @@ 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.city = $('#user_city').val();
params
.
city
=
$
(
'#user_city'
).
val
();
params
.
agents_id
=
$
(
'#user_city'
).
val
();
//城市筛选
// params.agents_id = $('#user_city').val();//城市筛选
params
.
from
=
1
;
params
.
from
=
1
;
...
@@ -264,7 +263,7 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
...
@@ -264,7 +263,7 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
params
=
{};
var
params
=
{};
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
agent_phone
=
15601652311
;
params
.
agent_phone
=
user_info_obj
.
phone
;
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/broker/getAgentSiteList'
,
//商铺跟进 对接接口
url
:
'/broker/getAgentSiteList'
,
//商铺跟进 对接接口
...
@@ -278,11 +277,11 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
...
@@ -278,11 +277,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
.
city
+
'">'
+
item
.
city
+
'</option>'
;
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
city
+
'</option>'
;
});
});
$
(
'#user_city'
).
html
(
_str
);
$
(
'#user_city'
).
html
(
_str
);
//默认显示本账号所在城市
//默认显示本账号所在城市
$
(
'#user_city'
).
val
(
user_info_obj
.
city
);
$
(
'#user_city'
).
val
(
user_info_obj
.
id
);
house
.
getList
(
1
);
//搜索列表
house
.
getList
(
1
);
//搜索列表
}
else
{
}
else
{
alert
(
data
[
'msg'
]);
alert
(
data
[
'msg'
]);
...
...
public/resource/js/myCollectionUserList.js
View file @
778bf062
...
@@ -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_city'
).
val
()
;
params
.
site_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
;
...
@@ -1563,7 +1563,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
...
@@ -1563,7 +1563,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
params
=
{};
var
params
=
{};
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
agent_phone
=
15601652311
;
params
.
agent_phone
=
user_info_obj
.
phone
;
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/broker/getAgentSiteList'
,
//商铺跟进 对接接口
url
:
'/broker/getAgentSiteList'
,
//商铺跟进 对接接口
...
@@ -1577,11 +1577,11 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
...
@@ -1577,11 +1577,11 @@ 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
.
site_
id
+
'">'
+
item
.
city
+
'</option>'
;
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
city
+
'</option>'
;
});
});
$
(
'#user_city'
).
html
(
_str
);
$
(
'#user_city'
).
html
(
_str
);
//默认显示本账号所在城市
//默认显示本账号所在城市
$
(
'#user_city'
).
val
(
user_info_obj
.
site_
id
);
$
(
'#user_city'
).
val
(
user_info_obj
.
id
);
user
.
getList
(
1
);
//搜索列表
user
.
getList
(
1
);
//搜索列表
}
else
{
}
else
{
...
...
public/resource/js/receivingLog.js
View file @
778bf062
...
@@ -27,7 +27,7 @@ define(['doT', 'text!temp/receiving_log_template_tpl.html', 'css!style/home.css'
...
@@ -27,7 +27,7 @@ define(['doT', 'text!temp/receiving_log_template_tpl.html', 'css!style/home.css'
params
.
pageSize
=
bargain
.
pageSize
;
params
.
pageSize
=
bargain
.
pageSize
;
params
.
start_date
=
$
(
'#create_time'
)
.
val
();
params
.
start_date
=
$
(
'#create_time'
)
.
val
();
params
.
end_date
=
$
(
'#end_time'
)
.
val
();
params
.
end_date
=
$
(
'#end_time'
)
.
val
();
params
.
pay_log
_id
=
$
(
'#house_id'
)
.
val
();
params
.
house
_id
=
$
(
'#house_id'
)
.
val
();
$
.
ajax
({
$
.
ajax
({
url
:
'/index/receiptOperatingRecordsList'
,
//获取列表
url
:
'/index/receiptOperatingRecordsList'
,
//获取列表
type
:
'POST'
,
type
:
'POST'
,
...
...
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