|
|
@ -27,7 +27,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.level === 'unit_chief'"> |
|
|
|
<div @click="gotoPersonnel(item)" class="dyzxh" :title="item.organizationName"> |
|
|
|
<div @click="gotoPersonnel(item)" :class="[item.categoryWarn === 'red' ? 'dyzxhRed' : item.categoryWarn === 'yellow' ? 'dyzxhYellow' : item.categoryWarn === 'green' ? 'dyzxhGreen' : 'dyzxh']" :title="item.organizationName"> |
|
|
|
<!-- {{ spliceNameFun(item.organizationName, 3) }} --> |
|
|
|
{{ item.organizationName }} |
|
|
|
</div> |
|
|
@ -116,6 +116,18 @@ export default { |
|
|
|
justify-content: space-around; |
|
|
|
} |
|
|
|
|
|
|
|
@mixin lastLevel { |
|
|
|
@include spanLevel; |
|
|
|
@include normalLevel; |
|
|
|
height: 118px; |
|
|
|
width: 30px; |
|
|
|
margin-top: -12px; |
|
|
|
background-size: 100%; |
|
|
|
cursor: pointer; |
|
|
|
writing-mode: tb-rl; |
|
|
|
text-orientation: upright; |
|
|
|
} |
|
|
|
|
|
|
|
.name_more { |
|
|
|
span { |
|
|
|
&:hover { |
|
|
@ -163,15 +175,20 @@ export default { |
|
|
|
background-size: 100%; |
|
|
|
} |
|
|
|
.dyzxh { |
|
|
|
@include spanLevel; |
|
|
|
@include normalLevel; |
|
|
|
height: 118px; |
|
|
|
width: 30px; |
|
|
|
writing-mode: tb-rl; |
|
|
|
margin-top: -12px; |
|
|
|
@include lastLevel; |
|
|
|
background-image: url(~@/assets/images/home/dyzxhTree.png); |
|
|
|
background-size: 100%; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
.dyzxhGreen { |
|
|
|
@include lastLevel; |
|
|
|
background-image: url(~@/assets/images/home/gridGreen.png); |
|
|
|
} |
|
|
|
.dyzxhRed { |
|
|
|
@include lastLevel; |
|
|
|
background-image: url(~@/assets/images/home/gridRed.png); |
|
|
|
} |
|
|
|
.dyzxhYellow { |
|
|
|
@include lastLevel; |
|
|
|
background-image: url(~@/assets/images/home/gridYellow.png); |
|
|
|
} |
|
|
|
.lxjt { |
|
|
|
@include spanLevel; |
|
|
|