bug修复
This commit is contained in:
parent
8840a059e5
commit
a76dc4c48f
|
|
@ -212,7 +212,14 @@
|
|||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog :title="`人员基础数据导入`" :visible.sync="personBasicOpen" width="60%" style="height: 1000px">
|
||||
<el-dialog
|
||||
:title="`人员基础数据导入`"
|
||||
:visible.sync="personBasicOpen"
|
||||
width="60%"
|
||||
style="height: 1000px"
|
||||
v-if="personBasicOpen"
|
||||
@close="onCloseDialog"
|
||||
>
|
||||
<div style="padding: 15px; width: 100%; height: 750px">
|
||||
<el-steps :active="active" :finish-status="statusUpload" align-center>
|
||||
<el-step title="选择文件"></el-step>
|
||||
|
|
@ -783,6 +790,7 @@ export default {
|
|||
personClose() {
|
||||
this.personBasicOpen = false
|
||||
this.formPerson.fileList = []
|
||||
this.onCloseDialog()
|
||||
},
|
||||
before() {
|
||||
this.active--
|
||||
|
|
@ -801,7 +809,7 @@ export default {
|
|||
},
|
||||
|
||||
importExcel: debounce(function () {
|
||||
this.loading = true
|
||||
// this.loading = true
|
||||
let data = []
|
||||
for (let i = 1; i < this.excelData.length; i++) {
|
||||
data.push(this.excelData[i])
|
||||
|
|
@ -823,7 +831,7 @@ export default {
|
|||
this.formPerson.fileList = []
|
||||
this.excelData = []
|
||||
this.getSubPersonList()
|
||||
this.loading = false
|
||||
// this.loading = false
|
||||
} else {
|
||||
this.errorCode = response.msg
|
||||
this.active = 3
|
||||
|
|
@ -1049,6 +1057,12 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 关闭导入弹框
|
||||
onCloseDialog() {
|
||||
this.excelData = []
|
||||
this.active = 1
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue