[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 newRegulationImportSave = (params) => postAction('/process/newStandardImport/save', params)
|
||||||
// 发起
|
// 发起
|
||||||
const newRegulationImportApproval = (params) => postAction('/process/newStandardImport/start', 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)
|
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 marketListReleaseSave = (params) => postAction('/process/marketStandardRelease/save', params)
|
||||||
// 发起
|
// 发起
|
||||||
const marketListReleaseApproval = (params) => postAction('/process/marketStandardRelease/start', 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)
|
const marketListReleaseAgree = (params) => postAction('/process/marketStandardRelease/agree', params)
|
||||||
// 驳回
|
// 驳回
|
||||||
@@ -119,6 +123,7 @@ export {
|
|||||||
|
|
||||||
newRegulationImportSave,
|
newRegulationImportSave,
|
||||||
newRegulationImportApproval,
|
newRegulationImportApproval,
|
||||||
|
newRegulationImportSubmit,
|
||||||
newRegulationImportAgree,
|
newRegulationImportAgree,
|
||||||
newRegulationImportReject,
|
newRegulationImportReject,
|
||||||
newRegulationImportGetDataById,
|
newRegulationImportGetDataById,
|
||||||
@@ -136,6 +141,7 @@ export {
|
|||||||
|
|
||||||
marketListReleaseSave,
|
marketListReleaseSave,
|
||||||
marketListReleaseApproval,
|
marketListReleaseApproval,
|
||||||
|
marketListReleaseSubmit,
|
||||||
marketListReleaseAgree,
|
marketListReleaseAgree,
|
||||||
marketListReleaseReject,
|
marketListReleaseReject,
|
||||||
marketListReleaseGetDataById,
|
marketListReleaseGetDataById,
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ import pick from 'lodash.pick'
|
|||||||
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
|
||||||
import { getFormDictTreeList } from '../../../api/api'
|
import { getFormDictTreeList } from '../../../api/api'
|
||||||
import STreeSelect from '../../../components/STreeSelect'
|
import STreeSelect from '../../../components/STreeSelect'
|
||||||
|
import { marketListReleaseSubmit } from '../../../api/workCenter'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'MarketListReleaseProcess',
|
name: 'MarketListReleaseProcess',
|
||||||
@@ -476,13 +477,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 节点一时候的提交
|
// 节点一时候的提交
|
||||||
handleStart () {
|
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
|
if (this.loading) return
|
||||||
// 流程信息的校验
|
// 流程信息的校验
|
||||||
this.processInfoForm.validateFields((err, values) => {
|
this.processInfoForm.validateFields((err, values) => {
|
||||||
@@ -516,7 +510,7 @@ export default {
|
|||||||
let func
|
let func
|
||||||
if (this.$route.query.taskId) {
|
if (this.$route.query.taskId) {
|
||||||
// 有taskId说明是驳回的提交
|
// 有taskId说明是驳回的提交
|
||||||
func = marketListReleaseAgree
|
func = marketListReleaseSubmit
|
||||||
paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId
|
paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId
|
||||||
} else {
|
} else {
|
||||||
func = marketListReleaseApproval
|
func = marketListReleaseApproval
|
||||||
|
|||||||
+4
-2
@@ -144,7 +144,9 @@ import {
|
|||||||
newRegulationImportSave,
|
newRegulationImportSave,
|
||||||
getDataDraft,
|
getDataDraft,
|
||||||
processTransfer,
|
processTransfer,
|
||||||
getLookData, processAddSign
|
getLookData,
|
||||||
|
processAddSign,
|
||||||
|
newRegulationImportSubmit
|
||||||
} from '../../../api/workCenter'
|
} from '../../../api/workCenter'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -435,7 +437,7 @@ export default {
|
|||||||
let func
|
let func
|
||||||
if (this.$route.query.taskId) {
|
if (this.$route.query.taskId) {
|
||||||
// 有taskId说明是驳回的提交
|
// 有taskId说明是驳回的提交
|
||||||
func = newRegulationImportAgree
|
func = newRegulationImportSubmit
|
||||||
paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId
|
paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId
|
||||||
} else {
|
} else {
|
||||||
func = newRegulationImportApproval
|
func = newRegulationImportApproval
|
||||||
|
|||||||
Reference in New Issue
Block a user