dfs-page-config 0.5.78 → 0.5.80
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 +17 -16
- package/dist/dfs-page-config.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
|
@@ -52960,12 +52960,14 @@ const Upload = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_rende
|
|
|
52960
52960
|
}
|
|
52961
52961
|
if (OAe.openDownloadCenter) {
|
|
52962
52962
|
let IAe = (OAe.method || "post").toUpperCase(), LAe = IAe == "GET" ? "params" : "data";
|
|
52963
|
-
service({
|
|
52963
|
+
store.commit("setLoading", !0), service({
|
|
52964
52964
|
url: store.state._BASE_URL + OAe.url,
|
|
52965
52965
|
[LAe]: { taskParam: FAe },
|
|
52966
52966
|
method: IAe
|
|
52967
52967
|
}).then((jAe) => {
|
|
52968
|
-
store.commit("setUploadDownloadDialogVisible", !0);
|
|
52968
|
+
store.commit("setUploadDownloadDialogVisible", !0), ElMessage.success(kh("导出成功,请稍后在下载中心查看"));
|
|
52969
|
+
}).finally(() => {
|
|
52970
|
+
store.commit("setLoading", !1);
|
|
52969
52971
|
});
|
|
52970
52972
|
} else {
|
|
52971
52973
|
const IAe = {
|
|
@@ -53018,7 +53020,7 @@ const Upload = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_rende
|
|
|
53018
53020
|
// exportData
|
|
53019
53021
|
};
|
|
53020
53022
|
}
|
|
53021
|
-
}),
|
|
53023
|
+
}), ButtonGroup_vue_vue_type_style_index_0_scoped_8b2b85de_lang = "", ButtonGroup_vue_vue_type_style_index_1_lang = "", _hoisted_1$j = ["onClick"];
|
|
53022
53024
|
function _sfc_render$g(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
53023
53025
|
const hAe = Upload, AAe = ElIcon, vAe = __unplugin_components_2$3, CAe = ElButton;
|
|
53024
53026
|
return openBlock(), createElementBlock("div", {
|
|
@@ -53080,7 +53082,7 @@ function _sfc_render$g(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
|
53080
53082
|
renderSlot(Ff.$slots, "default", {}, void 0, !0)
|
|
53081
53083
|
], 4);
|
|
53082
53084
|
}
|
|
53083
|
-
const ButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
53085
|
+
const ButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$g], ["__scopeId", "data-v-8b2b85de"]]), _sfc_main$h = defineComponent({
|
|
53084
53086
|
props: {
|
|
53085
53087
|
gridApi: {
|
|
53086
53088
|
type: Object,
|
|
@@ -125273,22 +125275,20 @@ let setWatermark = (Ff, kh, tAe, oAe, sAe, pAe, hAe, AAe, vAe) => {
|
|
|
125273
125275
|
);
|
|
125274
125276
|
let XAe = document.createElement("div");
|
|
125275
125277
|
return XAe.id = CAe, XAe.style.pointerEvents = "none", XAe.style.top = vAe == "body" ? "30px" : "0px", XAe.style.left = "0px", XAe.style.position = "fixed", XAe.style.zIndex = "9999", XAe.style.width = document.documentElement.clientWidth + "px", XAe.style.height = document.documentElement.clientHeight + "px", XAe.style.background = "url(" + wAe.toDataURL("image/png") + ") left top repeat", vAe == "body" ? document.body.appendChild(XAe) : document.querySelector(vAe).appendChild(XAe), CAe;
|
|
125276
|
-
}
|
|
125277
|
-
setTimeout(() => {
|
|
125278
|
-
clearInterval(pollInterval), console.warn("水印初始化超时:未能获取到用户信息");
|
|
125279
|
-
}, 1e4);
|
|
125278
|
+
};
|
|
125280
125279
|
const watermark = {
|
|
125280
|
+
count: 0,
|
|
125281
125281
|
init: () => {
|
|
125282
125282
|
const Ff = JSON.parse(localStorage.getItem("userInfo") || "{}"), kh = Ff.displayName || Ff.name;
|
|
125283
125283
|
if (kh) {
|
|
125284
125284
|
const tAe = [kh, new Date().toLocaleString().replace(/\//g, "-")];
|
|
125285
125285
|
watermark.set({
|
|
125286
125286
|
displayText: tAe
|
|
125287
|
-
})
|
|
125287
|
+
});
|
|
125288
125288
|
} else
|
|
125289
|
-
|
|
125289
|
+
watermark.count < 10 ? (setTimeout(() => {
|
|
125290
125290
|
watermark.init();
|
|
125291
|
-
}, 1e3);
|
|
125291
|
+
}, 1e3), watermark.count++) : console.warn("水印初始化超时:未能获取到用户信息");
|
|
125292
125292
|
},
|
|
125293
125293
|
set: ({
|
|
125294
125294
|
displayText: Ff = "",
|
|
@@ -129135,7 +129135,7 @@ const _sfc_main = defineComponent({
|
|
|
129135
129135
|
field: "fileName",
|
|
129136
129136
|
headerName: "文件名",
|
|
129137
129137
|
width: 200,
|
|
129138
|
-
cellRenderer: ({ data: LAe }) => `<a href="${LAe.fileUrl}" target="_blank">${LAe.fileName}</a>`
|
|
129138
|
+
cellRenderer: ({ data: LAe }) => LAe.fileUrl ? `<a href="${LAe.fileUrl}" target="_blank">${LAe.fileName}</a>` : LAe.fileName
|
|
129139
129139
|
},
|
|
129140
129140
|
{
|
|
129141
129141
|
field: "taskStatusName",
|
|
@@ -129237,9 +129237,9 @@ const _sfc_main = defineComponent({
|
|
|
129237
129237
|
stopPolling: sAe
|
|
129238
129238
|
};
|
|
129239
129239
|
}
|
|
129240
|
-
}),
|
|
129240
|
+
}), UploadDownloadCenter_vue_vue_type_style_index_0_scoped_4d249b38_lang = "", UploadDownloadCenter_vue_vue_type_style_index_1_lang = "", _withScopeId = (Ff) => (pushScopeId("data-v-4d249b38"), Ff = Ff(), popScopeId(), Ff), _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { class: "drag-button-text" }, "上传\\下载", -1)), _hoisted_2 = [
|
|
129241
129241
|
_hoisted_1
|
|
129242
|
-
], _hoisted_3 = { style: { height: "
|
|
129242
|
+
], _hoisted_3 = { style: { height: "72vh" } };
|
|
129243
129243
|
function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
129244
129244
|
const hAe = Page, AAe = ElDialog;
|
|
129245
129245
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -129253,12 +129253,13 @@ function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
|
129253
129253
|
})
|
|
129254
129254
|
}, _hoisted_2, 36),
|
|
129255
129255
|
createVNode(AAe, {
|
|
129256
|
+
class: "upload-download-center-dialog",
|
|
129256
129257
|
title: "上传/下载中心",
|
|
129257
129258
|
modelValue: Ff.dialogVisible,
|
|
129258
129259
|
"onUpdate:modelValue": kh[1] || (kh[1] = (vAe) => Ff.dialogVisible = vAe),
|
|
129259
129260
|
width: "80%",
|
|
129260
129261
|
"destroy-on-close": !0,
|
|
129261
|
-
top: "
|
|
129262
|
+
top: "6vh",
|
|
129262
129263
|
center: "",
|
|
129263
129264
|
onOpen: Ff.handleOpenDialog,
|
|
129264
129265
|
onClose: Ff.stopPolling
|
|
@@ -129272,7 +129273,7 @@ function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
|
129272
129273
|
}, 8, ["modelValue", "onOpen", "onClose"])
|
|
129273
129274
|
], 64);
|
|
129274
129275
|
}
|
|
129275
|
-
const UploadDownloadCenter = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
129276
|
+
const UploadDownloadCenter = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4d249b38"]]);
|
|
129276
129277
|
UploadDownloadCenter.install = (Ff) => Ff.component(UploadDownloadCenter.name, UploadDownloadCenter);
|
|
129277
129278
|
let timer = null, staticResourceMonitor = 2e3, apiRequestThreshold = 3e3;
|
|
129278
129279
|
const userInfo = JSON.parse(localStorage.getItem("userInfo") || "{}"), username = userInfo.name || userInfo.displayName || "", PERFORMANCE_SERVER_URL = "https://performance-monitor.prod.doublefs.com/api/performance";
|