【修改】增加报告修改流程

This commit is contained in:
zhoulingpo
2023-05-11 14:45:21 +08:00
parent 7e0c7b3c1d
commit 3a54b63c89
4 changed files with 58 additions and 5 deletions
+10 -5
View File
@@ -1,5 +1,4 @@
<!-- 流程组件公共数据 -->
<script src="../api/modules/process.js"></script>
<script>
export default {
@@ -11,22 +10,28 @@
userId: this.$store.getters.userInfo.usid,
userName:this.$store.getters.userInfo.usname,
processTypeList: [
{
label: '下载申请',
value: '3'
},
{
label: '预览申请',
value: '1'
},
{
label: '预览+下载申请',
value: '2'
},
{
label: '下载申请',
value: '3'
},
{
label: '上传审批',
value: '4'
},
{
label: '编辑报告',
value: '5'
},
],
formDisableFlag: false,
nowOrder: '',
@@ -197,6 +197,26 @@ export default {
}
})
};break;
case '5' :
if (row.taskDefinitionKey == 'start' || row.taskDefinitionKey == 'reEdit') {
this.$router.push({
path: '/reportprocess/launch',
query: {
id: this.$route.query.id,
type:'yiban',
taskDefinitionKey:row.taskDefinitionKey
}
})
}else{
this.$router.push({
path: '/reportprocess/examine',
query: {
id: this.$route.query.id,
type:'yiban',
taskDefinitionKey:row.taskDefinitionKey
}
})
};break;
}
},
}
@@ -209,6 +209,26 @@ export default {
}
})
};break;
case '5' :
if (row.taskDefinitionKey == 'start' || row.taskDefinitionKey == 'reEdit') {
this.$router.push({
path: '/reportprocess/launch',
query: {
id: this.$route.query.id,
prcName: row.prcName,
taskDefinitionKey:row.taskDefinitionKey
}
})
}else{
this.$router.push({
path: '/reportprocess/examine',
query: {
id: this.$route.query.id,
prcName: row.prcName,
taskDefinitionKey:row.taskDefinitionKey
}
})
};break;
}
},
},
@@ -149,6 +149,14 @@ export default {
isDraft: 1
}
});break;
case '5' :
this.$router.push({
path: '/reportprocess/launch',
query: {
id: this.$route.query.id,
isDraft: 1
}
});break;
default:
this.$router.push({
path: '/permission/launch',