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
54d6403c
Commit
54d6403c
authored
Mar 27, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进4
parent
fc14cf16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
customer_gj.css
public/app/css/customer_gj.css
+1
-1
customer_gj.js
public/app/js/customer_gj.js
+13
-12
No files found.
public/app/css/customer_gj.css
View file @
54d6403c
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
}
}
#business_area
{
#business_area
{
display
:
block
;
display
:
block
;
clear
:
both
;
float
:
left
;
height
:
.6rem
;
height
:
.6rem
;
width
:
5rem
;
width
:
5rem
;
border-radius
:
0.14rem
;
border-radius
:
0.14rem
;
...
...
public/app/js/customer_gj.js
View file @
54d6403c
...
@@ -82,15 +82,16 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
...
@@ -82,15 +82,16 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
[
'code'
]
==
'200'
||
data
[
'code'
]
==
'300'
)
{
if
(
data
[
'code'
]
==
'200'
||
data
[
'code'
]
==
'300'
)
{
_this
.
user_type
=
data
.
data
[
0
][
'user_type'
];
var
_len
=
data
.
data
.
length
;
_this
.
decision_maker
=
data
.
data
[
0
][
'decision_maker'
];
_this
.
user_type
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'user_type'
];
_this
.
industry_type
=
data
.
data
[
0
][
'industry_type'
];
_this
.
decision_maker
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'decision_maker'
];
_this
.
area_requirement
=
data
.
data
[
0
][
'area_requirement'
];
_this
.
industry_type
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'industry_type'
];
_this
.
price_requirement
=
data
.
data
[
0
][
'price_requirement'
];
_this
.
area_requirement
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'area_requirement'
];
_this
.
business_area
=
data
.
data
[
0
][
'business_area'
];
_this
.
price_requirement
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'price_requirement'
];
_this
.
other_area
=
data
.
data
[
0
][
'other_area'
];
_this
.
business_area
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'business_area'
];
_this
.
explain
=
data
.
data
[
0
][
'explain'
];
_this
.
other_area
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'other_area'
];
_this
.
imgShowList
.
push
({
_this
.
explain
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'explain'
];
(
_len
>
0
)
&&
_this
.
imgShowList
.
push
({
'name'
:
data
.
data
[
0
][
'explain_img'
]
'name'
:
data
.
data
[
0
][
'explain_img'
]
});
});
//区域自动获取,并赋值
//区域自动获取,并赋值
...
@@ -98,19 +99,19 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
...
@@ -98,19 +99,19 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
'getType'
:
'province'
'getType'
:
'province'
},
function
(
_data
){
},
function
(
_data
){
_this
.
provinceList
=
_data
;
_this
.
provinceList
=
_data
;
_this
.
province
=
data
.
data
[
0
][
'province'
]
?
data
.
data
[
0
][
'province'
]:
'310000'
;
_this
.
province
=
(
_len
>
0
&&
data
.
data
[
0
][
'province'
])
?
data
.
data
[
0
][
'province'
]:
'310000'
;
_this
.
getArea
({
_this
.
getArea
({
'getType'
:
'city'
,
'getType'
:
'city'
,
'code'
:
_this
.
province
'code'
:
_this
.
province
},
function
(
_data2
){
},
function
(
_data2
){
_this
.
cityList
=
_data2
;
_this
.
cityList
=
_data2
;
_this
.
city
=
data
.
data
[
0
][
'city'
]
?
data
.
data
[
0
][
'city'
]:
_data2
[
0
][
'code'
];
_this
.
city
=
(
_len
>
0
&&
data
.
data
[
0
][
'city'
])
?
data
.
data
[
0
][
'city'
]:
_data2
[
0
][
'code'
];
_this
.
getArea
({
_this
.
getArea
({
'getType'
:
'district'
,
'getType'
:
'district'
,
'code'
:
_this
.
city
'code'
:
_this
.
city
},
function
(
_data3
){
},
function
(
_data3
){
_this
.
districtList
=
_data3
;
_this
.
districtList
=
_data3
;
_this
.
district
=
data
.
data
[
0
][
'district'
]
?
data
.
data
[
0
][
'district'
]:
_data3
[
0
][
'code'
];
_this
.
district
=
(
_len
>
0
&&
data
.
data
[
0
][
'district'
])
?
data
.
data
[
0
][
'district'
]:
_data3
[
0
][
'code'
];
});
});
});
});
});
});
...
...
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