dfs-page-config 0.5.24 → 0.5.25
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.
package/dist/dfs-page-config.js
CHANGED
|
@@ -27423,7 +27423,7 @@ const padding = (k, L) => (new Array(L).join("0") + k).slice(-L), formatDate = (
|
|
|
27423
27423
|
const { url: L, fileName: ie, params: ae, store: pe } = k;
|
|
27424
27424
|
pe.commit("setLoading", !0), axios.defaults.withCredentials = !0, axios.defaults.timeout = 6e4, axios.defaults.responseType = "blob", axios.defaults.headers = getRequestHeaders(L);
|
|
27425
27425
|
let _e = (k.method || "post").toLowerCase();
|
|
27426
|
-
axios[_e](handleProxy(L), ae).then(function(xe) {
|
|
27426
|
+
return axios[_e](handleProxy(L), ae).then(function(xe) {
|
|
27427
27427
|
var ze;
|
|
27428
27428
|
const Oe = (ze = xe.headers["content-disposition"]) == null ? void 0 : ze.split("filename=")[1], Ne = URL.createObjectURL(xe.data);
|
|
27429
27429
|
var Ie = document.createElement("a");
|
|
@@ -29762,7 +29762,9 @@ const Upload = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$
|
|
|
29762
29762
|
params: tr,
|
|
29763
29763
|
store
|
|
29764
29764
|
};
|
|
29765
|
-
downLoadData(nr)
|
|
29765
|
+
downLoadData(nr).then((er) => {
|
|
29766
|
+
Ue.openDownloadCenter && store.commit("setUploadDownloadDialogVisible", !0);
|
|
29767
|
+
});
|
|
29766
29768
|
}
|
|
29767
29769
|
function ze(Ue) {
|
|
29768
29770
|
if (Ue.showDialogBefore) {
|
|
@@ -29799,7 +29801,7 @@ const Upload = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$
|
|
|
29799
29801
|
// exportData
|
|
29800
29802
|
};
|
|
29801
29803
|
}
|
|
29802
|
-
}),
|
|
29804
|
+
}), ButtonGroup_vue_vue_type_style_index_0_scoped_882d9cfd_lang = "", ButtonGroup_vue_vue_type_style_index_1_lang = "", _hoisted_1$g = ["onClick"];
|
|
29803
29805
|
function _sfc_render$g(k, L, ie, ae, pe, _e) {
|
|
29804
29806
|
const xe = Upload, Oe = ElIcon, Ne = ElButton;
|
|
29805
29807
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29855,7 +29857,7 @@ function _sfc_render$g(k, L, ie, ae, pe, _e) {
|
|
|
29855
29857
|
renderSlot(k.$slots, "default", {}, void 0, !0)
|
|
29856
29858
|
], 4);
|
|
29857
29859
|
}
|
|
29858
|
-
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
29860
|
+
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-882d9cfd"]]), _sfc_main$g = defineComponent({
|
|
29859
29861
|
props: {
|
|
29860
29862
|
gridApi: {
|
|
29861
29863
|
type: Object,
|