【修改】滑动
This commit is contained in:
@@ -220,21 +220,23 @@ export default {
|
||||
this.$message.warning("请选择一条数据")
|
||||
return
|
||||
}else{
|
||||
if(this.checkList.length > 2){
|
||||
if(this.checkList.length > 1){
|
||||
this.$message.warning("请选择一条数据")
|
||||
return
|
||||
}
|
||||
let check=[]
|
||||
check = this.checkList.filter(item=>{
|
||||
if(item.endTime ){
|
||||
this.$message.warning("不是未完成的不允许操作")
|
||||
return item
|
||||
}
|
||||
if(item.name == '重新发起'){
|
||||
this.$message.warning("发起人不允许调整")
|
||||
return item
|
||||
}
|
||||
})
|
||||
if(check.length > 0){
|
||||
this.$message.warning("发起人不允许调整")
|
||||
|
||||
}else{
|
||||
this.$refs.monitorModal.open(this.checkList[0].id,this.prcId,this.checkList[0].assigneeId,this.checkList[0].taskDefinitionKey,this.checkList[0].prcType)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user