-
-
diff --git a/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
index a7adeaa6c..0192f60ea 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
@@ -239,11 +239,23 @@ export default {
this.queryProcess()
},
dealWith (row) { // 查看
+ let oldAndNew = ''
+ const currentDate = new Date('2024-01-25 23:59:59').getTime();
+ const date = new Date(row.creatTime);
+ const timestamp = date.getTime();
+ if (currentDate > timestamp){
+ oldAndNew = 'old'
+ }else{
+ oldAndNew = 'new'
+ }
const routeUrl = this.$router.resolve({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
- tabsName: 'AlreadyProcess'
+ tabsName: 'AlreadyProcess',
+ actiProcInstId: row.prcId,
+ flowType: row.prcType,
+ oldAndNew:oldAndNew,
}
})
window.open(routeUrl.href, '_blank');
diff --git a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue
index 7d79ec453..bdf5918f5 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue
@@ -269,11 +269,23 @@ export default {
this.queryProcess()
},
dealWith (row) { // 查看
+ let oldAndNew = ''
+ const currentDate = new Date('2024-01-25 23:59:59').getTime();
+ const date = new Date(row.creatTime);
+ const timestamp = date.getTime();
+ if (currentDate > timestamp){
+ oldAndNew = 'old'
+ }else{
+ oldAndNew = 'new'
+ }
const routeUrl = this.$router.resolve({
name: 'ProcessDetail',
query: {
prcNum: row.prcNum,
- tabsName: 'AlreadySend'
+ tabsName: 'AlreadySend',
+ actiProcInstId: row.prcId,
+ flowType: row.prcType,
+ oldAndNew:oldAndNew,
}
})
window.open(routeUrl.href, '_blank');
diff --git a/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue b/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue
index aabdfe5a8..95977ca37 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue
@@ -242,12 +242,24 @@ export default {
this.queryProcess()
},
dealWith (row) { // 查看
+ let oldAndNew = ''
+ const currentDate = new Date('2024-01-25 23:59:59').getTime();
+ const date = new Date(row.creatTime);
+ const timestamp = date.getTime();
+ if (currentDate > timestamp){
+ oldAndNew = 'old'
+ }else{
+ oldAndNew = 'new'
+ }
const routeUrl = this.$router.resolve({
name: 'ProcessDetail',
query: {
bpnId: row.id,
prcNum: row.prcNum,
- tabsName: 'MonitorProcess'
+ tabsName: 'MonitorProcess',
+ actiProcInstId: row.prcId,
+ flowType: row.prcType,
+ oldAndNew:oldAndNew,
}
})
window.open(routeUrl.href, '_blank');
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 836fb7452..74ce704f1 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -156,7 +156,7 @@
办理
- 转办
+ 转办
@@ -348,6 +348,15 @@ export default {
}
break
case 'buss1':
+ let oldAndNewBuss = ''
+ const currentDateBuss = new Date('2024-01-25 23:59:59').getTime();
+ const dateBuss = new Date(row.creatTime);
+ const timestampBuss = dateBuss.getTime();
+ if (currentDateBuss > timestampBuss){
+ oldAndNewBuss = 'old'
+ }else{
+ oldAndNewBuss = 'new'
+ }
if (row.taskInfo === '企标编写') {
routeUrl = this.$router.resolve({
name: 'bussLibrary2',
@@ -356,7 +365,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '企标编写汇总') {
@@ -367,7 +377,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '重新起草') {
@@ -378,7 +389,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '标准化初审') {
@@ -389,7 +401,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '重新企标编写汇总') {
@@ -400,7 +413,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '征求意见') {
@@ -411,7 +425,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '技术委员会评审、评审意见修改') {
@@ -422,7 +437,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '标准化复审') {
@@ -433,7 +449,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '重新技术委员会评审、评审意见修改') {
@@ -444,7 +461,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '起草单位高级经理审核') {
@@ -455,7 +473,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '标准法规部高级经理审核') {
@@ -466,7 +485,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '审定') {
@@ -477,7 +497,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '批准') {
@@ -488,7 +509,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '主起草人培训') {
@@ -499,7 +521,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}else if (row.taskInfo === '发布') {
@@ -510,7 +533,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNewBuss
}
})
}
@@ -937,6 +961,15 @@ export default {
}
break;
case '3':
+ let oldAndNew = ''
+ const currentDate = new Date('2024-01-25 23:59:59').getTime();
+ const date = new Date(row.creatTime);
+ const timestamp = date.getTime();
+ if (currentDate > timestamp){
+ oldAndNew = 'old'
+ }else{
+ oldAndNew = 'new'
+ }
if (row.taskInfo === '任务分发') {
routeUrl = this.$router.resolve({
name: 'bzzqyjStep2',
@@ -945,7 +978,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '意见反馈') {
@@ -956,7 +990,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '意见汇总报批') {
@@ -967,7 +1002,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '意见审批') {
@@ -978,7 +1014,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '管理员') {
@@ -989,7 +1026,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '意见处理') {
@@ -1000,7 +1038,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '会签') {
@@ -1011,7 +1050,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '审核') {
@@ -1022,7 +1062,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '审定' ) {
@@ -1033,7 +1074,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
} else if (row.taskInfo === '批准') {
@@ -1044,7 +1086,8 @@ export default {
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
- prcType: row.prcType
+ prcType: row.prcType,
+ oldAndNew: oldAndNew
}
})
}