【修改】滑动

This commit is contained in:
zhoulingpo
2023-04-28 16:55:40 +08:00
parent 564815d2be
commit 9a873d979b
4 changed files with 54 additions and 10 deletions
@@ -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)
}