- {{item.prcName}}
-
+
+ {{item.flowTypeShow+'-'+item.projectName}}
+
+
+ {{item.flowTypeShow+'-'+item.serialNumber}}
+
+
- {{item.creatTime}}
+ {{item.endTime}}
{{$t('Pending')}}
@@ -43,9 +49,13 @@
dataSource: [],
loading: false,
prcTypeName: {
- 1: this.$t('taskConfirmationProcess'),
- 5:this.$t('collectionOfRegulatoryOpinionsProcess'),
- 6:this.$t('regulatoryTechnologyAssessmentProcess')
+ 1: this.$t('listTaskConfirmation'),
+ 2: this.$t('designComplianceReview'),
+ 3: this.$t('preHomeConfirmation'),
+ 4: this.$t('verificationComplianceReview'),
+ 10: this.$t('confirmationOfRegulationsList'),
+ 5: this.$t('collectionOfRegulatoryOpinionsProcess'),
+ 6: this.$t('regulatoryTechnologyAssessmentProcess')
}
}
},
@@ -74,11 +84,11 @@
queryProcess() {
this.loading = true
let parmes = {}
- parmes.current = this.pageNo
- parmes.size = this.pageSize
- parmes.userId = this.userInfo().userId
- postAction('task/todoTaskList', parmes).then((res) => {
- this.dataSource = res.list || []
+ parmes.pageNo = this.pageNo
+ parmes.pageSize = this.pageSize
+ // parmes.userId = this.userInfo().userId
+ getAction('/todoCenter/projectProcess/todoTaskList', parmes).then((res) => {
+ this.dataSource = res.result.records || []
this.loading = false
})
},
@@ -88,29 +98,138 @@
})
},
prcClick(row) {
- // let index = row.taskIds.lastIndexOf(',')
- // row.taskIds = row.taskIds.slice(0, index)
+ let query = {}
row.router = this.$route.path
- if (row.prcType == '1') {
+ if (row.flowType == '1') {
+ query = {
+ taskDefinitionKey: row.taskDefinitionKey,
+ taskIds: row.taskId,
+ prcType: row.flowType,
+ prcNum: row.prcNum,
+ isTrue: true
+ }
let newUrl = this.$router.resolve({
path: '/handshakeProcess',
- query: row
+ query: query
})
window.open(newUrl.href, '_blank')
- } else if (row.prcType == '5') {
+ } else if (row.flowType == '10') {
let newUrl = this.$router.resolve({
- path: '/regulatoryProcessReview',
- query: row
+ path: '/ProjectDetails',
+ query: {
+ id: row.projectLibraryId,
+ projectName: row.projectName,
+ projectNameId: row.projectNameId,
+ targetMarket: row.targetMarket,
+ studioEngineer: row.studioEngineer,
+ type: '102'
+ }
})
window.open(newUrl.href, '_blank')
- } else if (row.prcType == '6') {
+ } else if (row.flowType == '2') {
+ row.taskId = row.taskId + ''
+ if (row.taskId.length > 30) {
+ row.taskId = ''
+ }
+ query = {
+ router: row.router,
+ taskIds: row.taskId,
+ actiProcInstId: row.actiProcInstId,
+ projectTaskInventoryId: row.projectLawsInventoryId,
+ projectLibraryId: row.projectLibraryId,
+ id: row.projectLibraryId,
+ studioEngineer: row.studioEngineer,
+ serialNumber: row.serialNumber,
+ TaskKey: row.taskDefinitionKey,
+ isDisplay: true,
+ flowType: 2,
+ Sponsor: 'designInitiatorName',
+ personLiable: 'designDutyName',
+ typeOfDeliverables: 'designDeliverableTypeName',
+ deliverableTemplate: 'designDeliverableTemplate',
+ DueDate: 'designDueDate',
+ remarks: 'designRemark',
+ projectName: row.projectName,
+ targetMarket: row.targetMarket,
+ projectNameId: row.projectNameId,
+ primaryKeyId: row.primaryKeyId,
+ PersonChargeFeedback: row.personChargeFeedback
+ }
let newUrl = this.$router.resolve({
- path: '/evaluationProcess',
- query: row
+ path: '/taskListProcess',
+ query: query
+ })
+ window.open(newUrl.href, '_blank')
+ } else if (row.flowType == '3') {
+ row.taskId = row.taskId + ''
+ if (row.taskId.length > 30) {
+ row.taskId = ''
+ }
+ query = {
+ router: row.router,
+ taskIds: row.taskId,
+ actiProcInstId: row.actiProcInstId,
+ projectTaskInventoryId: row.projectLawsInventoryId,
+ studioEngineer: row.studioEngineer,
+ projectLibraryId: row.projectLibraryId,
+ serialNumber: row.serialNumber,
+ TaskKey: row.taskDefinitionKey,
+ flowType: 3,
+ isDisplay: true,
+ id: row.projectLibraryId,
+ Sponsor: 'prehomoInitiatorName',
+ personLiable: 'prehomoDutyName',
+ typeOfDeliverables: 'prehomoDeliverableTypeName',
+ deliverableTemplate: 'prehomoDeliverableTemplate',
+ DueDate: 'prehomoDueDate',
+ remarks: 'prehomoRemark',
+ projectName: row.projectName,
+ targetMarket: row.targetMarket,
+ projectNameId: row.projectNameId,
+ primaryKeyId: row.primaryKeyId,
+ PersonChargeFeedback: row.personChargeFeedback
+ }
+ let newUrl = this.$router.resolve({
+ path: '/taskListProcess',
+ query: query
+ })
+ window.open(newUrl.href, '_blank')
+ } else if (row.flowType == '4') {
+ row.taskId = row.taskId + ''
+ if (row.taskId.length > 30) {
+ row.taskId = ''
+ }
+ query = {
+ router: row.router,
+ taskIds: row.taskId,
+ actiProcInstId: row.actiProcInstId,
+ id: row.projectLibraryId,
+ projectLibraryId: row.projectLibraryId,
+ studioEngineer: row.studioEngineer,
+ serialNumber: row.serialNumber,
+ projectTaskInventoryId: row.projectLawsInventoryId,
+ TaskKey: row.taskDefinitionKey,
+ flowType: 4,
+ isDisplay: true,
+ Sponsor: 'verifyInitiatorName',
+ personLiable: 'verifyDutyName',
+ typeOfDeliverables: 'verifyDeliverableTypeName',
+ deliverableTemplate: 'verifyDeliverableTemplate',
+ DueDate: 'verifyDueDate',
+ remarks: 'verifyRemark',
+ projectName: row.projectName,
+ targetMarket: row.targetMarket,
+ projectNameId: row.projectNameId,
+ primaryKeyId: row.primaryKeyId,
+ PersonChargeFeedback: row.personChargeFeedback
+ }
+ let newUrl = this.$router.resolve({
+ path: '/taskListProcess',
+ query: query
})
window.open(newUrl.href, '_blank')
}
- }
+ },
}
}
@@ -167,6 +286,7 @@
text-overflow: ellipsis;
white-space: nowrap;
}
+
/*.top-admin {*/
/* font-size: 16px;*/
/* font-family: Blue Sky Noto;*/
diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue
index bc4798bdf..c0b9b4839 100644
--- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue
+++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/SentList.vue
@@ -214,7 +214,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
@@ -248,7 +248,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
@@ -282,7 +282,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue
index da56168b1..9d8712a97 100644
--- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue
+++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue
@@ -194,7 +194,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
@@ -228,7 +228,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
@@ -262,7 +262,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue
index c2e60396f..e915c0064 100644
--- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue
+++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/doneList.vue
@@ -216,7 +216,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
@@ -250,7 +250,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',
@@ -284,7 +284,7 @@
targetMarket: row.targetMarket,
projectNameId: row.projectNameId,
primaryKeyId: row.primaryKeyId,
- PersonChargeFeedback: row.PersonChargeFeedback
+ PersonChargeFeedback: row.personChargeFeedback
}
let newUrl = this.$router.resolve({
path: '/taskListProcess',