Browse Source

显示栏位管理

zhuliu 1 năm trước cách đây
mục cha
commit
f0611229b1
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      src/views/components/dialog/fields.vue

+ 6 - 1
src/views/components/dialog/fields.vue

@@ -177,9 +177,14 @@ export default {
     },
     //全选
     handleCheckAllChange(val) {
+      var isCheck = this.filedList.filter(item=>{
+        return item.disabled
+      })
       this.checked = val ? this.filedList.map(item => {
         return item.value
-      }) : [];
+      }) : isCheck.map(item => {
+        return item.value
+      }) ;
       this.isIndeterminate = false;
     },
     //勾选