Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
cf215e5f
authored
2023-11-01 08:57:33 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
a4657559
7f993893
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/views/djbworkflow/components/clxx/dialog/imagePreview.vue
src/views/djbworkflow/components/clxx/dialog/imagePreview.vue
View file @
cf215e5
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-1
0-31 10:48:0
4
* @LastEditTime: 2023-1
1-01 08:55:4
4
-->
<
template
>
<div
class=
"rlPopup"
>
...
...
@@ -193,13 +193,12 @@
var
formData
=
new
FormData
();
formData
.
append
(
'file'
,
file
)
formData
.
append
(
"bsmSj"
,
this
.
previewImg
.
bsmSj
);
formData
.
append
(
"bsmSlsq"
,
this
.
previewImg
.
bsmSlsq
);
if
(
this
.
previewImg
.
imgList
.
length
>
0
)
{
formData
.
append
(
"index"
,
this
.
previewImg
.
imgList
[
this
.
previewImg
.
index
].
sxh
);
}
uploadSjClmx
(
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$emit
(
'updateList'
,
res
.
result
)
this
.
$emit
(
'updateList'
,
{
children
:
res
.
result
,
bsmSj
:
this
.
previewImg
.
bsmSj
}
)
this
.
$message
({
message
:
'上传成功!'
,
type
:
'success'
...
...
Please
register
or
sign in
to post a comment