imeik-bizui 1.7.8 → 1.7.9
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/dist/bizui/src/CommonDepartmentCascader/index.vue +18 -4
- package/dist/imeik-bizui.common.js +92 -85
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +92 -85
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +3 -3
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -18,10 +18,13 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
20
|
</div>
|
|
21
|
-
<
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
|
|
21
|
+
<template v-else-if="plantText">
|
|
22
|
+
<span v-if="showAll" class="viewText showAll">{{ plantText }}</span>
|
|
23
|
+
<el-popover v-else trigger="hover">
|
|
24
|
+
<div class="departmentPopover">{{ plantText }}</div>
|
|
25
|
+
<span slot="reference" class="viewText">{{ plantText }}</span>
|
|
26
|
+
</el-popover>
|
|
27
|
+
</template>
|
|
25
28
|
<span v-else>-</span>
|
|
26
29
|
</template>
|
|
27
30
|
|
|
@@ -92,6 +95,11 @@ export default {
|
|
|
92
95
|
type: Boolean,
|
|
93
96
|
default: false
|
|
94
97
|
},
|
|
98
|
+
// 查看的时候是否展示全部
|
|
99
|
+
showAll: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: true
|
|
102
|
+
},
|
|
95
103
|
// 是否仅展示主公司
|
|
96
104
|
onlyMainCompany: {
|
|
97
105
|
type: Boolean,
|
|
@@ -281,6 +289,12 @@ export default {
|
|
|
281
289
|
white-space: nowrap;
|
|
282
290
|
text-overflow: ellipsis;
|
|
283
291
|
cursor: pointer;
|
|
292
|
+
|
|
293
|
+
&.showAll {
|
|
294
|
+
text-overflow: unset;
|
|
295
|
+
overflow: visible;
|
|
296
|
+
white-space: break-spaces;
|
|
297
|
+
}
|
|
284
298
|
}
|
|
285
299
|
|
|
286
300
|
.labelItem {
|