[update] 市场法规清单直接发布
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user