From 8e75a78f55d60565eb48b25eafd4eb07939ce2cc Mon Sep 17 00:00:00 2001
From: zenglf <18502938215@163.com>
Date: 星期四, 28 九月 2023 14:09:05 +0800
Subject: [PATCH] Merge branch 'master' into develop

---
 src/views/mdc/base/modules/deviceRepair/DeviceRepairModelEdit.vue |   42 +++++++++++++++++++++++++++++++++++-------
 1 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/src/views/mdc/base/modules/deviceRepair/DeviceRepairModelEdit.vue b/src/views/mdc/base/modules/deviceRepair/DeviceRepairModelEdit.vue
index 2e61fa6..32cf083 100644
--- a/src/views/mdc/base/modules/deviceRepair/DeviceRepairModelEdit.vue
+++ b/src/views/mdc/base/modules/deviceRepair/DeviceRepairModelEdit.vue
@@ -248,11 +248,19 @@
             let dataStart = stertDate.replace(/:/g,'');
             if(this.editStart != startOne){
               if(startOne < dataStart) {
-                that.$message.warning("寮�濮嬫椂闂翠笉鑳藉皬浜庡綋鍓嶆椂闂�")
+                // that.$message.warning("寮�濮嬫椂闂翠笉鑳藉皬浜庡綋鍓嶆椂闂�")
+                that.$notification.warning({
+                  message:'娑堟伅',
+                  description:"寮�濮嬫椂闂翠笉鑳藉皬浜庡綋鍓嶆椂闂�"
+                });
                 that.confirmLoading = false
               }else{
                 if(startOne>=endOne){
-                  that.$message.warning("缁撴潫鏃堕棿涓嶈兘灏忎簬寮�濮嬫椂闂�");
+                  // that.$message.warning("缁撴潫鏃堕棿涓嶈兘灏忎簬寮�濮嬫椂闂�");
+                  that.$notification.warning({
+                    message:'娑堟伅',
+                    description:"缁撴潫鏃堕棿涓嶈兘灏忎簬褰撳墠鏃堕棿"
+                  });
                   // console.log(this.model)
                   // this.endTime = ''
                   that.confirmLoading = false
@@ -272,10 +280,18 @@
                   obj.then((res) => {
                     if (res.success) {
                       // that.$message.success("淇敼鎴愬姛")
-                      that.$message.success(res.message)
+                      // that.$message.success(res.message)
+                      that.$notification.warning({
+                        message:'娑堟伅',
+                        description:res.message
+                      });
                       that.$emit('ok', res.result)
                     } else {
-                      that.$message.warning(res.message)
+                      // that.$message.warning(res.message)
+                      that.$notification.warning({
+                        message:'娑堟伅',
+                        description:res.message
+                      });
                     }
                   }).finally(() => {
                     that.confirmLoading = false
@@ -285,7 +301,11 @@
               }
             }else{
               if(startOne>=endOne){
-                that.$message.warning("缁撴潫鏃堕棿涓嶈兘灏忎簬寮�濮嬫椂闂�");
+                // that.$message.warning("缁撴潫鏃堕棿涓嶈兘灏忎簬寮�濮嬫椂闂�");
+                that.$notification.warning({
+                  message:'娑堟伅',
+                  description:"缁撴潫鏃堕棿涓嶈兘灏忎簬寮�濮嬫椂闂�"
+                });
                 // console.log(this.model)
                 // this.endTime = ''
                 that.confirmLoading = false
@@ -305,10 +325,18 @@
                 obj.then((res) => {
                   if (res.success) {
                     // that.$message.success("淇敼鎴愬姛")
-                    that.$message.success(res.message)
+                    // that.$message.success(res.message)
+                    that.$notification.warning({
+                      message:'娑堟伅',
+                      description:res.message
+                    });
                     that.$emit('ok', res.result)
                   } else {
-                    that.$message.warning(res.message)
+                    // that.$message.warning(res.message)
+                    that.$notification.warning({
+                      message:'娑堟伅',
+                      description:res.message
+                    });
                   }
                 }).finally(() => {
                   that.confirmLoading = false

--
Gitblit v1.9.3