htui-yllkbz 1.4.19 → 1.4.21

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.
@@ -4,11 +4,18 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-11-15 14:41:40
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2023-04-14 10:38:46
7
+ * @LastEditTime: 2023-04-23 14:02: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>
12
19
  <!-- <HtSelectOrg :multiple="false"></HtSelectOrg> -->
13
20
  <!-- <el-button type=""
14
21
  @click="test">test</el-button> -->
@@ -41,13 +48,14 @@
41
48
  :height="500"
42
49
  :columns="state.columns"
43
50
  >
44
- jjjj
45
- <template slot="name" slot-scope="{ row }">
46
- ----{{ row.name }}----yy
47
- </template>
48
- <template slot="time1" slot-scope="{ row }">
49
- ----{{ row.name }}----yy
51
+ <!-- <template slot="namey">
52
+ <template slot="times" slot-scope="{ row }">
53
+ {{ row.name }}----外面
54
+ </template>
50
55
  </template>
56
+ <template slot="times" slot-scope="{ row }">
57
+ {{ row.name }}----yy1
58
+ </template> -->
51
59
  <template slot="header_time1">
52
60
  次数
53
61
  </template>
@@ -59,6 +67,9 @@
59
67
  </template>
60
68
  </HtTable>
61
69
  </div>
70
+ <HtModel v-model="state.visible" :title="'买买买'">
71
+ 考了多少会计数控了分手快乐
72
+ </HtModel>
62
73
  </div>
63
74
  </template>
64
75
  <script lang="ts">
@@ -67,12 +78,17 @@ import HtTable from '@/packages/HtTable/index.vue';
67
78
  import HtCountDown from '@/packages/HtCountDown/index.vue';
68
79
  import HtSelectUser from '@/packages/HtSelectUser/index.vue';
69
80
  import HtSelectOrg from '@/packages/HtSelectOrg/index.vue';
81
+ import HtRow from '@/packages/HtRow/index.vue';
82
+ import HtCol from '@/packages/HtCol/index.vue';
70
83
  import { Column } from '@/packages/type';
84
+ import HtModel from '@/packages/HtModel';
85
+ import HtBread from '@/packages/HtBread';
71
86
  import { getSpanMethod } from '@/packages/HtTable/table-span-method';
72
87
 
73
88
  interface State {
74
89
  /** 数据状态 */
75
90
  loading: boolean;
91
+ visible: boolean;
76
92
  columns: Column[];
77
93
  data: any;
78
94
  content: string;
@@ -85,12 +101,17 @@ interface State {
85
101
  HtCountDown,
86
102
  HtSelectUser,
87
103
  HtSelectOrg,
104
+ HtRow,
105
+ HtCol,
106
+ HtBread,
107
+ HtModel,
88
108
  },
89
109
  })
90
110
  export default class Index extends Vue {
91
111
  /** 数据 */
92
112
  state: State = {
93
113
  loading: false,
114
+ visible: false,
94
115
  start: false,
95
116
  content: '',
96
117
  colData: [],
@@ -98,6 +119,7 @@ export default class Index extends Vue {
98
119
  {
99
120
  name: '胡涛',
100
121
  selectable: true,
122
+ times: 1,
101
123
 
102
124
  age: 12,
103
125
  sex:
@@ -108,6 +130,7 @@ export default class Index extends Vue {
108
130
  },
109
131
  {
110
132
  name: '胡涛',
133
+ times: 1,
111
134
  age: 12,
112
135
  selectable: false,
113
136
  sex: 'e49961a4f385e5d341ce3a01ee674c90ea9e037b734228fe26753a01ee674c90',
@@ -118,6 +141,7 @@ export default class Index extends Vue {
118
141
  {
119
142
  name: '胡涛1',
120
143
  age: 13,
144
+ times: 1,
121
145
  sex: 'tt',
122
146
  id: 3,
123
147
  test: { title: '测试' },
@@ -126,6 +150,7 @@ export default class Index extends Vue {
126
150
  {
127
151
  name: '胡涛',
128
152
  age: 13,
153
+ times: 4,
129
154
  file: [],
130
155
  sex: 'tt',
131
156
  id: 4,
@@ -135,6 +160,7 @@ export default class Index extends Vue {
135
160
  {
136
161
  name: '胡涛',
137
162
  age: 12,
163
+ times: 8,
138
164
  sex: 'tt',
139
165
  id: 41,
140
166
  test: { title: '测试' },
@@ -167,8 +193,8 @@ export default class Index extends Vue {
167
193
  },
168
194
  {
169
195
  title: '名',
170
- key: 'time1',
171
- type: 'date',
196
+ key: 'times',
197
+
172
198
  align: 'center',
173
199
  },
174
200
  ],