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
9c26d664
authored
2023-10-12 09:46:12 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:材料上传
1 parent
91b5014d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
src/views/components/imagePreview.vue
src/views/workflow/components/clxx/clxxUnify.vue
src/views/components/imagePreview.vue
View file @
9c26d66
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-
09-14 16:16:57
* @LastEditTime: 2023-
10-12 09:40:40
-->
<
template
>
<div
class=
"rlPopup"
>
...
...
@@ -29,8 +29,8 @@
<el-button
icon=
"el-icon-upload"
type=
"primary"
v-if=
"ableOperation"
>
上传
</el-button>
</el-upload>
<!-- 左移右移 -->
<el-button
type=
"primary"
@
click=
"handleMove('left')"
v-if=
"ableOperation"
>
左移
</el-button>
<el-button
type=
"primary"
@
click=
"handleMove('right')"
v-if=
"ableOperation"
>
右移
</el-button>
<el-button
type=
"primary"
@
click=
"handleMove('left')"
v-if=
"ableOperation
&& thumbnailImages.length>0
"
>
左移
</el-button>
<el-button
type=
"primary"
@
click=
"handleMove('right')"
v-if=
"ableOperation
&& thumbnailImages.length>0
"
>
右移
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-delete-solid"
@
click=
"handleDelete"
v-if=
"thumbnailImages.length>0 && ableOperation"
>
删除
</el-button>
<div
v-if=
"ableOperation"
class=
"pl-5"
>
...
...
@@ -86,7 +86,7 @@
// 缩略图
thumbnailImages
:
[],
showViewer
:
false
,
initialIndex
:
undefined
,
initialIndex
:
0
,
allLi
:
[],
}
},
...
...
src/views/workflow/components/clxx/clxxUnify.vue
View file @
9c26d66
...
...
@@ -297,7 +297,9 @@
this
.
previewImg
.
imgList
=
res
.
result
?
res
.
result
:
[];
})
this
.
previewImg
.
bsmSj
=
item
?.
bsmSj
;
this
.
$refs
.
imageRef
.
initialIndex
=
0
if
(
this
.
$refs
.
imageRef
)
{
this
.
$refs
.
imageRef
.
initialIndex
=
0
}
},
/**
* @description: 小图片点击
...
...
Please
register
or
sign in
to post a comment