vsyswin-ui 0.2.75 → 0.2.76
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/dist/favicon.ico +0 -0
- package/dist/fonts/element-icons.535877f5.woff +0 -0
- package/dist/fonts/element-icons.732389de.ttf +0 -0
- package/dist/fonts/iconfont.46438fa5.ttf +0 -0
- package/dist/fonts/iconfont.7712aa52.eot +0 -0
- package/dist/fonts/iconfont.f25a738c.woff +0 -0
- package/dist/img/iconfont.451d6d18.svg +107 -0
- package/dist/index.html +1 -0
- package/dist/js/chunk-vendors.24f8d814.js +346 -0
- package/dist/js/chunk-vendors.24f8d814.js.map +1 -0
- package/dist/js/index.c1193e4a.js +2 -0
- package/dist/js/index.c1193e4a.js.map +1 -0
- package/lib/vsyswin-ui.common.js +73115 -73115
- package/lib/vsyswin-ui.umd.js +73125 -73125
- package/lib/vsyswin-ui.umd.min.js +319 -319
- package/package.json +1 -1
- package/packages/table/src/table.vue +12 -3
package/package.json
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
v-model="item.visible"
|
|
117
117
|
trigger="click"
|
|
118
118
|
width="160">
|
|
119
|
-
<el-input v-model="item.value" clearable></el-input>
|
|
119
|
+
<el-input v-model="item.value" clearable size="small"></el-input>
|
|
120
120
|
<div style="text-align: center;margin-top:10px">
|
|
121
121
|
<el-button type="primary" size="mini" @click="item.visible = false;handleSearch(item)">确定</el-button>
|
|
122
122
|
<el-button size="mini" @click="item.visible = false; reset(item)">重置</el-button>
|
|
@@ -163,7 +163,10 @@
|
|
|
163
163
|
<noData></noData>
|
|
164
164
|
</div>
|
|
165
165
|
</el-table>
|
|
166
|
-
<
|
|
166
|
+
<div class="sum" v-if="customSum">
|
|
167
|
+
<slot name="customSum"></slot>
|
|
168
|
+
</div>
|
|
169
|
+
<el-dropdown class="sum" @command="changeSumType" v-if="showSummary && data.length && !customSum">
|
|
167
170
|
<span class="el-dropdown-link">
|
|
168
171
|
{{totalText[sumType]}}<i class="el-icon-arrow-down el-icon--right"></i>
|
|
169
172
|
</span>
|
|
@@ -216,6 +219,11 @@ export default {
|
|
|
216
219
|
type: Boolean,
|
|
217
220
|
default: () => true
|
|
218
221
|
},
|
|
222
|
+
// 自定义合计样式
|
|
223
|
+
customSum: {
|
|
224
|
+
type: Boolean,
|
|
225
|
+
default: () => false
|
|
226
|
+
},
|
|
219
227
|
// 行数据的 Key,用来优化 Table 的渲染;在使用 reserve-selection 功能与显示树形数据时,该属性是必填的。
|
|
220
228
|
rowKey: {
|
|
221
229
|
type: String,
|
|
@@ -509,7 +517,8 @@ export default {
|
|
|
509
517
|
<style lang="scss" scoped>
|
|
510
518
|
.sum {
|
|
511
519
|
position: absolute;
|
|
512
|
-
|
|
520
|
+
margin-left: 10px;
|
|
521
|
+
// width: 82px;
|
|
513
522
|
font-size: 12px;
|
|
514
523
|
height: 36px;
|
|
515
524
|
line-height: 36px;
|