From fe8842f9caa8ae657fabc485283bca910869b848 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期三, 16 八月 2023 09:26:42 +0800 Subject: [PATCH] 设备配置中关于部门的权限处理;设备工作日历界面的配置弹窗中的日历选中效果修改;设备日志界面的历史记录界面不显示报警信息显示的问题处理;设备日志界面的工作曲线的时间的选择弹窗关闭的问题处理;设备统计分析界面的饼图的开机率关机率的问题处理;统计图表界面的样式调整 --- src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue | 30 +++++++++++++++++++++++++----- 1 files changed, 25 insertions(+), 5 deletions(-) diff --git a/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue b/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue index 2941cbd..99dfe82 100644 --- a/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue +++ b/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue @@ -146,7 +146,11 @@ this.treeDataSource = res.result this.generateList(res.result) } else { - this.$message.warn(res.message) + // this.$message.warn(res.message) + this.$notification.warning({ + message:'娑堟伅', + description:res.message + }); } }).finally(() =>{ this.loading = false @@ -247,12 +251,20 @@ }, batchDel: function(entity) { if (!this.url.deleteBatch) { - this.$message.error('璇疯缃畊rl.deleteBatch灞炴��!') + // this.$message.error('璇疯缃畊rl.deleteBatch灞炴��!') + this.$notification.warning({ + message:'娑堟伅', + description:"璇疯缃畊rl.deletBatch灞炴�э紒" + }); return } let ids = entity.id if (!ids) { - this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒') + // this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒') + this.$notification.warning({ + message:'娑堟伅', + description:"璇烽�夋嫨涓�鏉¤褰�" + }); return } else { var that = this @@ -263,10 +275,18 @@ that.loading = true deleteAction(that.url.deleteBatch, { ids: ids }).then((res) => { if (res.success) { - that.$message.success(res.message) + // that.$message.success(res.message) + that.$notification.warning({ + message:'娑堟伅', + description:res.message + }); that.queryTreeData(); } else { - that.$message.warning(res.message) + // that.$message.warning(res.message) + that.$notification.warning({ + message:'娑堟伅', + description:res.message + }); } }).finally(() => { that.loading = false -- Gitblit v1.9.3