diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index 48e3c4c..a895809 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -422,7 +422,7 @@ export default { selectFirm(){ if(this.$refs.next.innerText == "发布计划"){ this.nextStep = false; - this.filtrate(dept.ancestors.split(',').length == 3 ? true:false); + this.filtrate(this.dept.ancestors.split(',').length == 3 ? true:false); this.nextText = "下一步"; this.multipleSelection.map((item)=>{ this.$nextTick(() => { @@ -533,7 +533,7 @@ export default { this.pages.pageSize = 10; this.$refs.mypagination.defaultPages(); let obj = {...this.pages,...this.form} - this.getTable(obj,dept.ancestors.split(',').length == 3 ? true:false); + this.getTable(obj,this.dept.ancestors.split(',').length == 3 ? true:false); }, // 当前行的checkBox是否可以勾选 checkSelectable(row) { @@ -678,7 +678,7 @@ export default { this.subdistrict = this.form.subdistrict; } } - this.getTable({...pages,...this.form,subdistrict:this.subdistrict},dept.ancestors.split(',').length == 3 ? true:false); + this.getTable({...pages,...this.form,subdistrict:this.subdistrict},this.dept.ancestors.split(',').length == 3 ? true:false); }, // 选中的数据 handleSelectionChange(val) {