wangqiujuan0808 2024-01-08 21:20:21 +08:00
parent d51445a489
commit 2b0dc5c042
3 changed files with 92 additions and 92 deletions

View File

@ -66,7 +66,7 @@ const data = reactive({
{ {
type: '生产设备', type: '生产设备',
name: '过滤槽', name: '过滤槽',
num: 'guolvcao', num: 'guolvcao_1',
value: 130, value: 130,
id: "echartDiv1" id: "echartDiv1"
}, },
@ -108,7 +108,7 @@ const data = reactive({
{ {
type: '生产设备', type: '生产设备',
name: '过滤槽', name: '过滤槽',
num: 'guolvcao', num: 'guolvcao_1',
value: 50, value: 50,
id: "echartDiv1" id: "echartDiv1"
}, },
@ -151,7 +151,7 @@ const data = reactive({
{ {
type: '生产设备', type: '生产设备',
name: '过滤槽', name: '过滤槽',
num: 'guolvcao', num: 'guolvcao_1',
value: 80, value: 80,
id: "echartDiv1" id: "echartDiv1"
}, },

View File

@ -61,7 +61,7 @@ const data = reactive({
{ {
label: '过滤槽', label: '过滤槽',
id: '0-2', id: '0-2',
clickName: 'guolvcao', clickName: 'guolvcao_1',
info: { info: {
name: '过滤槽', name: '过滤槽',
type: '生产设备', type: '生产设备',
@ -73,90 +73,90 @@ const data = reactive({
children: [] children: []
}, },
{ // {
label: '设备二', // label: '',
id: '0-3', // id: '0-3',
clickName: 'T3', // clickName: 'T3',
info: { // info: {
name: '设备二', // name: '',
type: '生产设备', // type: '',
status: '启用', // status: '',
location: '漳州厂区糖化间', // location: '',
belong: '漳州厂区', // belong: '',
date: '2025-12-15' // date: '2025-12-15'
}, // },
children: [] // children: []
}, // },
{ // {
label: '设备三', // label: '',
id: '0-4', // id: '0-4',
clickName: 'T4', // clickName: 'T4',
info: { // info: {
name: '设备三', // name: '',
type: '空调设备', // type: '',
status: '启用', // status: '',
location: '漳州厂区糖化间', // location: '',
belong: '漳州厂区', // belong: '',
date: '2025-12-15' // date: '2025-12-15'
}, // },
children: [] // children: []
}, // },
{ // {
label: '设备四', // label: '',
id: '0-5', // id: '0-5',
clickName: 'T5', // clickName: 'T5',
info: { // info: {
name: '设备四', // name: '',
type: '安防设备', // type: '',
status: '启用', // status: '',
location: '漳州厂区糖化间', // location: '',
belong: '漳州厂区', // belong: '',
date: '2025-12-15' // date: '2025-12-15'
}, // },
children: [] // children: []
}, // },
{ // {
label: '设备五', // label: '',
id: '0-6', // id: '0-6',
clickName: 'T6', // clickName: 'T6',
info: { // info: {
name: '设备五', // name: '',
type: '安防设备', // type: '',
status: '启用', // status: '',
location: '漳州厂区糖化间', // location: '',
belong: '漳州厂区', // belong: '',
date: '2025-12-15' // date: '2025-12-15'
}, // },
children: [] // children: []
}, // },
{ // {
label: '设备七', // label: '',
id: '0-7', // id: '0-7',
clickName: 'T7', // clickName: 'T7',
info: { // info: {
name: '设备七', // name: '',
type: '安防设备', // type: '',
status: '启用', // status: '',
location: '漳州厂区糖化间', // location: '',
belong: '漳州厂区', // belong: '',
date: '2025-12-15' // date: '2025-12-15'
}, // },
children: [] // children: []
}, // },
{ // {
label: '设备八', // label: '',
id: '0-8', // id: '0-8',
clickName: 'T8', // clickName: 'T8',
info: { // info: {
name: '设备八', // name: '',
type: '安防设备', // type: '',
status: '启用', // status: '',
location: '漳州厂区糖化间', // location: '',
belong: '漳州厂区', // belong: '',
date: '2025-12-15' // date: '2025-12-15'
}, // },
children: [] // children: []
}, // },
], ],
} }
], ],
@ -173,9 +173,9 @@ onMounted(() => {
Bus.on('handleTreeClick1', (obj) => { Bus.on('handleTreeClick1', (obj) => {
let o = treeData.value[0].children.find(ele => { let o = treeData.value[0].children.find(ele => {
return ele.clickName == obj.parent.name; return ele.clickName == obj.name;
}) })
console.log(123, obj.parent.name); console.log(123, obj.name);
if (o) { if (o) {
nextTick(() => { nextTick(() => {
checkedkeys.value = o.id; checkedkeys.value = o.id;

View File

@ -242,7 +242,7 @@ const enableGroup = [
'yuanliao_room', 'yuanliao_room',
'tanghua_room', 'tanghua_room',
'touliao_room', 'touliao_room',
'guolvcao',// 'guolvcao_1',//
'T3', 'T3',
'T4', 'T4',
'T5', 'T5',
@ -571,7 +571,7 @@ const removeLabel = () => {
// //
const setBottom = () => { const setBottom = () => {
var target = scene.getObjectByName('floor2F'); var target = scene.getObjectByName('tanghua_1F');
console.log(target); console.log(target);
if (isRemoveBottom.value) { if (isRemoveBottom.value) {
target.visible = false; target.visible = false;