修改文档库的编辑
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user