修改流程详情

This commit is contained in:
范强强
2024-01-29 14:07:33 +08:00
parent a131f9bb7a
commit 7fc732afb3
5 changed files with 1781 additions and 1360 deletions
File diff suppressed because it is too large Load Diff
@@ -239,11 +239,23 @@ export default {
this.queryProcess()
},
dealWith (row) { // 查看
let oldAndNew = ''
const currentDate = new Date().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');
@@ -269,11 +269,23 @@ export default {
this.queryProcess()
},
dealWith (row) { // 查看
let oldAndNew = ''
const currentDate = new Date().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');
@@ -242,12 +242,24 @@ export default {
this.queryProcess()
},
dealWith (row) { // 查看
let oldAndNew = ''
const currentDate = new Date().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');
@@ -156,7 +156,7 @@
<i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-btn-permission="'4219fdb5e33dbbc84d845af98c947e66'" :command="[scope.row, '办理']">办理</el-dropdown-item>
<el-dropdown-item v-btn-permission="'5cf95d4e0eaae6118e1375f677a0a08d'":command="[scope.row, '转办']">转办</el-dropdown-item>
<el-dropdown-item v-btn-permission="'5cf95d4e0eaae6118e1375f677a0a08d'" :command="[scope.row, '转办']">转办</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>