[update] 新法规导入流程和市场清单发布流程驳回到第一个节点后提交调submit接口

This commit is contained in:
lideqin
2024-07-17 18:37:24 +08:00
parent 1637416b25
commit b8e48012b0
3 changed files with 12 additions and 10 deletions
@@ -178,6 +178,7 @@ import pick from 'lodash.pick'
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
import { getFormDictTreeList } from '../../../api/api'
import STreeSelect from '../../../components/STreeSelect'
import { marketListReleaseSubmit } from '../../../api/workCenter'
export default {
name: 'MarketListReleaseProcess',
@@ -476,13 +477,6 @@ export default {
},
// 节点一时候的提交
handleStart () {
// marketRegulationDetailPublish({id: this.$route.query.marketRegulationId}).then(res => {
// if (res.success) {
// this.$message.success(res.message)
// } else {
// this.$message.warning(res.message)
// }
// })
if (this.loading) return
// 流程信息的校验
this.processInfoForm.validateFields((err, values) => {
@@ -516,7 +510,7 @@ export default {
let func
if (this.$route.query.taskId) {
// 有taskId说明是驳回的提交
func = marketListReleaseAgree
func = marketListReleaseSubmit
paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId
} else {
func = marketListReleaseApproval
@@ -144,7 +144,9 @@ import {
newRegulationImportSave,
getDataDraft,
processTransfer,
getLookData, processAddSign
getLookData,
processAddSign,
newRegulationImportSubmit
} from '../../../api/workCenter'
export default {
@@ -435,7 +437,7 @@ export default {
let func
if (this.$route.query.taskId) {
// 有taskId说明是驳回的提交
func = newRegulationImportAgree
func = newRegulationImportSubmit
paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId
} else {
func = newRegulationImportApproval