| | |
| | | <!-- >全部下载</el-button--> |
| | | <!-- >--> |
| | | |
| | | <el-button v-if="!viewDetailsDisabled" type="primary" plain @click="handleswitchFolders" ><el-icon><FolderOpened /></el-icon></el-button> |
| | | <el-button @click="handleStartList"><el-icon><Star /></el-icon></el-button> |
| | | <!-- <el-button v-if="!viewDetailsDisabled" type="primary" plain @click="handleswitchFolders" ><el-icon><FolderOpened /></el-icon></el-button> --> |
| | | <el-button :type="!switchStar && !switchFolders ? 'primary':'default'" @click="handleswitchList">列表</el-button> |
| | | <el-button :type="switchStar && !switchFolders ? 'primary':'default'" @click="handleStartList">我的收藏</el-button> |
| | | <el-button :type="!switchStar && switchFolders ? 'primary':'default'" @click="handleswitchFolders">文件</el-button> |
| | | <div class="downloadBtn" @click="htsjzx === 100 && downloadFun()"> |
| | | <el-progress v-if="htsjzx !== 100" :percentage="htsjzx" :show-text="false" striped striped-flow :duration="1" /> |
| | | <div class="downloadBtnText"> |
| | |
| | | const timeRange = [startTime.format('YYYY-MM-DD HH:mm:ss'), endTime.format('YYYY-MM-DD HH:mm:ss')]; |
| | | const dateRange = ref(timeRange); |
| | | const timeFormat = 'YYYY-MM-DD HH:mm:ss'; |
| | | const props = defineProps(['searchjobId','switchFolders','viewDetails']) |
| | | const props = defineProps(['searchjobId','switchFolders', 'switchStar','viewDetails']) |
| | | const searchForm = reactive({ |
| | | jobName: '', //任务名称 |
| | | name: '', //文件名称 |
| | |
| | | ElMessage.success('取消成功') |
| | | }) |
| | | } |
| | | const handleswitchList =()=>{ |
| | | emit('handleswitchList'); |
| | | } |
| | | // 切换文件夹 |
| | | const handleswitchFolders =()=>{ |
| | | emit('handleswitchFolders'); |