From 07e3e588a730569b8f1cd3227c8649208337e4b0 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期二, 19 十二月 2023 13:35:36 +0800 Subject: [PATCH] 1、调整网站标题为MDC智慧车间 2、设备管理页面新增弹窗中统一编码选择弹窗中的查询区域样式调整 3、设备参数阈值管理页面添加参数阈值弹窗中原默认驱动类型为空,现调整为首位数据,且无参数时显示请选择参数 4、加工数量管理页面新增弹窗中选择标准加工时间弹窗中的查询区域样式调整 5、加班管理页面新增弹窗中班次选择弹窗中的查询区域样式调整 --- src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue | 31 ++++++++++++++++++++++++++----- 1 files changed, 26 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..f6eb2c5 100644 --- a/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue +++ b/src/views/mdc/base/modules/DepartList/DepartListTree/DepartTree.vue @@ -145,8 +145,13 @@ this.allTreeKeys = [] this.treeDataSource = res.result this.generateList(res.result) + this.expandedKeys=this.allTreeKeys } else { - this.$message.warn(res.message) + // this.$message.warn(res.message) + this.$notification.warning({ + message:'娑堟伅', + description:res.message + }); } }).finally(() =>{ this.loading = false @@ -247,12 +252,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 +276,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