htui-yllkbz 1.3.80 → 1.3.81

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "htui-yllkbz",
3
- "version": "1.3.80",
3
+ "version": "1.3.81",
4
4
  "port": "8082",
5
5
  "typings": "types/index.d.ts",
6
6
  "main": "lib/htui.common.js",
@@ -13,7 +13,7 @@
13
13
  :disabled="!!disabled"
14
14
  :size="size"
15
15
  popper-class="ht-cascader-poper"
16
- class="component-item"
16
+ class="component-item "
17
17
  :class="comClass"
18
18
  style="width:100%"
19
19
  :style="comStyle || ''"
@@ -989,6 +989,10 @@ $primary-color: var(--primary);
989
989
  background: none;
990
990
  height: 32px !important;
991
991
  }
992
+ .component-item-heightAuto .el-input--suffix .el-input__inner {
993
+ background: none;
994
+ height: auto !important;
995
+ }
992
996
  .component-item .is-disabled .el-input__inner {
993
997
  background: #f5f5f5;
994
998
  }
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-12-30 15:47:47
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-09-27 14:50:08
7
+ * @LastEditTime: 2022-12-13 17:16:43
8
8
  -->
9
9
 
10
10
  <template>
@@ -26,6 +26,11 @@
26
26
  :placeholder="placeholder"
27
27
  :hide-code="hideCode"
28
28
  :disabled="disabled"
29
+ :com-class="
30
+ heightAuto
31
+ ? 'component-item-heightAuto ht-item-common'
32
+ : 'ht-item-common'
33
+ "
29
34
  com-style="background:#fff"
30
35
  :config-json="configJson"
31
36
  @change="getCommonData"
@@ -72,6 +77,7 @@ export default class HtSelectBaseData extends Vue {
72
77
  @Prop() value!: string;
73
78
  @Prop() org?: string;
74
79
  @Prop() size?: string;
80
+ @Prop() heightAuto?: string;
75
81
  @Prop() placeholder?: string;
76
82
  /** 是否通过其他Key来做下拉选择 */
77
83
  @Prop({ default: false }) byCode!: boolean;
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-12-30 14:29:14
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-11-09 15:59:32
7
+ * @LastEditTime: 2022-12-13 17:15:09
8
8
  -->
9
9
  <template>
10
10
  <span v-if="readonly">
@@ -25,7 +25,9 @@
25
25
  :appendToBody="appendToBody"
26
26
  com-style="background:#fff"
27
27
  :config-json="configJson"
28
- com-class="ht-item-common"
28
+ :com-class="
29
+ heightAuto ? 'component-item-heightAuto ht-item-common' : 'ht-item-common'
30
+ "
29
31
  @change="searchCommonData"
30
32
  ></HtBaseData>
31
33
  </template>
@@ -49,6 +51,7 @@ export default class HtSelectOrg extends Vue {
49
51
  @Prop() value!: string;
50
52
  /** 是否禁用 */
51
53
  @Prop() disabled?: boolean;
54
+ @Prop() heightAuto?: boolean;
52
55
  @Prop() placeholder?: string;
53
56
  @Prop() org?: string;
54
57
  @Prop() size?: string;
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-12-30 14:29:14
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-11-09 14:50:41
7
+ * @LastEditTime: 2022-12-13 17:16:14
8
8
  -->
9
9
  <template>
10
10
  <span v-if="readonly">
@@ -21,7 +21,9 @@
21
21
  com-style="background:#fff"
22
22
  :appendToBody="appendToBody"
23
23
  :config-json="configJson"
24
- com-class="ht-item-common"
24
+ :com-class="
25
+ heightAuto ? 'component-item-heightAuto ht-item-common' : 'ht-item-common'
26
+ "
25
27
  @change="searchCommonData"
26
28
  ></HtBaseData>
27
29
  </template>
@@ -47,6 +49,7 @@ export default class HtSelectUser extends Vue {
47
49
  @Prop() size!: string;
48
50
  /** 是否禁用 */
49
51
  @Prop() disabled?: boolean;
52
+ @Prop() heightAuto?: boolean;
50
53
  @Prop() placeholder?: string;
51
54
  /** 是否可以清除 */
52
55
  @Prop() clearable?: boolean;