【修改】流程重复发起

This commit is contained in:
zhoulingpo
2023-05-11 18:03:35 +08:00
parent 0779db18bd
commit 8c85316950
2 changed files with 14 additions and 0 deletions
+10
View File
@@ -303,6 +303,16 @@ export default {
this.$message.warning("至少选择一条报告进行权限申请") this.$message.warning("至少选择一条报告进行权限申请")
return return
} }
let already=this.checkList.filter(item =>{
if( +item.isAct == 0){
return item
}
})
if(already.length>0) {
let name=already.map(item=>item.name)
this.$message.warning("当前选择的"+name.join(',')+"已经在流程中")
return
}
// 有预览权限的时候是否还让继续申请 // 有预览权限的时候是否还让继续申请
let temp=this.checkList.filter(item =>{ let temp=this.checkList.filter(item =>{
if( +item.power == 2){ if( +item.power == 2){
+4
View File
@@ -874,6 +874,10 @@ export default {
}, },
// 打开报告上传 // 打开报告上传
openReportModify(mode, row) { openReportModify(mode, row) {
if( +row.isAct == 0){
this.$message.warning("当前选择的"+row.name+"已经在流程中")
return
}
this.$router.push({ this.$router.push({
path:'/reportprocess/launch', path:'/reportprocess/launch',
query:{ query:{