| | |
| | | </div> |
| | | <el-table class="thbg" :data="batchImportTableData" fit> |
| | | <el-table-column type="index" label="序号"></el-table-column> |
| | | <el-table-column prop="filename" label="文件名称"></el-table-column> |
| | | <el-table-column prop="time" label="上传时间"></el-table-column> |
| | | <el-table-column prop="state" label="状态"></el-table-column> |
| | | <el-table-column prop="Name" label="文件名称"></el-table-column> |
| | | <el-table-column prop="UploadTime" label="上传时间"></el-table-column> |
| | | <el-table-column prop="Status" label="状态"></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | this.$refs['directoryInput'].click(); |
| | | }, |
| | | importDirectory () { |
| | | let _this = this; |
| | | //this.$refs['directoryInput'].files //文件夹map |
| | | let formData = new FormData; |
| | | for (var file in this.$refs['directoryInput'].files) { |
| | |
| | | |
| | | uploadDirectory(formData).then(res => { |
| | | debugger |
| | | |
| | | _this.batchImportTableData = res.data; |
| | | _this.renderMemberTable(); |
| | | }) |
| | | }, |
| | | |