Commit 5f84c46c authored by zhangderong's avatar zhangderong

全选删除问题

parent a0f2c88f
......@@ -410,6 +410,14 @@ import Router from 'vue-router';
this.checked=false
return
}
if(this.delateARRALL.length==30){
this.checked=true
return
}
if(this.delateARRALL.length!==30){
this.checked=false
return
}
if (this.checkboxList.length === this.ajaxData.length) {
this.checked=true;
}
......@@ -432,7 +440,7 @@ import Router from 'vue-router';
this.flowStatusarr=[]
item.STATES=false
});
console.log(this.delateARRALL,666666)
} else { //实现全选
this.checkboxList = [];
this.ajaxData.forEach( (item) => {
......@@ -441,6 +449,7 @@ import Router from 'vue-router';
this.flowStatusarr.push(item.flowStatus)
item.STATES=true
});
console.log(this.delateARRALL,7777777)
}
},
// 准备约面
......@@ -869,11 +878,13 @@ import Router from 'vue-router';
this.delateARRALL.push(doID)
this.delateARRALL2.push(doID)
this.flowStatusarr.push(doStatus)
console.log(this.delateARRALL,8888888)
}
if(sss==false){
this.delateARRALL.remove(doID)
this.delateARRALL2.remove(doID)
this.flowStatusarr.remove(doStatus)
console.log(this.delateARRALL,5555555)
}
},
//查看简历详情
......
......@@ -1068,6 +1068,14 @@ export default {
this.checked=false
return
}
if(this.delateARRALL.length==30){
this.checked=true
return
}
if(this.delateARRALL.length!==30){
this.checked=false
return
}
if (this.checkboxList.length === this.ajaxData.length) {
this.checked=true;
}
......
......@@ -36,16 +36,19 @@
<Button @click='closeModal' v-show="activeT==true">完成</Button>
</div>
</Modal>
<Modal v-model='modal6' :closable='false' :mask-closable='false' width='230px'>
<div>
<h4 style="font-size:20px;text-align:center;margin-bottom:20px">提示</h4>
<p>删除后不可恢复,是否永久删除简历</p>
</div>
<div slot='footer' >
<Button @click='modal6=false'>取消</Button>
<Button @click='delateONE'>确定</Button>
</div>
</Modal>
<Modal
v-model="modal6"
width='280px'
:closable='false'>
<div >
<h2 style="text-align: center;color:black">提示</h2>
<p>删除后不可恢复,是否确定永久删除简历?</p>
</div>
<div slot='footer' style="text-align:center">
<Button type='primary' @click='modal6=false'>取消</Button>
<Button type='primary' @click="delateONE" >确定</Button>
</div>
</Modal>
</div>
<div class="leftcontrentFotter">
<h5 style="width:100%;height:40px;background:rgb(0,176,160);text-align:center;line-height:40px;color:white;font-size:20px">上传记录</h5>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment