From 7b7b911780e10272a9e85aa2d5e9a63b0f2c7f88 Mon Sep 17 00:00:00 2001
From: yz_08 <yz_0812@outlook.com>
Date: 星期三, 17 三月 2021 01:50:36 +0800
Subject: [PATCH] 修改bug

---
 src/views/user/Informationinput.vue |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/src/views/user/Informationinput.vue b/src/views/user/Informationinput.vue
index 90ca9bc..a369b0d 100644
--- a/src/views/user/Informationinput.vue
+++ b/src/views/user/Informationinput.vue
@@ -4384,6 +4384,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     selectWorkExperience() {
       this.tableUrl = 'hr/empWorkExperience/list'
@@ -4437,6 +4440,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanWorkExperience() {
       this.workExperienceForm.empId = ''
@@ -4536,6 +4542,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanPhysicalExam() {
       this.physicalExamForm.empId = ''
@@ -4640,6 +4649,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanContractInfo() {
       this.contractInfoForm.empId = ''
@@ -4748,6 +4760,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanDimissionAttend() {
       this.dimissionAttendForm.empId = ''
@@ -4854,6 +4869,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanLeaveInfo() {
       this.leaveInfoForm.empId = ''
@@ -4962,6 +4980,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanResign() {
       this.resignForm.empId = ''
@@ -5064,6 +5085,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanUnemployment() {
       this.unemploymentForm.empId = ''
@@ -5168,6 +5192,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanInsurance() {
       this.insuranceForm.empId = ''
@@ -5275,6 +5302,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanAccidentCases() {
       this.accidentCasesForm.empId = ''
@@ -5407,6 +5437,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanOccupational() {
       this.occupationalForm.empId = ''
@@ -5559,6 +5592,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanLaborTrouble() {
       this.laborTroubleForm.empId = ''
@@ -5692,6 +5728,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     editBadRecord(row) {
       this.isAdd = false
@@ -5768,6 +5807,9 @@
           }
         }
       })
+      setTimeout(() => {
+        this.$refs[formName].clearValidate()
+      }, 1500)
     },
     cleanRemarkInfo() {
       this.remarkInfoForm.empId = ''

--
Gitblit v1.8.0