修改文档库的编辑

This commit is contained in:
qq787203167
2022-03-10 23:32:22 +08:00
parent f40dbaf614
commit eea05bff0b
@@ -299,6 +299,7 @@
sumber() {
this.$refs.ruleForm.validate(valid => {
if (valid) {
this.confirmLoading = true
let url = ''
if (this.formInline.id) {
url = this.url.updateInfo
@@ -313,10 +314,12 @@
})
postAction(url, formInline).then((res) => {
if (res.success) {
this.confirmLoading = false
this.$message.success(this.$t('OperationSuccessful'))
eventBUs.$emit('searchReset')
this.$emit('addFormClick')
} else {
this.confirmLoading = false
if (res.message == '发布日期不能大于标准实施日期') {
this.$message.warning(this.$t('theRelease'))
} else {
@@ -445,7 +448,6 @@
}
})
})
console.log(this.headerText)
}
})
},