leisure-core 0.5.31 → 0.5.32
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/le-list/src/main.vue +17 -9
- package/package.json +1 -1
package/le-list/src/main.vue
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="page-container">
|
|
3
3
|
<el-form :inline="true" class="demo-form-inline" :model="searchData">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
<div class="queryBtnClass">
|
|
5
|
+
<slot name="paramSlot"></slot>
|
|
6
|
+
<el-form-item>
|
|
7
|
+
<slot></slot>
|
|
8
|
+
<le-button type="primary" @click="onClickQuery()">查询</le-button>
|
|
9
|
+
<le-button type="primary" @click="addItem()" v-if="isDispAddBtn">{{
|
|
10
|
+
addBtnText
|
|
11
|
+
}}</le-button>
|
|
12
|
+
<slot name="headerBtns" :params="searchData"></slot>
|
|
13
|
+
</el-form-item>
|
|
14
|
+
</div>
|
|
13
15
|
</el-form>
|
|
14
16
|
<el-table
|
|
15
17
|
ref="eltablemain"
|
|
@@ -304,4 +306,10 @@ export default {
|
|
|
304
306
|
.rowBtnsExt {
|
|
305
307
|
margin-left: 3px;
|
|
306
308
|
}
|
|
309
|
+
|
|
310
|
+
.queryBtnClass {
|
|
311
|
+
display: flex;
|
|
312
|
+
display: -webkit-flex;
|
|
313
|
+
justify-content: start;
|
|
314
|
+
}
|
|
307
315
|
</style>
|