From b572eecdfff70a0256e6d760ab2ea4dff4ceaa1f Mon Sep 17 00:00:00 2001 From: 13176889840 <13176889840@163.com> Date: Mon, 22 Mar 2021 10:06:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=96=E9=83=A8=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=B5=81=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customer/customize/CustomerList.vue | 6 +- .../modules/customer/customize/MostList.vue | 564 +++++++++++------- .../modules/customer/customize/editSys.vue | 176 ++++++ 3 files changed, 538 insertions(+), 208 deletions(-) create mode 100644 epmet-oper-web/src/views/modules/customer/customize/editSys.vue 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 c874120..9e3aca6 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/CustomerList.vue @@ -87,7 +87,7 @@ :tableKeywork="'FootBarCustomize'" @cancleBack="cancleBack"> -
+
@@ -214,7 +214,9 @@ export default { showMost (customerId, customerName) { this.showType = 'mostedit' console.log('ref_mostlist', this.$refs['ref_mostlist']) - this.$refs['ref_mostlist'].initData(customerId, customerName) + this.$nextTick(() => { + this.$refs['ref_mostlist'].initData(customerId, customerName) + }) }, // 显示权限配置 showLimitConfig (customerId, customerName) { diff --git a/epmet-oper-web/src/views/modules/customer/customize/MostList.vue b/epmet-oper-web/src/views/modules/customer/customize/MostList.vue index d841994..bc03427 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/MostList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/MostList.vue @@ -1,128 +1,192 @@ @@ -460,7 +596,7 @@ export default { position: relative; } /* div.el-switch.is-checked{ - + } */ div.el-switch { margin-left: 60px; @@ -611,4 +747,20 @@ input.el-input__inner { div.set-overtime.el-input.el-input--medium.el-input--suffix { padding-right: 0px; } + +.sys-list { + .sys-list-item { + display: flex; + align-items: center; + padding: 5px 0; + border-bottom: 1px solid #eee; + img { + width: 30px; + height: 30px; + } + span { + margin: 0 20px; + } + } +} diff --git a/epmet-oper-web/src/views/modules/customer/customize/editSys.vue b/epmet-oper-web/src/views/modules/customer/customize/editSys.vue new file mode 100644 index 0000000..3866898 --- /dev/null +++ b/epmet-oper-web/src/views/modules/customer/customize/editSys.vue @@ -0,0 +1,176 @@ + + +