联调终端运行评价
This commit is contained in:
@@ -57,7 +57,17 @@
|
||||
>
|
||||
<template #default="{ node, data }">
|
||||
<div class="custom-tree-node">
|
||||
<span>{{ node.label }}</span>
|
||||
<span>
|
||||
<span v-if="data.processState != null">
|
||||
{{ node.label }}
|
||||
</span>
|
||||
<span v-else>{{ data.subName }}_{{ data.name }}</span>
|
||||
<span
|
||||
v-if="data.processState != null"
|
||||
class="iconSpan"
|
||||
:style="{ background: data.processState == 0 ? '#ff0000' : '#00b07d' }"
|
||||
></span>
|
||||
</span>
|
||||
<div>
|
||||
<!-- <el-button type="primary" v-if="data.id == undefined" link icon="el-icon-Plus" ></el-button> -->
|
||||
<el-button
|
||||
@@ -191,7 +201,7 @@ const popUps = ref(false)
|
||||
const tableRef = ref()
|
||||
const processNo = ref('')
|
||||
const ruleFormRef = ref()
|
||||
const dataSource:any = ref([])
|
||||
const dataSource: any = ref([])
|
||||
const defaultProps = {
|
||||
children: 'deviceInfoList',
|
||||
label: 'name'
|
||||
@@ -483,4 +493,12 @@ const addMenu = () => {}
|
||||
padding-right: 8px;
|
||||
width: 300px;
|
||||
}
|
||||
.iconSpan {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin-left: 3px;
|
||||
border-radius: 50%;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user