diff --git a/README.md b/README.md index 48d8455..4003eb1 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ +![logo](doc/image/logo_600_400.png) ## 介绍 `pnd`全名为`Personal Network Disk`,为了实现一个部署在家庭、寝室等私人生活中的网络存储空间,是一个具有从远程服务器后台下载到私人网盘、家庭文件共享、在线影视观看等功能的方便、快捷的生活助手。 前端页面:[https://github.com/BitInit/pnd-web](https://github.com/BitInit/pnd-web) ## 功能 -- [x] 文件及文件夹:增/删/改/移动/复制 -- [x] 大文件的分块上传,支持断点续传 -- [ ] 文件下载 (开发中...) -- [ ] 影视在线观看 +- [x] 文件及文件夹:增/删/重命名/移动/复制 +- [x] 大文件的分块上传,支持文件上传的暂停/恢复;文件上传 md5 校验,如果系统存在该文件,可实现文件的秒传 +- [x] 文件下载,部分视频的浏览器简单播放(临时功能) +- [ ] 视频在线播放 (开发中...) - [ ] 远程资源后台下载 - [ ] ...... @@ -27,18 +28,31 @@ bin/startup.sh # 浏览器访问:http://localhost:8989 ``` -### 直接下载安装包 -待续... +### 直接下载二进制包 +[选择最新的二进制包](https://github.com/BitInit/pnd/releases) + +### docker + +``` sh +docker pull bitinit/pnd + +docker run -d -p 8989:8989 -v [YourOwnPath]:/pnd/data bitinit/pnd + +# 浏览器访问:http://:8989 +``` ## 项目演示 #### 文件夹管理 文件夹创建、文件重命名、移动、删除 -![folder](doc/folder_manage.gif) +![folder](doc/image/folder_manage.gif) -#### 大文件上传 +#### 大文件分块上传 计算文件校验码,如果系统有该文件实现快速上传,如果没有就上传该大文件 -![fileUpload](doc/file_upload.gif) +![fileUpload](doc/image/file_upload.gif) + +#### 文件下载,部分视频简单播放 +![fileDownload](doc/image/file_download.gif) #### 其他功能 待续 \ No newline at end of file diff --git a/common/pom.xml b/common/pom.xml index 7121ae0..8b4fd9c 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -5,7 +5,7 @@ site.bitinit.pnd pnd-all - 1.0.0-SNAPSHOT + 1.0.0.RC ../pom.xml pnd-common diff --git a/common/src/main/java/site/bitinit/pnd/common/util/CommonUtils.java b/common/src/main/java/site/bitinit/pnd/common/util/CommonUtils.java index 36bdd9f..6bef14d 100644 --- a/common/src/main/java/site/bitinit/pnd/common/util/CommonUtils.java +++ b/common/src/main/java/site/bitinit/pnd/common/util/CommonUtils.java @@ -24,8 +24,6 @@ public static String formatDate(Date date, String format){ return f.format(date); } - - public static String uuid(){ return UUID.randomUUID().toString().replaceAll("-", ""); } diff --git a/distribution/Dockerfile b/distribution/Dockerfile new file mode 100644 index 0000000..ad3aaa1 --- /dev/null +++ b/distribution/Dockerfile @@ -0,0 +1,10 @@ +FROM openjdk:8-jre-alpine + +WORKDIR /pnd +COPY . /pnd + +RUN echo "Asia/Shanghai" > /etc/timezone + +EXPOSE 8989 +VOLUME /pnd/data +ENTRYPOINT ["bin/startup.sh"] \ No newline at end of file diff --git a/distribution/assembly.xml b/distribution/assembly.xml index f9ead10..ee9c393 100644 --- a/distribution/assembly.xml +++ b/distribution/assembly.xml @@ -61,5 +61,9 @@ ../web/target/pnd-web.jar /lib/ + + Dockerfile + Dockerfile + diff --git a/distribution/bin/startup.sh b/distribution/bin/startup.sh index 64ba7b5..904ff06 100644 --- a/distribution/bin/startup.sh +++ b/distribution/bin/startup.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh PND_HOME=`cd $(dirname $0)/..; pwd` @@ -6,10 +6,10 @@ JAVA_OPTS="${JAVA_OPTS} -Dpnd.home=${PND_HOME}" JAVA_OPTS="${JAVA_OPTS} -jar "${PND_HOME}/lib/pnd-web.jar"" JAVA_OPTS="${JAVA_OPTS} --spring.config.location=${PND_HOME}/conf/application.properties" -if [ ! -d "${PND_HOME}/logs" ]; then - mkdir ${PND_HOME}/logs +if [ ! -d "${PND_HOME}/data/logs" ]; then + mkdir -p ${PND_HOME}/data/logs fi #echo "nohup java ${JAVA_OPTS} > ${PND_HOME}/logs/pnd-start.log 2>&1 &" -#nohup java ${JAVA_OPTS} > ${PND_HOME}/logs/pnd-start.log 2>&1 & +#nohup java ${JAVA_OPTS} > ${PND_HOME}/data/logs/pnd-start.log 2>&1 < /dev/null java ${JAVA_OPTS} \ No newline at end of file diff --git a/distribution/pom.xml b/distribution/pom.xml index be33ffe..ffdfb23 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -5,7 +5,7 @@ site.bitinit.pnd pnd-all - 1.0.0-SNAPSHOT + 1.0.0.RC ../pom.xml pnd-distribution diff --git a/doc/file_upload.gif b/doc/file_upload.gif deleted file mode 100644 index 48f18db..0000000 Binary files a/doc/file_upload.gif and /dev/null differ diff --git a/doc/image/file_download.gif b/doc/image/file_download.gif new file mode 100644 index 0000000..cb8be91 Binary files /dev/null and b/doc/image/file_download.gif differ diff --git a/doc/image/file_upload.gif b/doc/image/file_upload.gif new file mode 100644 index 0000000..662aeaf Binary files /dev/null and b/doc/image/file_upload.gif differ diff --git a/doc/folder_manage.gif b/doc/image/folder_manage.gif similarity index 100% rename from doc/folder_manage.gif rename to doc/image/folder_manage.gif diff --git a/doc/image/logo_600_400.png b/doc/image/logo_600_400.png new file mode 100644 index 0000000..1410e2b Binary files /dev/null and b/doc/image/logo_600_400.png differ diff --git a/pom.xml b/pom.xml index f31f6a8..9fab19f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 site.bitinit.pnd pnd-all - 1.0.0-SNAPSHOT + 1.0.0.RC pnd-all Personal Network Disk pom diff --git a/web/pom.xml b/web/pom.xml index fb12dc2..5b96679 100644 --- a/web/pom.xml +++ b/web/pom.xml @@ -5,7 +5,7 @@ site.bitinit.pnd pnd-all - 1.0.0-SNAPSHOT + 1.0.0.RC ../pom.xml pnd-web diff --git a/web/src/main/java/site/bitinit/pnd/PndApplication.java b/web/src/main/java/site/bitinit/pnd/PndApplication.java index 332ac5b..1be2158 100644 --- a/web/src/main/java/site/bitinit/pnd/PndApplication.java +++ b/web/src/main/java/site/bitinit/pnd/PndApplication.java @@ -4,6 +4,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; +import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @@ -11,6 +12,7 @@ * @author john */ @SpringBootApplication +@EnableScheduling public class PndApplication { public static void main(String[] args) { diff --git a/web/src/main/java/site/bitinit/pnd/web/config/Properties.java b/web/src/main/java/site/bitinit/pnd/web/config/Properties.java index 5e0864d..53e49c1 100644 --- a/web/src/main/java/site/bitinit/pnd/web/config/Properties.java +++ b/web/src/main/java/site/bitinit/pnd/web/config/Properties.java @@ -55,7 +55,7 @@ public void init(){ setDbMaxActive(Integer.parseInt(getEnvProperty(EnvironmentConstants.DB_MAX_ACTIVE, "20"))); setDbMaxIdle(Integer.parseInt(getEnvProperty(EnvironmentConstants.DB_MAX_IDLE, "50"))); - setMaxConcurrentUploadNumbers(Integer.parseInt(getEnvProperty(EnvironmentConstants.MAX_CONCURRENT_UPLOAD_NUMBERS, "1"))); + setMaxConcurrentUploadNumbers(Integer.parseInt(getEnvProperty(EnvironmentConstants.MAX_CONCURRENT_UPLOAD_NUMBERS, "3"))); setMaxFileUploadSize(getEnvProperty(EnvironmentConstants.MAX_FILE_UPLOAD_SIZE, "12MB")); setMaxRequestSize(getEnvProperty(EnvironmentConstants.MAX_REQUEST_SIZE, "15MB")); // 10MB diff --git a/web/src/main/java/site/bitinit/pnd/web/config/Scheduler.java b/web/src/main/java/site/bitinit/pnd/web/config/Scheduler.java new file mode 100644 index 0000000..62d1e16 --- /dev/null +++ b/web/src/main/java/site/bitinit/pnd/web/config/Scheduler.java @@ -0,0 +1,90 @@ +package site.bitinit.pnd.web.config; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; +import org.springframework.transaction.support.TransactionTemplate; +import site.bitinit.pnd.web.dao.ResourceDao; +import site.bitinit.pnd.web.model.PndResource; +import site.bitinit.pnd.web.utils.PathUtils; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +/** + * @author: john + * @date: 2019/5/2 + */ +@Component +public class Scheduler { + + private static final Logger logger = LoggerFactory.getLogger(Scheduler.class); + + @Autowired + private PathUtils pathUtils; + @Autowired + private ResourceDao resourceDao; + @Autowired + private TransactionTemplate transactionTemplate; + + /** + * 每天凌晨 2 点执行脏数据清理 + */ + @Scheduled(cron = "0 0 2 * * ?") + public void clearDirtyData(){ + cleanResourceFile(cleanResourceTable()); + } + + /** + * 若清除资源表数据成功,再清理脏文件 + * @param resources + */ + private void cleanResourceFile(List resources) { + resources.stream() + .filter(p -> shouldDelete(p)) + .forEach(resource -> { + String subPath = resource.getPath() + File.separator + resource.getUuid(); + String pathStr = pathUtils.getResourceAbsolutionPath(subPath); + + File file = new File(pathStr); + if (file.exists()){ + file.delete(); + logger.info("clear resource {} success!", resource.getUuid()); + } + }); + } + + /** + * 先通过事务清理资源表无效数据 + * @return + */ + private List cleanResourceTable() { + return transactionTemplate.execute(transactionStatus -> { + List pndResources = resourceDao.findDirtyResources(); + List deleteIds = new ArrayList<>(); + pndResources.stream() + .filter(p -> shouldDelete(p)) + .forEach(resource -> { + deleteIds.add(resource.getId()); + }); + resourceDao.deleteBatch(deleteIds); + return pndResources; + }); + } + + private boolean shouldDelete(PndResource resource){ + if (System.currentTimeMillis() - resource.getGmtModified() >= RESOURCE_CLEAN_INTERVAL_TIME + || resource.getLink() == 0){ + return true; + } + return false; + } + + /** + * 间隔时间 6h + */ + private static final long RESOURCE_CLEAN_INTERVAL_TIME = 6 * 3600 * 1000; +} diff --git a/web/src/main/java/site/bitinit/pnd/web/config/SystemConstants.java b/web/src/main/java/site/bitinit/pnd/web/config/SystemConstants.java index 54b1c68..e595cd1 100644 --- a/web/src/main/java/site/bitinit/pnd/web/config/SystemConstants.java +++ b/web/src/main/java/site/bitinit/pnd/web/config/SystemConstants.java @@ -63,7 +63,7 @@ public enum ResourceState { fileTypeAccordingToSuffix.put(".flv", FileType.VIDEO); fileTypeAccordingToSuffix.put(".rmvb", FileType.VIDEO); fileTypeAccordingToSuffix.put(".avi", FileType.VIDEO); - fileTypeAccordingToSuffix.put(".mkv", FileType.PICTURE); + fileTypeAccordingToSuffix.put(".mkv", FileType.VIDEO); // audio fileTypeAccordingToSuffix.put(".mp3", FileType.AUDIO); diff --git a/web/src/main/java/site/bitinit/pnd/web/controller/ResourceController.java b/web/src/main/java/site/bitinit/pnd/web/controller/ResourceController.java index 861ded4..9197ca5 100644 --- a/web/src/main/java/site/bitinit/pnd/web/controller/ResourceController.java +++ b/web/src/main/java/site/bitinit/pnd/web/controller/ResourceController.java @@ -1,6 +1,12 @@ package site.bitinit.pnd.web.controller; +import org.apache.catalina.connector.ClientAbortException; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.core.io.Resource; +import org.springframework.http.HttpHeaders; +import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; import site.bitinit.pnd.common.ResponseEntity; @@ -9,9 +15,11 @@ import site.bitinit.pnd.web.config.SystemConstants; import site.bitinit.pnd.web.service.ResourceService; -import javax.servlet.AsyncContext; import javax.servlet.http.HttpServletRequest; import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLEncoder; +import java.util.Objects; /** * @author: john @@ -21,6 +29,8 @@ @RequestMapping(SystemConstants.API_VERSION) public class ResourceController { + private static final Logger logger = LoggerFactory.getLogger(ResourceController.class); + @Autowired private ResourceService resourceService; @@ -56,4 +66,28 @@ public ResponseEntity pauseFileUpload(String clientId, Long resourceId, String t return ResponseUtils.ok(""); } + @GetMapping("/rs/{resourceId}") + public org.springframework.http.ResponseEntity downloadFile(@PathVariable Long resourceId, String fileName, HttpServletRequest request) throws UnsupportedEncodingException { + Resource resource = resourceService.loadResource(resourceId); + + String contentType = null; + try { + contentType = request.getServletContext().getMimeType(resource.getFile().getAbsolutePath()); + } catch (IOException e) { + e.printStackTrace(); + } + if (Objects.isNull(contentType)){ + contentType = "application/octet-stream"; + } + + return org.springframework.http.ResponseEntity.ok() + .contentType(MediaType.parseMediaType(contentType)) + .header(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename*=UTF-8''" + URLEncoder.encode(fileName, "UTF-8")) + .body(resource); + } + + @ExceptionHandler + public void clientAbortException(ClientAbortException e){ + logger.warn("client cancelled file download {}", e.getMessage()); + } } diff --git a/web/src/main/java/site/bitinit/pnd/web/dao/ResourceDao.java b/web/src/main/java/site/bitinit/pnd/web/dao/ResourceDao.java index 2d0c100..c043d34 100644 --- a/web/src/main/java/site/bitinit/pnd/web/dao/ResourceDao.java +++ b/web/src/main/java/site/bitinit/pnd/web/dao/ResourceDao.java @@ -3,6 +3,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.jdbc.core.BatchPreparedStatementSetter; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.PreparedStatementCreator; import org.springframework.jdbc.core.RowMapper; @@ -80,6 +81,32 @@ public int updateIndex(long id, long expected, long val){ return jdbcTemplate.update(sql, val, CommonUtils.formatDate(), id, expected); } + public List findDirtyResources(){ + String sql = "select " + RESOURCE_ALL_FIELDS + " from " + RESOURCE_TABLE_NAME + " where status = ? or (status = ? and link = ?)"; + return daoUtils.queryForList(sql, RESOURCE_ROW_MAPPER, SystemConstants.ResourceState.pending.name(), + SystemConstants.ResourceState.succeeded.name(), 0); + } + + public void delete(long resourceId){ + String sql = "delete from " + RESOURCE_TABLE_NAME + " where id=?"; + jdbcTemplate.update(sql, resourceId); + } + + public void deleteBatch(List resourceIds){ + String sql = "delete from " + RESOURCE_TABLE_NAME + " where id=?"; + jdbcTemplate.batchUpdate(sql, new BatchPreparedStatementSetter() { + @Override + public void setValues(PreparedStatement ps, int i) throws SQLException { + ps.setLong(1, resourceIds.get(i)); + } + + @Override + public int getBatchSize() { + return resourceIds.size(); + } + }); + } + public static final String RESOURCE_TABLE_NAME = " pnd_resource "; private static final String RESOURCE_ALL_FIELDS = " id, size, path, uuid, gmt_create, gmt_modified, status, md5, link "; private static final ResourceRowMapper RESOURCE_ROW_MAPPER = new ResourceRowMapper(); diff --git a/web/src/main/java/site/bitinit/pnd/web/service/ResourceService.java b/web/src/main/java/site/bitinit/pnd/web/service/ResourceService.java index 9ca3348..b288d1b 100644 --- a/web/src/main/java/site/bitinit/pnd/web/service/ResourceService.java +++ b/web/src/main/java/site/bitinit/pnd/web/service/ResourceService.java @@ -1,5 +1,6 @@ package site.bitinit.pnd.web.service; +import org.springframework.core.io.Resource; import site.bitinit.pnd.web.config.SystemConstants; import site.bitinit.pnd.web.controller.dto.ResourceConfigDto; import site.bitinit.pnd.web.controller.dto.ResourceUploadResponseDto; @@ -63,4 +64,5 @@ public interface ResourceService { */ void changeResourceState(String clientId, Long resourceId, String type); + Resource loadResource(Long resourceId); } diff --git a/web/src/main/java/site/bitinit/pnd/web/service/impl/ResourceServiceImpl.java b/web/src/main/java/site/bitinit/pnd/web/service/impl/ResourceServiceImpl.java index 24d8d45..b4c191b 100644 --- a/web/src/main/java/site/bitinit/pnd/web/service/impl/ResourceServiceImpl.java +++ b/web/src/main/java/site/bitinit/pnd/web/service/impl/ResourceServiceImpl.java @@ -4,6 +4,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.core.io.Resource; +import org.springframework.core.io.UrlResource; import org.springframework.stereotype.Service; import org.springframework.transaction.TransactionStatus; import org.springframework.transaction.support.TransactionCallback; @@ -28,6 +30,8 @@ import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import java.io.*; +import java.net.MalformedURLException; +import java.nio.file.Path; import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -88,7 +92,7 @@ public Map prepareFileUpload(String clientId, String md5, Long s PndResource resource = new PndResource(); resource.setMd5(md5); resource.setStatus(SystemConstants.ResourceState.pending.toString()); - resource.setUuid(CommonUtils.uuid()); + resource.setUuid(CommonUtils.uuid()+ CommonUtils.extractFileExtensionName(fileName)); long currentTime = System.currentTimeMillis(); resource.setGmtCreate(currentTime); resource.setGmtModified(currentTime); @@ -101,7 +105,7 @@ public Map prepareFileUpload(String clientId, String md5, Long s resource.setId(resourceId); File pathFile = new File(pathUtils.getResourceAbsolutionPath(resource.getPath())); - File file = new File(pathFile, resource.getUuid() + CommonUtils.extractFileExtensionName(fileName)); + File file = new File(pathFile, resource.getUuid()); try { if (!pathFile.exists()){ pathFile.mkdirs(); @@ -192,6 +196,30 @@ public void changeResourceState(String clientId, Long resourceId, String type) { } } + @Override + public Resource loadResource(Long resourceId) { + Assert.notNull(resourceId, "资源id不能为空"); + + PndResource pndResource = resourceDao.findById(resourceId); + if (Objects.isNull(pndResource)){ + throw new IllegalDataException("没有该文件"); + } + + try { + Path filePath = new File(pathUtils.getResourceAbsolutionPath(pndResource.getPath() + File.separator + pndResource.getUuid())).toPath(); + Resource resource = new UrlResource(filePath.toUri()); + + if (resource.exists()){ + return resource; + } else { + throw new IllegalDataException("没有该文件"); + } + } catch (MalformedURLException e) { + e.printStackTrace(); + throw new IllegalDataException("没有该文件"); + } + } + class UploadAsyncListener implements AsyncListener{ private PndResourceState state; diff --git a/web/src/main/resources/static/css/app.676b5779.css b/web/src/main/resources/static/css/app.cd899355.css similarity index 55% rename from web/src/main/resources/static/css/app.676b5779.css rename to web/src/main/resources/static/css/app.cd899355.css index 78288fd..60626a3 100644 --- a/web/src/main/resources/static/css/app.676b5779.css +++ b/web/src/main/resources/static/css/app.cd899355.css @@ -1 +1 @@ -.file-status[data-v-8fbaab1e]{display:inline-block}.close[data-v-6df26fd8]{display:none}.collapse[data-v-6df26fd8],.open[data-v-6df26fd8]{display:block}.file-upload-layout[data-v-6df26fd8]{position:fixed;bottom:0;right:20px;left:auto;top:auto;width:600px;height:400px;z-index:40;background-color:#fff;-webkit-box-shadow:0 0 10px #ccc;box-shadow:0 0 10px #ccc;border-radius:7px}.collapse-header[data-v-6df26fd8]{height:40px}.dialog-header[data-v-6df26fd8]{height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #dddada}.dialog-header .dialog-header-title[data-v-6df26fd8]{color:#666;font-size:16px}.dialog-header .dialog-control[data-v-6df26fd8]{float:right}.dialog-header .dialog-control span[data-v-6df26fd8]{margin-right:15px;cursor:pointer;font-size:20px;font-weight:400}.file-upload-operation[data-v-6df26fd8]{cursor:pointer;display:inline-block;margin-right:5px;font-size:16px}.file-upload-operation[data-v-6df26fd8]:hover{color:#3794ff}.file-upload-suspend[data-v-6df26fd8]{width:16px;height:16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAQUlEQVQ4T2NkoBAwUqifgWYGXGBgYDBAcx02MZwu+M/AgCGHTWzUACwBBQv40UBkYChgYGCYgJYSsYnRLi8QnUkB5rcWEUgFbt0AAAAASUVORK5CYII=)}.file-upload-suspend[data-v-6df26fd8]:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAT0lEQVQ4T2NkoBAwUqifgTYGmE3+f+FULqMBsuuwiYHksbrAfMr//ydzGFHksImNGgAJ4tFAxB0GBSdzGCcgp0TzKf8xxHAGIikZjOLMBABTeVgRfKsCIwAAAABJRU5ErkJggg==)}body,html{margin:0;padding:0;height:100%;overflow-y:hidden}#app{height:100%;font:300 1em/1.8 PingFang SC,Lantinghei SC,Microsoft Yahei,Hiragino Sans GB,Microsoft Sans Serif,WenQuanYi Micro Hei,Helvetica,sans-serif} \ No newline at end of file +.file-status[data-v-8fbaab1e]{display:inline-block}.close[data-v-4ed49594]{display:none}.collapse[data-v-4ed49594],.open[data-v-4ed49594]{display:block}.file-upload-layout[data-v-4ed49594]{position:fixed;bottom:0;right:20px;left:auto;top:auto;width:600px;height:400px;z-index:40;background-color:#fff;-webkit-box-shadow:0 0 10px #ccc;box-shadow:0 0 10px #ccc;border-radius:7px}.collapse-header[data-v-4ed49594]{height:40px}.dialog-header[data-v-4ed49594]{height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #dddada}.dialog-header .dialog-header-title[data-v-4ed49594]{color:#666;font-size:16px}.dialog-header .dialog-control[data-v-4ed49594]{float:right}.dialog-header .dialog-control span[data-v-4ed49594]{margin-right:15px;cursor:pointer;font-size:20px;font-weight:400}.file-upload-operation[data-v-4ed49594]{cursor:pointer;display:inline-block;margin-right:5px;font-size:16px}.file-upload-operation[data-v-4ed49594]:hover{color:#3794ff}.file-upload-suspend[data-v-4ed49594]{width:16px;height:16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAQUlEQVQ4T2NkoBAwUqifgWYGXGBgYDBAcx02MZwu+M/AgCGHTWzUACwBBQv40UBkYChgYGCYgJYSsYnRLi8QnUkB5rcWEUgFbt0AAAAASUVORK5CYII=)}.file-upload-suspend[data-v-4ed49594]:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAT0lEQVQ4T2NkoBAwUqifgTYGmE3+f+FULqMBsuuwiYHksbrAfMr//ydzGFHksImNGgAJ4tFAxB0GBSdzGCcgp0TzKf8xxHAGIikZjOLMBABTeVgRfKsCIwAAAABJRU5ErkJggg==)}body,html{margin:0;padding:0;height:100%;overflow-y:hidden}#app{height:100%;font:300 1em/1.8 PingFang SC,Lantinghei SC,Microsoft Yahei,Hiragino Sans GB,Microsoft Sans Serif,WenQuanYi Micro Hei,Helvetica,sans-serif} \ No newline at end of file diff --git a/web/src/main/resources/static/css/chunk-081d4dcc.1690b4ca.css b/web/src/main/resources/static/css/chunk-081d4dcc.1690b4ca.css new file mode 100644 index 0000000..7a85f43 --- /dev/null +++ b/web/src/main/resources/static/css/chunk-081d4dcc.1690b4ca.css @@ -0,0 +1 @@ +[data-v-05b0995c]:focus{outline:none}.el-header[data-v-05b0995c]{padding:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);box-shadow:0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28)}.el-header .el-menu[data-v-05b0995c]{padding:0 25px}.menu[data-v-05b0995c]{float:left;height:60px;line-height:60px}.menu img[data-v-05b0995c]{vertical-align:middle;cursor:pointer}.menu span[data-v-05b0995c]{color:#fff;padding-left:10px}.avatar-container[data-v-05b0995c]{float:right;cursor:pointer;line-height:60px;color:#fff}.avatar-container .avatar-wrapper img[data-v-05b0995c]{width:40px;height:40px;border-radius:50%;vertical-align:middle}.inlineBlock[data-v-05b0995c]{text-decoration:none!important}.aside[data-v-afe8c2be]{padding-top:10px;width:200px}.el-menu-vertical[data-v-afe8c2be]:not(.el-menu--collapse){width:200px;min-height:100vh}.main,.main-body{height:100%}.main-body{width:100%} \ No newline at end of file diff --git a/web/src/main/resources/static/css/chunk-12dea456.ecda59fd.css b/web/src/main/resources/static/css/chunk-12dea456.ecda59fd.css deleted file mode 100644 index d2b751b..0000000 --- a/web/src/main/resources/static/css/chunk-12dea456.ecda59fd.css +++ /dev/null @@ -1 +0,0 @@ -[data-v-673fff40]:focus{outline:none}.el-header[data-v-673fff40]{padding:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);box-shadow:0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28)}.el-header .el-menu[data-v-673fff40]{padding:0 25px}.menu[data-v-673fff40]{float:left;height:60px;line-height:60px}.menu img[data-v-673fff40]{vertical-align:middle;cursor:pointer}.menu span[data-v-673fff40]{color:#fff;padding-left:10px}.avatar-container[data-v-673fff40]{float:right;cursor:pointer;line-height:60px;color:#fff}.avatar-container .avatar-wrapper img[data-v-673fff40]{width:40px;height:40px;border-radius:50%;vertical-align:middle}.inlineBlock[data-v-673fff40]{text-decoration:none!important}.aside[data-v-afe8c2be]{padding-top:10px;width:200px}.el-menu-vertical[data-v-afe8c2be]:not(.el-menu--collapse){width:200px;min-height:100vh}.main,.main-body{height:100%}.main-body{width:100%} \ No newline at end of file diff --git a/web/src/main/resources/static/css/chunk-595c59cf.a86da2dc.css b/web/src/main/resources/static/css/chunk-3980955e.55e5debb.css similarity index 74% rename from web/src/main/resources/static/css/chunk-595c59cf.a86da2dc.css rename to web/src/main/resources/static/css/chunk-3980955e.55e5debb.css index f107338..a6f2070 100644 --- a/web/src/main/resources/static/css/chunk-595c59cf.a86da2dc.css +++ b/web/src/main/resources/static/css/chunk-3980955e.55e5debb.css @@ -1 +1 @@ -.file-icon[data-v-2ac62f06]{display:inline-block;background-image:url(../img/file_icons.6ae3d285.png);background-repeat:no-repeat;width:26px;height:23px}.default[data-v-2ac62f06]{background-position:-596px -566px}.folder[data-v-2ac62f06]{background-position:-594px -862px}.pdf[data-v-2ac62f06]{background-position:-596px -136px}.compress_file[data-v-2ac62f06]{background-position:-596px -1664px}.video[data-v-2ac62f06]{background-position:-596px -1630px}.audio[data-v-2ac62f06]{background-position:-596px -442px}.picture[data-v-2ac62f06]{background-position:-596px -306px}.doc[data-v-2ac62f06]{background-position:-596px -170px}.txt[data-v-2ac62f06]{background-position:-596px -102px}.ppt[data-v-2ac62f06]{background-position:-596px -204px}.torrent[data-v-2ac62f06]{background-position:-596px 0}.web[data-v-2ac62f06]{background-position:-594px -1458px}.code[data-v-2ac62f06]{background-position:-596px -1424px}.navigation[data-v-30ecfdd4]{font-size:14px;font-weight:400;color:#606266;line-height:1}.navigation .navigation-separator[data-v-30ecfdd4]{padding:0 5px}.navigation .navigation-prefix[data-v-30ecfdd4]{display:inline-block}.navigation .go-back[data-v-30ecfdd4]{font-weight:700;cursor:pointer}.navigation .go-back[data-v-30ecfdd4]:hover{color:#3794ff}.navigation .breadcrumb[data-v-30ecfdd4]{display:inline-block;cursor:pointer}.navigation .breadcrumb .breadcrumb-item[data-v-30ecfdd4]{display:inline-block}.navigation .breadcrumb .breadcrumb-sparator[data-v-30ecfdd4]{display:inline-block;padding:0 5px}.navigation .breadcrumb .breadcrumb-item-val[data-v-30ecfdd4]:hover{color:#3794ff}.el-dropdown-link[data-v-49939484]{cursor:pointer;color:#409eff}.el-icon-arrow-down[data-v-49939484]{font-size:12px}.el-main[data-v-25a08440]{margin-bottom:50px}.upload[data-v-25a08440]{display:inline-block;margin-right:10px}.upload .upload-input[data-v-25a08440]{display:none}.content[data-v-25a08440]{margin-top:20px}.content .content-table[data-v-25a08440]{margin-top:10px}.el-dropdown-link[data-v-25a08440]{cursor:pointer;color:#409eff}.el-icon-arrow-down[data-v-25a08440]{font-size:12px}.file-name[data-v-25a08440]{display:inline-block;padding-left:5px;text-decoration:none;color:#000;cursor:pointer}.file-name[data-v-25a08440]:hover{color:#3794ff} \ No newline at end of file +.file-icon[data-v-2ac62f06]{display:inline-block;background-image:url(../img/file_icons.6ae3d285.png);background-repeat:no-repeat;width:26px;height:23px}.default[data-v-2ac62f06]{background-position:-596px -566px}.folder[data-v-2ac62f06]{background-position:-594px -862px}.pdf[data-v-2ac62f06]{background-position:-596px -136px}.compress_file[data-v-2ac62f06]{background-position:-596px -1664px}.video[data-v-2ac62f06]{background-position:-596px -1630px}.audio[data-v-2ac62f06]{background-position:-596px -442px}.picture[data-v-2ac62f06]{background-position:-596px -306px}.doc[data-v-2ac62f06]{background-position:-596px -170px}.txt[data-v-2ac62f06]{background-position:-596px -102px}.ppt[data-v-2ac62f06]{background-position:-596px -204px}.torrent[data-v-2ac62f06]{background-position:-596px 0}.web[data-v-2ac62f06]{background-position:-594px -1458px}.code[data-v-2ac62f06]{background-position:-596px -1424px}.navigation[data-v-30ecfdd4]{font-size:14px;font-weight:400;color:#606266;line-height:1}.navigation .navigation-separator[data-v-30ecfdd4]{padding:0 5px}.navigation .navigation-prefix[data-v-30ecfdd4]{display:inline-block}.navigation .go-back[data-v-30ecfdd4]{font-weight:700;cursor:pointer}.navigation .go-back[data-v-30ecfdd4]:hover{color:#3794ff}.navigation .breadcrumb[data-v-30ecfdd4]{display:inline-block;cursor:pointer}.navigation .breadcrumb .breadcrumb-item[data-v-30ecfdd4]{display:inline-block}.navigation .breadcrumb .breadcrumb-sparator[data-v-30ecfdd4]{display:inline-block;padding:0 5px}.navigation .breadcrumb .breadcrumb-item-val[data-v-30ecfdd4]:hover{color:#3794ff}.el-dropdown-link[data-v-2c6dfaf8]{cursor:pointer;color:#409eff}.el-icon-arrow-down[data-v-2c6dfaf8]{font-size:12px}.el-main[data-v-51160b6b]{margin-bottom:50px}.upload[data-v-51160b6b]{display:inline-block;margin-right:10px}.upload .upload-input[data-v-51160b6b]{display:none}.content[data-v-51160b6b]{margin-top:20px}.content .content-table[data-v-51160b6b]{margin-top:10px}.el-dropdown-link[data-v-51160b6b]{cursor:pointer;color:#409eff}.el-icon-arrow-down[data-v-51160b6b]{font-size:12px}.file-name[data-v-51160b6b]{display:inline-block;padding-left:5px;text-decoration:none;color:#000;cursor:pointer}.file-name[data-v-51160b6b]:hover{color:#3794ff} \ No newline at end of file diff --git a/web/src/main/resources/static/favicon.ico b/web/src/main/resources/static/favicon.ico deleted file mode 100644 index c7b9a43..0000000 Binary files a/web/src/main/resources/static/favicon.ico and /dev/null differ diff --git a/web/src/main/resources/static/index.html b/web/src/main/resources/static/index.html index 70a067d..c02caf3 100644 --- a/web/src/main/resources/static/index.html +++ b/web/src/main/resources/static/index.html @@ -1 +1 @@ -个人网盘
\ No newline at end of file +个人网盘
\ No newline at end of file diff --git a/web/src/main/resources/static/js/app.1faec34b.js b/web/src/main/resources/static/js/app.1faec34b.js deleted file mode 100644 index 76296ca..0000000 --- a/web/src/main/resources/static/js/app.1faec34b.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){function t(t){for(var i,r,s=t[0],l=t[1],u=t[2],c=0,d=[];c=e.size?e.size:t+n;a.readAsBinaryString(e.slice(t,i))}a.onload=function(e){r+=50,o+=w()(e.target.result),re.size&&(n=e.size);var i=e.blob.slice(e.completionBytes,n),r=new FileReader,o=new FormData;o.set("resourceId",e.resourceId),o.set("clientId",t.clientId),o.append("file",i),r.onloadend=function(n){n.target.readyState==FileReader.DONE&&Object(g["h"])(o).then(function(n){e.completionBytes=n.data.completeBytes,0!==n.data.code?(O(e),t.upload()):e.completionBytes===e.size?(j(e),t.successCallback(),t.upload()):(e.description=I(e.completionBytes,e.size),setTimeout(t.go,5,e,t))})},r.readAsBinaryString(i)}},{key:"upload0",value:function(e,t){"preupload"===e.status?A(e,function(n){Object(g["c"])({resourceId:n,name:e.fileName,parentId:e.targetFolderId}).then(function(){t.successCallback(),j(e),t.upload()})},function(n){Object(g["k"])(t.clientId,e.size,n,e.fileName,e.targetFolderId).then(function(n){e.resourceId=n.data.resourceId,L(e),t.go(e,t)})}):"resume"===e.status&&(L(e),t.go(e,t))}},{key:"upload",value:function(e){e=e||this;var t=e.maxConcurrentUploadNumber-x(e.originFileArr);if(t>0)for(var n=0;n0;n++){var i=e.originFileArr[n];"preupload"!==i.status&&"resume"!==i.status||(setTimeout(e.upload0,5,i,e),t--)}}},{key:"pause",value:function(e){var t=this.originFileArr.find(function(t){return t.id===e}),n=this;Object(g["a"])(this.clientId,t.resourceId,"pause").then(function(){O(t),n.upload()})}},{key:"resume",value:function(e){var t=this.originFileArr.find(function(t){return t.id===e}),n=this;Object(g["a"])(this.clientId,t.resourceId,"resume").then(function(){E(t),n.upload()})}},{key:"delete",value:function(e){var t=this.originFileArr.findIndex(function(t){return t.id===e});"uploading"===this.originFileArr[t].status&&this.pause(e);var n=this.originFileArr.slice(t+1);this.originFileArr.length=t,this.originFileArr.push.apply(this.originFileArr,n)}},{key:"pauseAll",value:function(){for(var e in this.originFileArr){var t=this.originFileArr[e];"uploading"===t.status&&this.pause(t.id)}}}]),e}();function _(e,t){for(var n in e){var i=e[n];if(i.fileName===t.fileName&&i.size===t.size&&i.targetFileId===t.targetFileId)return!0}return!1}function x(e){var t=0;for(var n in e){var i=e[n];"uploading"===i.status&&t++}return t}function A(e,t,n){N(e),S(e.blob,function(e){Object(g["m"])(e).then(function(i){i.data.exist?t(i.data.resourceId):n(e)})})}function j(e){e.status="success",e.description="上传成功"}function N(e){e.status="check",e.description="校验中..."}function O(e){e.status="paused",e.description="已中断"}function E(e){e.status="resume",e.description="恢复中..."}function L(e){e.status="uploading",e.description="上传中..."}var T={components:{FileUploadStatus:v},data:function(){return{tableData:[],fileUploader:null}},computed:Object(l["a"])({},Object(b["b"])({status:function(e){return e.fileUploadComponentStatus}})),watch:{"$store.state.fileUploadList":function(e){this.fileUploader.addNewFiles(e)}},methods:{operationWindow:function(e){var t=this;if("close"===e){for(var n=0,i=0;i1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss",n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),"S+":e.getMilliseconds()};for(var i in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)if(new RegExp("("+i+")").test(t)){for(var r="",o=1;o<=RegExp.$1.length;o++)r+="0";var a="";if(1==RegExp.$1.length)a=n[i];else{r+=n[i];var s=(""+n[i]).length;r=r.substr(s),a=r}t=t.replace(RegExp.$1,a)}return t}function r(e){return e=parseInt(e),0===e?"-":e<1024?e+"B":e<1048576?(e/1024).toFixed(1)+"K":e<1073741824?(e/1048576).toFixed(1)+"M":(e/1073741824).toFixed(1)+"G"}},"917f":function(e,t,n){},ef69:function(e,t,n){"use strict";var i=n("06ed"),r=n.n(i);r.a},f759:function(e,t,n){}}); -//# sourceMappingURL=app.1faec34b.js.map \ No newline at end of file diff --git a/web/src/main/resources/static/js/app.1faec34b.js.map b/web/src/main/resources/static/js/app.1faec34b.js.map deleted file mode 100644 index 962ad78..0000000 --- a/web/src/main/resources/static/js/app.1faec34b.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?a1d8","webpack:///./src/views/upload/FileUploadStatus.vue?396d","webpack:///./src/App.vue?243b","webpack:///./src/views/upload/index.vue?63bc","webpack:///./src/views/upload/FileUploadStatus.vue?d826","webpack:///src/views/upload/FileUploadStatus.vue","webpack:///./src/views/upload/FileUploadStatus.vue?3c93","webpack:///./src/views/upload/FileUploadStatus.vue","webpack:///./src/util/md5_utils.js","webpack:///./src/views/upload/FileUploader.js","webpack:///src/views/upload/index.vue","webpack:///./src/views/upload/index.vue?53b1","webpack:///./src/views/upload/index.vue","webpack:///src/App.vue","webpack:///./src/App.vue?c4c1","webpack:///./src/App.vue","webpack:///./src/router.js","webpack:///./src/store.js","webpack:///./src/main.js","webpack:///./src/api/request.js","webpack:///./src/api/resource.js","webpack:///./src/util/common_utils.js","webpack:///./src/views/upload/index.vue?92c4"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","app","jsonpScriptSrc","p","chunk-12dea456","chunk-2d0be6a0","chunk-595c59cf","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_FileUploadStatus_vue_vue_type_style_index_0_id_8fbaab1e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_FileUploadStatus_vue_vue_type_style_index_0_id_8fbaab1e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","Appvue_type_template_id_84166c1a_render","_vm","this","_h","$createElement","_c","_self","attrs","id","$store","state","fileUploadComponentStatus","_e","staticRenderFns","uploadvue_type_template_id_6df26fd8_scoped_true_render","staticClass","class","status","on","click","$event","operationWindow","_v","stopPropagation","preventDefault","staticStyle","width","tableData","height","prop","label","formatter","formatterSize","scopedSlots","_u","fn","scope","fileStatus","row","description","title","resumeFileUpload","pauseFile","deleteFile","uploadvue_type_template_id_6df26fd8_scoped_true_staticRenderFns","FileUploadStatusvue_type_template_id_8fbaab1e_scoped_true_render","color","_s","FileUploadStatusvue_type_template_id_8fbaab1e_scoped_true_staticRenderFns","FileUploadStatusvue_type_script_lang_js_","props","String","upload_FileUploadStatusvue_type_script_lang_js_","component","componentNormalizer","FileUploadStatus","fileMd5","file","callback","chunkSize","chunks","Math","ceil","size","currentChunk","fileReader","FileReader","loadNext","start","end","readAsBinaryString","md5","getPercent","num","total","parseFloat","isNaN","round","nop","FileUploader","maxConcurrentUploadNumber","chunkByteSize","clientId","originFileArr","successCallback","classCallCheck","createClass","newFiles","newFile","getAndIncreateId","fileName","targetFolderName","targetFolderId","blob","completionBytes","resourceId","contains","upload","that","reader","formData","FormData","set","append","onloadend","readyState","DONE","fileUpload","response","completeBytes","setPaused","setSuccess","go","checkFileIsExists","createFile","parentId","prepareFileUpload","setUploading","canUploadFileNumber","numberOfCurrentlyUploading","upload0","find","element","changeFileState","setResume","index","findIndex","pause","rest","targetFileId","numberOfUploadsBeingProcessed","existsCallback","inexistsCallback","setCheck","resourceExist","exist","uploadvue_type_script_lang_js_","components","fileUploader","computed","objectSpread","vuex_esm","watch","$store.state.fileUploadList","addNewFiles","methods","_this","unfinishedTask","$confirm","confirmButtonText","cancelButtonText","pauseAll","commit","catch","common_utils","statusChange","isEqualsOfFiles","resume","delete","created","resource","FileUploader_FileUploader","maxConcurrentUploadNumbers","fileUploadList","views_uploadvue_type_script_lang_js_","upload_component","Appvue_type_script_lang_js_","Upload","src_Appvue_type_script_lang_js_","App_component","App","Vue","use","Router","router","base","process","routes","path","redirect","children","Vuex","store","Store","asideStatus","levelList","fileTreeDialogVisible","fileTreeInfo","flushFileListEvent","mutations","toggleAside","operationFileUploadWindow","addUploadFile","fileUploadInfo","clearFileUploadList","pushLevelList","val","spliceLevelList","openFileTreeDialog","info","closeFileTreeDialog","actions","config","productionTip","ElementUI","render","h","$mount","req","Axios","baseURL","interceptors","msg","Message","message","duration","fetchFileList","url","method","params","createNewFolder","folderName","renameFile","fetchSubfolder","moveFile","targetId","copyFile","targetIds","getConfig","fingerPrint","headers","Content-Type","__webpack_exports__","resource_fileUpload","resource_changeFileState","formatterMillisecond","date","format","arguments","M+","getMonth","d+","getDate","h+","getHours","m+","getMinutes","s+","getSeconds","q+","floor","S+","getMilliseconds","k","test","replace","RegExp","$1","getFullYear","substr","formatStr","replaceStr","formatterFileSize","parseInt","toFixed","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_6df26fd8_lang_scss_ref_stylesheet_2Fscss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_6df26fd8_lang_scss_ref_stylesheet_2Fscss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAGAe,KAAAhB,GAEA,MAAAO,EAAAC,OACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7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AAa,GAAK,GAC1CW,KAAOf,EAAKgB,mBAShB,IAAK,IAAIC,IALL,OAAOC,KAAKjB,KACZA,EAASA,EAAOkB,QAAQC,OAAOC,IAAKrB,EAAKsB,cAAgB,IAAIC,OAAO,EAClEH,OAAOC,GAAGnX,UAGFsF,EACV,GAAI,IAAI4R,OAAO,IAAMH,EAAI,KAAKC,KAAKjB,GAAS,CAE5C,IADA,IAAIuB,EAAU,GACNxX,EAAE,EAAEA,GAAGoX,OAAOC,GAAGnX,OAAOF,IAC5BwX,GAAW,IAGf,IAAIC,EAAW,GACf,GAAuB,GAApBL,OAAOC,GAAGnX,OACTuX,EAAWjS,EAAEyR,OACZ,CACDO,GAAoBhS,EAAEyR,GACtB,IAAIhI,GAAO,GAAKzJ,EAAEyR,IAAI/W,OACtBsX,EAAUA,EAAUD,OAAOtI,GAC3BwI,EAAWD,EAEfvB,EAASA,EAAOkB,QAAQC,OAAOC,GAAII,GAGvC,OAAOxB,EAGJ,SAASyB,EAAmBpW,GAE/B,OADAA,EAAIqW,SAASrW,GACH,IAANA,EACO,IACAA,EAAI,KACJA,EAAI,IACLA,EAAI,SACFA,EAAI,MAAMsW,QAAQ,GAAK,IACxBtW,EAAI,YACHA,EAAC,SAAkBsW,QAAQ,GAAK,KAEhCtW,EAAC,YAAyBsW,QAAQ,GAAK,iECnDvD,IAAAC,EAAAxW,EAAA,QAAAyW,EAAAzW,EAAAkF,EAAAsR,GAAmuBC,EAAG","file":"js/app.1faec34b.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-12dea456\":\"9167223f\",\"chunk-2d0be6a0\":\"1ba48faf\",\"chunk-595c59cf\":\"fbe19239\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-12dea456\":1,\"chunk-595c59cf\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-12dea456\":\"ecda59fd\",\"chunk-2d0be6a0\":\"31d6cfe0\",\"chunk-595c59cf\":\"a86da2dc\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=style&index=0&id=8fbaab1e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=style&index=0&id=8fbaab1e&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view'),(_vm.$store.state.fileUploadComponentStatus !== 'close')?_c('Upload'):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"file-upload-layout\",class:[_vm.status === 'open'? 'open': 'close']},[_c('div',{staticClass:\"dialog-header\",on:{\"click\":function($event){return _vm.operationWindow('collapse')}}},[_c('span',{staticClass:\"dialog-header-title\"},[_vm._v(\"文件上传\")]),_c('div',{staticClass:\"dialog-control\"},[_c('span',{on:{\"click\":function($event){return _vm.operationWindow('collapse')}}},[_vm._v(\"-\")]),_c('span',{on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.operationWindow('close')}}},[_vm._v(\"x\")])])]),_c('div',{staticClass:\"dialog-body\"},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"height\":\"360\"}},[_c('el-table-column',{attrs:{\"prop\":\"fileName\",\"label\":\"文件名\",\"width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"size\",\"label\":\"大小\",\"formatter\":_vm.formatterSize,\"width\":\"80\"}}),_c('el-table-column',{attrs:{\"prop\":\"targetFolderName\",\"label\":\"上传目录\"}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('FileUploadStatus',{attrs:{\"fileStatus\":scope.row.status,\"description\":scope.row.description}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status === 'paused')?_c('i',{staticClass:\"el-icon-caret-right file-upload-operation\",attrs:{\"title\":\"恢复上传\"},on:{\"click\":function($event){return _vm.resumeFileUpload(scope.row.id)}}}):(scope.row.status !== 'success')?_c('span',{staticClass:\"file-upload-operation file-upload-suspend\",attrs:{\"title\":\"暂停\"},on:{\"click\":function($event){return _vm.pauseFile(scope.row.id)}}}):_vm._e(),_c('i',{staticClass:\"el-icon-close file-upload-operation\",attrs:{\"title\":\"删除\"},on:{\"click\":function($event){return _vm.deleteFile(scope.row.id)}}})]}}])})],1)],1)]),_c('div',{staticClass:\"file-upload-layout collapse-header\",class:[_vm.status === 'collapse'? 'collapse': 'close'],on:{\"click\":function($event){return _vm.operationWindow('open')}}},[_c('div',{staticClass:\"dialog-header\"},[_c('span',{staticClass:\"dialog-header-title\"},[_vm._v(\"文件上传\")]),_c('div',{staticClass:\"dialog-control\"},[_c('span',{on:{\"click\":function($event){return _vm.operationWindow('open')}}},[_vm._v(\"□\")]),_c('span',{on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.operationWindow('close')}}},[_vm._v(\"x\")])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"file-status\"},[(_vm.fileStatus === 'success')?_c('i',{staticClass:\"el-icon-success\",staticStyle:{\"color\":\"#3794ff\"}}):(_vm.fileStatus === 'check')?_c('span',[_vm._v(\"校验中...\")]):(_vm.fileStatus === 'preupload')?_c('span',[_vm._v(\"等待中...\")]):(_vm.fileStatus === 'uploading')?_c('span',[_vm._v(_vm._s(_vm.description))]):(_vm.fileStatus === 'paused')?_c('span',[_vm._v(\"已暂停\")]):_c('span',[_vm._v(_vm._s(_vm.description))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileUploadStatus.vue?vue&type=template&id=8fbaab1e&scoped=true&\"\nimport script from \"./FileUploadStatus.vue?vue&type=script&lang=js&\"\nexport * from \"./FileUploadStatus.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FileUploadStatus.vue?vue&type=style&index=0&id=8fbaab1e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8fbaab1e\",\n null\n \n)\n\nexport default component.exports","import md5 from 'js-md5'\n\n/**\n * 计算文件的md5值:每50M数据选取前1M得到md5,然后将所有的md5值再做一次md5运算\n * @param {File} file\n * @param {Function} callback 回调函数\n */\nexport const fileMd5 = (file, callback) => {\n var chunkSize = 1048576,\n chunks = Math.ceil(file.size / chunkSize),\n currentChunk = 0, result = \"\",\n fileReader = new FileReader()\n\n fileReader.onload = function(e){\n currentChunk = currentChunk + 50\n result += md5(e.target.result)\n\n if (currentChunk < chunks){\n loadNext()\n } else {\n callback(md5(result))\n }\n }\n\n function loadNext() {\n let start = currentChunk * chunkSize,\n end = ((start + chunkSize) >= file.size)? file.size: start + chunkSize\n fileReader.readAsBinaryString(file.slice(start, end))\n }\n\n loadNext()\n}","import {fileMd5} from '@/util/md5_utils.js'\nimport {resourceExist, createFile, prepareFileUpload, fileUpload, changeFileState} from '@/api/resource.js'\n\nexport const getPercent = function(num, total) {\n num = parseFloat(num);\n total = parseFloat(total);\n if (isNaN(num) || isNaN(total)) {\n return \"-\";\n }\n return total <= 0 ? \"0%\" : (Math.round(num / total * 10000) / 100.00)+\"%\";\n}\n\nfunction nop (){}\nexport const FileUploader = class {\n\n /**\n * 初始化\n */\n constructor (maxConcurrentUploadNumber, chunkByteSize, clientId, \n originFileArr, successCallback){\n this.maxConcurrentUploadNumber = maxConcurrentUploadNumber\n this.chunkByteSize = chunkByteSize\n this.clientId = clientId\n this.id = 0\n this.originFileArr = originFileArr\n this.successCallback = successCallback || nop\n }\n \n \n getAndIncreateId () {\n return this.id++\n }\n\n addNewFiles (newFiles) {\n for (let i in newFiles){\n let newFile = newFiles[i],\n file = {\n id: this.getAndIncreateId(),\n fileName: newFile.file.name,\n status: 'preupload', //preupload, check, uploading, paused, resume,success\n description: '等待中...',\n size: newFile.file.size,\n targetFolderName: newFile.targetFolderName,\n targetFolderId: newFile.targetFolderId,\n blob: newFile.file,\n completionBytes: 0,\n resourceId: 0\n }\n if (!contains(this.originFileArr, file)){\n this.originFileArr.push(file)\n }\n }\n this.upload()\n }\n\n go (file, that) {\n let end = file.completionBytes + that.chunkByteSize\n if (end > file.size) {\n end = file.size\n }\n\n var chunk = file.blob.slice(file.completionBytes, end),\n reader = new FileReader()\n var formData = new FormData()\n formData.set('resourceId', file.resourceId)\n formData.set('clientId', that.clientId)\n formData.append('file', chunk)\n\n reader.onloadend = function(e){\n if (e.target.readyState == FileReader.DONE){\n fileUpload(formData).then((response) => {\n file.completionBytes = response.data.completeBytes\n if (response.data.code !== 0){ //暂停\n setPaused(file)\n that.upload()\n } else {\n if (file.completionBytes === file.size){ // 上传完成\n setSuccess(file)\n that.successCallback()\n that.upload()\n } else { // 还需要继续上传文件块\n file.description = getPercent(file.completionBytes, file.size)\n setTimeout(that.go, 5, file, that);\n }\n }\n })\n }\n }\n reader.readAsBinaryString(chunk)\n }\n\n upload0 (file, that) {\n if (file.status === 'preupload'){\n checkFileIsExists(file, function (resourceId) { // 系统存在该文件,不需要再次上传\n createFile({\n resourceId: resourceId,\n name: file.fileName,\n parentId: file.targetFolderId\n }).then(() => {\n that.successCallback()\n setSuccess(file)\n that.upload()\n })\n }, function(md5) { // 系统不存在该文件,则进行文件上传预处理\n prepareFileUpload(that.clientId, file.size, md5, file.fileName, file.targetFolderId).then((response) => {\n file.resourceId = response.data.resourceId\n setUploading(file)\n that.go(file, that)\n })\n })\n } else if (file.status === 'resume'){\n setUploading(file)\n that.go(file, that)\n }\n }\n\n /**\n * 开始上传文件\n * @param {*} originFileArr \n */\n upload (that){\n that = that || this\n let canUploadFileNumber = that.maxConcurrentUploadNumber - numberOfCurrentlyUploading(that.originFileArr)\n if (canUploadFileNumber > 0){\n for (let i = 0; i < that.originFileArr.length && canUploadFileNumber > 0; i++){\n let file = that.originFileArr[i]\n if (file.status === 'preupload' || file.status === 'resume'){\n setTimeout(that.upload0, 5, file, that);\n canUploadFileNumber--\n }\n }\n }\n }\n\n pause (id) {\n let file = this.originFileArr.find((element) => {\n return element.id === id\n }), that = this\n changeFileState(this.clientId, file.resourceId, \"pause\").then(() => {\n setPaused(file)\n that.upload()\n })\n }\n\n resume (id) {\n let file = this.originFileArr.find((element) => {\n return element.id === id\n }), that = this\n changeFileState(this.clientId, file.resourceId, \"resume\").then(() => {\n setResume(file)\n that.upload()\n })\n }\n\n delete (id) {\n let index = this.originFileArr.findIndex((element) => {\n return element.id === id\n })\n if (this.originFileArr[index].status === 'uploading'){\n this.pause(id)\n }\n let rest = this.originFileArr.slice(index + 1)\n this.originFileArr.length = index\n this.originFileArr.push.apply(this.originFileArr, rest)\n }\n\n pauseAll () {\n for (let i in this.originFileArr){\n let file = this.originFileArr[i]\n if (file.status === 'uploading'){\n this.pause(file.id)\n }\n }\n }\n};\n\nfunction contains(originFileArr, newFile){\n for (let i in originFileArr){\n let file = originFileArr[i]\n if (file.fileName === newFile.fileName && file.size === newFile.size\n && file.targetFileId === newFile.targetFileId){\n return true\n }\n }\n return false\n}\n\nfunction numberOfCurrentlyUploading (originFileArr){\n let numberOfUploadsBeingProcessed = 0\n for (let i in originFileArr){\n var file = originFileArr[i]\n if (file.status === 'uploading'){\n numberOfUploadsBeingProcessed++\n }\n }\n return numberOfUploadsBeingProcessed\n}\n\nfunction checkFileIsExists (file, existsCallback, inexistsCallback) {\n setCheck(file)\n fileMd5(file.blob, function (md5){\n resourceExist(md5).then((response) => {\n if (response.data.exist){\n existsCallback(response.data.resourceId)\n } else {\n inexistsCallback(md5)\n }\n })\n })\n}\n\nfunction setSuccess (file){\n file.status = 'success'\n file.description = '上传成功'\n}\nfunction setCheck (file){\n file.status = 'check'\n file.description = '校验中...'\n}\nfunction setPaused (file){\n file.status = 'paused'\n file.description = '已中断'\n}\nfunction setResume (file) {\n file.status = 'resume'\n file.description = '恢复中...'\n}\nfunction setUploading(file){\n file.status = 'uploading'\n file.description = '上传中...'\n}","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=6df26fd8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=6df26fd8&lang=scss&ref=stylesheet%2Fscss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6df26fd8\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n","import mod from \"-!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=84166c1a&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Router from 'vue-router'\n\nVue.use(Router)\n\nexport default new Router({\n // mode: 'history',\n base: process.env.BASE_URL,\n routes: [\n { path: '/', redirect: '/file', name: '首页'},\n {\n path: '/',\n name: 'home',\n component: () => import('./views/Main'),\n children: [{\n path: 'file',\n component: () => import('@/views/home/FileList')\n },{\n path: 'white',\n component: () => import('@/views/layout/White')\n }]\n }\n ]\n})","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n // 侧边栏样式\n asideStatus: 'inline-block',\n // 文件上传窗口状态 打开:open 关闭:close 折叠:collapse\n fileUploadComponentStatus: 'close',\n fileUploadList: [],\n levelList: [],\n fileTreeDialogVisible: false,\n fileTreeInfo: {\n title: '设置'\n },\n flushFileListEvent: 0\n },\n mutations: {\n toggleAside(state) {\n state.asideStatus = state.asideStatus === 'inline-block'? 'none': 'inline-block'\n },\n operationFileUploadWindow (state, status) {\n state.fileUploadComponentStatus = status\n },\n addUploadFile (state, fileUploadInfo) {\n //fileUploadInfo格式 {targetFolderId: x, targetFolderName: x, file: jsFileObject} jsFileObject {name: 'xx', size: 'xx'}\n state.fileUploadList.push(fileUploadInfo)\n },\n clearFileUploadList(state){\n state.fileUploadList = []\n },\n pushLevelList (state, val){\n state.levelList.push(val)\n },\n spliceLevelList(state, index){\n state.levelList.splice(index + 1, state.levelList.length - index)\n },\n openFileTreeDialog(state, info){\n state.fileTreeDialogVisible = true\n state.fileTreeInfo = info\n },\n closeFileTreeDialog (state){\n state.fileTreeDialogVisible = false\n },\n flushFileListEvent (state){\n state.flushFileListEvent++\n }\n },\n actions: {\n\n }\n})\n","import Vue from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\nimport ElementUI from 'element-ui';\nimport 'element-ui/lib/theme-chalk/index.css';\n\nVue.config.productionTip = false\nVue.use(ElementUI)\n\nnew Vue({\n router,\n store,\n render: h => h(App)\n}).$mount('#app')\n","import Axios from \"axios\"\nimport { Message } from 'element-ui'\n\nvar req = Axios.create({\n baseURL: '/',\n timeout: 10000\n})\n\nreq.interceptors.response.use(response => {\n return response.data\n}, error => {\n var msg = error\n if (error.response && error.response.data && error.response.data.msg) {\n msg = error.response.data.msg\n }\n Message({\n message: msg,\n type: 'error',\n duration: 3 * 1000\n })\n return Promise.reject(error)\n})\n\nexport default req\n","import request from '@/api/request'\n\nexport function fetchFileList(parentId) {\n return request({\n url: '/v1/file',\n method: 'get',\n params: {\n parentId\n }\n })\n}\n\nexport function createNewFolder(parentId, folderName){\n return request({\n url: '/v1/file/folder',\n method: 'post',\n params: {\n parentId, folderName\n }\n })\n}\n\nexport function createFile (data){\n return request({\n url: '/v1/file',\n method: 'post',\n data\n })\n}\n\nexport function renameFile (id, fileName){\n return request({\n url: '/v1/file/' + id,\n method: 'put',\n params: {\n fileName\n }\n })\n}\n\nexport function deleteFile(id){\n return request({\n url: '/v1/file/' + id,\n method: 'delete',\n })\n}\n\nexport function fetchSubfolder(id){\n return request({\n url: '/v1/file/' + id + '/subfolder',\n method: 'get'\n })\n}\n\nexport function moveFile(id, targetId){\n return request({\n url: '/v1/file/' + id + '/move/' + targetId,\n method: 'put'\n })\n}\n\nexport function copyFile(id, targetIds){\n return request({\n url: '/v1/file/' + id + '/copy',\n method: 'post',\n data: targetIds\n })\n}\n\nexport function getConfig(){\n return request({\n url: 'v1/rs/config',\n })\n}\n\nexport function resourceExist(fingerPrint){\n return request({\n url: '/v1/rs/fingerPrint',\n params: {\n fingerPrint\n }\n })\n}\n\nexport function prepareFileUpload (clientId, size, md5, fileName, parentId){\n return request({\n url: '/v1/rs/preparation',\n method: 'post',\n params: {\n clientId, size, md5, fileName, parentId\n }\n })\n}\n\nexport function fileUpload(formData){\n return request({\n url: '/v1/rs',\n method: 'post',\n config: {\n headers: {'Content-Type': 'multipart/form-data'}\n },\n data: formData\n })\n}\n\nexport const changeFileState = (clientId, resourceId, type) => {\n return request({\n url: '/v1/rs/state',\n method: 'put',\n params: {\n clientId, resourceId, type\n }\n })\n}","\nexport function formatterMillisecond(date, format = 'yyyy-MM-dd hh:mm:ss'){\n var o = {\n \"M+\" : date.getMonth() + 1, // month\n \"d+\" : date.getDate(), // day\n \"h+\" : date.getHours(), // hour\n \"m+\" : date.getMinutes(), // minute\n \"s+\" : date.getSeconds(), // second\n \"q+\" : Math.floor((date.getMonth() + 3) / 3), // quarter\n \"S+\" : date.getMilliseconds()\n // millisecond\n }\n\n if (/(y+)/.test(format)) {\n format = format.replace(RegExp.$1, (date.getFullYear() + \"\").substr(4\n - RegExp.$1.length));\n }\n\n for (var k in o) {\n if (new RegExp(\"(\" + k + \")\").test(format)) {\n var formatStr=\"\";\n for(var i=1;i<=RegExp.$1.length;i++){\n formatStr+=\"0\";\n }\n\n var replaceStr=\"\";\n if(RegExp.$1.length == 1){\n replaceStr=o[k];\n }else{\n formatStr=formatStr+o[k];\n var index=(\"\" + o[k]).length;\n formatStr=formatStr.substr(index);\n replaceStr=formatStr;\n }\n format = format.replace(RegExp.$1, replaceStr);\n }\n }\n return format;\n}\n\nexport function formatterFileSize (s) {\n s = parseInt(s)\n if (s === 0) {\n return '-'\n } else if (s < 1024) {\n return s + 'B'\n } else if(s < 1024 * 1024) {\n return (s / 1024).toFixed(1) + 'K'\n } else if (s < 1024 * 1024 * 1024) {\n return (s / (1024 * 1024)).toFixed(1) + 'M'\n } else {\n return (s / (1024 * 1024 * 1024)).toFixed(1) + 'G'\n }\n}\n\n","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=6df26fd8&lang=scss&ref=stylesheet%2Fscss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=6df26fd8&lang=scss&ref=stylesheet%2Fscss&scoped=true&\""],"sourceRoot":""} \ No newline at end of file diff --git a/web/src/main/resources/static/js/app.6d718ee9.js b/web/src/main/resources/static/js/app.6d718ee9.js new file mode 100644 index 0000000..a35452e --- /dev/null +++ b/web/src/main/resources/static/js/app.6d718ee9.js @@ -0,0 +1,2 @@ +(function(e){function t(t){for(var i,r,s=t[0],l=t[1],u=t[2],c=0,d=[];c=e.size?e.size:t+n;a.readAsBinaryString(e.slice(t,i))}a.onload=function(e){r+=50,o+=w()(e.target.result),re.size&&(n=e.size);var i=e.blob.slice(e.completionBytes,n),r=new FileReader,o=new FormData;o.set("resourceId",e.resourceId),o.set("clientId",t.clientId),o.append("file",i),r.onloadend=function(n){n.target.readyState==FileReader.DONE&&Object(g["h"])(o).then(function(n){e.completionBytes=n.data.completeBytes,0!==n.data.code?(O(e),t.upload()):e.completionBytes===e.size?(j(e),t.successCallback(),t.upload()):(e.description=I(e.completionBytes,e.size),setTimeout(t.go,2,e,t))})},r.readAsBinaryString(i)}},{key:"upload0",value:function(e,t){"preupload"===e.status?A(e,function(n){Object(g["c"])({resourceId:n,name:e.fileName,parentId:e.targetFolderId}).then(function(){t.successCallback(),j(e),t.upload()})},function(n){Object(g["k"])(t.clientId,e.size,n,e.fileName,e.targetFolderId).then(function(n){e.resourceId=n.data.resourceId,L(e),t.go(e,t)})}):"resume"===e.status&&(L(e),t.go(e,t))}},{key:"upload",value:function(e){e=e||this;var t=e.maxConcurrentUploadNumber-x(e.originFileArr);if(t>0)for(var n=0;n0;n++){var i=e.originFileArr[n];"preupload"!==i.status&&"resume"!==i.status||(setTimeout(e.upload0,5,i,e),t--)}}},{key:"pause",value:function(e){var t=this.originFileArr.find(function(t){return t.id===e}),n=this;Object(g["a"])(this.clientId,t.resourceId,"pause").then(function(){O(t),n.upload()})}},{key:"resume",value:function(e){var t=this.originFileArr.find(function(t){return t.id===e}),n=this;Object(g["a"])(this.clientId,t.resourceId,"resume").then(function(){E(t),n.upload()})}},{key:"delete",value:function(e){var t=this.originFileArr.findIndex(function(t){return t.id===e});"uploading"===this.originFileArr[t].status&&this.pause(e);var n=this.originFileArr.slice(t+1);this.originFileArr.length=t,this.originFileArr.push.apply(this.originFileArr,n)}},{key:"pauseAll",value:function(){for(var e in this.originFileArr){var t=this.originFileArr[e];"uploading"===t.status&&this.pause(t.id)}}}]),e}();function _(e,t){for(var n in e){var i=e[n];if(i.fileName===t.fileName&&i.size===t.size&&i.targetFileId===t.targetFileId)return!0}return!1}function x(e){var t=0;for(var n in e){var i=e[n];"uploading"===i.status&&t++}return t}function A(e,t,n){N(e),S(e.blob,function(e){Object(g["m"])(e).then(function(i){i.data.exist?t(i.data.resourceId):n(e)})})}function j(e){e.status="success",e.description="上传成功"}function N(e){e.status="check",e.description="校验中..."}function O(e){e.status="paused",e.description="已中断"}function E(e){e.status="resume",e.description="等待中..."}function L(e){e.status="uploading",e.description="上传中..."}var T={components:{FileUploadStatus:v},data:function(){return{tableData:[],fileUploader:null}},computed:Object(l["a"])({},Object(b["b"])({status:function(e){return e.fileUploadComponentStatus}})),watch:{"$store.state.fileUploadList":function(e){this.fileUploader.addNewFiles(e)}},methods:{operationWindow:function(e){var t=this;if("close"===e){for(var n=0,i=0;i1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd hh:mm:ss",n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),"S+":e.getMilliseconds()};for(var i in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)if(new RegExp("("+i+")").test(t)){for(var r="",o=1;o<=RegExp.$1.length;o++)r+="0";var a="";if(1==RegExp.$1.length)a=n[i];else{r+=n[i];var s=(""+n[i]).length;r=r.substr(s),a=r}t=t.replace(RegExp.$1,a)}return t},o=function(e){return e=parseInt(e),e<1024?e+"B":e<1048576?(e/1024).toFixed(1)+"K":e<1073741824?(e/1048576).toFixed(1)+"M":(e/1073741824).toFixed(1)+"G"}},"917f":function(e,t,n){},f759:function(e,t,n){}}); +//# sourceMappingURL=app.6d718ee9.js.map \ No newline at end of file diff --git a/web/src/main/resources/static/js/app.6d718ee9.js.map b/web/src/main/resources/static/js/app.6d718ee9.js.map new file mode 100644 index 0000000..dbd2b6e --- /dev/null +++ b/web/src/main/resources/static/js/app.6d718ee9.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?a1d8","webpack:///./src/views/upload/index.vue?58eb","webpack:///./src/views/upload/FileUploadStatus.vue?396d","webpack:///./src/App.vue?243b","webpack:///./src/views/upload/index.vue?7167","webpack:///./src/views/upload/FileUploadStatus.vue?d826","webpack:///src/views/upload/FileUploadStatus.vue","webpack:///./src/views/upload/FileUploadStatus.vue?3c93","webpack:///./src/views/upload/FileUploadStatus.vue","webpack:///./src/util/md5_utils.js","webpack:///./src/views/upload/FileUploader.js","webpack:///src/views/upload/index.vue","webpack:///./src/views/upload/index.vue?53b1","webpack:///./src/views/upload/index.vue","webpack:///src/App.vue","webpack:///./src/App.vue?c4c1","webpack:///./src/App.vue","webpack:///./src/router.js","webpack:///./src/store.js","webpack:///./src/main.js","webpack:///./src/api/request.js","webpack:///./src/api/resource.js","webpack:///./src/util/common_utils.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","app","jsonpScriptSrc","p","chunk-081d4dcc","chunk-2d0be6a0","chunk-3980955e","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4ed49594_lang_scss_ref_stylesheet_2Fscss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4ed49594_lang_scss_ref_stylesheet_2Fscss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_FileUploadStatus_vue_vue_type_style_index_0_id_8fbaab1e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_FileUploadStatus_vue_vue_type_style_index_0_id_8fbaab1e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","Appvue_type_template_id_84166c1a_render","_vm","this","_h","$createElement","_c","_self","attrs","id","$store","state","fileUploadComponentStatus","_e","staticRenderFns","uploadvue_type_template_id_4ed49594_scoped_true_render","staticClass","class","status","on","click","$event","operationWindow","_v","stopPropagation","preventDefault","staticStyle","width","tableData","height","prop","label","formatter","formatterSize","scopedSlots","_u","fn","scope","fileStatus","row","description","title","resumeFileUpload","pauseFile","deleteFile","uploadvue_type_template_id_4ed49594_scoped_true_staticRenderFns","FileUploadStatusvue_type_template_id_8fbaab1e_scoped_true_render","color","_s","FileUploadStatusvue_type_template_id_8fbaab1e_scoped_true_staticRenderFns","FileUploadStatusvue_type_script_lang_js_","props","String","upload_FileUploadStatusvue_type_script_lang_js_","component","componentNormalizer","FileUploadStatus","fileMd5","file","callback","chunkSize","chunks","Math","ceil","size","currentChunk","fileReader","FileReader","loadNext","start","end","readAsBinaryString","md5","getPercent","num","total","parseFloat","isNaN","round","nop","FileUploader","maxConcurrentUploadNumber","chunkByteSize","clientId","originFileArr","successCallback","classCallCheck","createClass","newFiles","newFile","getAndIncreateId","fileName","targetFolderName","targetFolderId","blob","completionBytes","resourceId","contains","upload","that","reader","formData","FormData","set","append","onloadend","readyState","DONE","fileUpload","response","completeBytes","setPaused","setSuccess","go","checkFileIsExists","createFile","parentId","prepareFileUpload","setUploading","canUploadFileNumber","numberOfCurrentlyUploading","upload0","find","element","changeFileState","setResume","index","findIndex","pause","rest","targetFileId","numberOfUploadsBeingProcessed","existsCallback","inexistsCallback","setCheck","resourceExist","exist","uploadvue_type_script_lang_js_","components","fileUploader","computed","objectSpread","vuex_esm","watch","$store.state.fileUploadList","addNewFiles","methods","_this","unfinishedTask","$confirm","confirmButtonText","cancelButtonText","pauseAll","commit","catch","common_utils","statusChange","isEqualsOfFiles","resume","delete","created","resource","FileUploader_FileUploader","maxConcurrentUploadNumbers","fileUploadList","views_uploadvue_type_script_lang_js_","upload_component","Appvue_type_script_lang_js_","Upload","src_Appvue_type_script_lang_js_","App_component","App","Vue","use","Router","router","base","process","routes","path","redirect","children","Vuex","store","Store","asideStatus","levelList","fileTreeDialogVisible","fileTreeInfo","flushFileListEvent","mutations","toggleAside","operationFileUploadWindow","addUploadFile","fileUploadInfo","clearFileUploadList","pushLevelList","val","spliceLevelList","openFileTreeDialog","info","closeFileTreeDialog","actions","config","productionTip","ElementUI","render","h","$mount","req","Axios","baseURL","baseUrl","interceptors","msg","Message","message","duration","fetchFileList","url","method","params","createNewFolder","folderName","renameFile","fetchSubfolder","moveFile","targetId","copyFile","targetIds","getConfig","fingerPrint","headers","Content-Type","__webpack_exports__","resource_fileUpload","resource_changeFileState","formatterMillisecond","date","format","arguments","M+","getMonth","d+","getDate","h+","getHours","m+","getMinutes","s+","getSeconds","q+","floor","S+","getMilliseconds","k","test","replace","RegExp","$1","getFullYear","substr","formatStr","replaceStr","formatterFileSize","parseInt","toFixed"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAGAe,KAAAhB,GAEA,MAAAO,EAAAC,OACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF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KY,aACZC,KAAO7L,KAAK8L,OAAOd,EAAKI,WAAa,GAAK,GAC1CW,KAAOf,EAAKgB,mBAShB,IAAK,IAAIC,IALL,OAAOC,KAAKjB,KACZA,EAASA,EAAOkB,QAAQC,OAAOC,IAAKrB,EAAKsB,cAAgB,IAAIC,OAAO,EAClEH,OAAOC,GAAGtX,UAGFsF,EACV,GAAI,IAAI+R,OAAO,IAAMH,EAAI,KAAKC,KAAKjB,GAAS,CAE5C,IADA,IAAIuB,EAAU,GACN3X,EAAE,EAAEA,GAAGuX,OAAOC,GAAGtX,OAAOF,IAC5B2X,GAAW,IAGf,IAAIC,EAAW,GACf,GAAuB,GAApBL,OAAOC,GAAGtX,OACT0X,EAAWpS,EAAE4R,OACZ,CACDO,GAAoBnS,EAAE4R,GACtB,IAAIjI,GAAO,GAAK3J,EAAE4R,IAAIlX,OACtByX,EAAUA,EAAUD,OAAOvI,GAC3ByI,EAAWD,EAEfvB,EAASA,EAAOkB,QAAQC,OAAOC,GAAII,GAGvC,OAAOxB,GAGEyB,EAAoB,SAACvW,GAE9B,OADAA,EAAIwW,SAASxW,GACTA,EAAI,KACGA,EAAI,IACLA,EAAI,SACFA,EAAI,MAAMyW,QAAQ,GAAK,IACxBzW,EAAI,YACHA,EAAC,SAAkByW,QAAQ,GAAK,KAEhCzW,EAAC,YAAyByW,QAAQ,GAAK","file":"js/app.6d718ee9.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-081d4dcc\":\"cdd366aa\",\"chunk-2d0be6a0\":\"1ba48faf\",\"chunk-3980955e\":\"94430ba8\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-081d4dcc\":1,\"chunk-3980955e\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-081d4dcc\":\"1690b4ca\",\"chunk-2d0be6a0\":\"31d6cfe0\",\"chunk-3980955e\":\"55e5debb\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=4ed49594&lang=scss&ref=stylesheet%2Fscss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=4ed49594&lang=scss&ref=stylesheet%2Fscss&scoped=true&\"","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=style&index=0&id=8fbaab1e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=style&index=0&id=8fbaab1e&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view'),(_vm.$store.state.fileUploadComponentStatus !== 'close')?_c('Upload'):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"file-upload-layout\",class:[_vm.status === 'open'? 'open': 'close']},[_c('div',{staticClass:\"dialog-header\",on:{\"click\":function($event){return _vm.operationWindow('collapse')}}},[_c('span',{staticClass:\"dialog-header-title\"},[_vm._v(\"文件上传\")]),_c('div',{staticClass:\"dialog-control\"},[_c('span',{on:{\"click\":function($event){return _vm.operationWindow('collapse')}}},[_vm._v(\"-\")]),_c('span',{on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.operationWindow('close')}}},[_vm._v(\"x\")])])]),_c('div',{staticClass:\"dialog-body\"},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"height\":\"360\"}},[_c('el-table-column',{attrs:{\"prop\":\"fileName\",\"label\":\"文件名\",\"width\":\"180\"}}),_c('el-table-column',{attrs:{\"prop\":\"size\",\"label\":\"大小\",\"formatter\":_vm.formatterSize,\"width\":\"80\"}}),_c('el-table-column',{attrs:{\"prop\":\"targetFolderName\",\"label\":\"上传目录\"}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('FileUploadStatus',{attrs:{\"fileStatus\":scope.row.status,\"description\":scope.row.description}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status === 'paused')?_c('i',{staticClass:\"el-icon-caret-right file-upload-operation\",attrs:{\"title\":\"恢复上传\"},on:{\"click\":function($event){return _vm.resumeFileUpload(scope.row.id)}}}):(scope.row.status === 'uploading')?_c('span',{staticClass:\"file-upload-operation file-upload-suspend\",attrs:{\"title\":\"暂停\"},on:{\"click\":function($event){return _vm.pauseFile(scope.row.id)}}}):_vm._e(),_c('i',{staticClass:\"el-icon-close file-upload-operation\",attrs:{\"title\":\"删除\"},on:{\"click\":function($event){return _vm.deleteFile(scope.row.id)}}})]}}])})],1)],1)]),_c('div',{staticClass:\"file-upload-layout collapse-header\",class:[_vm.status === 'collapse'? 'collapse': 'close'],on:{\"click\":function($event){return _vm.operationWindow('open')}}},[_c('div',{staticClass:\"dialog-header\"},[_c('span',{staticClass:\"dialog-header-title\"},[_vm._v(\"文件上传\")]),_c('div',{staticClass:\"dialog-control\"},[_c('span',{on:{\"click\":function($event){return _vm.operationWindow('open')}}},[_vm._v(\"□\")]),_c('span',{on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.operationWindow('close')}}},[_vm._v(\"x\")])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"file-status\"},[(_vm.fileStatus === 'success')?_c('i',{staticClass:\"el-icon-success\",staticStyle:{\"color\":\"#3794ff\"}}):(_vm.fileStatus === 'check')?_c('span',[_vm._v(\"校验中...\")]):(_vm.fileStatus === 'preupload')?_c('span',[_vm._v(\"等待中...\")]):(_vm.fileStatus === 'uploading')?_c('span',[_vm._v(_vm._s(_vm.description))]):(_vm.fileStatus === 'paused')?_c('span',[_vm._v(\"已暂停\")]):_c('span',[_vm._v(_vm._s(_vm.description))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileUploadStatus.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileUploadStatus.vue?vue&type=template&id=8fbaab1e&scoped=true&\"\nimport script from \"./FileUploadStatus.vue?vue&type=script&lang=js&\"\nexport * from \"./FileUploadStatus.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FileUploadStatus.vue?vue&type=style&index=0&id=8fbaab1e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8fbaab1e\",\n null\n \n)\n\nexport default component.exports","import md5 from 'js-md5'\n\n/**\n * 计算文件的md5值:每50M数据选取前1M得到md5,然后将所有的md5值再做一次md5运算\n * @param {File} file\n * @param {Function} callback 回调函数\n */\nexport const fileMd5 = (file, callback) => {\n var chunkSize = 1048576,\n chunks = Math.ceil(file.size / chunkSize),\n currentChunk = 0, result = \"\",\n fileReader = new FileReader()\n\n fileReader.onload = function(e){\n currentChunk = currentChunk + 50\n result += md5(e.target.result)\n\n if (currentChunk < chunks){\n loadNext()\n } else {\n callback(md5(result))\n }\n }\n\n function loadNext() {\n let start = currentChunk * chunkSize,\n end = ((start + chunkSize) >= file.size)? file.size: start + chunkSize\n fileReader.readAsBinaryString(file.slice(start, end))\n }\n\n loadNext()\n}","import {fileMd5} from '@/util/md5_utils.js'\nimport {resourceExist, createFile, prepareFileUpload, fileUpload, changeFileState} from '@/api/resource.js'\n\nexport const getPercent = function(num, total) {\n num = parseFloat(num);\n total = parseFloat(total);\n if (isNaN(num) || isNaN(total)) {\n return \"-\";\n }\n return total <= 0 ? \"0%\" : (Math.round(num / total * 10000) / 100.00)+\"%\";\n}\n\nfunction nop (){}\nexport const FileUploader = class {\n\n /**\n * 初始化\n */\n constructor (maxConcurrentUploadNumber, chunkByteSize, clientId, \n originFileArr, successCallback){\n this.maxConcurrentUploadNumber = maxConcurrentUploadNumber\n this.chunkByteSize = chunkByteSize\n this.clientId = clientId\n this.id = 0\n this.originFileArr = originFileArr\n this.successCallback = successCallback || nop\n }\n \n \n getAndIncreateId () {\n return this.id++\n }\n\n addNewFiles (newFiles) {\n for (let i in newFiles){\n let newFile = newFiles[i],\n file = {\n id: this.getAndIncreateId(),\n fileName: newFile.file.name,\n status: 'preupload', //preupload, check, uploading, paused, resume,success\n description: '等待中...',\n size: newFile.file.size,\n targetFolderName: newFile.targetFolderName,\n targetFolderId: newFile.targetFolderId,\n blob: newFile.file,\n completionBytes: 0,\n resourceId: 0\n }\n if (!contains(this.originFileArr, file)){\n this.originFileArr.push(file)\n }\n }\n this.upload()\n }\n\n go (file, that) {\n let end = file.completionBytes + that.chunkByteSize\n if (end > file.size) {\n end = file.size\n }\n\n var chunk = file.blob.slice(file.completionBytes, end),\n reader = new FileReader()\n var formData = new FormData()\n formData.set('resourceId', file.resourceId)\n formData.set('clientId', that.clientId)\n formData.append('file', chunk)\n\n reader.onloadend = function(e){\n if (e.target.readyState == FileReader.DONE){\n fileUpload(formData).then((response) => {\n file.completionBytes = response.data.completeBytes\n if (response.data.code !== 0){ //暂停\n setPaused(file)\n that.upload()\n } else {\n if (file.completionBytes === file.size){ // 上传完成\n setSuccess(file)\n that.successCallback()\n that.upload()\n } else { // 还需要继续上传文件块\n file.description = getPercent(file.completionBytes, file.size)\n setTimeout(that.go, 2, file, that);\n }\n }\n })\n }\n }\n reader.readAsBinaryString(chunk)\n }\n\n upload0 (file, that) {\n if (file.status === 'preupload'){\n checkFileIsExists(file, function (resourceId) { // 系统存在该文件,不需要再次上传\n createFile({\n resourceId: resourceId,\n name: file.fileName,\n parentId: file.targetFolderId\n }).then(() => {\n that.successCallback()\n setSuccess(file)\n that.upload()\n })\n }, function(md5) { // 系统不存在该文件,则进行文件上传预处理\n prepareFileUpload(that.clientId, file.size, md5, file.fileName, file.targetFolderId).then((response) => {\n file.resourceId = response.data.resourceId\n setUploading(file)\n that.go(file, that)\n })\n })\n } else if (file.status === 'resume'){\n setUploading(file)\n that.go(file, that)\n }\n }\n\n /**\n * 开始上传文件\n * @param {*} originFileArr \n */\n upload (that){\n that = that || this\n let canUploadFileNumber = that.maxConcurrentUploadNumber - numberOfCurrentlyUploading(that.originFileArr)\n if (canUploadFileNumber > 0){\n for (let i = 0; i < that.originFileArr.length && canUploadFileNumber > 0; i++){\n let file = that.originFileArr[i]\n if (file.status === 'preupload' || file.status === 'resume'){\n setTimeout(that.upload0, 5, file, that);\n canUploadFileNumber--\n }\n }\n }\n }\n\n pause (id) {\n let file = this.originFileArr.find((element) => {\n return element.id === id\n }), that = this\n changeFileState(this.clientId, file.resourceId, \"pause\").then(() => {\n setPaused(file)\n that.upload()\n })\n }\n\n resume (id) {\n let file = this.originFileArr.find((element) => {\n return element.id === id\n }), that = this\n changeFileState(this.clientId, file.resourceId, \"resume\").then(() => {\n setResume(file)\n that.upload()\n })\n }\n\n delete (id) {\n let index = this.originFileArr.findIndex((element) => {\n return element.id === id\n })\n if (this.originFileArr[index].status === 'uploading'){\n this.pause(id)\n }\n let rest = this.originFileArr.slice(index + 1)\n this.originFileArr.length = index\n this.originFileArr.push.apply(this.originFileArr, rest)\n }\n\n pauseAll () {\n for (let i in this.originFileArr){\n let file = this.originFileArr[i]\n if (file.status === 'uploading'){\n this.pause(file.id)\n }\n }\n }\n};\n\nfunction contains(originFileArr, newFile){\n for (let i in originFileArr){\n let file = originFileArr[i]\n if (file.fileName === newFile.fileName && file.size === newFile.size\n && file.targetFileId === newFile.targetFileId){\n return true\n }\n }\n return false\n}\n\nfunction numberOfCurrentlyUploading (originFileArr){\n let numberOfUploadsBeingProcessed = 0\n for (let i in originFileArr){\n var file = originFileArr[i]\n if (file.status === 'uploading'){\n numberOfUploadsBeingProcessed++\n }\n }\n return numberOfUploadsBeingProcessed\n}\n\nfunction checkFileIsExists (file, existsCallback, inexistsCallback) {\n setCheck(file)\n fileMd5(file.blob, function (md5){\n resourceExist(md5).then((response) => {\n if (response.data.exist){\n existsCallback(response.data.resourceId)\n } else {\n inexistsCallback(md5)\n }\n })\n })\n}\n\nfunction setSuccess (file){\n file.status = 'success'\n file.description = '上传成功'\n}\nfunction setCheck (file){\n file.status = 'check'\n file.description = '校验中...'\n}\nfunction setPaused (file){\n file.status = 'paused'\n file.description = '已中断'\n}\nfunction setResume (file) {\n file.status = 'resume'\n file.description = '等待中...'\n}\nfunction setUploading(file){\n file.status = 'uploading'\n file.description = '上传中...'\n}","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4ed49594&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=4ed49594&lang=scss&ref=stylesheet%2Fscss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4ed49594\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n","import mod from \"-!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=84166c1a&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Router from 'vue-router'\n\nVue.use(Router)\n\nexport default new Router({\n // mode: 'history',\n base: process.env.BASE_URL,\n routes: [\n { path: '/', redirect: '/file', name: '首页'},\n {\n path: '/',\n name: 'home',\n component: () => import('./views/Main'),\n children: [{\n path: 'file',\n component: () => import('@/views/home/FileList')\n },{\n path: 'white',\n component: () => import('@/views/layout/White')\n }]\n }\n ]\n})","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n // 侧边栏样式\n asideStatus: 'inline-block',\n // 文件上传窗口状态 打开:open 关闭:close 折叠:collapse\n fileUploadComponentStatus: 'close',\n fileUploadList: [],\n levelList: [],\n fileTreeDialogVisible: false,\n fileTreeInfo: {\n title: '设置'\n },\n flushFileListEvent: 0\n },\n mutations: {\n toggleAside(state) {\n state.asideStatus = state.asideStatus === 'inline-block'? 'none': 'inline-block'\n },\n operationFileUploadWindow (state, status) {\n state.fileUploadComponentStatus = status\n },\n addUploadFile (state, fileUploadInfo) {\n //fileUploadInfo格式 {targetFolderId: x, targetFolderName: x, file: jsFileObject} jsFileObject {name: 'xx', size: 'xx'}\n state.fileUploadList.push(fileUploadInfo)\n },\n clearFileUploadList(state){\n state.fileUploadList = []\n },\n pushLevelList (state, val){\n state.levelList.push(val)\n },\n spliceLevelList(state, index){\n state.levelList.splice(index + 1, state.levelList.length - index)\n },\n openFileTreeDialog(state, info){\n state.fileTreeDialogVisible = true\n state.fileTreeInfo = info\n },\n closeFileTreeDialog (state){\n state.fileTreeDialogVisible = false\n },\n flushFileListEvent (state){\n state.flushFileListEvent++\n }\n },\n actions: {\n\n }\n})\n","import Vue from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\nimport ElementUI from 'element-ui';\nimport 'element-ui/lib/theme-chalk/index.css';\n\nVue.config.productionTip = false\nVue.use(ElementUI)\n\nnew Vue({\n router,\n store,\n render: h => h(App)\n}).$mount('#app')\n","import Axios from \"axios\"\nimport { Message } from 'element-ui'\nimport {baseUrl} from '@/util/common_utils.js'\n\nvar req = Axios.create({\n baseURL: baseUrl,\n timeout: 10000\n})\n\nreq.interceptors.response.use(response => {\n return response.data\n}, error => {\n var msg = error\n if (error.response && error.response.data && error.response.data.msg) {\n msg = error.response.data.msg\n }\n Message({\n message: msg,\n type: 'error',\n duration: 3 * 1000\n })\n return Promise.reject(error)\n})\n\nexport default req\n","import request from '@/api/request'\n\nexport function fetchFileList(parentId) {\n return request({\n url: '/v1/file',\n method: 'get',\n params: {\n parentId\n }\n })\n}\n\nexport function createNewFolder(parentId, folderName){\n return request({\n url: '/v1/file/folder',\n method: 'post',\n params: {\n parentId, folderName\n }\n })\n}\n\nexport function createFile (data){\n return request({\n url: '/v1/file',\n method: 'post',\n data\n })\n}\n\nexport function renameFile (id, fileName){\n return request({\n url: '/v1/file/' + id,\n method: 'put',\n params: {\n fileName\n }\n })\n}\n\nexport function deleteFile(id){\n return request({\n url: '/v1/file/' + id,\n method: 'delete',\n })\n}\n\nexport function fetchSubfolder(id){\n return request({\n url: '/v1/file/' + id + '/subfolder',\n method: 'get'\n })\n}\n\nexport function moveFile(id, targetId){\n return request({\n url: '/v1/file/' + id + '/move/' + targetId,\n method: 'put'\n })\n}\n\nexport function copyFile(id, targetIds){\n return request({\n url: '/v1/file/' + id + '/copy',\n method: 'post',\n data: targetIds\n })\n}\n\nexport function getConfig(){\n return request({\n url: 'v1/rs/config',\n })\n}\n\nexport function resourceExist(fingerPrint){\n return request({\n url: '/v1/rs/fingerPrint',\n params: {\n fingerPrint\n }\n })\n}\n\nexport function prepareFileUpload (clientId, size, md5, fileName, parentId){\n return request({\n url: '/v1/rs/preparation',\n method: 'post',\n params: {\n clientId, size, md5, fileName, parentId\n }\n })\n}\n\nexport function fileUpload(formData){\n return request({\n url: '/v1/rs',\n method: 'post',\n config: {\n headers: {'Content-Type': 'multipart/form-data'}\n },\n data: formData\n })\n}\n\nexport const changeFileState = (clientId, resourceId, type) => {\n return request({\n url: '/v1/rs/state',\n method: 'put',\n params: {\n clientId, resourceId, type\n }\n })\n}\n\nexport const downloadResource = (resourceId) => {\n return request({\n url: '/v1/rs/' + resourceId\n })\n}","export const baseUrl = \"/\"\n\nexport const formatterMillisecond = (date, format = 'yyyy-MM-dd hh:mm:ss') => {\n var o = {\n \"M+\" : date.getMonth() + 1, // month\n \"d+\" : date.getDate(), // day\n \"h+\" : date.getHours(), // hour\n \"m+\" : date.getMinutes(), // minute\n \"s+\" : date.getSeconds(), // second\n \"q+\" : Math.floor((date.getMonth() + 3) / 3), // quarter\n \"S+\" : date.getMilliseconds()\n // millisecond\n }\n\n if (/(y+)/.test(format)) {\n format = format.replace(RegExp.$1, (date.getFullYear() + \"\").substr(4\n - RegExp.$1.length));\n }\n\n for (var k in o) {\n if (new RegExp(\"(\" + k + \")\").test(format)) {\n var formatStr=\"\";\n for(var i=1;i<=RegExp.$1.length;i++){\n formatStr+=\"0\";\n }\n\n var replaceStr=\"\";\n if(RegExp.$1.length == 1){\n replaceStr=o[k];\n }else{\n formatStr=formatStr+o[k];\n var index=(\"\" + o[k]).length;\n formatStr=formatStr.substr(index);\n replaceStr=formatStr;\n }\n format = format.replace(RegExp.$1, replaceStr);\n }\n }\n return format;\n}\n\nexport const formatterFileSize = (s) => {\n s = parseInt(s)\n if (s < 1024) {\n return s + 'B'\n } else if(s < 1024 * 1024) {\n return (s / 1024).toFixed(1) + 'K'\n } else if (s < 1024 * 1024 * 1024) {\n return (s / (1024 * 1024)).toFixed(1) + 'M'\n } else {\n return (s / (1024 * 1024 * 1024)).toFixed(1) + 'G'\n }\n}\n\n/**\n * 文件下载 地址:https://github.com/kennethjiang/js-file-download/blob/master/file-download.js\n * @param {*} data \n * @param {*} filename \n * @param {*} mime \n */\nexport const fileDownload = (data, filename, mime) => {\n var blob = new Blob([data], {type: mime || 'application/octet-stream'});\n if (typeof window.navigator.msSaveBlob !== 'undefined') {\n // IE workaround for \"HTML7007: One or more blob URLs were \n // revoked by closing the blob for which they were created. \n // These URLs will no longer resolve as the data backing \n // the URL has been freed.\"\n window.navigator.msSaveBlob(blob, filename);\n }\n else {\n var blobURL = window.URL.createObjectURL(blob);\n var tempLink = document.createElement('a');\n tempLink.style.display = 'none';\n tempLink.href = blobURL;\n tempLink.setAttribute('download', filename); \n \n // Safari thinks _blank anchor are pop ups. We only want to set _blank\n // target if the browser does not support the HTML5 download attribute.\n // This allows you to download files in desktop safari if pop up blocking \n // is enabled.\n if (typeof tempLink.download === 'undefined') {\n tempLink.setAttribute('target', '_blank');\n }\n \n document.body.appendChild(tempLink);\n tempLink.click();\n document.body.removeChild(tempLink);\n window.URL.revokeObjectURL(blobURL);\n }\n}"],"sourceRoot":""} \ No newline at end of file diff --git a/web/src/main/resources/static/js/chunk-081d4dcc.cdd366aa.js b/web/src/main/resources/static/js/chunk-081d4dcc.cdd366aa.js new file mode 100644 index 0000000..7ded087 --- /dev/null +++ b/web/src/main/resources/static/js/chunk-081d4dcc.cdd366aa.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-081d4dcc"],{"1ba3":function(t,e,s){"use strict";var a=s("6221"),n=s.n(a);n.a},"22de":function(t,e,s){"use strict";var a=s("3c65"),n=s.n(a);n.a},"291c":function(t,e,s){"use strict";var a=s("7fe3"),n=s.n(a);n.a},"2c36":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAGklEQVQ4y2NgGAVEg/9EAMo0jHp61NOjAAgAUWrXKeQhPE4AAAAASUVORK5CYII="},"3c65":function(t,e,s){},6221:function(t,e,s){},"7fe3":function(t,e,s){},ca70:function(t,e,s){t.exports=s.p+"img/user.e63b92fb.jpeg"},cd56:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"main"},[s("Header"),s("el-container",{staticClass:"main-body"},[s("Aside"),s("router-view")],1)],1)},n=[],i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-header",[a("el-menu",{attrs:{mode:"horizontal","background-color":"#4284f4","text-color":"#fff"}},[a("div",{staticClass:"menu"},[a("img",{attrs:{src:s("2c36"),alt:"切换主菜单"},on:{click:t.toggleAsideStatus}}),a("span",[t._v("全部文件")])]),a("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[a("div",{staticClass:"avatar-wrapper"},[a("img",{staticClass:"user-avatar",attrs:{src:s("ca70")}})]),a("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[a("router-link",{staticClass:"inlineBlock",attrs:{to:"/file"}},[a("el-dropdown-item",[t._v("\n 首页\n ")])],1)],1)],1)],1)],1)},c=[],o={data:function(){return{activeIndex:"1"}},methods:{toggleAsideStatus:function(){this.$store.commit("toggleAside")}}},r=o,l=(s("291c"),s("17cc")),u=Object(l["a"])(r,i,c,!1,null,"05b0995c",null),d=u.exports,f=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aside",style:{display:t.asideStatus}},[s("el-menu",{staticClass:"el-menu-vertical",attrs:{"default-active":"1","background-color":"#fff","text-color":"#b5b4b4","active-text-color":"#000"}},[s("el-menu-item",{attrs:{index:"1"},on:{click:function(e){return t.linkTo("/file")}}},[s("i",{staticClass:"el-icon-document"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("全部文件")])]),s("el-menu-item",{attrs:{index:"2"},on:{click:function(e){return t.linkTo("/white")}}},[s("i",{staticClass:"el-icon-delete"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("回收站")])])],1)],1)},A=[],p={computed:{asideStatus:function(){return this.$store.state.asideStatus}},methods:{linkTo:function(t){this.$router.push({path:t})}}},m=p,v=(s("1ba3"),Object(l["a"])(m,f,A,!1,null,"afe8c2be",null)),g=v.exports,b={name:"home",components:{Header:d,Aside:g}},h=b,w=(s("22de"),Object(l["a"])(h,a,n,!1,null,null,null));e["default"]=w.exports}}]); +//# sourceMappingURL=chunk-081d4dcc.cdd366aa.js.map \ No newline at end of file diff --git a/web/src/main/resources/static/js/chunk-081d4dcc.cdd366aa.js.map b/web/src/main/resources/static/js/chunk-081d4dcc.cdd366aa.js.map new file mode 100644 index 0000000..58178c4 --- /dev/null +++ b/web/src/main/resources/static/js/chunk-081d4dcc.cdd366aa.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/layout/Aside.vue?8411","webpack:///./src/views/Main.vue?78cf","webpack:///./src/views/layout/Header.vue?69da","webpack:///./src/assets/menu.png","webpack:///./src/assets/user.jpeg","webpack:///./src/views/Main.vue?645c","webpack:///./src/views/layout/Header.vue?503b","webpack:///src/views/layout/Header.vue","webpack:///./src/views/layout/Header.vue?33b3","webpack:///./src/views/layout/Header.vue","webpack:///./src/views/layout/Aside.vue?e730","webpack:///src/views/layout/Aside.vue","webpack:///./src/views/layout/Aside.vue?b649","webpack:///./src/views/layout/Aside.vue","webpack:///src/views/Main.vue","webpack:///./src/views/Main.vue?e242","webpack:///./src/views/Main.vue"],"names":["_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Aside_vue_vue_type_style_index_0_id_afe8c2be_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Aside_vue_vue_type_style_index_0_id_afe8c2be_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Main_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Main_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Header_vue_vue_type_style_index_0_id_05b0995c_ref_stylesheet_2Fscss_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Header_vue_vue_type_style_index_0_id_05b0995c_ref_stylesheet_2Fscss_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","module","exports","p","render","_vm","this","_h","$createElement","_c","_self","staticClass","staticRenderFns","Headervue_type_template_id_05b0995c_scoped_true_render","attrs","mode","background-color","text-color","src","alt","on","click","toggleAsideStatus","_v","trigger","slot","to","Headervue_type_template_id_05b0995c_scoped_true_staticRenderFns","Headervue_type_script_lang_js_","data","activeIndex","methods","$store","commit","layout_Headervue_type_script_lang_js_","component","Object","componentNormalizer","Header","Asidevue_type_template_id_afe8c2be_scoped_true_render","style","display","asideStatus","default-active","active-text-color","index","$event","linkTo","Asidevue_type_template_id_afe8c2be_scoped_true_staticRenderFns","Asidevue_type_script_lang_js_","computed","state","url","$router","push","path","layout_Asidevue_type_script_lang_js_","Aside_component","Aside","Mainvue_type_script_lang_js_","name","components","views_Mainvue_type_script_lang_js_","Main_component","__webpack_exports__"],"mappings":"kHAAA,IAAAA,EAAAC,EAAA,QAAAC,EAAAD,EAAAE,EAAAH,GAAunBE,EAAG,uCCA1nB,IAAAE,EAAAH,EA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,EAAA,KAAAD,CACd0B,EACA1D,EACAQ,GACF,EACA,KACA,KACA,OAIeoD,EAAA,WAAAD","file":"js/chunk-081d4dcc.cdd366aa.js","sourcesContent":["import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=style&index=0&id=afe8c2be&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=style&index=0&id=afe8c2be&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=style&index=0&id=05b0995c&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=style&index=0&id=05b0995c&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAGklEQVQ4y2NgGAVEg/9EAMo0jHp61NOjAAgAUWrXKeQhPE4AAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"img/user.e63b92fb.jpeg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main\"},[_c('Header'),_c('el-container',{staticClass:\"main-body\"},[_c('Aside'),_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-header',[_c('el-menu',{attrs:{\"mode\":\"horizontal\",\"background-color\":\"#4284f4\",\"text-color\":\"#fff\"}},[_c('div',{staticClass:\"menu\"},[_c('img',{attrs:{\"src\":require(\"@/assets/menu.png\"),\"alt\":\"切换主菜单\"},on:{\"click\":_vm.toggleAsideStatus}}),_c('span',[_vm._v(\"全部文件\")])]),_c('el-dropdown',{staticClass:\"avatar-container\",attrs:{\"trigger\":\"click\"}},[_c('div',{staticClass:\"avatar-wrapper\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":require(\"@/assets/user.jpeg\")}})]),_c('el-dropdown-menu',{staticClass:\"user-dropdown\",attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('router-link',{staticClass:\"inlineBlock\",attrs:{\"to\":\"/file\"}},[_c('el-dropdown-item',[_vm._v(\"\\n 首页\\n \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=05b0995c&scoped=true&\"\nimport script from \"./Header.vue?vue&type=script&lang=js&\"\nexport * from \"./Header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Header.vue?vue&type=style&index=0&id=05b0995c&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"05b0995c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"aside\",style:({display: _vm.asideStatus})},[_c('el-menu',{staticClass:\"el-menu-vertical\",attrs:{\"default-active\":\"1\",\"background-color\":\"#fff\",\"text-color\":\"#b5b4b4\",\"active-text-color\":\"#000\"}},[_c('el-menu-item',{attrs:{\"index\":\"1\"},on:{\"click\":function($event){return _vm.linkTo('/file')}}},[_c('i',{staticClass:\"el-icon-document\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"全部文件\")])]),_c('el-menu-item',{attrs:{\"index\":\"2\"},on:{\"click\":function($event){return _vm.linkTo('/white')}}},[_c('i',{staticClass:\"el-icon-delete\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"回收站\")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Aside.vue?vue&type=template&id=afe8c2be&scoped=true&\"\nimport script from \"./Aside.vue?vue&type=script&lang=js&\"\nexport * from \"./Aside.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Aside.vue?vue&type=style&index=0&id=afe8c2be&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"afe8c2be\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Main.vue?vue&type=template&id=560487a1&\"\nimport script from \"./Main.vue?vue&type=script&lang=js&\"\nexport * from \"./Main.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Main.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/src/main/resources/static/js/chunk-12dea456.9167223f.js b/web/src/main/resources/static/js/chunk-12dea456.9167223f.js deleted file mode 100644 index e046a5d..0000000 --- a/web/src/main/resources/static/js/chunk-12dea456.9167223f.js +++ /dev/null @@ -1,2 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-12dea456"],{"0db1":function(t,e,s){"use strict";var a=s("b0b5"),n=s.n(a);n.a},"1ba3":function(t,e,s){"use strict";var a=s("6221"),n=s.n(a);n.a},"22de":function(t,e,s){"use strict";var a=s("3c65"),n=s.n(a);n.a},"2c36":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAGklEQVQ4y2NgGAVEg/9EAMo0jHp61NOjAAgAUWrXKeQhPE4AAAAASUVORK5CYII="},"3c65":function(t,e,s){},6221:function(t,e,s){},b0b5:function(t,e,s){},ca70:function(t,e,s){t.exports=s.p+"img/user.e63b92fb.jpeg"},cd56:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"main"},[s("Header"),s("el-container",{staticClass:"main-body"},[s("Aside"),s("router-view")],1)],1)},n=[],i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-header",[a("el-menu",{attrs:{mode:"horizontal","background-color":"#4284f4","text-color":"#fff"}},[a("div",{staticClass:"menu"},[a("img",{attrs:{src:s("2c36"),alt:"切换主菜单"},on:{click:t.toggleAsideStatus}}),a("span",[t._v("全部文件")])]),a("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[a("div",{staticClass:"avatar-wrapper"},[a("img",{staticClass:"user-avatar",attrs:{src:s("ca70")}})]),a("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[a("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[a("el-dropdown-item",[t._v("\n 首页\n ")])],1)],1)],1)],1)],1)},o=[],c={data:function(){return{activeIndex:"1"}},methods:{toggleAsideStatus:function(){this.$store.commit("toggleAside")}}},r=c,l=(s("0db1"),s("17cc")),u=Object(l["a"])(r,i,o,!1,null,"673fff40",null),d=u.exports,f=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aside",style:{display:t.asideStatus}},[s("el-menu",{staticClass:"el-menu-vertical",attrs:{"default-active":"1","background-color":"#fff","text-color":"#b5b4b4","active-text-color":"#000"}},[s("el-menu-item",{attrs:{index:"1"},on:{click:function(e){return t.linkTo("/file")}}},[s("i",{staticClass:"el-icon-document"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("全部文件")])]),s("el-menu-item",{attrs:{index:"2"},on:{click:function(e){return t.linkTo("/white")}}},[s("i",{staticClass:"el-icon-delete"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("回收站")])])],1)],1)},A=[],p={computed:{asideStatus:function(){return this.$store.state.asideStatus}},methods:{linkTo:function(t){this.$router.push({path:t})}}},m=p,v=(s("1ba3"),Object(l["a"])(m,f,A,!1,null,"afe8c2be",null)),b=v.exports,g={name:"home",components:{Header:d,Aside:b}},h=g,w=(s("22de"),Object(l["a"])(h,a,n,!1,null,null,null));e["default"]=w.exports}}]); -//# sourceMappingURL=chunk-12dea456.9167223f.js.map \ No newline at end of file diff --git a/web/src/main/resources/static/js/chunk-12dea456.9167223f.js.map b/web/src/main/resources/static/js/chunk-12dea456.9167223f.js.map deleted file mode 100644 index 67e273a..0000000 --- a/web/src/main/resources/static/js/chunk-12dea456.9167223f.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./src/views/layout/Header.vue?d5af","webpack:///./src/views/layout/Aside.vue?8411","webpack:///./src/views/Main.vue?78cf","webpack:///./src/assets/menu.png","webpack:///./src/assets/user.jpeg","webpack:///./src/views/Main.vue?645c","webpack:///./src/views/layout/Header.vue?567d","webpack:///src/views/layout/Header.vue","webpack:///./src/views/layout/Header.vue?33b3","webpack:///./src/views/layout/Header.vue","webpack:///./src/views/layout/Aside.vue?e730","webpack:///src/views/layout/Aside.vue","webpack:///./src/views/layout/Aside.vue?b649","webpack:///./src/views/layout/Aside.vue","webpack:///src/views/Main.vue","webpack:///./src/views/Main.vue?e242","webpack:///./src/views/Main.vue"],"names":["_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Header_vue_vue_type_style_index_0_id_673fff40_ref_stylesheet_2Fscss_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_7_1_0_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Header_vue_vue_type_style_index_0_id_673fff40_ref_stylesheet_2Fscss_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","n","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Aside_vue_vue_type_style_index_0_id_afe8c2be_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Aside_vue_vue_type_style_index_0_id_afe8c2be_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Main_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_0_6_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_2_1_1_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_7_0_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_2_0_1_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_7_0_vue_loader_lib_index_js_vue_loader_options_Main_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","module","exports","p","render","_vm","this","_h","$createElement","_c","_self","staticClass","staticRenderFns","Headervue_type_template_id_673fff40_scoped_true_render","attrs","mode","background-color","text-color","src","alt","on","click","toggleAsideStatus","_v","trigger","slot","to","Headervue_type_template_id_673fff40_scoped_true_staticRenderFns","Headervue_type_script_lang_js_","data","activeIndex","methods","$store","commit","layout_Headervue_type_script_lang_js_","component","Object","componentNormalizer","Header","Asidevue_type_template_id_afe8c2be_scoped_true_render","style","display","asideStatus","default-active","active-text-color","index","$event","linkTo","Asidevue_type_template_id_afe8c2be_scoped_true_staticRenderFns","Asidevue_type_script_lang_js_","computed","state","url","$router","push","path","layout_Asidevue_type_script_lang_js_","Aside_component","Aside","Mainvue_type_script_lang_js_","name","components","views_Mainvue_type_script_lang_js_","Main_component","__webpack_exports__"],"mappings":"kHAAA,IAAAA,EAAAC,EAAA,QAAAC,EAAAD,EAAAE,EAAAH,GAAouBE,EAAG,uCCAvuB,IAAAE,EAAAH,EAAA,QAAAI,EAAAJ,EAAAE,EAAAC,GAAunBC,EAAG,uCCA1nB,IAAAC,EAAAL,EAAA,QAAAM,EAAAN,EAAAE,EAAAG,GAA4kBC,EAAG,wBCA/kBC,EAAAC,QAAA,sOCAAD,EAAAC,QAAiBR,EAAAS,EAAuB,mECAxC,IAAAC,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,QAAmB,CAAAF,EAAA,UAAAA,EAAA,gBAAkCE,YAAA,aAAwB,CAAAF,EAAA,SAAAA,EAAA,wBACvLG,EAAA,GCDIC,EAAM,WAAgB,IAAAR,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,aAAAA,EAAA,WAAqCK,MAAA,CAAOC,KAAA,aAAAC,mBAAA,UAAAC,aAAA,SAAsE,CAAAR,EAAA,OAAYE,YAAA,QAAmB,CAAAF,EAAA,OAAYK,MAAA,CAAOI,IAAMxB,EAAQ,QAAmByB,IAAA,SAAgBC,GAAA,CAAKC,MAAAhB,EAAAiB,qBAA+Bb,EAAA,QAAAJ,EAAAkB,GAAA,YAAAd,EAAA,eAAkDE,YAAA,mBAAAG,MAAA,CAAsCU,QAAA,UAAmB,CAAAf,EAAA,OAAYE,YAAA,kBAA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CoBnBC,EAAA,CACAC,SAAA,CACAR,YADA,WAEA,OAAApC,KAAA0B,OAAAmB,MAAAT,cAGAX,QAAA,CACAgB,OADA,SACAK,GACA9C,KAAA+C,QAAAC,KAAA,CAAAC,KAAAH,OC7BkcI,EAAA,ECQ9bC,aAAYrB,OAAAC,EAAA,KAAAD,CACdoB,EACAjB,EACAS,GACF,EACA,KACA,WACA,OAIeU,EAAAD,UCJfE,EAAA,CACAC,KAAA,OACAC,WAAA,CACAvB,SAAAoB,UClBkbI,EAAA,ECQ9aC,aAAY3B,OAAAC,EAAA,KAAAD,CACd0B,EACA1D,EACAQ,GACF,EACA,KACA,KACA,OAIeoD,EAAA,WAAAD","file":"js/chunk-12dea456.9167223f.js","sourcesContent":["import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=style&index=0&id=673fff40&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=style&index=0&id=673fff40&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=style&index=0&id=afe8c2be&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=style&index=0&id=afe8c2be&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/_mini-css-extract-plugin@0.6.0@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/_css-loader@2.1.1@css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=style&index=0&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAGklEQVQ4y2NgGAVEg/9EAMo0jHp61NOjAAgAUWrXKeQhPE4AAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"img/user.e63b92fb.jpeg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main\"},[_c('Header'),_c('el-container',{staticClass:\"main-body\"},[_c('Aside'),_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-header',[_c('el-menu',{attrs:{\"mode\":\"horizontal\",\"background-color\":\"#4284f4\",\"text-color\":\"#fff\"}},[_c('div',{staticClass:\"menu\"},[_c('img',{attrs:{\"src\":require(\"@/assets/menu.png\"),\"alt\":\"切换主菜单\"},on:{\"click\":_vm.toggleAsideStatus}}),_c('span',[_vm._v(\"全部文件\")])]),_c('el-dropdown',{staticClass:\"avatar-container\",attrs:{\"trigger\":\"click\"}},[_c('div',{staticClass:\"avatar-wrapper\"},[_c('img',{staticClass:\"user-avatar\",attrs:{\"src\":require(\"@/assets/user.jpeg\")}})]),_c('el-dropdown-menu',{staticClass:\"user-dropdown\",attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('router-link',{staticClass:\"inlineBlock\",attrs:{\"to\":\"/\"}},[_c('el-dropdown-item',[_vm._v(\"\\n 首页\\n \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=673fff40&scoped=true&\"\nimport script from \"./Header.vue?vue&type=script&lang=js&\"\nexport * from \"./Header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Header.vue?vue&type=style&index=0&id=673fff40&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"673fff40\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"aside\",style:({display: _vm.asideStatus})},[_c('el-menu',{staticClass:\"el-menu-vertical\",attrs:{\"default-active\":\"1\",\"background-color\":\"#fff\",\"text-color\":\"#b5b4b4\",\"active-text-color\":\"#000\"}},[_c('el-menu-item',{attrs:{\"index\":\"1\"},on:{\"click\":function($event){return _vm.linkTo('/file')}}},[_c('i',{staticClass:\"el-icon-document\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"全部文件\")])]),_c('el-menu-item',{attrs:{\"index\":\"2\"},on:{\"click\":function($event){return _vm.linkTo('/white')}}},[_c('i',{staticClass:\"el-icon-delete\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"回收站\")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Aside.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Aside.vue?vue&type=template&id=afe8c2be&scoped=true&\"\nimport script from \"./Aside.vue?vue&type=script&lang=js&\"\nexport * from \"./Aside.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Aside.vue?vue&type=style&index=0&id=afe8c2be&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"afe8c2be\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Main.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Main.vue?vue&type=template&id=560487a1&\"\nimport script from \"./Main.vue?vue&type=script&lang=js&\"\nexport * from \"./Main.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Main.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/src/main/resources/static/js/chunk-3980955e.94430ba8.js b/web/src/main/resources/static/js/chunk-3980955e.94430ba8.js new file mode 100644 index 0000000..cc7e9f0 --- /dev/null +++ b/web/src/main/resources/static/js/chunk-3980955e.94430ba8.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3980955e"],{"14de":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-main",[i("div",{staticClass:"main-button"},[i("div",{staticClass:"upload",on:{click:e.triggerFileUpload}},[i("el-button",{attrs:{type:"primary"}},[i("i",{staticClass:"el-icon-upload"}),i("span",[e._v("上传文件")])]),i("input",{ref:"fileInput",staticClass:"upload-input",attrs:{type:"file",name:"file",multiple:""},on:{change:e.dealWithFileUpload}})],1),i("el-button",{attrs:{plain:""},on:{click:e.createFolder}},[i("i",{staticClass:"el-icon-document"}),i("span",[e._v("新建文件夹")])])],1),i("div",{staticClass:"content"},[i("Breadcrumb"),i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark","default-sort":{prop:"fileName",order:"descending"}}},[i("el-table-column",{attrs:{label:"文件名",prop:"name",sortable:"","min-width":"54"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("FileIcon",{attrs:{type:t.row.type}}),"folder"===t.row.type?i("a",{staticClass:"file-name",on:{click:function(i){return e.getFileList(t.row.id,t.row.name)}}},[e._v("\n "+e._s(t.row.name)+"\n ")]):"video"===t.row.type?i("a",{staticClass:"file-name",attrs:{target:"_blank"},on:{click:function(i){return e.openVideo(t.row.resourceId,t.row.name)}}},[e._v("\n "+e._s(t.row.name)+"\n ")]):i("a",{staticClass:"file-name",attrs:{href:e.baseURL+"v1/rs/"+t.row.resourceId+"?fileName="+t.row.name}},[e._v("\n "+e._s(t.row.name)+"\n ")])]}}])}),i("el-table-column",{attrs:{prop:"size",label:"大小",formatter:e.formatterSize,"min-width":"22"}}),i("el-table-column",{attrs:{prop:"gmtModified",label:"修改日期",sortable:"","min-width":"22",formatter:e.formatterTime,"show-overflow-tooltip":""}}),i("el-table-column",{attrs:{label:"操作","min-width":"22"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("FileOperation",{attrs:{scope:t},on:{flush:e.flushAccordingToLevelList}})]}}])})],1)],1),e.$store.state.fileTreeDialogVisible?i("FileTree",{on:{flush:e.flushAccordingToLevelList}}):e._e()],1)},o=[],r=(i("b5ad"),i("2db2"),i("612f"),i("3a23"),i("ea65"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"file-icon",class:[e.type]})}),s=[],a={props:{type:{validator:function(e){return-1!==["default","folder","pdf","compress_file","web","video","audio","picture","doc","txt","torrent","ppt","code"].indexOf(e)}}}},l=a,c=(i("ab21"),i("17cc")),u=Object(c["a"])(l,r,s,!1,null,"2ac62f06",null),f=u.exports,d=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"navigation"},[e.levelList.length>1?i("div",{staticClass:"navigation-prefix"},[i("span",{staticClass:"go-back",on:{click:e.goBack}},[e._v("返回上一级")]),i("span",{staticClass:"navigation-separator"},[e._v("|")])]):e._e(),i("div",{staticClass:"breadcrumb"},e._l(e.levelList,function(t,n){return i("div",{key:n,staticClass:"breadcrumb-item"},[e.levelList.length-1!==n?i("span",{staticClass:"breadcrumb-item-val",on:{click:function(t){return e.forwardTo(n)}}},[e._v(e._s(t.name))]):i("span",{staticClass:"breadcrumb-item-val"},[e._v(e._s(t.name))]),e.levelList.length-1!==n?i("span",{staticClass:"breadcrumb-sparator"},[e._v("/")]):e._e()])}),0)])},h=[],p={computed:{levelList:function(){return this.$store.state.levelList}},methods:{forwardTo:function(e){this.$store.commit("spliceLevelList",e)},goBack:function(){this.$store.commit("spliceLevelList",this.levelList.length-2)}}},m=p,v=(i("5f49"),Object(c["a"])(m,d,h,!1,null,"30ecfdd4",null)),g=v.exports,b=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dropdown",[i("span",{staticClass:"el-dropdown-link"},[i("i",{staticClass:"el-icon-more operation"})]),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{nativeOn:{click:function(t){return e.move(t)}}},[e._v("移动到")]),"folder"!==e.scope.row.type?i("el-dropdown-item",{nativeOn:{click:function(t){return e.copy(t)}}},[e._v("复制到")]):e._e(),i("el-dropdown-item",{nativeOn:{click:function(t){return e.rename(t)}}},[e._v("重命名")]),"folder"!==e.scope.row.type?i("el-dropdown-item",{nativeOn:{click:function(t){return e.download(t)}}},[e._v("\n 下载\n "),i("a",{ref:"resourceDown",staticStyle:{display:"none"},attrs:{download:"",href:e.baseURL+"/v1/rs/"+e.scope.row.resourceId+"?fileName="+e.scope.row.name}},[e._v("下载")])]):e._e(),i("el-dropdown-item",{nativeOn:{click:function(t){return e.deleteResource(t)}}},[e._v("删除")])],1)],1)},L=[],w=i("6d5a"),y=i("6c6e"),T={props:["scope"],data:function(){return{baseURL:w["a"]}},methods:{move:function(){this.$store.commit("openFileTreeDialog",{title:"["+this.scope.row.name+"] 移动到",id:this.scope.row.id,type:"move"})},copy:function(){this.$store.commit("openFileTreeDialog",{title:"["+this.scope.row.name+"] 复制到",id:this.scope.row.id,type:"copy"})},rename:function(){var e=this;this.$prompt("请输入新的文件名","重新命名",{confirmButtonText:"确定",cancelButtonText:"取消",inputValue:this.scope.row.name}).then(function(t){var i=t.value;Object(y["l"])(e.scope.row.id,i).then(function(){e.$emit("flush")})}).catch(function(){})},download:function(){var e=document.createElement("a");e.href=this.baseURL+"v1/rs/"+this.scope.row.resourceId+"?fileName="+this.scope.row.name,e.click()},deleteResource:function(){var e=this;this.$confirm("是否确定要删除该文件?","删除",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(y["e"])(e.scope.row.id).then(function(){e.$emit("flush")})}).catch(function(){})}}},_=T,$=(i("983a"),Object(c["a"])(_,b,L,!1,null,"2c6dfaf8",null)),k=$.exports,S=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:e.$store.state.fileTreeInfo.title,visible:e.$store.state.fileTreeDialogVisible},on:{"update:visible":function(t){return e.$set(e.$store.state,"fileTreeDialogVisible",t)}}},[i("el-tree",{ref:"fileTree",attrs:{props:e.defaultProps,load:e.loadNode,"node-key":"id","empty-text":"没有文件夹",lazy:"","check-strictly":"","highlight-current":"","show-checkbox":""}}),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){return e.$store.commit("closeFileTreeDialog")}}},[e._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:e.operateNode}},[e._v("确 定")])],1)],1)},C=[],x={data:function(){return{defaultProps:{label:"name"}}},methods:{loadNode:function(e,t){var i=this;0===e.level?t([{id:0,name:"全部文件"}]):Object(y["g"])(e.data.id).then(function(e){"move"===i.$store.state.fileTreeInfo.type?t(e.data.filter(function(e){return e.id!==i.$store.state.fileTreeInfo.id})):t(e.data)})},operateNode:function(){"move"===this.$store.state.fileTreeInfo.type?this.moveNode():"copy"===this.$store.state.fileTreeInfo.type&&this.copyNode()},moveNode:function(){var e=this,t=this.$refs.fileTree.getCheckedKeys();1!==t.length?this.$message({message:"请选择一个将要移动的目标文件夹",type:"warning",duration:3e3}):Object(y["j"])(this.$store.state.fileTreeInfo.id,t[0]).then(function(){e.$emit("flush"),e.$store.commit("closeFileTreeDialog")})},copyNode:function(){var e=this,t=this.$refs.fileTree.getCheckedKeys();0===t.length?this.$message({message:"请选择将要复制到的目标文件夹",type:"warning",duration:3e3}):Object(y["b"])(this.$store.state.fileTreeInfo.id,t).then(function(){e.$message({message:"复制成功",type:"success",duration:3e3}),e.$store.commit("closeFileTreeDialog")})}}},F=x,I=Object(c["a"])(F,S,C,!1,null,null,null),O=I.exports,D={components:{FileIcon:f,Breadcrumb:g,FileOperation:k,FileTree:O},data:function(){return{tableData:[],fileTreeDialogVisible:!1,dialogVisible:"设置",baseURL:w["a"]}},computed:{levelList:function(){return this.$store.state.levelList}},watch:{levelList:function(){this.flushAccordingToLevelList()},"$store.state.flushFileListEvent":function(){this.flushAccordingToLevelList()}},methods:{createFolder:function(){var e=this,t=this.levelList[this.levelList.length-1].parentId;this.$prompt("请输入文件夹名","新建文件夹",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(i){var n=i.value;Object(y["d"])(t,n).then(function(){e.flushAccordingToLevelList()})}).catch(function(){})},getFileList:function(e,t){var i=this;Object(y["f"])(e).then(function(n){i.tableData=n.data;var o=i.levelList.length;0!==o&&i.levelList[o-1].parentId===e||i.$store.commit("pushLevelList",{parentId:e,name:t})})},openVideo:function(e,t){var i=this.baseURL+"v1/rs/"+e+"?fileName="+t,n=["mp4","ogg","mkv"],o=t.split("."),r=o[o.length-1];if(n.some(function(e){return e===r})){var s=window.open(),a="视频播放
";s.document.write(a)}else this.$confirm("该视频浏览器不支持播放,是否下载?","下载",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var e=document.createElement("a");e.href=i,e.click()}).catch(function(){})},flushAccordingToLevelList:function(){var e=this.levelList[this.levelList.length-1];this.getFileList(e.parentId,e.name)},formatterTime:function(e){return Object(w["c"])(new Date(e.gmtModified))},formatterSize:function(e){return"folder"===e.type?"-":Object(w["b"])(e.size)},triggerFileUpload:function(){this.$refs.fileInput.click()},dealWithFileUpload:function(e){var t=this;this.$store.commit("clearFileUploadList");var i=e.target.files,n=this.levelList[this.levelList.length-1];Array.from(i).forEach(function(e){var i={targetFolderId:n.parentId,targetFolderName:n.name,file:e};t.$store.commit("addUploadFile",i),t.$store.commit("operationFileUploadWindow","open")})}},created:function(){0===this.levelList.length?this.getFileList(0,"全部文件"):this.flushAccordingToLevelList()}},N=D,A=(i("e7f3"),Object(c["a"])(N,n,o,!1,null,"51160b6b",null));t["default"]=A.exports},"2db2":function(e,t,i){"use strict";var n=i("0709"),o=i("2d2c"),r=i("aa91"),s=i("181f"),a=i("577d"),l=i("33f2"),c=i("f418"),u=i("a5de");o(o.S+o.F*!i("fbd3")(function(e){Array.from(e)}),"Array",{from:function(e){var t,i,o,f,d=r(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,b=u(d);if(v&&(m=n(m,p>2?arguments[2]:void 0,2)),void 0==b||h==Array&&a(b))for(t=l(d.length),i=new h(t);t>g;g++)c(i,g,v?m(d[g],g):d[g]);else for(f=b.call(d),i=new h;!(o=f.next()).done;g++)c(i,g,v?s(f,m,[o.value,g],!0):o.value);return i.length=g,i}})},"578c":function(e,t,i){},"5f49":function(e,t,i){"use strict";var n=i("788d"),o=i.n(n);o.a},"612f":function(e,t,i){for(var n=i("5c07"),o=i("d753"),r=i("7f00"),s=i("4839"),a=i("c84b"),l=i("f03e"),c=i("f3ae"),u=c("iterator"),f=c("toStringTag"),d=l.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(h),m=0;m=t.length?{value:void 0,done:!0}:(e=n(t,i),this._i+=e.length,{value:e,done:!1})})},c4df:function(e,t,i){},e7f3:function(e,t,i){"use strict";var n=i("8870"),o=i.n(n);o.a},ea65:function(e,t,i){"use strict";var n=i("d635"),o=i("4d65"),r=i("d4f6"),s=i("1ff3"),a=i("33f2"),l=i("b21e"),c=i("31d0"),u=i("201d"),f=Math.min,d=[].push,h="split",p="length",m="lastIndex",v=4294967295,g=!u(function(){RegExp(v,"y")});i("c5aa")("split",2,function(e,t,i,u){var b;return b="c"=="abbc"[h](/(b)*/)[1]||4!="test"[h](/(?:)/,-1)[p]||2!="ab"[h](/(?:ab)*/)[p]||4!="."[h](/(.?)(.?)/)[p]||"."[h](/()()/)[p]>1||""[h](/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!n(e))return i.call(o,e,t);var r,s,a,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===t?v:t>>>0,g=new RegExp(e.source,u+"g");while(r=c.call(g,o)){if(s=g[m],s>f&&(l.push(o.slice(f,r.index)),r[p]>1&&r.index=h))break;g[m]===r.index&&g[m]++}return f===o[p]?!a&&g.test("")||l.push(""):l.push(o.slice(f)),l[p]>h?l.slice(0,h):l}:"0"[h](void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)}:i,[function(i,n){var o=e(this),r=void 0==i?void 0:i[t];return void 0!==r?r.call(i,o,n):b.call(String(o),i,n)},function(e,t){var n=u(b,e,this,t,b!==i);if(n.done)return n.value;var c=o(e),d=String(this),h=r(c,RegExp),p=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),L=new h(g?c:"^(?:"+c.source+")",m),w=void 0===t?v:t>>>0;if(0===w)return[];if(0===d.length)return null===l(L,d)?[d]:[];var y=0,T=0,_=[];while(T\n
\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileIcon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./FileIcon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileIcon.vue?vue&type=template&id=2ac62f06&scoped=true&\"\nimport script from \"./FileIcon.vue?vue&type=script&lang=js&\"\nexport * from \"./FileIcon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FileIcon.vue?vue&type=style&index=0&id=2ac62f06&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ac62f06\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"navigation\"},[(_vm.levelList.length > 1)?_c('div',{staticClass:\"navigation-prefix\"},[_c('span',{staticClass:\"go-back\",on:{\"click\":_vm.goBack}},[_vm._v(\"返回上一级\")]),_c('span',{staticClass:\"navigation-separator\"},[_vm._v(\"|\")])]):_vm._e(),_c('div',{staticClass:\"breadcrumb\"},_vm._l((_vm.levelList),function(val,index){return _c('div',{key:index,staticClass:\"breadcrumb-item\"},[((_vm.levelList.length - 1) !== index)?_c('span',{staticClass:\"breadcrumb-item-val\",on:{\"click\":function($event){return _vm.forwardTo(index)}}},[_vm._v(_vm._s(val.name))]):_c('span',{staticClass:\"breadcrumb-item-val\"},[_vm._v(_vm._s(val.name))]),((_vm.levelList.length - 1) !== index)?_c('span',{staticClass:\"breadcrumb-sparator\"},[_vm._v(\"/\")]):_vm._e()])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.2@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Breadcrumb.vue?vue&type=template&id=30ecfdd4&scoped=true&\"\nimport script from \"./Breadcrumb.vue?vue&type=script&lang=js&\"\nexport * from \"./Breadcrumb.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Breadcrumb.vue?vue&type=style&index=0&id=30ecfdd4&ref=stylesheet%2Fscss&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.7.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"30ecfdd4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',[_c('span',{staticClass:\"el-dropdown-link\"},[_c('i',{staticClass:\"el-icon-more operation\"})]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.move($event)}}},[_vm._v(\"移动到\")]),(_vm.scope.row.type !== 'folder')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.copy($event)}}},[_vm._v(\"复制到\")]):_vm._e(),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.rename($event)}}},[_vm._v(\"重命名\")]),(_vm.scope.row.type !== 'folder')?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.download($event)}}},[_vm._v(\"\\n 下载\\n \"),_c('a',{ref:\"resourceDown\",staticStyle:{\"display\":\"none\"},attrs:{\"download\":\"\",\"href\":_vm.baseURL + '/v1/rs/' + _vm.scope.row.resourceId + '?fileName=' + _vm.scope.row.name}},[_vm._v(\"下载\")])]):_vm._e(),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.deleteResource($event)}}},[_vm._v(\"删除\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","