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
795b3025
Commit
795b3025
authored
Nov 06, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目联系人图片修改
parent
8563c618
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
submitfive.vue
src/views/innovatecompany/submitprojects/submitfive.vue
+18
-2
No files found.
src/views/innovatecompany/submitprojects/submitfive.vue
View file @
795b3025
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
companyEmail
:
''
,
companyEmail
:
''
,
empDeptName
:
''
,
empDeptName
:
''
,
empPosition
:
''
,
empPosition
:
''
,
empCardUrl
:
''
,
empCardUrl
:
null
,
account
:
""
,
account
:
""
,
},
},
fileList
:[],
//上传存放路径
fileList
:[],
//上传存放路径
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
handleRemove
(){
handleRemove
(){
this
.
fileList
=
[];
this
.
fileList
=
[];
this
.
imagesIf
=
false
;
this
.
imagesIf
=
false
;
this
.
formData
.
empCardUrl
=
''
;
this
.
formData
.
empCardUrl
=
null
;
},
},
//上传文件成功回调
//上传文件成功回调
uploadComplete
(
res
,
file
){
uploadComplete
(
res
,
file
){
...
@@ -192,8 +192,12 @@
...
@@ -192,8 +192,12 @@
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
if
(
response
.
result
.
empCardUrl
){
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
imagesIf
=
true
;
this
.
imagesIf
=
true
;
}
else
{
this
.
fileList
=
[];
}
}
else
if
(
response
.
result
.
accountState
==
0
){
}
else
if
(
response
.
result
.
accountState
==
0
){
this
.
checkif
=
false
;
this
.
checkif
=
false
;
this
.
formData
.
empName
=
response
.
result
.
empName
;
this
.
formData
.
empName
=
response
.
result
.
empName
;
...
@@ -201,8 +205,12 @@
...
@@ -201,8 +205,12 @@
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
if
(
response
.
result
.
empCardUrl
){
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
imagesIf
=
true
;
this
.
imagesIf
=
true
;
}
else
{
this
.
fileList
=
[];
}
}
}
console
.
log
(
this
.
formData
.
empName
)
console
.
log
(
this
.
formData
.
empName
)
}
else
{
}
else
{
...
@@ -348,8 +356,12 @@
...
@@ -348,8 +356,12 @@
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
if
(
response
.
result
.
empCardUrl
){
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
imagesIf
=
true
;
this
.
imagesIf
=
true
;
}
else
{
this
.
fileList
=
[];
}
}
else
if
(
response
.
result
.
accountState
==
0
){
}
else
if
(
response
.
result
.
accountState
==
0
){
this
.
checkif
=
false
;
this
.
checkif
=
false
;
this
.
formData
.
empName
=
response
.
result
.
empName
;
this
.
formData
.
empName
=
response
.
result
.
empName
;
...
@@ -357,8 +369,12 @@
...
@@ -357,8 +369,12 @@
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
empPosition
=
response
.
result
.
empPosition
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
companyEmail
=
response
.
result
.
companyEmail
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
this
.
formData
.
empCardUrl
=
response
.
result
.
empCardUrl
;
if
(
response
.
result
.
empCardUrl
){
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
fileList
=
[{
url
:
this
.
formData
.
empCardUrl
}];
this
.
imagesIf
=
true
;
this
.
imagesIf
=
true
;
}
else
{
this
.
fileList
=
[];
}
}
}
}
else
{
}
else
{
this
.
$message
.
error
(
response
.
msg
);
this
.
$message
.
error
(
response
.
msg
);
...
...
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