董国庆
2025-07-01 4ca375b2e3dae98d6ececc1b7b421a12f3fa8a26
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();
        }
      });