From 3b7ed32fb0d22be7d1b7e23e7101e29a5b2dfb40 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期三, 28 二月 2024 20:33:50 +0800
Subject: [PATCH] 修改了备忘录内容

---
 ruoyi-ui/src/views/device/memo.vue |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/ruoyi-ui/src/views/device/memo.vue b/ruoyi-ui/src/views/device/memo.vue
index 3b38ebc..55e5714 100644
--- a/ruoyi-ui/src/views/device/memo.vue
+++ b/ruoyi-ui/src/views/device/memo.vue
@@ -51,6 +51,7 @@
             v-model='formDat.happenTime'
             type='date'
             placeholder='閫夋嫨鏃ユ湡'
+			value-format="yyyy-MM-dd"
           ></el-date-picker>
         </el-form-item>
 
@@ -162,7 +163,7 @@
         happenTime: [{
           required: true,
           message: '璇烽�夋嫨鏃ユ湡閫夋嫨',
-          trigger: 'change'
+          trigger: 'blur'
         }],
         content: [{
           required: true,
@@ -336,7 +337,7 @@
       this.formDat.fid = 2017;
       this.formDat.cid = cid ;
       this.formDat.url = ul+","+uls
-
+		let _this = this
       this.$refs["elForm"].validate(valid => {
         if (valid) {
 
@@ -344,17 +345,17 @@
             this.$modal.msgSuccess("鏂板鎴愬姛");
             this.open = false;
             // this.queryParams.cid = cid
-            // this.queryParams.fid = fid
-            this.getList(this.formDat.fid,this.formDat.cid);
-
+     
+            this.getList(_this.formDat.fid,_this.formDat.cid);
+   //娓呯┖formDat瀵硅薄鐨勬暟鎹�
+      Object.keys(this.formDat).forEach(key => {
+        this.formDat[key] = '';
+      });
             resetQuery();
           });
         }
       });
-      //娓呯┖formDat瀵硅薄鐨勬暟鎹�
-      Object.keys(this.formDat).forEach(key => {
-        this.formDat[key] = '';
-      });
+   
     },
     requestUpload(params)
     {

--
Gitblit v1.9.1