|
@@ -2747,7 +2747,9 @@ const divisionClick = async ()=>{
|
|
|
}
|
|
|
const divisionSaveClick = ()=>{
|
|
|
divisionDialogShow.value = false
|
|
|
+ setTimeout(()=>{
|
|
|
window?.location?.reload() //刷新页面
|
|
|
+ }, 1000)
|
|
|
}
|
|
|
// 添加一个定时器引用
|
|
|
const progressTimer = ref(null)
|
|
@@ -2884,7 +2886,11 @@ const handleSuccess = (res) => {
|
|
|
// }, 1000)
|
|
|
|
|
|
} else {
|
|
|
+
|
|
|
window.$message.error(res.msg || '上传失败')
|
|
|
+ nextTick(()=>{
|
|
|
+ fileList.value = []
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2907,9 +2913,7 @@ const confirmTap = async ()=>{
|
|
|
await getIsImportData()
|
|
|
if ( isCanClickImport.value) {
|
|
|
startProgressTimer()
|
|
|
- } else {
|
|
|
- divisionSaveClick()
|
|
|
- }
|
|
|
+ }
|
|
|
}, 3000)
|
|
|
|
|
|
|