|
@@ -569,6 +569,13 @@ export default {
|
|
this.$message.error('请锁定业务编号后暂存')
|
|
this.$message.error('请锁定业务编号后暂存')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ const loading = this.$loading({
|
|
|
|
+ lock: true,
|
|
|
|
+ text: 'Loading',
|
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
|
|
+ });
|
|
|
|
+
|
|
// this.isLoading = true
|
|
// this.isLoading = true
|
|
let data = new FormData()
|
|
let data = new FormData()
|
|
if(this.$route.query.key) {
|
|
if(this.$route.query.key) {
|
|
@@ -630,7 +637,9 @@ export default {
|
|
// this.isLoading = false
|
|
// this.isLoading = false
|
|
this.$message.success('提交成功')
|
|
this.$message.success('提交成功')
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
|
|
+ loading.close()
|
|
}, () => {
|
|
}, () => {
|
|
|
|
+ loading.close()
|
|
// this.isLoading = false
|
|
// this.isLoading = false
|
|
})
|
|
})
|
|
},
|
|
},
|