| | |
| | | <!-- <el-button type="primary" icon="el-icon-download" @click="allDownloadFun"--> |
| | | <!-- >全部下载</el-button--> |
| | | <!-- >--> |
| | | <el-button type="primary" @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 selectedAreaCode = computed(() => store.state.user.selectedAreaCode); |
| | | const htsjzx = computed(() => store.state.common.downloadProgress?.htsjzx || 100) |
| | | |
| | | const emit = defineEmits(['search', 'downFun', 'allDownFun']); |
| | | const emit = defineEmits(['search', 'downFun', 'allDownFun','handleswitchFolders']); |
| | | const startTime = dayjs().subtract(6, 'day').startOf('day'); |
| | | const endTime = dayjs().endOf('day'); |
| | | const timeRange = [startTime.format('YYYY-MM-DD HH:mm:ss'), endTime.format('YYYY-MM-DD HH:mm:ss')]; |
| | |
| | | ElMessage.success('取消成功') |
| | | }) |
| | | } |
| | | |
| | | // 切换文件夹 |
| | | const handleswitchFolders =()=>{ |
| | | emit('handleswitchFolders'); |
| | | } |
| | | onMounted(() => { |
| | | requestDockInfo(); |
| | | getDownloadStatusApi({type: 'htsjzx'}).then(res =>{ |
| | |
| | | justify-content: space-between; |
| | | |
| | | .search-btn { |
| | | display: flex; |
| | | align-items: center; |
| | | margin-right: 32px; |
| | | |
| | | .downloadBtn{ |
| | | margin-left: 10px; |
| | | position: relative; |
| | | display: flex; |
| | | align-items: center; |