[update] 新法规导入流程和市场清单发布流程驳回到第一个节点后提交调submit接口
This commit is contained in:
@@ -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
|
||||
|
||||
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user