diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index 63b8811..0892ee2 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -423,6 +423,15 @@ export default { this.nextStep = false; this.filtrate(); this.nextText = "下一步"; + // this.multipleSelection.forEach((_item)=>{ + // this.tableData.map((item)=>{ + // if(_item.uscCode == item.uscCode){ + // this.$nextTick(() => { + // this.$refs.multipleTable.toggleRowSelection(item); + // }); + // } + // }) + // }) this.multipleSelection.map((item)=>{ this.$nextTick(() => { this.$refs.multipleTable.toggleRowSelection(item); @@ -654,7 +663,7 @@ export default { // 页码,当前页切换事件 pagesChange(pages) { this.pages = pages; - console.log(this.form) + // console.log(this.form) if(this.dept.ancestors.split(',').length == 2){ if(Array.isArray(this.form.subdistrict)) { this.subdistrict = this.form.subdistrict.slice(1, 8); @@ -795,6 +804,9 @@ export default { // }) item.map((item)=>{ item.children.map((itemTwo)=>{ + if(itemTwo.children.length == 0){ + delete itemTwo.children; + } itemTwo.county = itemTwo.subdistrict }) })