htui-yllkbz 1.3.79 → 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.79",
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;
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-11-11 11:23:24
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-11-07 14:42:22
7
+ * @LastEditTime: 2022-12-05 14:05:22
8
8
  -->
9
9
  <template>
10
10
  <div v-loading="state.loading" style="background:#fff">
@@ -17,6 +17,7 @@
17
17
  :stripe="stripe !== undefined ? stripe : true"
18
18
  :size="size || 'small'"
19
19
  :fit="fit"
20
+ :span-method="spanMethod"
20
21
  :header-row-style="
21
22
  headerRowStyle || { background: 'var(--primary-92)' }
22
23
  "
@@ -452,6 +453,11 @@ export default class HtTable extends Vue {
452
453
  @Prop() data!: any[];
453
454
  /** 序号对应的名称 */
454
455
  @Prop() keyName?: string;
456
+ /** 合并单元格 */
457
+ @Prop() spanMethod?: {
458
+ rowspan: number;
459
+ colspan: number;
460
+ };
455
461
  /** 是否启用展开行功能 */
456
462
  @Prop() isExpand?: boolean;
457
463
  /** 打开配置列 */