From c1cff08cdbcee3278c1ac8d8a3a067e3bf015202 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期三, 21 二月 2024 22:45:01 +0800
Subject: [PATCH] 提交新内容

---
 ruoyi-ui/src/views/self/show.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/ruoyi-ui/src/views/self/show.vue b/ruoyi-ui/src/views/self/show.vue
index fd5e651..237dbb5 100644
--- a/ruoyi-ui/src/views/self/show.vue
+++ b/ruoyi-ui/src/views/self/show.vue
@@ -1728,8 +1728,8 @@
    
     //涓昏缁忓巻
     saveRowExperienceList(row) {
-      this.$refs['elForm'].validate(valid => {
-        if (valid) {
+     // this.$refs['elForm'].validate(valid => {
+     //   if (valid) {
           const foundIndex = this.experienceList.findIndex(item => item.id === row.id);
           if (foundIndex !== -1) {
             const updatedData = Object.assign({}, this.experienceList[foundIndex], row);
@@ -1742,15 +1742,15 @@
           } else {
             this.$modal.msgError("淇敼澶辫触");
           }
-        }
-      });
+        //}
+     // });
       this.$set(row, 'isEdit', false);
       this.$set(this.editStatus, row.id, false);
     },
     //鎴愬憳鍏崇郴
     saveRowRelationList(row) {
-      this.$refs['elForm'].validate(valid => {
-        if (valid) {
+     // this.$refs['elForm'].validate(valid => {
+      //  if (valid) {
           const foundIndex = this.relationList.findIndex(item => item.id === row.id);
           if (foundIndex !== -1) {
             const updatedData = Object.assign({}, this.relationList[foundIndex], row);
@@ -1763,15 +1763,15 @@
           } else {
             this.$modal.msgError("淇敼澶辫触");
           }
-        }
-      });
+      //  }
+    //  });
       this.$set(row, 'isEdit', false);
       this.$set(this.editStatus, row.id, false);
     },
     //璇佷欢鎯呭喌
     saveRowCertificateList(row) {
-      this.$refs['elForm'].validate(valid => {
-        if (valid) {
+     // this.$refs['elForm'].validate(valid => {
+       // if (valid) {
           const foundIndex = this.certificateList.findIndex(item => item.id === row.id);
           if (foundIndex !== -1) {
             const updatedData = Object.assign({}, this.certificateList[foundIndex], row);
@@ -1784,15 +1784,15 @@
           } else {
             this.$modal.msgError("淇敼澶辫触");
           }
-        }
-      });
+     //   }
+      //});
       this.$set(row, 'isEdit', false);
       this.$set(this.editStatus, row.id, false);
     },
     //鍑哄浗鎯呭喌
     saveRowAbroadList(row) {
-      this.$refs['elForm'].validate(valid => {
-        if (valid) {
+     // this.$refs['elForm'].validate(valid => {
+     //   if (valid) {
           const foundIndex = this.AbroadList.findIndex(item => item.id === row.id);
           if (foundIndex !== -1) {
             const updatedData = Object.assign({}, this.AbroadList[foundIndex], row);
@@ -1805,8 +1805,8 @@
           } else {
             this.$modal.msgError("淇敼澶辫触");
           }
-        }
-      });
+     //   }
+     // });
       this.$set(row, 'isEdit', false);
       this.$set(this.editStatus, row.id, false);
     },

--
Gitblit v1.9.1