Browse Source

网格架构的微网格层级应能区分显示红黄绿网格

dlt_manageScope_0428
是小王呀\24601 2 years ago
parent
commit
42b0332a78
  1. 2
      src/components/GridTree/nodeWrap.vue

2
src/components/GridTree/nodeWrap.vue

@ -35,7 +35,7 @@
</div>
</div>
<div v-if="item.level === 'unit_chief'">
<div @click="gotoPersonnel(item)" :class="[ item.id === '1704434839867420673'?'dyzxhYellow':'dyzxhGreen']" :title="item.organizationName">
<div @click="gotoPersonnel(item)" :class="[item.categoryWarn === 'red' ? 'dyzxhRed' : item.categoryWarn === 'yellow' ? 'dyzxhYellow' : item.categoryWarn === 'green' ? 'dyzxhGreen' : '', item.children && item.children.length > 0 ? 'dyzxhHover' : 'dyzxh']" :title="item.organizationName">
<!-- {{ spliceNameFun(item.organizationName, 3) }} -->
{{ item.organizationName }}
</div>

Loading…
Cancel
Save