update code

dev-login
haha 2023-08-20 19:25:29 +08:00
parent ee0e1af98a
commit bcd4f7b8eb
2 changed files with 17 additions and 11 deletions

View File

@ -42,7 +42,7 @@
<div :class="nav == 5 ? 'head-nav active' : 'head-nav'" @click="doNav(5)">({{ count['5'] }})</div>
</div>
<div class="data-list scroll" style="max-height:712px;overflow-y: auto;margin:12px 0px;overflow-x: hidden;">
<div class="data-list scroll" style="max-height:712px;overflow-y: auto;margin:12px 0px;overflow-x: hidden;" v-if="dataTable.length>0">
<div v-for="(it, idx) in dataTable" :key="idx" class="data-item"
:class="it.timeout ? 'time-out' : ''">
<div class="item-left">
@ -113,6 +113,10 @@
</div>
</div>
</div>
<div v-else style="text-align: center;margin-top: 200px;">
<img src="images/nodata.png" style="width: 240px;">
<div style="text-align: center;">暂无数据</div>
</div>
</div>
</MyDialog>
@ -201,7 +205,6 @@ export default {
})
},
showDialog(row, infoType,roleType) {
debugger
this.row = row;
this.infoType = infoType;
this.roleType=roleType;

View File

@ -62,7 +62,7 @@
<div class="head-nav" :class="nav == it.lvl ? 'active' : ''" @click="doNavClick(it)"
v-for="(it, idx) in tableData" :key="idx">{{ it.nodeText }}</div>
</div>
<div class="node-list scroll" style=" max-height: 675px;overflow-y: auto;">
<div class="node-list scroll" style="max-height: 675px;overflow-y: auto;" :class="'node-type'+(curNode.baseBuildNode?.nodeType||0)">
<NodeItem :item="curNode" :showLabel="false" class="node-item-lvl1 node-item"></NodeItem>
<div v-for="(it, idx) in curNodes" :key="idx" class="node-item2"
:class="'children' + (curNodes.length > 1 ? 'more' : 'one')">
@ -346,7 +346,16 @@ export default {
.node-list {
padding: 12px;
&.node-type0{
.node-item-lvl2 {
.lbl-title {
font-weight: bold;
font-size: 20px;
width: 200px !important;
color: #7fffd4;
}
}
}
.node-item {
.date-info {
box-shadow: inset 7px 0px 11px 5px rgb(36 131 167 / 70%);
@ -369,13 +378,7 @@ export default {
}
}
}
.lbl-title {
font-weight: bold;
font-size: 20px;
width: 200px !important;
color: #7fffd4;
}
}
.node-item-lvl3,