Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
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
viitto
pptist
Commits
9b4b0db4
Commit
9b4b0db4
authored
Jul 02, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云盘
parent
c4b1fbda
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
17 deletions
+12
-17
CloudDiskList.vue
src/components/CloudDisk/CloudDiskList.vue
+9
-13
cellList.vue
src/components/CloudDisk/cellList.vue
+1
-2
waterfallFlowList.vue
src/components/CloudDisk/waterfallFlowList.vue
+2
-2
No files found.
src/components/CloudDisk/CloudDiskList.vue
View file @
9b4b0db4
...
...
@@ -101,9 +101,10 @@
</el-input>
<div
class=
"row flex-between items-center q-pt-md"
v-for=
"(item,index) in formatType"
>
<div
class=
"grow"
>
<el-checkbox
style=
"width: 100%;"
v-model=
"queryObj.QFileType"
:label=
"item.FileFormat"
@
change=
"ClearOption(),refreshHandler()"
></el-checkbox>
<el-checkbox-group
v-model=
"queryObj.QFileType"
@
change=
"ClearOption(),refreshHandler()"
>
<el-checkbox
style=
"width: 100%;"
:label=
"item.FileFormat"
></el-checkbox>
</el-checkbox-group>
</div>
<span>
{{item.RecordNum}}
</span>
</div>
...
...
@@ -297,7 +298,7 @@
</template>
<
script
setup
lang=
"ts"
>
import
{
ref
,
reactive
,
watch
,
provide
,
inject
,
onMounted
,
PropType
,
nextTick
,
onBeforeUnmount
,
computed
}
from
"vue"
;
import
{
ref
,
reactive
,
watch
,
provide
,
inject
,
onMounted
,
PropType
,
nextTick
,
computed
}
from
"vue"
;
import
type
{
ElMessage
,
ElImage
,
DropdownInstance
,
ElLoading
}
from
"element-plus"
;
import
{
ArrowLeft
,
CopyDocument
}
from
"@element-plus/icons-vue"
;
import
CloudDiskService
from
"@/services/CloudDiskService"
;
...
...
@@ -984,19 +985,14 @@ querySearchGroup()
querySearchHandler
()
getCloudInfo
()
onMounted
(()
=>
{
document
.
addEventListener
(
'click'
,
(
e
)
=>
{
if
(
currentSearchType
.
value
==
3
)
{
}
});
imgDiskRef
.
value
.
addEventListener
(
"scroll"
,
scrollingHandler
);
})
onBeforeUnmount
(()
=>
{
document
.
removeEventListener
(
'click'
,
()
=>
{});
})
watch
(()
=>
datas
.
SelectedDatas
,(
n
,
o
)
=>
{
datas
.
IdList
=
[]
if
(
n
.
length
>
0
)
datas
.
IdList
=
datas
.
SelectedDatas
.
map
(
x
=>
{
return
x
.
DetailsId
})
if
(
n
.
length
>
0
)
{
datas
.
IdList
=
datas
.
SelectedDatas
.
map
(
x
=>
{
return
x
.
DetailsId
})
datas
.
ControlsShow
=
true
}
})
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
src/components/CloudDisk/cellList.vue
View file @
9b4b0db4
...
...
@@ -3,8 +3,7 @@
<template
v-for=
"(item,index) in dataList"
>
<div
style=
"position: relative;"
>
<el-checkbox
style=
"position: absolute;left: 35px;top: 2px;"
class=
"fz14"
label=
""
v-model=
"item.check"
@
change=
"checkItem($event,item)"
/>
class=
"fz14"
label=
""
v-model=
"item.check"
/>
<div
class=
"CloudDisk-R-Box cursor-pointer"
:key=
"index"
>
<div
class=
"CloudDisk-R-Img"
>
<el-image
:src=
"item.FilePath"
style=
"width: 100%; height: 100%;"
...
...
src/components/CloudDisk/waterfallFlowList.vue
View file @
9b4b0db4
...
...
@@ -5,8 +5,8 @@
1400:{rowPerView:5},
1200:{rowPerView:4},
1000:{rowPerView:3},
800:{rowPerView:
2
},
500:{rowPerView:
1
}
800:{rowPerView:
3
},
500:{rowPerView:
2
}
}"
:hasAroundGutter="false" :align="'left'"
rowKey="DetailsId" :gutter="24"
...
...
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