【修改】流程重复发起
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
@@ -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:{
|
||||||
|
|||||||
Reference in New Issue
Block a user