dfs-page-config 0.5.79 → 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 +11 -13
- package/dist/dfs-page-config.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
|
@@ -125275,22 +125275,20 @@ let setWatermark = (Ff, kh, tAe, oAe, sAe, pAe, hAe, AAe, vAe) => {
|
|
|
125275
125275
|
);
|
|
125276
125276
|
let XAe = document.createElement("div");
|
|
125277
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;
|
|
125278
|
-
}
|
|
125279
|
-
setTimeout(() => {
|
|
125280
|
-
clearInterval(pollInterval), console.warn("水印初始化超时:未能获取到用户信息");
|
|
125281
|
-
}, 1e4);
|
|
125278
|
+
};
|
|
125282
125279
|
const watermark = {
|
|
125280
|
+
count: 0,
|
|
125283
125281
|
init: () => {
|
|
125284
125282
|
const Ff = JSON.parse(localStorage.getItem("userInfo") || "{}"), kh = Ff.displayName || Ff.name;
|
|
125285
125283
|
if (kh) {
|
|
125286
125284
|
const tAe = [kh, new Date().toLocaleString().replace(/\//g, "-")];
|
|
125287
125285
|
watermark.set({
|
|
125288
125286
|
displayText: tAe
|
|
125289
|
-
})
|
|
125287
|
+
});
|
|
125290
125288
|
} else
|
|
125291
|
-
|
|
125289
|
+
watermark.count < 10 ? (setTimeout(() => {
|
|
125292
125290
|
watermark.init();
|
|
125293
|
-
}, 1e3);
|
|
125291
|
+
}, 1e3), watermark.count++) : console.warn("水印初始化超时:未能获取到用户信息");
|
|
125294
125292
|
},
|
|
125295
125293
|
set: ({
|
|
125296
125294
|
displayText: Ff = "",
|
|
@@ -129137,7 +129135,7 @@ const _sfc_main = defineComponent({
|
|
|
129137
129135
|
field: "fileName",
|
|
129138
129136
|
headerName: "文件名",
|
|
129139
129137
|
width: 200,
|
|
129140
|
-
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
|
|
129141
129139
|
},
|
|
129142
129140
|
{
|
|
129143
129141
|
field: "taskStatusName",
|
|
@@ -129239,9 +129237,9 @@ const _sfc_main = defineComponent({
|
|
|
129239
129237
|
stopPolling: sAe
|
|
129240
129238
|
};
|
|
129241
129239
|
}
|
|
129242
|
-
}),
|
|
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 = [
|
|
129243
129241
|
_hoisted_1
|
|
129244
|
-
], _hoisted_3 = { style: { height: "
|
|
129242
|
+
], _hoisted_3 = { style: { height: "72vh" } };
|
|
129245
129243
|
function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
129246
129244
|
const hAe = Page, AAe = ElDialog;
|
|
129247
129245
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -129255,13 +129253,13 @@ function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
|
129255
129253
|
})
|
|
129256
129254
|
}, _hoisted_2, 36),
|
|
129257
129255
|
createVNode(AAe, {
|
|
129256
|
+
class: "upload-download-center-dialog",
|
|
129258
129257
|
title: "上传/下载中心",
|
|
129259
129258
|
modelValue: Ff.dialogVisible,
|
|
129260
129259
|
"onUpdate:modelValue": kh[1] || (kh[1] = (vAe) => Ff.dialogVisible = vAe),
|
|
129261
129260
|
width: "80%",
|
|
129262
|
-
"max-width": "1200px",
|
|
129263
129261
|
"destroy-on-close": !0,
|
|
129264
|
-
top: "
|
|
129262
|
+
top: "6vh",
|
|
129265
129263
|
center: "",
|
|
129266
129264
|
onOpen: Ff.handleOpenDialog,
|
|
129267
129265
|
onClose: Ff.stopPolling
|
|
@@ -129275,7 +129273,7 @@ function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
|
|
|
129275
129273
|
}, 8, ["modelValue", "onOpen", "onClose"])
|
|
129276
129274
|
], 64);
|
|
129277
129275
|
}
|
|
129278
|
-
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"]]);
|
|
129279
129277
|
UploadDownloadCenter.install = (Ff) => Ff.component(UploadDownloadCenter.name, UploadDownloadCenter);
|
|
129280
129278
|
let timer = null, staticResourceMonitor = 2e3, apiRequestThreshold = 3e3;
|
|
129281
129279
|
const userInfo = JSON.parse(localStorage.getItem("userInfo") || "{}"), username = userInfo.name || userInfo.displayName || "", PERFORMANCE_SERVER_URL = "https://performance-monitor.prod.doublefs.com/api/performance";
|