htui-yllkbz 1.3.54 → 1.3.56
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 +39 -39
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +39 -39
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +4 -4
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/packages/HtBaseData/index.vue +6 -5
- package/src/packages/HtSelectBaseData/index.vue +4 -3
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -874,15 +874,16 @@ export default class CommonDatas extends Vue {
|
|
|
874
874
|
cur.childrenList = [];
|
|
875
875
|
if (cur.users) {
|
|
876
876
|
cur.users.map((item) => {
|
|
877
|
-
if (item.
|
|
878
|
-
item.name = item.
|
|
877
|
+
if (item.displayName) {
|
|
878
|
+
item.name = item.displayName;
|
|
879
879
|
} else {
|
|
880
|
-
if (item.
|
|
881
|
-
item.name = item.displayName;
|
|
882
|
-
} else {
|
|
880
|
+
if (item.surname) {
|
|
883
881
|
item.name = `${item.surname || ''}${item.name || ''}`;
|
|
882
|
+
} else {
|
|
883
|
+
item.name = item.userName || '';
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
|
+
|
|
886
887
|
item.displayName = item.name;
|
|
887
888
|
item.childrenList = undefined;
|
|
888
889
|
return item;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-12-30 15:47:47
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2022-
|
|
7
|
+
* @LastEditTime: 2022-09-15 09:57:30
|
|
8
8
|
-->
|
|
9
9
|
|
|
10
10
|
<template>
|
|
@@ -32,15 +32,16 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
<div v-else>
|
|
34
34
|
<HtShowBaseData
|
|
35
|
-
v-if="
|
|
35
|
+
v-if="value !== undefined && value !== null"
|
|
36
36
|
:hide-code="hideCode"
|
|
37
37
|
:show-all-level="showAllLevels"
|
|
38
|
-
:base-data-id="
|
|
38
|
+
:base-data-id="value"
|
|
39
39
|
:base-data-info="true"
|
|
40
40
|
com-style="font-size:12px"
|
|
41
41
|
style="font-size:12px"
|
|
42
42
|
>
|
|
43
43
|
</HtShowBaseData>
|
|
44
|
+
<span>-</span>
|
|
44
45
|
<!-- <div is='common-datas-info-id'
|
|
45
46
|
com-style="font-size:12px"
|
|
46
47
|
v-if="this.value"
|