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
d12ac872
Commit
d12ac872
authored
Jul 12, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户修改
parent
30a12c28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
users_list.html
application/index/view/member/users_list.html
+1
-1
user.js
public/resource/js/user.js
+7
-2
No files found.
application/index/view/member/users_list.html
View file @
d12ac872
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<ul
class=
"bread_btn"
>
<li>
<li>
<a
href=
"#modal_add_user"
data-toggle=
"modal"
class=
"btn btn-default add_alert"
><i
class=
"icon-plus"
></i>
新增客户
<a
href=
"#modal_add_user"
data-toggle=
"modal"
class=
"btn btn-default add_alert
add-user-new
"
><i
class=
"icon-plus"
></i>
新增客户
</a>
</a>
</li>
</li>
</ul>
</ul>
...
...
public/resource/js/user.js
View file @
d12ac872
...
@@ -118,12 +118,16 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -118,12 +118,16 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
document
.
getElementById
(
"add_user_form"
).
reset
();
document
.
getElementById
(
"add_user_form"
).
reset
();
});
});
//
===========================新增客户====================
//
新增客户
$
(
document
).
delegate
(
"#add_user"
,
"click"
,
function
()
{
//新增客户
$
(
document
).
delegate
(
"#add_user"
,
"click"
,
function
()
{
//新增客户
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
add_user
();
user
.
add_user
();
});
});
//点击新增客户 清除id
$
(
document
).
delegate
(
".add-user-new"
,
"click"
,
function
()
{
//新增客户
user
.
agent_id2
=
''
;
});
// 跟进的提交按钮 点击
// 跟进的提交按钮 点击
$
(
document
).
delegate
(
"#edit_add"
,
"click"
,
function
(
e
)
{
$
(
document
).
delegate
(
"#edit_add"
,
"click"
,
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
...
@@ -142,6 +146,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
...
@@ -142,6 +146,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
});
});
$
(
document
).
on
(
"input"
,
"#set_father_id3"
,
function
()
{
//手机号搜索客方
$
(
document
).
on
(
"input"
,
"#set_father_id3"
,
function
()
{
//手机号搜索客方
if
(
$
(
"#set_father_id3"
).
val
()
==
''
)
{
if
(
$
(
"#set_father_id3"
).
val
()
==
''
)
{
user
.
agent_id2
=
''
;
$
(
".user-ul"
).
html
(
''
);
$
(
".user-ul"
).
html
(
''
);
}
else
{
}
else
{
user
.
search_phone
();
user
.
search_phone
();
...
...
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