|
@@ -339,7 +339,9 @@ export default {
|
|
|
this.getDataImportAPI({ aircraftId: this.aircaftModelIdList })
|
|
|
this.submitBtnLoading = false
|
|
|
}
|
|
|
- } catch (error) {}
|
|
|
+ } catch (error) {
|
|
|
+ this.submitBtnLoading = false
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
async updateDataImportAPI() {
|
|
@@ -354,7 +356,9 @@ export default {
|
|
|
this.submitBtnLoading = false
|
|
|
this.getDataImportAPI({ aircraftId: this.aircaftModelIdList })
|
|
|
}
|
|
|
- } catch (error) {}
|
|
|
+ } catch (error) {
|
|
|
+ this.submitBtnLoading = false
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
treeNodeClick(data) {
|
|
@@ -474,6 +478,7 @@ export default {
|
|
|
this.upload.open = false
|
|
|
this.upload.isUploading = false
|
|
|
this.$refs.upload.clearFiles()
|
|
|
+ this.submitBtnLoading = false
|
|
|
}
|
|
|
// this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + '</div>', '导入结果', { dangerouslyUseHTMLString: true })
|
|
|
},
|