ocr文档下载

This commit is contained in:
caoyang
2022-03-08 15:37:47 +08:00
parent 6c2ffe8995
commit 40a35fedf3
5 changed files with 17 additions and 8 deletions
+4 -4
View File
@@ -271,7 +271,7 @@
},
methods: {
sumber() {
console.log('vilidate',this.$refs.ruleForm1)
console.log('vilidate',this.formInline)
this.$refs.ruleForm1.validate(valid => {
console.log('va',valid)
if (valid) {
@@ -283,11 +283,11 @@
}
postAction(url, this.formInline).then((res) => {
if (res.success) {
this.$message.success(res.message)
this.$message.success(this.$t('OperationSuccessful'))
eventBUs.$emit('searchReset')
this.$emit('addFormClick')
} else {
this.$message.warning(res.message)
this.$message.warning(this.$t('operationFailed'))
}
})
} else {
@@ -310,6 +310,7 @@
/** 赋值给当前对应的表单文件 */
this.formInline[this.uploadName] = attIdList.join(',')
this.formInline = { ...this.formInline }
console.log('form',this.formInline)
}
},
handleInput(value) {
@@ -371,7 +372,6 @@
this.$set(this, 'rules', rules)
this.isFormInline = true
this.confirmLoading = false
console.log('rules',rules,this)
},
getForm() {
this.confirmLoading = true