diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue index 199d80b69..ee8dbc592 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue @@ -171,8 +171,12 @@ }) window.open(newUrl.href, '_blank') } else if (row.flowType == '2') { + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds: row.taskIds, + taskIds: row.taskId, actiProcInstId: row.actiProcInstId, projectTaskInventoryId: row.projectLawsInventoryId, projectLibraryId: row.projectLibraryId, @@ -200,8 +204,12 @@ }) window.open(newUrl.href, '_blank') } else if (row.flowType == '3') { + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds: row.taskIds, + taskIds: row.taskId, actiProcInstId: row.actiProcInstId, projectTaskInventoryId: row.projectLawsInventoryId, studioEngineer: row.studioEngineer, @@ -229,8 +237,12 @@ }) window.open(newUrl.href, '_blank') } else if (row.flowType == '4') { + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds: row.taskIds, + taskIds: row.taskId, actiProcInstId: row.actiProcInstId, id: row.projectLibraryId, projectLibraryId: row.projectLibraryId, diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue index 1810a9b97..7e5df27af 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue @@ -121,16 +121,16 @@ projectName: item.projectName, projectNameId: item.projectNameId, targetMarket: item.targetMarket, - studioEngineer:item.studioEngineer, + studioEngineer: item.studioEngineer } }) window.open(newUrl.href, '_blank') }, - standardInformationClick(item){ + standardInformationClick(item) { let newUrl = this.$router.resolve({ path: '/docManage/library/detail', query: { - id: item.bussDocumentLibraryId, + id: item.bussDocumentLibraryId } }) window.open(newUrl.href, '_blank') @@ -139,18 +139,18 @@ let query = {} if (row.flowType == '1') { query = { - taskDefinitionKey:row.taskDefinitionKey, - taskIds:row.taskId, - prcType:row.flowType, - prcNum:row.prcNum, - isTrue:true, + taskDefinitionKey: row.taskDefinitionKey, + taskIds: row.taskId, + prcType: row.flowType, + prcNum: row.prcNum, + isTrue: true } let newUrl = this.$router.resolve({ path: '/handshakeProcess', query: query }) window.open(newUrl.href, '_blank') - }else if(row.flowType == '10'){ + } else if (row.flowType == '10') { let newUrl = this.$router.resolve({ path: '/ProjectDetails', query: { @@ -158,17 +158,21 @@ projectName: row.projectName, projectNameId: row.projectNameId, targetMarket: row.targetMarket, - studioEngineer:row.studioEngineer, - type:'102', + studioEngineer: row.studioEngineer, + type: '102' } }) window.open(newUrl.href, '_blank') - }else if(row.flowType == '2'){ + } else if (row.flowType == '2') { + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds:row.taskId, + taskIds: row.taskId, actiProcInstId: row.actiProcInstId, projectTaskInventoryId: row.projectLawsInventoryId, - projectLibraryId:row.projectLibraryId, + projectLibraryId: row.projectLibraryId, id: row.projectLibraryId, studioEngineer: row.studioEngineer, serialNumber: row.serialNumber, @@ -192,13 +196,17 @@ query: query }) window.open(newUrl.href, '_blank') - }else if(row.flowType == '3'){ + } else if (row.flowType == '3') { + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds:row.taskId, + taskIds: row.taskId, actiProcInstId: row.actiProcInstId, projectTaskInventoryId: row.projectLawsInventoryId, studioEngineer: row.studioEngineer, - projectLibraryId:row.projectLibraryId, + projectLibraryId: row.projectLibraryId, serialNumber: row.serialNumber, TaskKey: row.taskDefinitionKey, flowType: 3, @@ -221,7 +229,11 @@ query: query }) window.open(newUrl.href, '_blank') - }else if(row.flowType == '4'){ + } else if (row.flowType == '4') { + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { taskIds: row.taskId, actiProcInstId: row.actiProcInstId, diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue index 160c7c486..6b0459add 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue @@ -171,8 +171,12 @@ }) window.open(newUrl.href, '_blank') }else if(row.flowType == '2'){ + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds:row.taskIds, + taskIds:row.taskId, actiProcInstId: row.actiProcInstId, projectTaskInventoryId: row.projectLawsInventoryId, projectLibraryId:row.projectLibraryId, @@ -200,8 +204,12 @@ }) window.open(newUrl.href, '_blank') }else if(row.flowType == '3'){ + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds:row.taskIds, + taskIds:row.taskId, actiProcInstId: row.actiProcInstId, projectTaskInventoryId: row.projectLawsInventoryId, studioEngineer: row.studioEngineer, @@ -229,8 +237,12 @@ }) window.open(newUrl.href, '_blank') }else if(row.flowType == '4'){ + row.taskId = row.taskId + '' + if (row.taskId.length > 30) { + row.taskId = '' + } query = { - taskIds: row.taskIds, + taskIds: row.taskId, actiProcInstId: row.actiProcInstId, id: row.projectLibraryId, projectLibraryId: row.projectLibraryId,