From 9b3e7c3c47dc27e531a7b954aa2b3ba500c84b78 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期四, 10 八月 2023 16:33:18 +0800 Subject: [PATCH] 项目整体弹窗提示 --- src/views/mdc/base/modules/deviceLog/WorkChartModel.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue b/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue index 50aa166..7ab489d 100644 --- a/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue +++ b/src/views/mdc/base/modules/deviceLog/WorkChartModel.vue @@ -129,10 +129,8 @@ return current && current > moment().endOf("day"); }, initPlainOptions(param) { - console.log(param) let that = this let equipment = param.equipmentId - console.log(equipment) getAction(this.url.initPlainOptions,{equipmentId:equipment}).then((res) => { if (res.success) { @@ -213,7 +211,11 @@ if (e.length <= 3) { this.option = e } else { - this.$message.warn('鏈�澶氬彧鑳介�夋嫨3涓�') + // this.$message.warn('鏈�澶氬彧鑳介�夋嫨3涓�') + this.$notification.warning({ + message:'娑堟伅', + description:'鏈�澶氬彧鑳介�夋嫨涓変釜' + }); return false } }, @@ -337,7 +339,11 @@ } getAction(this.url.workChart, param).then((res) => { if(JSON.stringify(res.result) == '[]' || res.result == null){ - this.$message.warning('鏃犳暟鎹紒') + // this.$message.warning('鏃犳暟鎹紒') + this.$notification.warning({ + message:'娑堟伅', + description:'鏃犳暟鎹�!' + }); this.spinning = false; _this.workChart.setOption(option,true) }else{ -- Gitblit v1.9.3