【修改】滑动

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
+3 -4
View File
@@ -101,11 +101,10 @@
</el-row>
<div class="table">
<el-row>
<el-col :span="4" class="treeList">
<el-col :span="4" class="treeList ">
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
</el-input>
<el-scrollbar wrap-class="scroll-wrap" view-class="scroll-view"
class="lef-tree">
<div class="lef-tree scroll-myself">
<el-tree
class="filter-tree"
:data="treeData"
@@ -126,7 +125,7 @@
<!-- </el-tooltip>-->
</template>
</el-tree>
</el-scrollbar>
</div>
</el-col>
<el-col :span="19">
+2 -2
View File
@@ -45,7 +45,7 @@
<el-col :span="4" class="treeList">
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
</el-input>
<el-scrollbar wrap-class="scroll-wrap" view-class="scroll-view">
<div class="lef-tree scroll-myself" >
<el-tree
class="filter-tree"
:data="treeData"
@@ -65,7 +65,7 @@
<!-- </el-tooltip>-->
</template>
</el-tree>
</el-scrollbar>
</div>
</el-col>
<el-col :span="19 ">
<div class="table">
@@ -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)
}