对接认证目录

This commit is contained in:
qq787203167
2022-05-23 14:44:00 +08:00
parent 912f2dac24
commit ab5b175d2d
3 changed files with 8 additions and 3 deletions
@@ -166,8 +166,12 @@
url = this.url.add
Action = postAction
}
let query = {
projectLibraryId: this.$route.query.id,
...this.formInline
}
this.confirmLoading = true
Action(url, this.formInline).then((res) => {
Action(url, query).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.visible = false
@@ -175,7 +179,7 @@
this.$emit('certificationDirectoryList')
} else {
this.confirmLoading = false
this.$message.success(this.$t('OperationSuccessful'))
this.$message.warning(res.message)
}
})
}