leisure-core 0.6.63 → 0.6.65

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.
@@ -11,11 +11,28 @@
11
11
  @clear="handleClear"
12
12
  @focus="handleFocus"
13
13
  >
14
+ <!-- 显式透传 prepend 插槽 -->
15
+ <template v-if="$slots.prepend" #prepend>
16
+ <slot name="prepend" />
17
+ </template>
18
+
19
+ <!-- 显式透传 append 插槽 -->
20
+ <template v-if="$slots.append" #append>
21
+ <slot name="append" />
22
+ </template>
23
+
24
+ <!-- 显式透传 prefix 插槽 -->
25
+ <template v-if="$slots.prefix" #prefix>
26
+ <slot name="prefix" />
27
+ </template>
14
28
  <template v-if="showCount" #suffix>
15
29
  <span class="input-count" :class="{ 'is-error': isOverMaxLength }">
16
30
  {{ valueLength }}/{{ computedMaxlength }}
17
31
  </span>
18
32
  </template>
33
+ <template v-else-if="$slots.suffix" #suffix>
34
+ <slot name="suffix" />
35
+ </template>
19
36
  </el-input>
20
37
 
21
38
  <div v-if="hasError && errorMessage" class="error-message">
@@ -19,6 +19,16 @@
19
19
  <el-option label="是" value="1" key="1"></el-option>
20
20
  </el-select>
21
21
  </el-form-item>
22
+ <el-form-item label="后台用户">
23
+ <el-select
24
+ v-model="searchData.managered"
25
+ clearable
26
+ placeholder="请选择"
27
+ >
28
+ <el-option label="否" value="0" key="0"></el-option>
29
+ <el-option label="是" value="1" key="1"></el-option>
30
+ </el-select>
31
+ </el-form-item>
22
32
  <el-form-item>
23
33
  <el-button type="primary" @click="list">查询</el-button>
24
34
  <el-button type="primary" @click="addUser">新建</el-button>
@@ -211,6 +221,7 @@ export default {
211
221
  dataValue: [],
212
222
  pageNo: 1,
213
223
  total: 1,
224
+ managered: "",
214
225
  },
215
226
  userTypelsShow: true,
216
227
  showYhj: false,
@@ -363,6 +374,9 @@ export default {
363
374
  if (this.searchData.membered && this.searchData.membered.length > 0) {
364
375
  params.membered = this.searchData.membered;
365
376
  }
377
+ if (this.searchData.managered && this.searchData.managered.length > 0) {
378
+ params.managered = this.searchData.managered;
379
+ }
366
380
  if (this.searchData.id && this.searchData.id.length > 0) {
367
381
  params.id = this.searchData.id;
368
382
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.6.63",
3
+ "version": "0.6.65",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",