| | |
| | | method: 'get', |
| | | params, |
| | | }) |
| | | } |
| | | // 附件下载 |
| | | export const attachDownload = (data) => { |
| | | return request({ |
| | | url: `/blade-resource/attach/download`, |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | |
| | | return `${url.substring(0, lastDotIndex)}_show${url.substring(lastDotIndex)}` |
| | | } |
| | | |
| | | /** |
| | | * 获取正射路径 |
| | | * @param url |
| | | * @returns {string} |
| | | */ |
| | | export const getzsShowImg = url => { |
| | | if (!url) return '' |
| | | const lastDotIndex = url.lastIndexOf('.') |
| | | return `${url.substring(0, lastDotIndex)}_show.jpeg` |
| | | } |
| | | // key驼峰转换为下划线 |
| | | export function camelToSnake (obj) { |
| | | if (typeof obj !== 'object' || obj === null) { |
| | |
| | | const userAreaCode = computed(() => store.getters.userInfo.detail.areaCode); |
| | | const selectedAreaCode = computed(() => store.state.user.selectedAreaCode); |
| | | const htsjzx = computed(() => store.state.common.downloadProgress?.htsjzx || 100) |
| | | |
| | | const emit = defineEmits(['search', 'downFun', 'allDownFun','handleswitchFolders']); |
| | | const startTime = dayjs().subtract(6, 'day').startOf('day'); |
| | | const endTime = dayjs().endOf('day'); |
| | |
| | | min-height: 0; /* 关键:解决 flex 容器中的最小高度问题 */ |
| | | align-content: flex-start; /* 让内容从顶部开始排列 */ |
| | | .filePackage { |
| | | display: flex; |
| | | justify-content: center; |
| | | width: 260px; |
| | | height: 146px; |
| | | border-radius: 4px 4px 4px 4px; |
| | |
| | | img { |
| | | width: 111px; |
| | | height: 111px; |
| | | margin-left: 56px; |
| | | |
| | | } |
| | | |
| | | .el-checkbox { |
| | |
| | | left: 0; |
| | | height: 23px; |
| | | width: 100%; |
| | | padding: 0 10px; |
| | | box-sizing: border-box; |
| | | background: rgba(22, 56, 101, 0.3); |
| | | border-radius: 0px 0px 4px 4px; |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |