fix 标准法规入库/变更流程保存
This commit is contained in:
@@ -551,8 +551,8 @@ export default {
|
|||||||
*/
|
*/
|
||||||
initProcessData () {
|
initProcessData () {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const { processInstanceId, draftId, taskId } = this.$route.query
|
const { processInstanceId, draftId, taskId, projectId } = this.$route.query
|
||||||
queryStandardECProcessData({ processInstanceId, draftId, taskId }).then(async res => {
|
queryStandardECProcessData({ processInstanceId, draftId, taskId, projectId }).then(async res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
const businessData = Object.assign({}, { ...res.result.businessInfoDTO.businessMap })
|
const businessData = Object.assign({}, { ...res.result.businessInfoDTO.businessMap })
|
||||||
this.businessId = res.result.businessId
|
this.businessId = res.result.businessId
|
||||||
@@ -897,6 +897,15 @@ export default {
|
|||||||
this.$message.warning(this.$t('pleaseFillInAtLeastOneItem'))
|
this.$message.warning(this.$t('pleaseFillInAtLeastOneItem'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
formData.infoJsonStr = JSON.stringify(formData)
|
||||||
|
formData.businessId = this.businessId
|
||||||
|
formData.draftId = this.$route.query.draftId
|
||||||
|
// saveSource:从待办进入保存--1;发起/草稿页面--2
|
||||||
|
if (this.currentNode !== FGEntryChangeProcessNode.initiate.value || this.$route.query.processInstanceId) {
|
||||||
|
formData.saveSource = 1
|
||||||
|
} else {
|
||||||
|
formData.saveSource = 2
|
||||||
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
saveStandardECProcess(formData).then(res => {
|
saveStandardECProcess(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user