소스 검색

检查任务

luojun 2 년 전
부모
커밋
c865cffa2c
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/check/dialog.edit.vue
  2. 1 0
      src/views/check/index.vue

+ 3 - 0
src/views/check/dialog.edit.vue

@@ -402,11 +402,14 @@ export default {
         })
 
       }else{
+        this.formData.id=null;
         this.formData.planName= null;
         this.formData.planType= null;
         this.formData.planCycle= null;
         this.formData.planStatus= null;
         this.formData.execOrgType= null;
+        this.formData.checkOrgType= null;
+        this.formData.checkType= null;
         this.formData.roleNames= null;
         this.formData.count= null;
         this.formData.description= null;

+ 1 - 0
src/views/check/index.vue

@@ -455,6 +455,7 @@ export default {
       this.getList();
     },
     handleAdd(id, other = {}) {
+      id=null;
       this.$refs.editDialog.show(id, other);
     },
     onEdit(id, other = {}) {