htui-yllkbz 1.3.106 → 1.3.108

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.106",
3
+ "version": "1.3.108",
4
4
  "port": "8082",
5
5
  "typings": "types/index.d.ts",
6
6
  "main": "lib/htui.common.js",
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: 2023-02-15 16:58:15
7
+ * @LastEditTime: 2023-02-27 16:38:46
8
8
  -->
9
9
  <template>
10
10
  <div id="app">
@@ -49,6 +49,7 @@
49
49
  v-model="state.value"
50
50
  data-type-id="SeverityLevel"
51
51
  ></ht-select-base-data> -->
52
+ <ht-select-base-data :dataTypeId="'SeverityLevel'"></ht-select-base-data>
52
53
  <router-view></router-view>
53
54
  </div>
54
55
  </template>
@@ -268,11 +268,19 @@
268
268
  :value="`${item.value}`"
269
269
  :title="`${item.name}(${item.value})`"
270
270
  >
271
- <span>
271
+ <span
272
+ style="display: flex;
273
+ align-items: center;"
274
+ >
272
275
  <b
273
276
  class="item-origin"
274
277
  :style="{
275
- 'border-color': `${item.color}`,
278
+ 'background-color': `${item.color}`,
279
+ display: `inline-block`,
280
+ width: `6px`,
281
+ height: `6px`,
282
+ overflow: `hidden`,
283
+ 'border-width': '0',
276
284
  }"
277
285
  ></b>
278
286
  {{ item.name }}
@@ -331,7 +331,7 @@
331
331
  </template>
332
332
  </el-table>
333
333
  </article>
334
- <footer v-if="!hidePage">
334
+ <footer v-if="!hidePage" class="ht-table-footer">
335
335
  <el-row name="footer">
336
336
  <!-- 此处建议使用el-col -->
337
337
  <slot name="footerLeft"></slot>
@@ -341,6 +341,7 @@
341
341
  <PageInfo
342
342
  :hide-on-single-page="pagination && pagination.hideOnSinglePage"
343
343
  :small="pagination && pagination.small"
344
+ :style="pageStyle"
344
345
  @onchange="(e) => $emit('onchange', e)"
345
346
  :page-sizes="pagination && pagination.pageSizes"
346
347
  :page-info="state.pageInfo"
@@ -474,6 +475,8 @@ export default class HtTable extends Vue {
474
475
  @Prop() data!: any[];
475
476
  /** 是否在表尾显示合计行 */
476
477
  @Prop({ default: false }) showSummary!: boolean;
478
+ /** 分页样式自定义 */
479
+ @Prop() pageStyle!: string;
477
480
  /** 合计行第一列的文本 */
478
481
  @Prop({ default: '合计' }) sumText!: string;
479
482
  @Prop({ default: false }) defaultExpandAll!: boolean;