From 2eb8c13a992e5900440d532142d7082376150a6e Mon Sep 17 00:00:00 2001 From: jiangyy Date: Tue, 23 Mar 2021 14:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customer/customize/CategoryEdit.vue | 203 ++++++++ .../customer/customize/CategoryList.vue | 446 +++++++----------- .../customer/customize/CustomerList.vue | 2 +- .../customer/customize/FootbarList.vue | 2 +- 4 files changed, 378 insertions(+), 275 deletions(-) create mode 100644 epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue diff --git a/epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue b/epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue new file mode 100644 index 0000000..22e819d --- /dev/null +++ b/epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue @@ -0,0 +1,203 @@ + + + + + diff --git a/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue b/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue index 25da92a..c50c417 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue @@ -1,332 +1,232 @@ + diff --git a/epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue b/epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue index 5a77ca5..b2917a6 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue @@ -230,7 +230,7 @@ export default { // 显示分类配置 showCategory (customerId, customerName) { this.showType = 'category' - console.log('ref_category', this.$refs['ref_category']) + this.$nextTick(() => { this.$refs['ref_category'].initData(customerId, customerName) }) diff --git a/epmet-oper-web/src/views/modules/customer/customize/FootbarList.vue b/epmet-oper-web/src/views/modules/customer/customize/FootbarList.vue index 25da92a..7e9e250 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/FootbarList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/FootbarList.vue @@ -165,7 +165,7 @@ export default { ...mapGetters(['clientHeight', 'env']) }, activated () { - debugger + this.$nextTick(() => { if (this.activeName === 'gov') { this.$refs['table_work'].doLayout() // 解决表格错位