htui-yllkbz 1.2.50 → 1.2.54
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/lib/htui.common.js +9 -9
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.umd.js +9 -9
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +3 -3
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/packages/HtTable/index.vue +6 -4
- package/src/packages/type.ts +4 -4
- package/src/views/About.vue +7 -6
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @Author: hutao
|
|
6
6
|
* @Date: 2021-11-11 11:23:24
|
|
7
7
|
* @LastEditors: hutao
|
|
8
|
-
* @LastEditTime: 2022-01-
|
|
8
|
+
* @LastEditTime: 2022-01-16 09:27:47
|
|
9
9
|
-->
|
|
10
10
|
<template>
|
|
11
11
|
<div v-loading="state.loading"
|
|
@@ -105,11 +105,12 @@
|
|
|
105
105
|
<span v-else>--</span>
|
|
106
106
|
</template>
|
|
107
107
|
<template v-else-if="item.type==='common'">
|
|
108
|
+
|
|
108
109
|
<div v-if="getPropByPath(row,item.key)"
|
|
109
110
|
is='common-datas-info-id'
|
|
110
|
-
:user-id="item.commonType==='userId'?getPropByPath(row,item.key):'[]'"
|
|
111
|
-
:department-id="item.commonType==='departmentId'?getPropByPath(row,item.key):'[]'"
|
|
112
|
-
:role-id="item.commonType==='roleId'?getPropByPath(row,item.key):'[]'"
|
|
111
|
+
:user-id="item.commonType==='userId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
|
|
112
|
+
:department-id="item.commonType==='departmentId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
|
|
113
|
+
:role-id="item.commonType==='roleId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
|
|
113
114
|
:base-data-id="item.commonType==='baseDataId'?getPropByPath(row,item.key):''"
|
|
114
115
|
:base-data-value="item.commonType==='baseDataValue'?getPropByPath(row,item.key):''"
|
|
115
116
|
:base-data-name="item.commonType==='baseDataName'?getPropByPath(row,item.key):''"
|
|
@@ -191,6 +192,7 @@
|
|
|
191
192
|
<!-- 详情弹框 -->
|
|
192
193
|
<el-dialog :visible.sync="state.visibleFilter"
|
|
193
194
|
title="属性设置"
|
|
195
|
+
:append-to-body="true"
|
|
194
196
|
:close-on-click-modal="true"
|
|
195
197
|
width="400px"
|
|
196
198
|
:center="true">
|
package/src/packages/type.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-10-25 17:05:17
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2022-01-
|
|
7
|
+
* @LastEditTime: 2022-01-13 15:08:32
|
|
8
8
|
*/
|
|
9
9
|
/** 初始的默认条数 */
|
|
10
10
|
export const defalutPageSize = 10
|
|
@@ -70,10 +70,10 @@ export interface Column {
|
|
|
70
70
|
/** 时间是否跨行展示 */
|
|
71
71
|
spread?: boolean;
|
|
72
72
|
/** 通过type展示相应的数据 用户id|部门id|时间格式化|是否布尔值*/
|
|
73
|
-
type?: 'userId' | 'org' | 'time' | 'common' | 'boolean' | 'img'
|
|
73
|
+
type?: 'userId' | 'org' | 'time' | 'common' | 'boolean' | 'img';
|
|
74
74
|
/** 只有当type='common'时候有效 数据类型个ca common里面的一样但不包括时间 时间使用time */
|
|
75
|
-
commonType?: 'userId' | 'departmentId' | 'baseDataId' | 'roleId' | 'baseDataName' | 'baseDataValue'
|
|
76
|
-
showOverflowTooltip?: boolean
|
|
75
|
+
commonType?: 'userId' | 'departmentId' | 'baseDataId' | 'roleId' | 'baseDataName' | 'baseDataValue';
|
|
76
|
+
showOverflowTooltip?: boolean;
|
|
77
77
|
/** 筛选时候是否禁用 */
|
|
78
78
|
disabled?: boolean;
|
|
79
79
|
}
|
package/src/views/About.vue
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-11-15 14:41:40
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2022-01-
|
|
7
|
+
* @LastEditTime: 2022-01-16 09:30:07
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<div>
|
|
11
11
|
|
|
12
|
-
<el-button type=""
|
|
13
|
-
@click="test">test</el-button>
|
|
12
|
+
<!-- <el-button type=""
|
|
13
|
+
@click="test">test</el-button> -->
|
|
14
14
|
<!-- <ht-count-down :stopwatch="true"
|
|
15
15
|
:frequency="200"
|
|
16
16
|
:start="!state.start">
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
</ht-count-down> -->
|
|
27
27
|
|
|
28
|
-
<ht-md v-model="state.content"
|
|
29
|
-
:subfield="true"></ht-md>
|
|
28
|
+
<!-- <ht-md v-model="state.content"
|
|
29
|
+
:subfield="true"></ht-md> -->
|
|
30
30
|
<div ref="ht-pdf">
|
|
31
31
|
<HtTable :data="state.data"
|
|
32
32
|
:height="200"
|
|
@@ -90,7 +90,7 @@ export default class Index extends Vue {
|
|
|
90
90
|
sex: 0,
|
|
91
91
|
id: 1,
|
|
92
92
|
|
|
93
|
-
test: { title: "
|
|
93
|
+
test: { title: "33476c23-9faa-22d3-3ee6-39f97d173566" },
|
|
94
94
|
time: "2022-01-20T00:00:00+08:00",
|
|
95
95
|
},
|
|
96
96
|
{
|
|
@@ -131,6 +131,7 @@ export default class Index extends Vue {
|
|
|
131
131
|
title: "姓名",
|
|
132
132
|
key: "test.title",
|
|
133
133
|
width: "300px",
|
|
134
|
+
|
|
134
135
|
disabled: true,
|
|
135
136
|
},
|
|
136
137
|
{
|