Commit 5f84c46c authored by zhangderong's avatar zhangderong

全选删除问题

parent a0f2c88f
...@@ -410,6 +410,14 @@ import Router from 'vue-router'; ...@@ -410,6 +410,14 @@ import Router from 'vue-router';
this.checked=false this.checked=false
return 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) { if (this.checkboxList.length === this.ajaxData.length) {
this.checked=true; this.checked=true;
} }
...@@ -432,7 +440,7 @@ import Router from 'vue-router'; ...@@ -432,7 +440,7 @@ import Router from 'vue-router';
this.flowStatusarr=[] this.flowStatusarr=[]
item.STATES=false item.STATES=false
}); });
console.log(this.delateARRALL,666666)
} else { //实现全选 } else { //实现全选
this.checkboxList = []; this.checkboxList = [];
this.ajaxData.forEach( (item) => { this.ajaxData.forEach( (item) => {
...@@ -441,6 +449,7 @@ import Router from 'vue-router'; ...@@ -441,6 +449,7 @@ import Router from 'vue-router';
this.flowStatusarr.push(item.flowStatus) this.flowStatusarr.push(item.flowStatus)
item.STATES=true item.STATES=true
}); });
console.log(this.delateARRALL,7777777)
} }
}, },
// 准备约面 // 准备约面
...@@ -869,11 +878,13 @@ import Router from 'vue-router'; ...@@ -869,11 +878,13 @@ import Router from 'vue-router';
this.delateARRALL.push(doID) this.delateARRALL.push(doID)
this.delateARRALL2.push(doID) this.delateARRALL2.push(doID)
this.flowStatusarr.push(doStatus) this.flowStatusarr.push(doStatus)
console.log(this.delateARRALL,8888888)
} }
if(sss==false){ if(sss==false){
this.delateARRALL.remove(doID) this.delateARRALL.remove(doID)
this.delateARRALL2.remove(doID) this.delateARRALL2.remove(doID)
this.flowStatusarr.remove(doStatus) this.flowStatusarr.remove(doStatus)
console.log(this.delateARRALL,5555555)
} }
}, },
//查看简历详情 //查看简历详情
......
...@@ -1068,6 +1068,14 @@ export default { ...@@ -1068,6 +1068,14 @@ export default {
this.checked=false this.checked=false
return 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) { if (this.checkboxList.length === this.ajaxData.length) {
this.checked=true; this.checked=true;
} }
......
...@@ -36,16 +36,19 @@ ...@@ -36,16 +36,19 @@
<Button @click='closeModal' v-show="activeT==true">完成</Button> <Button @click='closeModal' v-show="activeT==true">完成</Button>
</div> </div>
</Modal> </Modal>
<Modal v-model='modal6' :closable='false' :mask-closable='false' width='230px'> <Modal
<div> v-model="modal6"
<h4 style="font-size:20px;text-align:center;margin-bottom:20px">提示</h4> width='280px'
<p>删除后不可恢复,是否永久删除简历</p> :closable='false'>
</div> <div >
<div slot='footer' > <h2 style="text-align: center;color:black">提示</h2>
<Button @click='modal6=false'>取消</Button> <p>删除后不可恢复,是否确定永久删除简历?</p>
<Button @click='delateONE'>确定</Button> </div>
</div> <div slot='footer' style="text-align:center">
</Modal> <Button type='primary' @click='modal6=false'>取消</Button>
<Button type='primary' @click="delateONE" >确定</Button>
</div>
</Modal>
</div> </div>
<div class="leftcontrentFotter"> <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> <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