diff --git a/dangan-ui/src/views/dangan/retrieval/index.vue b/dangan-ui/src/views/dangan/retrieval/index.vue
index bf63148..48a7eb3 100644
--- a/dangan-ui/src/views/dangan/retrieval/index.vue
+++ b/dangan-ui/src/views/dangan/retrieval/index.vue
@@ -5,11 +5,14 @@
检索
-
- {{ dict.label }}
-
+
+ 全选
+
+ {{ dict.label }}
+
+
@@ -1471,6 +1474,8 @@ export default {
// 显示搜索条件
keyword: '',
checkList: [],
+ // 是否全选
+ checkAll: false,
// 常住人口登记表1
option1: {
// 遮罩层
@@ -1796,6 +1801,23 @@ export default {
this.option7.loading = false;
})
},
+ handleCheckAllChange(val) {
+ if(val){
+ this.checkList = []
+ this.dict.type.yw_type.forEach(item => {
+ this.checkList.push(item.value)
+ })
+ }else {
+ this.checkList = []
+ }
+ },
+ handleCheckboxGroupChange(){
+ if(this.checkList.length===this.dict.type.yw_type.length){
+ this.checkAll = true;
+ }else {
+ this.checkAll = false;
+ }
+ }
}
}
diff --git a/dangan-ui/src/views/index.vue b/dangan-ui/src/views/index.vue
index 22d2613..cf61779 100644
--- a/dangan-ui/src/views/index.vue
+++ b/dangan-ui/src/views/index.vue
@@ -5,11 +5,14 @@
检索
-
- {{ dict.label }}
-
+
+ 全选
+
+ {{ dict.label }}
+
+
@@ -21,11 +24,7 @@
-
-
- {{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}
-
-
+
@@ -218,11 +217,7 @@
-
-
- {{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}
-
-
+
@@ -415,11 +410,7 @@
-
-
- {{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}
-
-
+
@@ -612,11 +603,7 @@
-
-
- {{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}
-
-
+
@@ -937,11 +924,7 @@
-
-
- {{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}
-
-
+
@@ -1176,49 +1159,29 @@
-
-
- {{ parseTime(scope.row.birthDate1, '{y}-{m}-{d}') }}
-
-
+
-
-
- {{ parseTime(scope.row.birthDate2, '{y}-{m}-{d}') }}
-
-
+
-
-
- {{ parseTime(scope.row.birthDate3, '{y}-{m}-{d}') }}
-
-
+
-
-
- {{ parseTime(scope.row.birthDate4, '{y}-{m}-{d}') }}
-
-
+
-
-
- {{ parseTime(scope.row.qfDate, '{y}-{m}-{d}') }}
-
-
+
@@ -1388,11 +1351,7 @@
-
-
- {{ parseTime(scope.row.cbDate, '{y}-{m}-{d}') }}
-
-
+
@@ -1515,6 +1474,8 @@ export default {
// 显示搜索条件
keyword: '',
checkList: [],
+ // 是否全选
+ checkAll: false,
// 常住人口登记表1
option1: {
// 遮罩层
@@ -1840,6 +1801,23 @@ export default {
this.option7.loading = false;
})
},
+ handleCheckAllChange(val) {
+ if(val){
+ this.checkList = []
+ this.dict.type.yw_type.forEach(item => {
+ this.checkList.push(item.value)
+ })
+ }else {
+ this.checkList = []
+ }
+ },
+ handleCheckboxGroupChange(){
+ if(this.checkList.length===this.dict.type.yw_type.length){
+ this.checkAll = true;
+ }else {
+ this.checkAll = false;
+ }
+ }
}
}