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
c58533ca
Commit
c58533ca
authored
Jul 13, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户修改
parent
959a45e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
8 deletions
+35
-8
users_list.html
application/index/view/member/users_list.html
+4
-4
user.js
public/resource/js/user.js
+31
-4
No files found.
application/index/view/member/users_list.html
View file @
c58533ca
...
...
@@ -423,14 +423,14 @@
<label
for=
"inputEmail3"
class=
"col-sm-3 control-label"
>
姓名:
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"user_name"
id=
"inputEmail3"
placeholder=
"请输入姓名"
>
<
span
class=
"use-span text-danger"
>
(必填)
</span
>
<
!--<span class="use-span text-danger">(必填)</span>--
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-3 control-label"
>
性别:
</label>
<div
class=
"col-sm-9"
>
<select
class=
"form-control btn6"
id=
"user_sex"
>
<option
value=
"
0
"
class=
"successModel"
>
请选择
</option>
<option
value=
""
class=
"successModel"
>
请选择
</option>
<option
value=
"1"
>
男
</option>
<option
value=
"2"
>
女
</option>
</select>
...
...
@@ -440,7 +440,7 @@
<label
class=
"col-sm-3 control-label"
>
电话:
</label>
<div
class=
"col-sm-9"
>
<input
type=
"number"
class=
"form-control btn6"
name=
"user_phone"
autocomplete=
"off"
id=
"set_father_id2"
>
<
span
class=
"use-span text-danger"
>
(必填)
</span
>
<
!--<span class="use-span text-danger">(必填)</span>--
>
</div>
</div>
<div
class=
"form-group"
>
...
...
@@ -449,7 +449,7 @@
<div
class=
"col-sm-9"
>
<select
class=
"form-control btn6"
id=
"industry_type2"
>
<option
value=
"
0
"
>
业态选择
</option>
<option
value=
""
>
业态选择
</option>
<option>
轻餐饮
</option>
<option>
重餐饮
</option>
<option>
百货零售
</option>
...
...
public/resource/js/user.js
View file @
c58533ca
...
...
@@ -720,7 +720,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
params
.
user_name
=
$
(
"#add_user_form input[name='user_name']"
).
val
();
params
.
user_phone
=
$
(
"#add_user_form input[name='user_phone']"
).
val
();
params
.
agents_id
=
user
.
agent_id
;
//客方
params
.
sex
=
$
(
"#user_sex
option:selected
"
).
val
();
params
.
sex
=
$
(
"#user_sex"
).
val
();
params
.
price_demand
=
$
(
"#price_type2"
).
val
();
params
.
area_demand
=
$
(
"#area_type2"
).
val
();
params
.
industry_type
=
$
(
"#industry_type2"
).
val
();
...
...
@@ -731,9 +731,9 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
"input[name='user_name']"
).
focus
();
return
;
}
if
(
params
.
vip
==
''
)
{
alert
(
'请选择
vip
'
);
$
(
"#user_
vip
"
).
focus
();
if
(
params
.
sex
==
''
)
{
alert
(
'请选择
性别
'
);
$
(
"#user_
sex
"
).
focus
();
return
;
}
if
(
params
.
user_phone
==
''
)
{
...
...
@@ -751,6 +751,33 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
"input[name='user_phone']"
).
focus
();
return
;
}
if
(
params
.
industry_type
==
''
)
{
alert
(
'请选择业态'
);
$
(
"#industry_type2"
).
focus
();
return
;
}
if
(
params
.
price_demand
==
''
)
{
alert
(
'请选择价格'
);
$
(
"#price_type2"
).
focus
();
return
;
}
if
(
params
.
area_demand
==
''
)
{
alert
(
'请选择面积'
);
$
(
"#area_type2"
).
focus
();
return
;
}
if
(
$
(
'#set_father_id3'
).
val
()
==
''
)
{
alert
(
'请选择客方'
);
$
(
"#set_father_id3"
).
focus
();
return
;
}
if
(
params
.
vip
==
''
)
{
alert
(
'请选择vip'
);
$
(
"#user_vip"
).
focus
();
return
;
}
$
.
ajax
({
url
:
'/index/pcEditClient'
,
...
...
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