ocr文档下载
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user