htui-yllkbz 1.4.20 → 1.4.22

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.
@@ -126,6 +126,20 @@ export interface PageType {
126
126
  totalCount: number;
127
127
 
128
128
  }
129
+ /** 二次封装面包屑的类型 */
130
+ export interface BreadType {
131
+ /** 唯一值 */
132
+ key: string;
133
+ /** 名称 */
134
+ title: string;
135
+ /** vue的路由跳转 */
136
+ to?: string;
137
+ /** 完成的路由跳转 */
138
+ url?: string;
139
+ style?: string;
140
+ /** 跳转方式针对url */
141
+ target?: string;
142
+ }
129
143
  /** cron表达式相关类型 */
130
144
  export enum TimeModes {
131
145
  Minute = 'Minute',
@@ -4,11 +4,19 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-11-15 14:41:40
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2023-04-17 18:04:07
7
+ * @LastEditTime: 2023-04-24 09:23:59
8
8
  -->
9
9
  <template>
10
10
  <div>
11
- ...................
11
+ <el-button @click="state.visible = true">打开</el-button>
12
+ <ht-row :gutter="16" :copies="10" colMinHeight="56px">
13
+ <ht-col :span="2">iii</ht-col>
14
+ <ht-col style="height:30px;border:1px solid #ccc" :span="4">iii</ht-col>
15
+ <ht-col :span="2">iii</ht-col>
16
+ <ht-col style="height:30px;border:1px solid #ccc" :span="4">iii</ht-col>
17
+ </ht-row>
18
+ <HtBread></HtBread>
19
+ <HtMore>操作</HtMore>
12
20
  <!-- <HtSelectOrg :multiple="false"></HtSelectOrg> -->
13
21
  <!-- <el-button type=""
14
22
  @click="test">test</el-button> -->
@@ -60,6 +68,9 @@
60
68
  </template>
61
69
  </HtTable>
62
70
  </div>
71
+ <HtModel v-model="state.visible" :title="'买买买'">
72
+ 考了多少会计数控了分手快乐
73
+ </HtModel>
63
74
  </div>
64
75
  </template>
65
76
  <script lang="ts">
@@ -68,12 +79,18 @@ import HtTable from '@/packages/HtTable/index.vue';
68
79
  import HtCountDown from '@/packages/HtCountDown/index.vue';
69
80
  import HtSelectUser from '@/packages/HtSelectUser/index.vue';
70
81
  import HtSelectOrg from '@/packages/HtSelectOrg/index.vue';
82
+ import HtRow from '@/packages/HtRow/index.vue';
83
+ import HtCol from '@/packages/HtCol/index.vue';
71
84
  import { Column } from '@/packages/type';
85
+ import HtModel from '@/packages/HtModel';
86
+ import HtBread from '@/packages/HtBread';
87
+ import HtMore from '@/packages/HtMore';
72
88
  import { getSpanMethod } from '@/packages/HtTable/table-span-method';
73
89
 
74
90
  interface State {
75
91
  /** 数据状态 */
76
92
  loading: boolean;
93
+ visible: boolean;
77
94
  columns: Column[];
78
95
  data: any;
79
96
  content: string;
@@ -86,12 +103,18 @@ interface State {
86
103
  HtCountDown,
87
104
  HtSelectUser,
88
105
  HtSelectOrg,
106
+ HtRow,
107
+ HtCol,
108
+ HtBread,
109
+ HtModel,
110
+ HtMore,
89
111
  },
90
112
  })
91
113
  export default class Index extends Vue {
92
114
  /** 数据 */
93
115
  state: State = {
94
116
  loading: false,
117
+ visible: false,
95
118
  start: false,
96
119
  content: '',
97
120
  colData: [],