htui-yllkbz 1.5.17 → 1.5.19
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/package.json +55 -55
- package/src/packages/HtShowBaseData/index.vue +2 -1
- package/src/packages/HtTable/htTableColumn.vue +98 -111
- package/src/packages/HtTable/index.vue +304 -264
- package/src/views/About.vue +91 -98
- package/lib/demo.html +0 -10
- package/lib/fonts/fontello.068ca2b3.ttf +0 -0
- package/lib/fonts/fontello.8d4a4e6f.woff2 +0 -0
- package/lib/fonts/fontello.a782baa8.woff +0 -0
- package/lib/fonts/fontello.e73a0647.eot +0 -0
- package/lib/htui.common.js +0 -113247
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +0 -1
- package/lib/htui.umd.js +0 -113257
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +0 -306
- package/lib/htui.umd.min.js.gz +0 -0
- package/lib/img/excel.bbca162d.png +0 -0
- package/lib/img/fontello.9354499c.svg +0 -72
- package/lib/img/other.2589bfcc.png +0 -0
- package/lib/img/pdf.a7d6d970.png +0 -0
- package/lib/img/txt.45f9960a.png +0 -0
- package/lib/img/vedio.8638f032.png +0 -0
package/src/views/About.vue
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-11-15 14:41:40
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime:
|
|
7
|
+
* @LastEditTime: 2024-08-03 14:28:13
|
|
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">
|
|
12
|
+
<!-- <ht-row :gutter="16" :copies="10" colMinHeight="56px">
|
|
13
13
|
<ht-col :span="2">iii</ht-col>
|
|
14
14
|
<ht-col style="height:30px;border:1px solid #ccc" :span="4">iii</ht-col>
|
|
15
15
|
<ht-col :span="2">iii</ht-col>
|
|
16
16
|
<ht-col style="height:30px;border:1px solid #ccc" :span="4">iii</ht-col>
|
|
17
|
-
</ht-row>
|
|
18
|
-
<HtBread></HtBread>
|
|
19
|
-
<HtMore>操作</HtMore>
|
|
17
|
+
</ht-row> -->
|
|
18
|
+
<!-- <HtBread></HtBread>
|
|
19
|
+
<HtMore>操作</HtMore> -->
|
|
20
20
|
<!-- <HtSelectOrg :multiple="false"></HtSelectOrg> -->
|
|
21
21
|
<!-- <el-button type=""
|
|
22
22
|
@click="test">test</el-button> -->
|
|
@@ -34,56 +34,51 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
</ht-count-down> -->
|
|
36
36
|
|
|
37
|
-
<ht-md v-model="state.content" :subfield="true"></ht-md>
|
|
38
|
-
|
|
39
|
-
<HtTable
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}"
|
|
48
|
-
:height="500"
|
|
49
|
-
:columns="state.columns"
|
|
50
|
-
>
|
|
37
|
+
<!-- <ht-md v-model="state.content" :subfield="true"></ht-md> -->
|
|
38
|
+
<div ref="ht-pdf">
|
|
39
|
+
<HtTable :data="state.data"
|
|
40
|
+
:showFilter="true"
|
|
41
|
+
:uuId="'dhjsgdshg8989354'"
|
|
42
|
+
:configShow="true"
|
|
43
|
+
:checked="false"
|
|
44
|
+
:isExpand="false"
|
|
45
|
+
:height="500"
|
|
46
|
+
:columns="state.columns">
|
|
51
47
|
<template slot="header_time1">
|
|
52
48
|
次数
|
|
53
49
|
</template>
|
|
54
50
|
<template slot="header_selectable">
|
|
55
51
|
是否看一下
|
|
56
52
|
</template>
|
|
57
|
-
<template slot="selectable"
|
|
53
|
+
<template slot="selectable"
|
|
54
|
+
slot-scope="{ row }">
|
|
58
55
|
----{{ row.selectable }}----yy
|
|
59
56
|
</template>
|
|
60
57
|
</HtTable>
|
|
61
|
-
</div>
|
|
62
|
-
<HtDrawer
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
:title="'买买买'"
|
|
68
|
-
>
|
|
58
|
+
</div>
|
|
59
|
+
<HtDrawer htClass="ht-new-drawer"
|
|
60
|
+
@onOk="submitTest()"
|
|
61
|
+
:footerRight="true"
|
|
62
|
+
v-model="state.visible"
|
|
63
|
+
:title="'买买买'">
|
|
69
64
|
考了多少会计数控了分手快乐
|
|
70
65
|
</HtDrawer>
|
|
71
66
|
</div>
|
|
72
67
|
</template>
|
|
73
68
|
<script lang="ts">
|
|
74
|
-
import { Component, Vue } from
|
|
75
|
-
import HtTable from
|
|
76
|
-
import HtCountDown from
|
|
77
|
-
import HtSelectUser from
|
|
78
|
-
import HtSelectOrg from
|
|
79
|
-
import HtRow from
|
|
80
|
-
import HtCol from
|
|
81
|
-
import { Column } from
|
|
82
|
-
import HtDrawer from
|
|
83
|
-
import HtBread from
|
|
84
|
-
import HtMore from
|
|
85
|
-
import { getSpanMethod } from
|
|
86
|
-
import HtMd from
|
|
69
|
+
import { Component, Vue } from "vue-property-decorator";
|
|
70
|
+
import HtTable from "@/packages/HtTable/index.vue";
|
|
71
|
+
import HtCountDown from "@/packages/HtCountDown/index.vue";
|
|
72
|
+
import HtSelectUser from "@/packages/HtSelectUser/index.vue";
|
|
73
|
+
import HtSelectOrg from "@/packages/HtSelectOrg/index.vue";
|
|
74
|
+
import HtRow from "@/packages/HtRow/index.vue";
|
|
75
|
+
import HtCol from "@/packages/HtCol/index.vue";
|
|
76
|
+
import { Column } from "@/packages/type";
|
|
77
|
+
import HtDrawer from "@/packages/HtDrawer";
|
|
78
|
+
import HtBread from "@/packages/HtBread";
|
|
79
|
+
import HtMore from "@/packages/HtMore";
|
|
80
|
+
import { getSpanMethod } from "@/packages/HtTable/table-span-method";
|
|
81
|
+
import HtMd from "@/packages/HtMd";
|
|
87
82
|
|
|
88
83
|
interface State {
|
|
89
84
|
/** 数据状态 */
|
|
@@ -115,117 +110,115 @@ export default class Index extends Vue {
|
|
|
115
110
|
loading: false,
|
|
116
111
|
visible: false,
|
|
117
112
|
start: false,
|
|
118
|
-
content:
|
|
113
|
+
content: "",
|
|
119
114
|
colData: [],
|
|
120
115
|
data: [
|
|
121
116
|
{
|
|
122
|
-
name:
|
|
123
|
-
userId:
|
|
117
|
+
name: "胡涛",
|
|
118
|
+
userId: "f6f09c3c-cf45-863a-d625-3a0955dccc4c",
|
|
124
119
|
selectable: true,
|
|
125
120
|
times: 1,
|
|
126
121
|
|
|
127
122
|
age: 12,
|
|
128
|
-
sex:
|
|
129
|
-
'e49961a4f385e5d341ce3a01ee674c90ea9e037b734228fe26753a01ee674c90,e49961a4f385e5d341ce3a01ee674c90ea9e037b734228fe26753a01ee674c90',
|
|
123
|
+
sex: "e49961a4f385e5d341ce3a01ee674c90ea9e037b734228fe26753a01ee674c90,e49961a4f385e5d341ce3a01ee674c90ea9e037b734228fe26753a01ee674c90",
|
|
130
124
|
id: 1,
|
|
131
|
-
test: { title:
|
|
132
|
-
time:
|
|
125
|
+
test: { title: "33476c23-9faa-22d3-3ee6-39f97d173566" },
|
|
126
|
+
time: "2022-01-20T00:00:00+08:00",
|
|
133
127
|
},
|
|
134
128
|
{
|
|
135
|
-
name:
|
|
136
|
-
userId:
|
|
129
|
+
name: "胡涛",
|
|
130
|
+
userId: "f6f09c3c-cf45-863a-d625-3a0955dccc4c",
|
|
137
131
|
times: 1,
|
|
138
132
|
age: 12,
|
|
139
133
|
selectable: false,
|
|
140
|
-
sex:
|
|
134
|
+
sex: "e49961a4f385e5d341ce3a01ee674c90ea9e037b734228fe26753a01ee674c90",
|
|
141
135
|
id: 2,
|
|
142
|
-
test: { title:
|
|
143
|
-
time:
|
|
136
|
+
test: { title: "测试" },
|
|
137
|
+
time: "2022-01-20T00:00:00+08:00",
|
|
144
138
|
},
|
|
145
139
|
{
|
|
146
|
-
name:
|
|
147
|
-
userId:
|
|
140
|
+
name: "胡涛1",
|
|
141
|
+
userId: "f6f09c3c-cf45-863a-d625-3a0955dccc4c",
|
|
148
142
|
age: 13,
|
|
149
143
|
times: 1,
|
|
150
|
-
sex:
|
|
144
|
+
sex: "tt",
|
|
151
145
|
id: 3,
|
|
152
|
-
test: { title:
|
|
153
|
-
time:
|
|
146
|
+
test: { title: "测试" },
|
|
147
|
+
time: "2022-01-20T00:00:00+08:00",
|
|
154
148
|
},
|
|
155
149
|
{
|
|
156
|
-
name:
|
|
157
|
-
userId:
|
|
150
|
+
name: "胡涛",
|
|
151
|
+
userId: "f6f09c3c-cf45-863a-d625-3a0955dccc4c",
|
|
158
152
|
age: 13,
|
|
159
153
|
times: 4,
|
|
160
154
|
file: [],
|
|
161
|
-
sex:
|
|
155
|
+
sex: "tt",
|
|
162
156
|
id: 4,
|
|
163
|
-
test: { title:
|
|
164
|
-
time:
|
|
157
|
+
test: { title: "测试" },
|
|
158
|
+
time: "2022-01-20T00:00:00+08:00",
|
|
165
159
|
},
|
|
166
160
|
{
|
|
167
|
-
name:
|
|
168
|
-
userId:
|
|
161
|
+
name: "胡涛",
|
|
162
|
+
userId: "f6f09c3c-cf45-863a-d625-3a0955dccc4c",
|
|
169
163
|
age: 12,
|
|
170
164
|
times: 8,
|
|
171
|
-
sex:
|
|
165
|
+
sex: "tt",
|
|
172
166
|
id: 41,
|
|
173
|
-
test: { title:
|
|
174
|
-
time:
|
|
167
|
+
test: { title: "测试" },
|
|
168
|
+
time: "2022-01-20T00:00:00+08:00",
|
|
175
169
|
},
|
|
176
170
|
],
|
|
177
171
|
columns: [
|
|
178
172
|
{
|
|
179
|
-
title:
|
|
180
|
-
key:
|
|
181
|
-
width:
|
|
182
|
-
property:
|
|
173
|
+
title: "姓名",
|
|
174
|
+
key: "test.title",
|
|
175
|
+
width: "300px",
|
|
176
|
+
property: "base",
|
|
183
177
|
disabled: true,
|
|
184
|
-
|
|
185
|
-
style:
|
|
178
|
+
|
|
179
|
+
style: "color:red",
|
|
186
180
|
},
|
|
187
181
|
{
|
|
188
|
-
title:
|
|
189
|
-
key:
|
|
190
|
-
width:
|
|
191
|
-
type:
|
|
182
|
+
title: "userId",
|
|
183
|
+
key: "userId",
|
|
184
|
+
width: "300px",
|
|
185
|
+
type: "userId",
|
|
192
186
|
},
|
|
193
187
|
{
|
|
194
|
-
title:
|
|
195
|
-
key:
|
|
188
|
+
title: "姓额外名",
|
|
189
|
+
key: "namey",
|
|
196
190
|
children: [
|
|
197
191
|
{
|
|
198
|
-
title:
|
|
199
|
-
key:
|
|
192
|
+
title: "姓",
|
|
193
|
+
key: "name",
|
|
200
194
|
},
|
|
201
195
|
{
|
|
202
|
-
title:
|
|
203
|
-
key:
|
|
196
|
+
title: "名",
|
|
197
|
+
key: "times",
|
|
204
198
|
|
|
205
|
-
align:
|
|
199
|
+
align: "center",
|
|
206
200
|
},
|
|
207
201
|
],
|
|
208
202
|
},
|
|
209
203
|
{
|
|
210
|
-
title:
|
|
211
|
-
key:
|
|
204
|
+
title: "age",
|
|
205
|
+
key: "age",
|
|
212
206
|
},
|
|
213
207
|
{
|
|
214
|
-
title:
|
|
215
|
-
key:
|
|
216
|
-
type:
|
|
208
|
+
title: "file",
|
|
209
|
+
key: "file",
|
|
210
|
+
type: "file",
|
|
217
211
|
},
|
|
218
212
|
{
|
|
219
|
-
title:
|
|
220
|
-
type:
|
|
213
|
+
title: "time",
|
|
214
|
+
type: "time",
|
|
221
215
|
spread: true,
|
|
222
|
-
key:
|
|
223
|
-
deafaultShow: true,
|
|
216
|
+
key: "time",
|
|
224
217
|
},
|
|
225
218
|
{
|
|
226
|
-
title:
|
|
227
|
-
key:
|
|
228
|
-
type:
|
|
219
|
+
title: "性别",
|
|
220
|
+
key: "sex",
|
|
221
|
+
type: "file",
|
|
229
222
|
},
|
|
230
223
|
],
|
|
231
224
|
};
|
|
@@ -234,7 +227,7 @@ export default class Index extends Vue {
|
|
|
234
227
|
//this.rewriteGetComputedStyle();
|
|
235
228
|
}
|
|
236
229
|
submitTest() {
|
|
237
|
-
console.log(
|
|
230
|
+
console.log("00000");
|
|
238
231
|
}
|
|
239
232
|
/** 方法 */
|
|
240
233
|
// test(e) {
|
package/lib/demo.html
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|