[update] 市场法规清单直接发布

This commit is contained in:
lideqin
2024-09-27 15:10:49 +08:00
parent 0887176eff
commit 31fb9a502f
@@ -339,21 +339,21 @@ export default {
this.$message.warning(this.$t('selectARecord'))
} else {
const ids = this.selectedRowKeys.join(',')
const that = this
this.$confirm({
title: this.$t('standardRegulationLibrary.marketRegulationsList.confirmDirectRelease'),
content: this.$t('standardRegulationLibrary.marketRegulationsList.directReleaseAData'),
onOk: function () {
that.loading = true
onOk: () => {
this.loading = true
marketRegulationDirectRelease({ ids: ids }).then((res) => {
if (res.success) {
that.$message.success(res.message)
that.loadData()
this.$message.success(res.message)
this.loadData()
this.onClearSelected()
} else {
that.$message.warning(res.message)
this.$message.warning(res.message)
}
}).finally(() => {
that.loading = false
this.loading = false
})
}
})