|
@@ -645,6 +645,9 @@
|
|
|
},
|
|
|
// 表单提交
|
|
|
doSubmit () {
|
|
|
+ if (this.progressFlag === true) {
|
|
|
+ this.$message.warning('文件正在上传中,请稍等')
|
|
|
+ }
|
|
|
this.$refs['inputForm'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
this.loading = true
|
|
@@ -676,10 +679,10 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- close () {
|
|
|
+ async close () {
|
|
|
this.$refs.inputForm.resetFields()
|
|
|
- this.visible = false
|
|
|
this.showVi = true
|
|
|
+ this.visible = false
|
|
|
},
|
|
|
async httpRequest (file) {
|
|
|
await httpRequest(file, fileName(file), 'projectRecords')
|