diff --git a/src/views/emis/emisRegion/index.vue b/src/views/emis/emisRegion/index.vue index 981ac9ba..2e8164e5 100644 --- a/src/views/emis/emisRegion/index.vue +++ b/src/views/emis/emisRegion/index.vue @@ -79,8 +79,8 @@ :tree-props="{children: 'children', hasChildren: 'hasChildren'}" > - - + + @@ -182,11 +182,6 @@ - - - - - @@ -208,6 +203,10 @@ export default { ], data() { return { + // 是否展开,默认全部折叠 + isExpandAll: false, + // 重新渲染表格状态 + refreshTable: true, // 遮罩层 loading: true, // 选中数组 @@ -248,8 +247,6 @@ export default { daterangeUpdateTime: [], // 查询参数 queryParams: { - pageNum: 1, - pageSize: 20, regionName: null, regionNameEn: null, shortName: null, @@ -279,9 +276,9 @@ export default { /** 查询四级省市区镇表列表 */ getList() { this.loading = true; - this.queryParams.params = {}; - listEmisRegion(this.addDateRange(this.queryParams, this.dateTimeRange)).then(response => { - this.emisRegionList = this.handleTree(response.data, "id"); + listEmisRegion(this.queryParams).then(response => { + // console.log(response); + this.emisRegionList = this.handleTree(response.rows, "id"); this.loading = false; }); },