Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
7670855b
Commit
7670855b
authored
Nov 19, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
翻译问题
parent
7f6a2c13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
projectdetails.vue
src/views/mobile/projectment/projectdetails.vue
+16
-2
No files found.
src/views/mobile/projectment/projectdetails.vue
View file @
7670855b
...
...
@@ -152,6 +152,14 @@
})
},
gettransAxios
(){
let
companyLabelList
=
[];
if
(
this
.
companyInfo
.
companyLabelList
){
if
(
this
.
companyInfo
.
companyLabelList
.
length
!=
0
){
for
(
let
i
in
this
.
companyInfo
.
companyLabelList
){
companyLabelList
.
push
({
keyId
:
i
,
value
:
this
.
companyInfo
.
companyLabelList
[
i
]})
}
}
}
let
params
=
{
transType
:
'BaiDu'
,
cacheType
:
'projectDetails'
,
...
...
@@ -160,16 +168,22 @@
pageType
:
'mobilePhone'
,
companyName
:
this
.
companyInfo
.
companyName
,
companyIntroduction
:
this
.
companyInfo
.
companyIntroduction
,
companyLabelList
:
this
.
companyInfo
.
companyLabelList
,
companyLabelList
:
companyLabelList
,
companyWebsite
:
this
.
companyInfo
.
companyWebsite
,
officialAccount
:
this
.
companyInfo
.
officialAccount
,
projectInstroduction
:
this
.
companyInfo
.
projectInstroduction
,
};
api
.
transAxios
(
params
).
then
((
response
)
=>
{
if
(
response
.
code
==
0
){
let
companyLabelListed
=
[];
if
(
response
.
result
.
companyLabelList
){
for
(
let
i
in
response
.
result
.
companyLabelList
){
companyLabelListed
.
push
(
response
.
result
.
companyLabelList
[
i
].
value
)
}
}
this
.
companyInfo
.
companyName
=
response
.
result
.
companyName
;
this
.
companyInfo
.
companyIntroduction
=
response
.
result
.
companyIntroduction
;
this
.
companyInfo
.
companyLabelList
=
response
.
result
.
companyLabelList
;
this
.
companyInfo
.
companyLabelList
=
companyLabelListed
;
this
.
companyInfo
.
companyWebsite
=
response
.
result
.
companyWebsite
;
this
.
companyInfo
.
officialAccount
=
response
.
result
.
officialAccount
;
this
.
companyInfo
.
projectInstroduction
=
response
.
result
.
projectInstroduction
;
...
...
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