htui-yllkbz 1.3.47 → 1.3.50
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 +65 -47
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +65 -47
- 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/HtBaseData/index.vue +6 -0
- package/src/packages/HtSelectOrg/index.vue +9 -2
- package/src/packages/HtSelectUser/index.vue +9 -6
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
<el-cascader
|
|
12
12
|
v-if="!state.configJson['departmentId'].panel"
|
|
13
13
|
:disabled="!!disabled"
|
|
14
|
+
popper-class="ht-cascader-poper"
|
|
14
15
|
:append-to-body="appendToBody"
|
|
15
16
|
class="component-item"
|
|
16
17
|
:class="comClass"
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
<el-cascader-panel
|
|
41
42
|
v-if="state.configJson['departmentId'].panel"
|
|
42
43
|
class="component-item"
|
|
44
|
+
popper-class="ht-cascader-poper"
|
|
43
45
|
:append-to-body="appendToBody"
|
|
44
46
|
:class="comClass"
|
|
45
47
|
style="width:100%"
|
|
@@ -118,6 +120,7 @@
|
|
|
118
120
|
>
|
|
119
121
|
<el-cascader
|
|
120
122
|
:append-to-body="appendToBody"
|
|
123
|
+
popper-class="ht-cascader-poper"
|
|
121
124
|
v-if="!state.configJson['departmentUser'].panel"
|
|
122
125
|
:disabled="!!disabled"
|
|
123
126
|
class="component-item"
|
|
@@ -179,6 +182,7 @@
|
|
|
179
182
|
</el-cascader>
|
|
180
183
|
<el-cascader-panel
|
|
181
184
|
v-else
|
|
185
|
+
popper-class="ht-cascader-poper"
|
|
182
186
|
:append-to-body="appendToBody"
|
|
183
187
|
:style="panStyle"
|
|
184
188
|
:filterable="!state.configJson['departmentUser'].multiple"
|
|
@@ -315,6 +319,7 @@
|
|
|
315
319
|
v-if="state.configJson[item.code] && state.configJson[item.code].show"
|
|
316
320
|
>
|
|
317
321
|
<el-cascader
|
|
322
|
+
popper-class="ht-cascader-poper"
|
|
318
323
|
:append-to-body="appendToBody"
|
|
319
324
|
v-if="!state.configJson[item.code].panel"
|
|
320
325
|
:placeholder="placeholder || `请选择${item.name}`"
|
|
@@ -344,6 +349,7 @@
|
|
|
344
349
|
></el-cascader>
|
|
345
350
|
<el-cascader-panel
|
|
346
351
|
v-else
|
|
352
|
+
popper-class="ht-cascader-poper"
|
|
347
353
|
:append-to-body="appendToBody"
|
|
348
354
|
@click.native="selectClick($event)"
|
|
349
355
|
:placeholder="placeholder || `请选择${item.name}`"
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-12-30 14:29:14
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2022-08-
|
|
7
|
+
* @LastEditTime: 2022-08-24 15:33:10
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<span v-if="readonly">
|
|
11
11
|
<HtShowBaseData
|
|
12
12
|
v-if="value"
|
|
13
13
|
:org="org"
|
|
14
|
-
:department-id="
|
|
14
|
+
:department-id="orgId"
|
|
15
15
|
></HtShowBaseData>
|
|
16
16
|
<span v-else> </span>
|
|
17
17
|
</span>
|
|
@@ -103,6 +103,13 @@ export default class HtSelectOrg extends Vue {
|
|
|
103
103
|
},
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
+
get orgId() {
|
|
107
|
+
if (Array.isArray(this.value)) {
|
|
108
|
+
return JSON.stringify(this.value);
|
|
109
|
+
} else {
|
|
110
|
+
return JSON.stringify([this.value]);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
106
113
|
/** 计算属性 */
|
|
107
114
|
}
|
|
108
115
|
</script>
|
|
@@ -4,15 +4,11 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-12-30 14:29:14
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2022-08-
|
|
7
|
+
* @LastEditTime: 2022-08-24 15:32:01
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<span v-if="readonly">
|
|
11
|
-
<HtShowBaseData
|
|
12
|
-
v-if="value"
|
|
13
|
-
:user-id="JSON.stringify([value])"
|
|
14
|
-
:org="org"
|
|
15
|
-
></HtShowBaseData>
|
|
11
|
+
<HtShowBaseData v-if="value" :user-id="userId" :org="org"></HtShowBaseData>
|
|
16
12
|
<span v-else> </span>
|
|
17
13
|
</span>
|
|
18
14
|
<HtBaseData
|
|
@@ -103,6 +99,13 @@ export default class HtSelectUser extends Vue {
|
|
|
103
99
|
},
|
|
104
100
|
});
|
|
105
101
|
}
|
|
102
|
+
get userId() {
|
|
103
|
+
if (Array.isArray(this.value)) {
|
|
104
|
+
return JSON.stringify(this.value);
|
|
105
|
+
} else {
|
|
106
|
+
return JSON.stringify([this.value]);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
106
109
|
/** 计算属性 */
|
|
107
110
|
}
|
|
108
111
|
</script>
|