Commit 9b4b0db4 authored by zhengke's avatar zhengke

云盘

parent c4b1fbda
...@@ -101,9 +101,10 @@ ...@@ -101,9 +101,10 @@
</el-input> </el-input>
<div class="row flex-between items-center q-pt-md" v-for="(item,index) in formatType"> <div class="row flex-between items-center q-pt-md" v-for="(item,index) in formatType">
<div class="grow"> <div class="grow">
<el-checkbox style="width: 100%;" v-model="queryObj.QFileType" <el-checkbox-group v-model="queryObj.QFileType" @change="ClearOption(),refreshHandler()">
:label="item.FileFormat" <el-checkbox style="width: 100%;"
@change="ClearOption(),refreshHandler()"></el-checkbox> :label="item.FileFormat"></el-checkbox>
</el-checkbox-group>
</div> </div>
<span>{{item.RecordNum}}</span> <span>{{item.RecordNum}}</span>
</div> </div>
...@@ -297,7 +298,7 @@ ...@@ -297,7 +298,7 @@
</template> </template>
<script setup lang="ts"> <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 type { ElMessage,ElImage,DropdownInstance,ElLoading } from "element-plus";
import { ArrowLeft,CopyDocument } from "@element-plus/icons-vue"; import { ArrowLeft,CopyDocument } from "@element-plus/icons-vue";
import CloudDiskService from "@/services/CloudDiskService"; import CloudDiskService from "@/services/CloudDiskService";
...@@ -984,19 +985,14 @@ querySearchGroup() ...@@ -984,19 +985,14 @@ querySearchGroup()
querySearchHandler() querySearchHandler()
getCloudInfo() getCloudInfo()
onMounted(()=>{ onMounted(()=>{
document.addEventListener('click', (e) => {
if (currentSearchType.value==3) {
}
});
imgDiskRef.value.addEventListener("scroll", scrollingHandler); imgDiskRef.value.addEventListener("scroll", scrollingHandler);
}) })
onBeforeUnmount(() => {
document.removeEventListener('click', () => {});
})
watch(()=>datas.SelectedDatas,(n,o)=>{ watch(()=>datas.SelectedDatas,(n,o)=>{
datas.IdList = [] 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> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
<template v-for="(item,index) in dataList"> <template v-for="(item,index) in dataList">
<div style="position: relative;"> <div style="position: relative;">
<el-checkbox style="position: absolute;left: 35px;top: 2px;" <el-checkbox style="position: absolute;left: 35px;top: 2px;"
class="fz14" label="" v-model="item.check" class="fz14" label="" v-model="item.check"/>
@change="checkItem($event,item)"/>
<div class="CloudDisk-R-Box cursor-pointer" :key="index"> <div class="CloudDisk-R-Box cursor-pointer" :key="index">
<div class="CloudDisk-R-Img"> <div class="CloudDisk-R-Img">
<el-image :src="item.FilePath" style="width: 100%; height: 100%;" <el-image :src="item.FilePath" style="width: 100%; height: 100%;"
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
1400:{rowPerView:5}, 1400:{rowPerView:5},
1200:{rowPerView:4}, 1200:{rowPerView:4},
1000:{rowPerView:3}, 1000:{rowPerView:3},
800:{rowPerView:2}, 800:{rowPerView:3},
500:{rowPerView:1} 500:{rowPerView:2}
}" }"
:hasAroundGutter="false" :align="'left'" :hasAroundGutter="false" :align="'left'"
rowKey="DetailsId" :gutter="24" rowKey="DetailsId" :gutter="24"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment