董国庆
2025-09-12 c3ccabfc59431aea657379c72c2e09c8e1b27d18
laboratory/src/views/dataManagement/dispatching/components/AddGroupDialog.vue
@@ -101,8 +101,8 @@
    handleSubmit() {
      this.$refs.form.validate((valid) => {
        if (valid) {
          const eventName = this.isEdit ? "update" : "submit";
          this.$emit(eventName, {...this.form});
          const eventName = "submit";
          this.$emit(eventName, {...this.form,id:this.form.id || new Date().getTime()});
          this.handleClose();
        }
      });