From 81ab1c3f753f74f0324936d3d9fe2cb341945048 Mon Sep 17 00:00:00 2001 From: lixiangyu <lixiangyu@xalxzn.com> Date: 星期五, 15 八月 2025 17:55:55 +0800 Subject: [PATCH] refactor(刀具管理): 优化代码格式和逻辑结构 --- src/views/mdc/base/DeviceLog.vue | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/src/views/mdc/base/DeviceLog.vue b/src/views/mdc/base/DeviceLog.vue new file mode 100644 index 0000000..45817e3 --- /dev/null +++ b/src/views/mdc/base/DeviceLog.vue @@ -0,0 +1,46 @@ +<template> + <a-card :bordered="false"> + <div style="width: 100%; height: 100%;overflow: hidden"> + <a-row type="flex" :gutter="16"> + <a-col :md="5" :sm="24"> + <base-tree @getCurrSelected="changeSelectionNode"></base-tree> + </a-col> + <a-col :md="24-5" :sm="24"> + <log-info :equipment="selectEquipment"></log-info> + </a-col> + </a-row> + </div> + </a-card> +</template> + +<script> + import { JeecgListMixin } from '@/mixins/JeecgListMixin' + import BaseTree from '../common/BaseTree' + import LogInfo from './modules/DeviceLog/LogInfo' + + export default { + name: 'DeviceLog', + components: { + BaseTree, + LogInfo, + }, + data() { + return { + description: '璁惧淇℃伅', + selectEquipment:{}, + equipmentStatisticsInfo:{}, + url:{ + equipmentStatistics:"/mdc/equipment/equipmentStatistics" + } + } + }, + created() { + }, + methods: { + changeSelectionNode(val){ + this.selectEquipment = val + } + } + + } +</script> -- Gitblit v1.9.3