|
|
|
@ -1153,9 +1153,6 @@ export default { |
|
|
|
|
|
|
|
// 导入建卡 -- 确定导入 |
|
|
|
btnImportCardOK() { |
|
|
|
this.elProgress.display = true; |
|
|
|
this.elProgress.percentage = 0; |
|
|
|
|
|
|
|
this.importCols = [] |
|
|
|
this.excelCols.forEach(e => { |
|
|
|
if (e.val) { |
|
|
|
@ -1168,10 +1165,19 @@ export default { |
|
|
|
if (e.choosed) this.choosedData.push(e) |
|
|
|
}); |
|
|
|
|
|
|
|
//导入进行中 |
|
|
|
this.importing(this.dataImportOpts.startRow) |
|
|
|
// 开始导入时,清除选择的 文件 |
|
|
|
document.getElementById('fileNames').value = ''; |
|
|
|
if (this.choosedData.length == 0) { |
|
|
|
this.$message.warning({ showClose: true, message: '请选中要导入的记录' }) |
|
|
|
return |
|
|
|
} else { |
|
|
|
this.elProgress.display = true; |
|
|
|
this.elProgress.percentage = 0; |
|
|
|
//导入进行中 |
|
|
|
this.importing(this.dataImportOpts.startRow) |
|
|
|
// 开始导入时,清除选择的 文件 |
|
|
|
document.getElementById('fileNames').value = ''; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//导入完后,导入状态显示 |
|
|
|
|