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
6da7caae
Commit
6da7caae
authored
Aug 22, 2018
by
xinyuandu
Committed by
hujun
Aug 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表,本人客户
parent
25a12e74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
users_list.html
application/index/view/member/users_list.html
+2
-1
user.js
public/resource/js/user.js
+16
-0
No files found.
application/index/view/member/users_list.html
View file @
6da7caae
...
...
@@ -477,7 +477,8 @@
<a
href=
"#modal_modify_user"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
><i
class=
"icon-plus"
></i>
批量修改客方
</a>
<!-- 本人商铺 -->
<!--<span class="btn btn-info btn3 ld-Marheight" id="persional_custom">本人客户</span>-->
<!-- <span class="btn btn-info btn3 margin-top-ld" id="modify">批量修改客方</span> -->
</form>
...
...
public/resource/js/user.js
View file @
6da7caae
...
...
@@ -39,6 +39,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
baohu
:
''
,
agentbaohu
:
''
,
customerInfo
:
{},
all_custom
:
true
,
// true :所有客户 ,false :当前客户
init
:
function
()
{
//初始化dot
$
(
"body"
).
append
(
template
);
...
...
@@ -316,6 +317,17 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
'#guest_stores'
).
html
(
''
);
$
(
'#guest_stores2'
).
html
(
''
);
});
$
(
'#persional_custom'
).
unbind
(
'click'
).
bind
(
'click'
,
function
(){
if
(
user
.
all_custom
){
$
(
'#persional_custom'
).
html
(
"个人客户"
);
}
else
{
$
(
'#persional_custom'
).
html
(
"所有客户"
);
}
user
.
all_custom
=
!
user
.
all_custom
;
user
.
getList
(
1
);
});
//新增 客户 重置信息
$
(
"#close"
).
click
(
function
()
{
document
.
getElementById
(
"add_user_form"
).
reset
();
...
...
@@ -1468,6 +1480,10 @@ 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
());
//添加个人商铺和所有商铺选择功能
/*params.userinfo = this.all_custom ? '' : JSON.parse(decodeURIComponent(localStorage.getItem('userinfo'))).id ;*/
if
(
$
(
'#user_city_choose'
).
val
()
==
310100
){
//城市
params
.
city
=
'上海市'
;
}
...
...
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