Forráskód Böngészése

修复 新增回访刷新问题

1
mo 3 éve
szülő
commit
217af0a0ed

+ 1 - 0
src/views/smallStudentManager/components/tableList.vue

@@ -374,6 +374,7 @@
         :studentId="activeRow.userId"
         :studentName="activeRow.studentBasicInfo.userName"
         :groupType="groupType"
+        @getList='getList'
       />
     </el-dialog>
   </div>

+ 7 - 1
src/views/smallStudentManager/components/visiList.vue

@@ -126,7 +126,7 @@
         :detail="detail"
         :useVisitType="useVisitType"
         @close="visitVisiable = false"
-        @submited="getList"
+        @submited="refresh"
 
       />
     </el-dialog>
@@ -184,6 +184,12 @@ export default {
       };
       this.search();
     },
+    refresh(){
+
+      this.getList()
+         this.$emit('getList')
+    }
+    ,
     getList() {
       // cleanDeep
       let { timer, ...rest } = this.searchForm;