htui-yllkbz 1.3.80 → 1.3.82
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/lib/htui.common.js +61 -49
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +61 -49
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +5 -5
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/App.vue +3 -2
- package/src/packages/HtBaseData/index.vue +6 -2
- package/src/packages/HtSelectBaseData/index.vue +7 -1
- package/src/packages/HtSelectOrg/index.vue +7 -2
- package/src/packages/HtSelectUser/index.vue +7 -2
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-11-15 14:41:40
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2022-
|
|
7
|
+
* @LastEditTime: 2022-12-13 17:29:24
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<div id="app">
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
></HtSelectBaseData>
|
|
26
26
|
<HtSelectUser
|
|
27
27
|
:clearable="true"
|
|
28
|
-
:multiple="
|
|
28
|
+
:multiple="true"
|
|
29
|
+
:heightAuto="true"
|
|
29
30
|
:checkStrictly="false"
|
|
30
31
|
v-model="state.value"
|
|
31
32
|
@change="testuser"
|
|
@@ -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 || ''"
|
|
@@ -985,10 +985,14 @@ export default class CommonDatas extends Vue {
|
|
|
985
985
|
</style>
|
|
986
986
|
<style lang="scss">
|
|
987
987
|
$primary-color: var(--primary);
|
|
988
|
-
.component-item .el-input--suffix .el-input__inner {
|
|
988
|
+
.component-item-height .el-input--suffix .el-input__inner {
|
|
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-
|
|
7
|
+
* @LastEditTime: 2022-12-13 17:26:57
|
|
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
|
+
: 'component-item-height 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-
|
|
7
|
+
* @LastEditTime: 2022-12-13 17:27:09
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<span v-if="readonly">
|
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
:appendToBody="appendToBody"
|
|
26
26
|
com-style="background:#fff"
|
|
27
27
|
:config-json="configJson"
|
|
28
|
-
com-class="
|
|
28
|
+
:com-class="
|
|
29
|
+
heightAuto
|
|
30
|
+
? 'component-item-heightAuto ht-item-common'
|
|
31
|
+
: 'component-item-height ht-item-common'
|
|
32
|
+
"
|
|
29
33
|
@change="searchCommonData"
|
|
30
34
|
></HtBaseData>
|
|
31
35
|
</template>
|
|
@@ -49,6 +53,7 @@ export default class HtSelectOrg extends Vue {
|
|
|
49
53
|
@Prop() value!: string;
|
|
50
54
|
/** 是否禁用 */
|
|
51
55
|
@Prop() disabled?: boolean;
|
|
56
|
+
@Prop() heightAuto?: boolean;
|
|
52
57
|
@Prop() placeholder?: string;
|
|
53
58
|
@Prop() org?: string;
|
|
54
59
|
@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-
|
|
7
|
+
* @LastEditTime: 2022-12-13 17:27:15
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<span v-if="readonly">
|
|
@@ -21,7 +21,11 @@
|
|
|
21
21
|
com-style="background:#fff"
|
|
22
22
|
:appendToBody="appendToBody"
|
|
23
23
|
:config-json="configJson"
|
|
24
|
-
com-class="
|
|
24
|
+
:com-class="
|
|
25
|
+
heightAuto
|
|
26
|
+
? 'component-item-heightAuto ht-item-common'
|
|
27
|
+
: 'component-item-height ht-item-common'
|
|
28
|
+
"
|
|
25
29
|
@change="searchCommonData"
|
|
26
30
|
></HtBaseData>
|
|
27
31
|
</template>
|
|
@@ -47,6 +51,7 @@ export default class HtSelectUser extends Vue {
|
|
|
47
51
|
@Prop() size!: string;
|
|
48
52
|
/** 是否禁用 */
|
|
49
53
|
@Prop() disabled?: boolean;
|
|
54
|
+
@Prop() heightAuto?: boolean;
|
|
50
55
|
@Prop() placeholder?: string;
|
|
51
56
|
/** 是否可以清除 */
|
|
52
57
|
@Prop() clearable?: boolean;
|