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
c6370c14
Commit
c6370c14
authored
Jun 26, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情页修改
parent
0fbc2010
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+8
-2
No files found.
public/app/js/customerinfo_details_new.js
View file @
c6370c14
...
...
@@ -71,12 +71,18 @@ function loadMain(){
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
$
(
'#customer_code'
).
html
(
data
[
'data'
][
'user_info'
][
'user_id'
]);
$
(
'#customer_name, #name'
).
html
(
data
[
'data'
][
'user_info'
][
'user_name'
]
+
(
data
[
'data'
][
'user_info'
][
'user_nick'
]?(
'('
+
data
[
'data'
][
'user_info'
][
'user_nick'
]
+
')'
):
''
));
$
(
'#customer_name, #name'
).
html
(
(
data
[
'data'
][
'user_info'
][
'user_name'
]
==
null
?
''
:
data
[
'data'
][
'user_info'
][
'user_name'
])
+
(
data
[
'data'
][
'user_info'
][
'user_nick'
]?(
'('
+
data
[
'data'
][
'user_info'
][
'user_nick'
]
+
')'
):
''
));
if
(
data
[
'data'
][
'user_info'
][
'sex'
]
==
2
){
$
(
'.sex-icon'
).
attr
(
'src'
,
'/app/images/girl_ic@2x.png'
);
};
$
(
'#industry_type'
).
html
(
data
[
'data'
][
'user_info'
][
'industry_type'
]);
//如果业态没有则隐藏这个span
if
(
data
[
'data'
][
'user_info'
][
'industry_type'
]){
$
(
'#industry_type'
).
html
(
data
[
'data'
][
'user_info'
][
'industry_type'
]);
}
else
{
$
(
'#industry_type'
).
hide
();
}
$
(
'#price_demand'
).
html
(
data
[
'data'
][
'user_info'
][
'price_demand'
]
+
'元/月'
);
$
(
'#area_demand'
).
html
(
data
[
'data'
][
'user_info'
][
'area_demand'
]
+
'㎡'
);
...
...
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