feat: 设备详情新增设备功能菜单
This commit is contained in:
parent
ca66f58bdd
commit
c29f2d0cad
|
@ -0,0 +1,7 @@
|
|||
<template>
|
||||
<div class="page-container">设备功能</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="less" scoped></style>
|
|
@ -45,6 +45,7 @@ import Running from './Running/index.vue'
|
|||
import Metadata from '../../components/Metadata/index.vue';
|
||||
import ChildDevice from './ChildDevice/index.vue';
|
||||
import Diagnose from './Diagnose/index.vue'
|
||||
import Function from './Function/index.vue'
|
||||
import { _deploy, _disconnect } from '@/api/device/instance'
|
||||
import { message } from 'ant-design-vue';
|
||||
import { getImage } from '@/utils/comm';
|
||||
|
@ -70,6 +71,10 @@ const list = [
|
|||
key: 'Metadata',
|
||||
tab: '物模型'
|
||||
},
|
||||
{
|
||||
key: 'Function',
|
||||
tab: '设备功能'
|
||||
},
|
||||
{
|
||||
key: 'ChildDevice',
|
||||
tab: '子设备'
|
||||
|
@ -85,7 +90,8 @@ const tabs = {
|
|||
Metadata,
|
||||
Running,
|
||||
ChildDevice,
|
||||
Diagnose
|
||||
Diagnose,
|
||||
Function
|
||||
}
|
||||
|
||||
watch(
|
||||
|
|
Loading…
Reference in New Issue