leisure-core 0.6.28 → 0.6.30

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.
@@ -1,26 +1,23 @@
1
1
  <template>
2
2
  <div class="page-container">
3
- <el-form
4
- :inline="true"
5
- class="demo-form-inline"
6
- :model="searchData"
7
- v-if="showQform"
8
- >
9
- <slot name="paramSlot"></slot>
10
- <el-form-item>
11
- <div class="queryBtnClass">
12
- <slot></slot>
13
- <le-button type="primary" @click="onClickQuery()" v-if="isDispQBtn"
14
- >查询</le-button
15
- >
16
- <le-button type="primary" @click="addItem()" v-if="isDispAddBtn">{{
17
- addBtnText
18
- }}</le-button>
19
- <slot name="btnright"></slot>
20
- <slot name="headerBtns" :params="searchData"></slot>
21
- </div>
22
- </el-form-item>
23
- </el-form>
3
+ <div v-if="showQform">
4
+ <el-form :inline="true" class="demo-form-inline" :model="searchData">
5
+ <slot name="paramSlot"></slot>
6
+ <el-form-item>
7
+ <div class="queryBtnClass">
8
+ <slot></slot>
9
+ <le-button type="primary" @click="onClickQuery()" v-if="isDispQBtn"
10
+ >查询</le-button
11
+ >
12
+ <le-button type="primary" @click="addItem()" v-if="isDispAddBtn">{{
13
+ addBtnText
14
+ }}</le-button>
15
+ <slot name="btnright"></slot>
16
+ <slot name="headerBtns" :params="searchData"></slot>
17
+ </div>
18
+ </el-form-item>
19
+ </el-form>
20
+ </div>
24
21
  <el-table
25
22
  ref="eltablemain"
26
23
  :max-height="elTableMaxHeight"
@@ -210,6 +207,14 @@ export default {
210
207
  this.searchData.total = val;
211
208
  },
212
209
  },
210
+ showQform: {
211
+ handler() {
212
+ this.$nextTick(() => {
213
+ this.changeHeight();
214
+ });
215
+ },
216
+ immediate: false,
217
+ },
213
218
  },
214
219
  data() {
215
220
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.6.28",
3
+ "version": "0.6.30",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",