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