dfs-page-config 0.3.75 → 0.3.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27569,7 +27569,7 @@ const _sfc_main$k = defineComponent({
27569
27569
  let ur = ((dr = lr.response) == null ? void 0 : dr.url) || lr.url;
27570
27570
  window.open(ur);
27571
27571
  }, tr = (lr, ur) => {
27572
- lr.code ? ElMessage.error(ae("上传失败")) : (lr.data.url = lr.data.sgUrl, Dt.value.push(lr.data), L.emit("fileUrlInfo", Dt.value), ElMessage.success(ae("上传成功"))), ie.commit("setLoading", !1);
27572
+ lr.code ? ElMessage.error(ae("上传失败")) : (lr.data.url = lr.data.sgUrl, Dt.value.push(lr.data.data), L.emit("fileUrlInfo", Dt.value), ElMessage.success(ae("上传成功"))), ie.commit("setLoading", !1);
27573
27573
  }, nr = (lr) => {
27574
27574
  ie.commit("setLoading", !0);
27575
27575
  const ur = _e.value.includes(lr.type), dr = lr.size / 1024 / 1024 < xe.value;
@@ -27600,7 +27600,7 @@ const _sfc_main$k = defineComponent({
27600
27600
  params: Oe
27601
27601
  };
27602
27602
  }
27603
- }), UploadComp_vue_vue_type_style_index_0_scoped_0f1113c9_lang = "", UploadComp_vue_vue_type_style_index_1_lang = "", _export_sfc = (k, L) => {
27603
+ }), UploadComp_vue_vue_type_style_index_0_scoped_af57d831_lang = "", UploadComp_vue_vue_type_style_index_1_lang = "", _export_sfc = (k, L) => {
27604
27604
  const ie = k.__vccOpts || k;
27605
27605
  for (const [ae, pe] of L)
27606
27606
  ie[ae] = pe;
@@ -27676,7 +27676,7 @@ function _sfc_render$j(k, L, ie, ae, pe, _e) {
27676
27676
  }, null, 8, ["modelValue", "title"])
27677
27677
  ], 64);
27678
27678
  }
27679
- const UploadComp = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j], ["__scopeId", "data-v-0f1113c9"]]), elSwitch = "", elTimeSelect = "", elScrollbar = "", elPopper = "", elInput = "", elTag = "", elOption = "", elOptionGroup = "", elSelect = "", elDatePicker = "", elCheckboxGroup = "", elCheckbox = "", elRadioButton = "", elRadioGroup = "", elRadio = "", elCascader = "", elCascaderPanel = "", elInputNumber = "", _sfc_main$j = defineComponent({
27679
+ const UploadComp = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j], ["__scopeId", "data-v-af57d831"]]), elSwitch = "", elTimeSelect = "", elScrollbar = "", elPopper = "", elInput = "", elTag = "", elOption = "", elOptionGroup = "", elSelect = "", elDatePicker = "", elCheckboxGroup = "", elCheckbox = "", elRadioButton = "", elRadioGroup = "", elRadio = "", elCascader = "", elCascaderPanel = "", elInputNumber = "", _sfc_main$j = defineComponent({
27680
27680
  props: {
27681
27681
  option: Object,
27682
27682
  formComp: Object,
@@ -27864,7 +27864,7 @@ const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["re
27864
27864
  let ur = ((dr = lr.response) == null ? void 0 : dr.url) || lr.url;
27865
27865
  window.open(ur);
27866
27866
  }, tr = (lr, ur) => {
27867
- lr.code ? ElMessage.error(ae("上传失败")) : (lr.data.url = lr.data.sgUrl, Dt.value.push(lr.data), L.emit("fileUrlInfo", Dt.value), ElMessage.success(ae("上传成功"))), ie.commit("setLoading", !1);
27867
+ lr.code ? ElMessage.error(ae("上传失败")) : (lr.data.url = lr.data.sgUrl, Dt.value.push(lr.data.data), L.emit("fileUrlInfo", Dt.value), ElMessage.success(ae("上传成功"))), ie.commit("setLoading", !1);
27868
27868
  }, nr = (lr) => {
27869
27869
  ie.commit("setLoading", !0);
27870
27870
  const ur = _e.value.includes(lr.type), dr = lr.size / 1024 / 1024 < xe.value;
@@ -27895,7 +27895,7 @@ const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["re
27895
27895
  params: Oe
27896
27896
  };
27897
27897
  }
27898
- }), uploadComp_vue_vue_type_style_index_0_scoped_25951272_lang = "", uploadComp_vue_vue_type_style_index_1_lang = "", _hoisted_1$e = { class: "el-upload__tip" };
27898
+ }), uploadComp_vue_vue_type_style_index_0_scoped_35e4ac26_lang = "", uploadComp_vue_vue_type_style_index_1_lang = "", _hoisted_1$e = { class: "el-upload__tip" };
27899
27899
  function _sfc_render$h(k, L, ie, ae, pe, _e) {
27900
27900
  const xe = ElButton, Oe = resolveComponent("Plus"), Ie = ElIcon, Ne = ElUpload, $e = ElDialog;
27901
27901
  return openBlock(), createElementBlock(Fragment, null, [
@@ -27966,7 +27966,7 @@ function _sfc_render$h(k, L, ie, ae, pe, _e) {
27966
27966
  }, null, 8, ["modelValue", "title"])
27967
27967
  ], 64);
27968
27968
  }
27969
- const uploadComp = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$h], ["__scopeId", "data-v-25951272"]]), _sfc_main$h = defineComponent({
27969
+ const uploadComp = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$h], ["__scopeId", "data-v-35e4ac26"]]), _sfc_main$h = defineComponent({
27970
27970
  name: "Form",
27971
27971
  components: { SearchTab: __unplugin_components_0$1, uploadComp },
27972
27972
  props: {
@@ -28024,25 +28024,25 @@ const uploadComp = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_ren
28024
28024
  _e.formData[kt] = Dt[kt];
28025
28025
  });
28026
28026
  }
28027
- function Ne(Dt) {
28027
+ function Ne(Dt, Ue) {
28028
28028
  if (pe.validate)
28029
- ae.value.validate((Ue) => {
28030
- if (Ue) {
28031
- if (!$e())
28029
+ ae.value.validate((kt) => {
28030
+ if (kt) {
28031
+ if (!$e(Ue))
28032
28032
  return;
28033
28033
  Pt(Dt);
28034
28034
  }
28035
28035
  });
28036
28036
  else {
28037
- if (!$e())
28037
+ if (!$e(Ue))
28038
28038
  return;
28039
28039
  Pt(Dt);
28040
28040
  }
28041
28041
  }
28042
- function $e() {
28042
+ function $e(Dt) {
28043
28043
  if (pe.submitBefore) {
28044
- let Dt = {};
28045
- if (pe.relation && (Dt = getRelationComp(ie, k.pageKey, pe.relation)), pe.submitBefore({ relation: Dt, formData: pe.formData, row: pe.row }) === !1)
28044
+ let Ue = {};
28045
+ if (pe.relation && (Ue = getRelationComp(ie, k.pageKey, pe.relation)), pe.submitBefore({ relation: Ue, formData: pe.formData, row: pe.row, triggerButton: Dt }) === !1)
28046
28046
  return !1;
28047
28047
  }
28048
28048
  return !0;
@@ -28078,7 +28078,7 @@ const uploadComp = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_ren
28078
28078
  remoteMethod: Oe
28079
28079
  };
28080
28080
  }
28081
- }), Form_vue_vue_type_style_index_0_scoped_37384b3f_lang = "", _hoisted_1$d = {
28081
+ }), Form_vue_vue_type_style_index_0_scoped_351b952c_lang = "", _hoisted_1$d = {
28082
28082
  key: 0,
28083
28083
  class: "mask"
28084
28084
  };
@@ -28393,7 +28393,7 @@ function _sfc_render$g(k, L, ie, ae, pe, _e) {
28393
28393
  _: 3
28394
28394
  }, 8, ["class", "model", "size", "inline", "label-width", "style"]);
28395
28395
  }
28396
- const Form = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-37384b3f"]]), _sfc_main$g = defineComponent({
28396
+ const Form = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-351b952c"]]), _sfc_main$g = defineComponent({
28397
28397
  name: "Upload",
28398
28398
  props: {
28399
28399
  url: String,
@@ -28648,7 +28648,7 @@ const Upload = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$
28648
28648
  function qe(Ue) {
28649
28649
  getTargetComp(store, k.pageKey, Ue.target).submit((jt) => {
28650
28650
  Pt(Ue.target), ElMessage.success(L("操作成功")), Ue.queryTarget && _e(Ue.queryTarget, Ue.partialUpdate);
28651
- });
28651
+ }, Ue);
28652
28652
  }
28653
28653
  function Dt(Ue, kt) {
28654
28654
  kt.queryTarget && _e(kt.queryTarget);
@@ -28662,7 +28662,7 @@ const Upload = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$
28662
28662
  // exportData
28663
28663
  };
28664
28664
  }
28665
- }), ButtonGroup_vue_vue_type_style_index_0_scoped_f3b4a189_lang = "", ButtonGroup_vue_vue_type_style_index_1_lang = "", _hoisted_1$c = ["onClick"];
28665
+ }), ButtonGroup_vue_vue_type_style_index_0_scoped_71c7daf0_lang = "", ButtonGroup_vue_vue_type_style_index_1_lang = "", _hoisted_1$c = ["onClick"];
28666
28666
  function _sfc_render$e(k, L, ie, ae, pe, _e) {
28667
28667
  const xe = Upload, Oe = ElIcon, Ie = ElButton;
28668
28668
  return openBlock(), createElementBlock("div", {
@@ -28719,7 +28719,7 @@ function _sfc_render$e(k, L, ie, ae, pe, _e) {
28719
28719
  }, void 0, !0)), 128))
28720
28720
  ], 4);
28721
28721
  }
28722
- const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e], ["__scopeId", "data-v-f3b4a189"]]), _sfc_main$e = defineComponent({
28722
+ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e], ["__scopeId", "data-v-71c7daf0"]]), _sfc_main$e = defineComponent({
28723
28723
  props: {
28724
28724
  gridApi: {
28725
28725
  type: Object,