文件名称:ExtJs原生批量上传+实时进度
文件大小:6KB
文件格式:ZIP
更新时间:2017-03-26 05:06:21
ExtJs 上传
ExtJs原生批量上传 + 实时进度 Ext.define('MyApp.ux.upload.UploadWindow', { extend: 'Ext.window.Window', height: 400, width: 700, title: '文件上传', closeAction: 'hide', maximizable: true, layout: 'fit', uploadParams: null, initComponent: function() { var me = this; Ext.apply(me, { items: [{ xtype: 'uploadContainer', uploadParams: me.uploadParams, url: 'SystemUploadController.do?method=uploadFile', border: false }] }); me.callParent(arguments); me.on('hide', me.handlerHide, me); }, handlerHide: function() { this.down('uploadContainer').resetContent(); } });
【文件预览】:
FileItem.js
FileStore.js
FileSelectButton.js
UploadWindow.js
FileUpLoader.js
UploadContainer.js
FileItemGrid.js