sone-ui-component-3.2.4 2.1.32 → 2.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/sone-ui.common.js +8 -12
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +8 -12
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +1 -1
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/normalTable/src/columnTransferNew.vue +3 -7
- package/src/index.js +1 -1
- package/src/styles/table.scss +1 -1
package/package.json
CHANGED
|
@@ -7,11 +7,7 @@
|
|
|
7
7
|
<el-dropdown-menu slot="dropdown">
|
|
8
8
|
<div class="dropdown_box">
|
|
9
9
|
<div class="dropdown_title">
|
|
10
|
-
<el-checkbox
|
|
11
|
-
v-model="columnsCheckAll"
|
|
12
|
-
:indeterminate="isIndeterminate"
|
|
13
|
-
@change="handleColumnsCheckListChange"
|
|
14
|
-
>列展示</el-checkbox>
|
|
10
|
+
<el-checkbox v-model="columnsCheckAll" :indeterminate="isIndeterminate" @change="checkAll">列展示</el-checkbox>
|
|
15
11
|
<div>
|
|
16
12
|
<el-button class="rigth_button" type="text" @click="save">保存</el-button>
|
|
17
13
|
<el-button class="rigth_button" type="text" @click="resetList">重置</el-button>
|
|
@@ -80,7 +76,7 @@
|
|
|
80
76
|
</div>
|
|
81
77
|
<div v-show="noColumns.length">
|
|
82
78
|
<p class="title">不固定</p>
|
|
83
|
-
<el-checkbox-group class="item" v-model="columnsCheckList"
|
|
79
|
+
<el-checkbox-group class="item" v-model="columnsCheckList" @change="handleCheckedColumnChange">
|
|
84
80
|
<div
|
|
85
81
|
class="hover_label"
|
|
86
82
|
v-for="(item,index) in noColumns"
|
|
@@ -221,7 +217,7 @@
|
|
|
221
217
|
this.isIndeterminate = checkedCount > 0 && checkedCount < this.columns.length;
|
|
222
218
|
},
|
|
223
219
|
//事件-是否勾选-列展示
|
|
224
|
-
|
|
220
|
+
checkAll(value) {
|
|
225
221
|
this.columnsCheckList = value ? this.columns.map(item => item.label) : [];
|
|
226
222
|
this.isIndeterminate = false;
|
|
227
223
|
},
|
package/src/index.js
CHANGED