wangting
2024-05-14 e330c3130c9eb0d7a10e1fe65885e5466263471e
Source/ProjectWeb/src/components/actions/AddEditDialog.vue
@@ -26,6 +26,7 @@
             :context="paramVOS.context"
             :inDialog="true"
             :canEdit="true"
             :actionType="type"
             :sourceData="sourceData"
             :dataStore="dataStore"
             :paramVOS="paramVOS"
@@ -42,7 +43,7 @@
<script>
import uiView from "@/views/base/UIContentViewerInDialog"
import {parseEventByUrl} from "@/actions/base/BaseAction"
import {parseEventByUrl} from "@/components/actions/base/BaseAction"
import {getFormDefineById,dataForm} from "@/api/base/ui";
import {addSave,editSave} from "@/api/base/actions"
import {validatenull} from "@/util/validate"
@@ -234,7 +235,7 @@
        addSave(datas,that.paramVOS.url,that.paramVOS.method).then(() => {
          that.$message({
            type: "success",
            message: "保存成功!"
            message: that.paramVOS.successmsg||"保存成功!"
          });
          if(that.saveCallback){
            that.saveCallback(that.type,that.form);
@@ -242,10 +243,10 @@
          that.dialogClose();
        });
      }else{
        editSave(that.form,that.paramVOS.url,that.paramVOS.method).then(() => {
        editSave(datas,that.paramVOS.url,that.paramVOS.method).then(() => {
          that.$message({
            type: "success",
            message: "修改成功!"
            message: that.paramVOS.successmsg||"修改成功!"
          });
          if(that.saveCallback){
            that.saveCallback(that.type,that.form);