From 65a5e8c7ec6d6eab78b76c5831eaf40c30e23c61 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期五, 13 九月 2024 14:56:50 +0800 Subject: [PATCH] 1、设备管理页面设备种类字段改成重要程度字段;新增设备异常状态字段,若表格记录的设备状态不为正常时,则标红此表格记录 2、设备利用率、设备开动率、班次利用率以及设备综合效率分析新增按照重要程度字段查询表格数据;左侧树数据新增参数key,用来过滤异常状态设备 3、设备利用率页面新增设备型号字段 --- src/views/system/modules/SelectDeviceModal.vue | 22 ---------------------- 1 files changed, 0 insertions(+), 22 deletions(-) diff --git a/src/views/system/modules/SelectDeviceModal.vue b/src/views/system/modules/SelectDeviceModal.vue index 4b28bc2..599de84 100644 --- a/src/views/system/modules/SelectDeviceModal.vue +++ b/src/views/system/modules/SelectDeviceModal.vue @@ -103,36 +103,16 @@ this.autoExpandParent = false }, queryTreeData(value) { - // this.loading = true - // this.cardLoading = true - // this.QueryProduction().then(res => { - // if (res.success) { - // this.dataList = [] - // this.allTreeKeys = [] - // this.getTreeDataSouce(res.result) - // this.treeDataSource = res.result - // this.generateList(this.treeDataSource) - // console.log('treeDataSource', this.treeDataSource) - // this.expandedKeys = this.allTreeKeys - // } else { - // this.$message.warn(res.message) - // } - // }).finally(() => { - // this.loading = false - // this.cardLoading = false - // }) this.loading = true this.selectedWorkshopIds = value getAction(this.url.getDeviceTree, { ids: value }) .then(res => { - console.log('res===============', res) if (res.success) { this.dataList = [] this.allTreeKeys = [] this.getTreeDataSouce(res.result) this.treeDataSource = res.result this.generateList(this.treeDataSource) - console.log('treeDataSource', this.treeDataSource) this.expandedKeys = this.allTreeKeys } else { this.$notification.warning({ @@ -188,9 +168,7 @@ }, onCheck(value, obj) { this.checkedKeys = value - console.log('obj,', obj) this.deviceNodes = obj.checkedNodes.filter(item => item.data.props.equipmentId).map(item => item.data.props.equipmentId) - console.log(this.deviceNodes) }, handleCancel() { this.visible = false -- Gitblit v1.9.3