【修改】增加报告修改流程
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
<!-- 流程组件公共数据 -->
|
<!-- 流程组件公共数据 -->
|
||||||
<script src="../api/modules/process.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -11,22 +10,28 @@
|
|||||||
userId: this.$store.getters.userInfo.usid,
|
userId: this.$store.getters.userInfo.usid,
|
||||||
userName:this.$store.getters.userInfo.usname,
|
userName:this.$store.getters.userInfo.usname,
|
||||||
processTypeList: [
|
processTypeList: [
|
||||||
{
|
|
||||||
label: '下载申请',
|
|
||||||
value: '3'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: '预览申请',
|
label: '预览申请',
|
||||||
value: '1'
|
value: '1'
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
label: '预览+下载申请',
|
label: '预览+下载申请',
|
||||||
value: '2'
|
value: '2'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '下载申请',
|
||||||
|
value: '3'
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
label: '上传审批',
|
label: '上传审批',
|
||||||
value: '4'
|
value: '4'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '编辑报告',
|
||||||
|
value: '5'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
formDisableFlag: false,
|
formDisableFlag: false,
|
||||||
nowOrder: '',
|
nowOrder: '',
|
||||||
|
|||||||
@@ -197,6 +197,26 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
};break;
|
};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;
|
};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
|
isDraft: 1
|
||||||
}
|
}
|
||||||
});break;
|
});break;
|
||||||
|
case '5' :
|
||||||
|
this.$router.push({
|
||||||
|
path: '/reportprocess/launch',
|
||||||
|
query: {
|
||||||
|
id: this.$route.query.id,
|
||||||
|
isDraft: 1
|
||||||
|
}
|
||||||
|
});break;
|
||||||
default:
|
default:
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/permission/launch',
|
path: '/permission/launch',
|
||||||
|
|||||||
Reference in New Issue
Block a user