分片js 提交
This commit is contained in:
parent
0487b52001
commit
14ef69e98b
|
@ -45,6 +45,7 @@
|
|||
"file-saver": "2.0.5",
|
||||
"fuse.js": "6.4.3",
|
||||
"highlight.js": "9.18.5",
|
||||
"jquery": "^3.7.1",
|
||||
"js-beautify": "1.13.0",
|
||||
"js-cookie": "3.0.1",
|
||||
"jsencrypt": "3.0.0-rc.1",
|
||||
|
@ -52,11 +53,13 @@
|
|||
"quill": "1.3.7",
|
||||
"screenfull": "5.0.2",
|
||||
"sortablejs": "1.10.2",
|
||||
"spark-md5": "^3.0.2",
|
||||
"vue": "2.6.12",
|
||||
"vue-count-to": "1.0.13",
|
||||
"vue-cropper": "0.5.5",
|
||||
"vue-meta": "2.4.0",
|
||||
"vue-router": "3.4.9",
|
||||
"vue-simple-uploader": "^0.7.6",
|
||||
"vuedraggable": "2.24.3",
|
||||
"vuex": "3.6.0"
|
||||
},
|
||||
|
|
10
ruoyi-ui/src/api/system/file/fileuploader/fileuploader.js
Normal file
10
ruoyi-ui/src/api/system/file/fileuploader/fileuploader.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询测试信息列表
|
||||
export function fileMerge(query) {
|
||||
return request({
|
||||
url: '/official/chunkFilelist/merge',
|
||||
method: 'post',
|
||||
params: query
|
||||
})
|
||||
}
|
BIN
ruoyi-ui/src/assets/images/image-icon.png
Normal file
BIN
ruoyi-ui/src/assets/images/image-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 564 KiB |
BIN
ruoyi-ui/src/assets/images/text-icon.png
Normal file
BIN
ruoyi-ui/src/assets/images/text-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 564 KiB |
BIN
ruoyi-ui/src/assets/images/video-icon.png
Normal file
BIN
ruoyi-ui/src/assets/images/video-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 564 KiB |
3
ruoyi-ui/src/assets/js/bus.js
Normal file
3
ruoyi-ui/src/assets/js/bus.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export default new Vue();
|
8
ruoyi-ui/src/assets/js/config.js
Normal file
8
ruoyi-ui/src/assets/js/config.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
export const ACCEPT_CONFIG = {
|
||||
image: ['.png', '.jpg', '.jpeg', '.gif', '.bmp'],
|
||||
video: ['.mp4', '.rmvb', '.mkv', '.wmv', '.flv'],
|
||||
document: ['.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf', '.txt', '.tif', '.tiff','.zip','.7z','.rar'],
|
||||
getAll(){
|
||||
return [...this.image, ...this.video, ...this.document]
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue
Block a user