[update] 新法规导入流程和市场清单发布流程驳回到第一个节点后提交调submit接口
This commit is contained in:
@@ -21,6 +21,8 @@ const deleteFlowNode = (params) => postAction('/activitiModel/deleteTask', param
|
||||
const newRegulationImportSave = (params) => postAction('/process/newStandardImport/save', params)
|
||||
// 发起
|
||||
const newRegulationImportApproval = (params) => postAction('/process/newStandardImport/start', params)
|
||||
// 提交
|
||||
const newRegulationImportSubmit = (params) => postAction('/process/newStandardImport/submit', params)
|
||||
// 同意
|
||||
const newRegulationImportAgree = (params) => postAction('/process/newStandardImport/agree', params)
|
||||
// 驳回
|
||||
@@ -55,6 +57,8 @@ const regulatoryComplianceCheckGenerate = (params) => postAction('/process/stand
|
||||
const marketListReleaseSave = (params) => postAction('/process/marketStandardRelease/save', params)
|
||||
// 发起
|
||||
const marketListReleaseApproval = (params) => postAction('/process/marketStandardRelease/start', params)
|
||||
// 提交
|
||||
const marketListReleaseSubmit = (params) => postAction('/process/marketStandardRelease/submit', params)
|
||||
// 同意
|
||||
const marketListReleaseAgree = (params) => postAction('/process/marketStandardRelease/agree', params)
|
||||
// 驳回
|
||||
@@ -119,6 +123,7 @@ export {
|
||||
|
||||
newRegulationImportSave,
|
||||
newRegulationImportApproval,
|
||||
newRegulationImportSubmit,
|
||||
newRegulationImportAgree,
|
||||
newRegulationImportReject,
|
||||
newRegulationImportGetDataById,
|
||||
@@ -136,6 +141,7 @@ export {
|
||||
|
||||
marketListReleaseSave,
|
||||
marketListReleaseApproval,
|
||||
marketListReleaseSubmit,
|
||||
marketListReleaseAgree,
|
||||
marketListReleaseReject,
|
||||
marketListReleaseGetDataById,
|
||||
|
||||
@@ -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