|
@@ -133,7 +133,10 @@ export default {
|
|
|
if(type == 'see') {
|
|
|
this.$router.push({
|
|
|
name: 'PurchaseContractDetail',
|
|
|
- params: { id: 'children', infoId: row.id, taskId: row.taskId }
|
|
|
+ params: { id: 'children', infoId: row.id, taskId: row.taskId },
|
|
|
+ query: {
|
|
|
+ infoId: row.id, taskId: row.taskId
|
|
|
+ }
|
|
|
})
|
|
|
// this.$router.push({
|
|
|
// name: 'PurchaseContractReview',
|
|
@@ -161,20 +164,27 @@ export default {
|
|
|
if (row.taskName === '采购合同审核') {
|
|
|
this.$router.push({
|
|
|
name: 'PurchaseContractReview',
|
|
|
- params: { id: 'children', infoId: row.id, taskId: row.taskId }
|
|
|
+ params: { id: 'children', infoId: row.id, taskId: row.taskId },
|
|
|
+ query: {
|
|
|
+ infoId: row.id, taskId: row.taskId
|
|
|
+ }
|
|
|
})
|
|
|
} else if (row.taskName === '采购合同终审' || row.taskName == '采购合同变更终审') {
|
|
|
this.$router.push({
|
|
|
name: 'PurchaseContractSignReview',
|
|
|
params: { id: 'children', infoId: row.id, taskId: row.taskId, isChange: row.taskName == '采购合同变更终审' },
|
|
|
query: {
|
|
|
- isChange: row.taskName == '采购合同变更终审'
|
|
|
+ isChange: row.taskName == '采购合同变更终审',
|
|
|
+ infoId: row.id, taskId: row.taskId
|
|
|
}
|
|
|
})
|
|
|
} else if (row.taskName.includes('合同变更审核')) {
|
|
|
this.$router.push({
|
|
|
name: 'PurchaseContractChangeReview',
|
|
|
- params: { id: 'children', infoId: row.id, taskId: row.taskId }
|
|
|
+ params: { id: 'children', infoId: row.id, taskId: row.taskId },
|
|
|
+ query: {
|
|
|
+ infoId: row.id, taskId: row.taskId
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
},
|