From fe075c4ed8283ef05fea2a7c6d67d69ca0aa120a Mon Sep 17 00:00:00 2001
From: 13176889840 <13176889840@163.com>
Date: Thu, 28 Apr 2022 11:10:10 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E6=8C=89=E9=9C=80=E5=8A=A0=E8=BD=BD?=
=?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=86=85=E5=AE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/components/checkBox.vue | 17 ++++++--
src/views/modules/base/diyInfo.vue | 65 +++++++++++++++++++++++++-----
src/views/modules/base/resi.vue | 3 +-
3 files changed, 70 insertions(+), 15 deletions(-)
diff --git a/src/views/components/checkBox.vue b/src/views/components/checkBox.vue
index 1f2d19a2..41bc5cfa 100644
--- a/src/views/components/checkBox.vue
+++ b/src/views/components/checkBox.vue
@@ -1,15 +1,16 @@
-
-
+ 全选
-
+
{{n.label}}
+ 暂无数据
@@ -37,6 +38,7 @@ export default {
checkedList: [],
isIndeterminate: false,
pid: '',
+ loading: false
}
},
created() {
@@ -53,8 +55,9 @@ export default {
this.$emit('change', { list: this.filterArr(this.checkedList), pid: this.pid })
},
handleChange(value) {
+ console.log('value----', value)
let checkedCount = value.length;
- this.checkAll = checkedCount === this.list.length;
+ this.checkAll = checkedCount === this.boxList.length;
this.isIndeterminate = checkedCount > 0 && checkedCount < this.boxList.length;
this.$emit('change', { list: this.filterArr(this.checkedList), pid: this.pid })
},
@@ -75,4 +78,10 @@ export default {
.mb10 {
margin-bottom: 10px;
}
+.no-data {
+ padding-top: 30px;
+ font-size: 14px;
+ text-align: center;
+ color: #999;
+}
\ No newline at end of file
diff --git a/src/views/modules/base/diyInfo.vue b/src/views/modules/base/diyInfo.vue
index ec4a3eb3..a202036a 100644
--- a/src/views/modules/base/diyInfo.vue
+++ b/src/views/modules/base/diyInfo.vue
@@ -4,10 +4,10 @@
-
-
+
+
-
@@ -19,7 +19,7 @@
导出信息
预览
-