[update] 市场法规清单直接发布换接口
This commit is contained in:
@@ -160,6 +160,8 @@ const marketRegulationDetailEdit = (params) => postAction('/laws/marketStandardD
|
||||
const marketRegulationDetailMove = (params) => postAction('/laws/marketStandardDetail/move', params)
|
||||
// 市场法规清单-发布-看该清单是否可以发布
|
||||
const marketRegulationDetailPublish = (params) => postAction('/laws/marketStandard/publish', params)
|
||||
// 市场法规清单-直接发布
|
||||
const marketRegulationDirectRelease = (params) => postAction('/laws/marketStandard/directRelease', params)
|
||||
|
||||
export {
|
||||
// 国内标准
|
||||
@@ -251,5 +253,6 @@ export {
|
||||
marketRegulationDetailAdd,
|
||||
marketRegulationDetailEdit,
|
||||
marketRegulationDetailMove,
|
||||
marketRegulationDetailPublish
|
||||
marketRegulationDetailPublish,
|
||||
marketRegulationDirectRelease
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||
import { ListState } from '../../../enums/commonEnums'
|
||||
import { getFormDictTreeList } from '../../../api/api'
|
||||
import { mapGetters } from 'vuex'
|
||||
import { marketRegulationDetailPublish } from '../../../api/standardRegulationLibraryApi'
|
||||
import { marketRegulationDetailPublish, marketRegulationDirectRelease } from '../../../api/standardRegulationLibraryApi'
|
||||
|
||||
export default {
|
||||
name: 'MarketRegulationsList',
|
||||
@@ -345,7 +345,7 @@ export default {
|
||||
content: this.$t('standardRegulationLibrary.marketRegulationsList.directReleaseAData'),
|
||||
onOk: function () {
|
||||
that.loading = true
|
||||
marketRegulationDetailPublish({ ids: ids }).then((res) => {
|
||||
marketRegulationDirectRelease({ ids: ids }).then((res) => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message)
|
||||
that.loadData()
|
||||
|
||||
Reference in New Issue
Block a user