diff --git a/src/views/Home.vue b/src/views/Home.vue
index a3faf15..2f2e061 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -499,7 +499,7 @@ export default {
handleCommand(command) {
if (this.router.path != command) {
this.router.path = command;
- this.$router.push({ path: command });
+ this.$router.push({ path: command }).catch(()=>{})
}
},
//确定修改密码按钮
diff --git a/src/views/doctorCheck/personnelBatch.vue b/src/views/doctorCheck/personnelBatch.vue
index 98a9293..101e3a7 100644
--- a/src/views/doctorCheck/personnelBatch.vue
+++ b/src/views/doctorCheck/personnelBatch.vue
@@ -45,14 +45,13 @@
@@ -74,7 +73,6 @@ export default {
importData:[], //导入原始数据
tableDataCol:{}, //导入原始数据 分析后 字段 key-value:key 为excel字段标题,value 为数据库中后台字段
tableData:[], //导入原始数据 分析后 表格数据
-
};
},
methods: {
@@ -83,6 +81,7 @@ export default {
const file = event.target.files[0];
// 调用导入Excel文件的方法
this.importExcelFile(file);
+ this.parseImportData()
},
importExcelFile(file) {
this.filepopupdialogVisible = true;
@@ -108,6 +107,7 @@ export default {
worksheet.eachRow((row, rowNumber) => {
console.log(row.values);
this.importData.push(row.values);
+
// console.log(`第${row.rowNumber}行的数据:${row.rowData}`);
});
});
@@ -172,6 +172,7 @@ export default {
},
//下一步
nextstep() {
+
this.dialogVisible3 = true;
this.dialogVisible2 = false;
},