Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
bp
op-web-service
Commits
c455a0f2
Commit
c455a0f2
authored
Jul 07, 2021
by
mengwenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:跟随服务端更改企业列表的图片字段格式
parent
cd942739
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
enterpriseForm.vue
src/pages/Enterprise/components/enterpriseForm.vue
+6
-3
No files found.
src/pages/Enterprise/components/enterpriseForm.vue
View file @
c455a0f2
...
...
@@ -39,6 +39,7 @@
fit=
"cover"
></el-image>
<el-upload
:data=
"
{scenario:`business_license`}"
:show-file-list="false"
:action="domainName"
:accept="'image/*'"
...
...
@@ -90,6 +91,7 @@
fit=
"cover"
></el-image>
<el-upload
:data=
"
{scenario:`id_card`}"
:show-file-list="false"
:action="domainName"
:accept="'image/*'"
...
...
@@ -115,6 +117,7 @@
fit=
"cover"
></el-image>
<el-upload
:data=
"
{scenario:`id_card`}"
:show-file-list="false"
:action="domainName"
:accept="'image/*'"
...
...
@@ -346,7 +349,7 @@ export default {
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
clearValidate
(
"entterpriseImageRef"
);
this
.
establishForm
.
entterpriseImage
=
`http://
${
res
.
result
.
file_url
}
`
;
this
.
establishForm
.
entterprise_image
=
res
.
result
.
object_id
;
this
.
establishForm
.
entterprise_image
=
`
${
res
.
result
.
bucket
}
/
${
res
.
result
.
object_id
}
`
;
},
// 上传身份证前面
...
...
@@ -354,7 +357,7 @@ export default {
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
clearValidate
(
"frontImgRef"
);
this
.
establishForm
.
frontImg
=
`http://
${
res
.
result
.
file_url
}
`
;
this
.
establishForm
.
front_img
=
res
.
result
.
object_id
;
this
.
establishForm
.
front_img
=
`
${
res
.
result
.
bucket
}
/
${
res
.
result
.
object_id
}
`
;
},
// 上传身份证后面
...
...
@@ -362,7 +365,7 @@ export default {
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
clearValidate
(
"bakImgRef"
);
this
.
establishForm
.
bakImg
=
`http://
${
res
.
result
.
file_url
}
`
;
this
.
establishForm
.
bak_img
=
res
.
result
.
object_id
;
this
.
establishForm
.
bak_img
=
`
${
res
.
result
.
bucket
}
/
${
res
.
result
.
object_id
}
`
;
},
// 取消创建表单
...
...
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