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
02f79f0e
Commit
02f79f0e
authored
Jun 11, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客方列表
parent
3e7e2f75
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
user.js
public/resource/js/user.js
+5
-5
No files found.
public/resource/js/user.js
View file @
02f79f0e
...
@@ -58,8 +58,8 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
...
@@ -58,8 +58,8 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
});
});
$
(
document
).
delegate
(
".genj_ure"
,
"click"
,
function
()
{
$
(
document
).
delegate
(
".genj_ure"
,
"click"
,
function
()
{
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
$
(
"#genj_text"
).
val
(
''
);
//
$("#genj_text").val('');
$
(
"input[name = 'user_status']:checked"
).
removeAttr
(
"checked"
);
//
$("input[name = 'user_status']:checked").removeAttr("checked");
user
.
getGenjinLabel
();
user
.
getGenjinLabel
();
});
});
...
@@ -239,8 +239,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
...
@@ -239,8 +239,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
var
params
=
{};
var
params
=
{};
params
.
id
=
user
.
user_id
;
params
.
id
=
user
.
user_id
;
params
.
user_name
=
$
(
"#cus_name"
).
val
();
params
.
user_name
=
$
(
"#cus_name"
).
val
();
params
.
user_phone
=
$
(
"#cus_phone"
).
html
();
params
.
agents_id
=
user
.
agent_id2
;
params
.
agent_id
=
user
.
agent_id2
;
params
.
sex
=
$
(
"#sex"
).
val
();
params
.
sex
=
$
(
"#sex"
).
val
();
params
.
industry_type
=
$
(
"select[name=industry_type_two]"
).
val
();
params
.
industry_type
=
$
(
"select[name=industry_type_two]"
).
val
();
params
.
price_demand
=
$
(
"input[name=price_demand]"
).
val
();
params
.
price_demand
=
$
(
"input[name=price_demand]"
).
val
();
...
@@ -443,7 +442,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
...
@@ -443,7 +442,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
var
params
=
{};
var
params
=
{};
params
.
user_name
=
$
(
"#add_user_form input[name='user_name']"
).
val
();
params
.
user_name
=
$
(
"#add_user_form input[name='user_name']"
).
val
();
params
.
user_phone
=
$
(
"#add_user_form input[name='user_phone']"
).
val
();
params
.
user_phone
=
$
(
"#add_user_form input[name='user_phone']"
).
val
();
params
.
agent
s
_id
=
user
.
agent_id
;
//客方
params
.
agent_id
=
user
.
agent_id
;
//客方
params
.
sex
=
$
(
"#user_sex option:selected"
).
val
();
params
.
sex
=
$
(
"#user_sex option:selected"
).
val
();
params
.
price_demand
=
$
(
"#price_type2"
).
val
();
params
.
price_demand
=
$
(
"#price_type2"
).
val
();
params
.
area_demand
=
$
(
"#area_type2"
).
val
();
params
.
area_demand
=
$
(
"#area_type2"
).
val
();
...
@@ -515,6 +514,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
...
@@ -515,6 +514,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
$
(
"input[type='radio'][name='user_status'][value="
+
data
.
data
+
"]"
).
prop
(
"checked"
,
"checked"
);
$
(
"input[type='radio'][name='user_status'][value="
+
data
.
data
+
"]"
).
prop
(
"checked"
,
"checked"
);
$
(
'#genj_text'
).
val
();
}
}
}
}
});
});
...
...
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