slw 1.0.0-beta.17.3 → 1.0.0-beta.17.5
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Po = Object.defineProperty;
|
|
2
2
|
var Do = (G, H, X) => H in G ? Po(G, H, { enumerable: !0, configurable: !0, writable: !0, value: X }) : G[H] = X;
|
|
3
3
|
var Eo = (G, H, X) => (Do(G, typeof H != "symbol" ? H + "" : H, X), X);
|
|
4
|
-
import { shallowRef, watchEffect, readonly, ref as ref$2, watch, customRef, getCurrentScope, onScopeDispose, effectScope, provide, inject, version as version$8, isRef, unref, computed, reactive, toRefs as toRefs$2, toRef as toRef$2, getCurrentInstance, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive, defineComponent, shallowReactive, h as h$3, Fragment, TransitionGroup, onUpdated, markRaw, isReadonly, onBeforeUpdate, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createVNode as createVNode$1, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderList, createBlock, onActivated, onDeactivated, toRaw, mergeProps as mergeProps$1, normalizeStyle as normalizeStyle$1, createSlots, toDisplayString, resolveDynamicComponent, createTextVNode, normalizeProps, guardReactiveProps,
|
|
4
|
+
import { shallowRef, watchEffect, readonly, ref as ref$2, watch, customRef, getCurrentScope, onScopeDispose, effectScope, provide, inject, version as version$8, isRef, unref, computed, reactive, toRefs as toRefs$2, toRef as toRef$2, getCurrentInstance, onBeforeMount, nextTick, onBeforeUnmount, onMounted, onUnmounted, isReactive, defineComponent, shallowReactive, h as h$3, Fragment, TransitionGroup, onUpdated, markRaw, isReadonly, onBeforeUpdate, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createVNode as createVNode$1, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderList, createBlock, onActivated, onDeactivated, toRaw, mergeProps as mergeProps$1, normalizeStyle as normalizeStyle$1, createSlots, toDisplayString, resolveDynamicComponent, createTextVNode, normalizeProps, guardReactiveProps, withModifiers, renderSlot, defineAsyncComponent, isVNode, Comment, Text as Text$3, Transition, Teleport, render as render$2, cloneVNode, withDirectives, resolveDirective, vShow, camelize as camelize$2, createStaticVNode, createApp } from "vue";
|
|
5
5
|
import { useRoute } from "vue-router";
|
|
6
6
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function getDefaultExportFromCjs(G) {
|
|
@@ -53257,7 +53257,7 @@ WindowCharts.name = "slw-window-charts";
|
|
|
53257
53257
|
WindowCharts.install = (G) => {
|
|
53258
53258
|
G.component(WindowCharts.name, WindowCharts);
|
|
53259
53259
|
};
|
|
53260
|
-
const
|
|
53260
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_44fc9c10_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-44fc9c10"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
|
|
53261
53261
|
class: "slw-window-grid-container",
|
|
53262
53262
|
style: { height: "100%" }
|
|
53263
53263
|
}, _hoisted_2$k_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$h_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$aA = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4_ = [
|
|
@@ -53267,7 +53267,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e0ef89f5_lang = "", _withScop
|
|
|
53267
53267
|
], _hoisted_6$22 = {
|
|
53268
53268
|
key: 0,
|
|
53269
53269
|
style: { verticalAlign: "middle" }
|
|
53270
|
-
}, _hoisted_7$15 = ["id"], _hoisted_8$I = { class: "vxe-grid--form-wrapper" }, _hoisted_9$o = ["id"], _hoisted_10$r = ["onClick"], _hoisted_11$
|
|
53270
|
+
}, _hoisted_7$15 = ["id"], _hoisted_8$I = { class: "vxe-grid--form-wrapper" }, _hoisted_9$o = ["id"], _hoisted_10$r = ["onClick"], _hoisted_11$h = { class: "slw-form-item" }, _hoisted_12$8 = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "el-input__icon" }, "下限:", -1)), _hoisted_13$4 = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", null, "—", -1)), _hoisted_14$1 = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "el-input__icon" }, "上限:", -1)), _hoisted_15$1 = ["id"], _hoisted_16$3 = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("i", {
|
|
53271
53271
|
class: "iconfont icon-carryout",
|
|
53272
53272
|
style: { cursor: "pointer", padding: "0" }
|
|
53273
53273
|
}, null, -1)), _hoisted_17 = { style: { "font-size": "18px", "margin-right": "8px" } }, _hoisted_18 = {
|
|
@@ -53288,7 +53288,9 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e0ef89f5_lang = "", _withScop
|
|
|
53288
53288
|
emits: ["update:gridData", "jumpDesign"],
|
|
53289
53289
|
setup(__props, { expose: __expose, emit }) {
|
|
53290
53290
|
const props = __props, axios = inject("$axios"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), regionMap = inject("$regionMap"), focusInput = inject("$focusInput"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $T = inject("$t"), httpHeaders = inject("$httpHeaders"), addGridClickEvent = inject("$addGridClickEvent"), showPreView = inject("$showPreView"), showPreViewClose = inject("$showPreViewClose"), preViewCloseCallback = inject("$preViewCloseCallback"), toggleModalLoading = inject("$toggleModalLoading"), closePreModal = inject("$closePreModal"), rowDbClick = inject("$rowDbClick"), $Modal = inject("$modal"), $qs = inject("$qs"), $ElMessage = inject("$ElMessage"), $vxeMessage = inject("$vxeMessage"), $vxeConfirm = inject("$vxeConfirm"), $vxeOpen = inject("$vxeOpen"), $vxeReadFile = inject("$vxeReadFile"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), openDrawer = inject("$openDrawer"), closeDrawer = inject("$closeDrawer"), evalDefaultValue = inject("$evalDefaultValue"), callGridClickEvents = inject("$callGridClickEvents"), ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), $components = inject("$components"), $componentsPath = inject("$componentsPath"), $externalFun = inject("$externalFun"), beginEdit = inject("$beginEdit"), endEdit = inject("$endEdit"), route = useRoute();
|
|
53291
|
-
let success = inject("$success", null), error = inject("$error", null)
|
|
53291
|
+
let success = inject("$success", null), error = inject("$error", null);
|
|
53292
|
+
const executeFun = inject("$executeFun");
|
|
53293
|
+
let gridData = useVModel$1(props, "gridData", emit), rowIndex = ref$2(0), isImport = ref$2(!1), importUrl = ref$2(`${(axios == null ? void 0 : axios.baseUrl) || ""}/window/import`), importBtnId = ref$2(""), uploadConfig = ref$2({
|
|
53292
53294
|
show: !1,
|
|
53293
53295
|
dataId: "",
|
|
53294
53296
|
regionId: "",
|
|
@@ -55048,7 +55050,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e0ef89f5_lang = "", _withScop
|
|
|
55048
55050
|
fe.itemRender.name === "ElInputNumber" ? {
|
|
55049
55051
|
name: "default",
|
|
55050
55052
|
fn: withCtx(() => [
|
|
55051
|
-
createElementVNode("div", _hoisted_11$
|
|
55053
|
+
createElementVNode("div", _hoisted_11$h, [
|
|
55052
55054
|
createVNode$1(ee, {
|
|
55053
55055
|
class: "slw-input-number",
|
|
55054
55056
|
modelValue: unref(queryFormData)[fe.field],
|
|
@@ -55307,12 +55309,12 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e0ef89f5_lang = "", _withScop
|
|
|
55307
55309
|
]);
|
|
55308
55310
|
};
|
|
55309
55311
|
}
|
|
55310
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
55312
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-44fc9c10"]]);
|
|
55311
55313
|
WindowGrid.name = "slw-window-grid";
|
|
55312
55314
|
WindowGrid.install = (G) => {
|
|
55313
55315
|
G.component(WindowGrid.name, WindowGrid);
|
|
55314
55316
|
};
|
|
55315
|
-
const
|
|
55317
|
+
const fileUpload_vue_vue_type_style_index_0_scoped_2e2158ea_lang = "", _withScopeId$8 = (G) => (pushScopeId("data-v-2e2158ea"), G = G(), popScopeId(), G), _hoisted_1$l2 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("div", { class: "el-upload__tip" }, "大小不超过20MB的文件.", -1)), _hoisted_2$kZ = { class: "el-upload-list el-upload-list--text" }, _hoisted_3$hZ = {
|
|
55316
55318
|
class: "el-upload-list__item is-success",
|
|
55317
55319
|
tabindex: "0"
|
|
55318
55320
|
}, _hoisted_4$az = {
|
|
@@ -55320,7 +55322,7 @@ const fileUpload_vue_vue_type_style_index_0_scoped_b6b5a57d_lang = "", _withScop
|
|
|
55320
55322
|
style: { width: "calc(100% - 45px)" }
|
|
55321
55323
|
}, _hoisted_5$4Z = { class: "el-upload-list__item-name" }, _hoisted_6$21 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("i", { class: "iconfont icon-document" }, null, -1)), _hoisted_7$14 = ["title"], _hoisted_8$H = ["onClick"], _hoisted_9$n = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("label", { class: "el-upload-list__item-status-label" }, [
|
|
55322
55324
|
/* @__PURE__ */ createElementVNode("i", { class: "iconfont icon-circle-check el-icon--upload-success" })
|
|
55323
|
-
], -1)), _hoisted_10$q = ["onClick"], _sfc_main$f = {
|
|
55325
|
+
], -1)), _hoisted_10$q = ["onClick"], _hoisted_11$g = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("i", { class: "iconfont icon-download1" }, null, -1)), _sfc_main$f = {
|
|
55324
55326
|
__name: "file-upload",
|
|
55325
55327
|
props: {
|
|
55326
55328
|
uploadConfig: {
|
|
@@ -55340,16 +55342,30 @@ const fileUpload_vue_vue_type_style_index_0_scoped_b6b5a57d_lang = "", _withScop
|
|
|
55340
55342
|
emits: ["update:filePreviewList"],
|
|
55341
55343
|
setup(G, { emit: H }) {
|
|
55342
55344
|
const X = G, Q = inject("$httpHeaders"), K = inject("$vxeMessage"), Z = inject("$axios"), ee = inject("$qs"), te = inject("$t"), ne = inject("$vxeConfirm");
|
|
55343
|
-
let re = ref$2(), oe = ref$2(`${(Z == null ? void 0 : Z.baseUrl) || ""}/dataFile/upload/`), ae = useVModel$1(X, "filePreviewList", H), se = useVModel$1(X, "fileFormData", H), le = ref$2({ dataId: "", columnId: "" })
|
|
55344
|
-
|
|
55345
|
-
|
|
55346
|
-
|
|
55345
|
+
let re = ref$2(), oe = ref$2(`${(Z == null ? void 0 : Z.baseUrl) || ""}/dataFile/upload/`), ae = useVModel$1(X, "filePreviewList", H), se = useVModel$1(X, "fileFormData", H), le = ref$2({ dataId: "", columnId: "" }), ce = ref$2(!1), ue = ref$2(!1), de = ref$2(), he = ref$2({
|
|
55346
|
+
border: !0,
|
|
55347
|
+
height: 700,
|
|
55348
|
+
rowConfig: {
|
|
55349
|
+
isCurrent: !0,
|
|
55350
|
+
isHover: !0
|
|
55351
|
+
},
|
|
55352
|
+
columns: [
|
|
55353
|
+
{ field: "name", title: "文件名", align: "center" },
|
|
55354
|
+
{ field: "created", title: "创建时间", sortable: !0 },
|
|
55355
|
+
{ field: "deleteDate", title: "删除时间", sortable: !0 },
|
|
55356
|
+
{ fixed: "right", title: "操作", align: "center", slots: { default: "operation" }, colId: "_operation_" }
|
|
55357
|
+
],
|
|
55358
|
+
data: []
|
|
55359
|
+
});
|
|
55360
|
+
const fe = computed(() => X.uploadConfig.openType == "view"), pe = (Te) => {
|
|
55361
|
+
re.value.handleRemove(Te);
|
|
55362
|
+
}, me = async (Te) => {
|
|
55347
55363
|
if (await ne(te("确定删除?"), void 0, { zIndex: 3e3 }) === "confirm")
|
|
55348
|
-
Z.post(`/dataFile/delete/${
|
|
55349
|
-
if (
|
|
55350
|
-
let
|
|
55351
|
-
se.value.splice(
|
|
55352
|
-
content:
|
|
55364
|
+
Z.post(`/dataFile/delete/${Te.id}`).then((ke) => {
|
|
55365
|
+
if (ke.data.result) {
|
|
55366
|
+
let Oe = se.value.findIndex((De) => De == Te.id);
|
|
55367
|
+
se.value.splice(Oe, 1), K({
|
|
55368
|
+
content: ke.data.msg,
|
|
55353
55369
|
status: "success",
|
|
55354
55370
|
zIndex: 3e3
|
|
55355
55371
|
});
|
|
@@ -55357,9 +55373,9 @@ const fileUpload_vue_vue_type_style_index_0_scoped_b6b5a57d_lang = "", _withScop
|
|
|
55357
55373
|
});
|
|
55358
55374
|
else
|
|
55359
55375
|
return !1;
|
|
55360
|
-
},
|
|
55361
|
-
ne(te("确定下载?"), void 0, { zIndex: 3e3 }).then((
|
|
55362
|
-
|
|
55376
|
+
}, ge = (Te) => {
|
|
55377
|
+
ne(te("确定下载?"), void 0, { zIndex: 3e3 }).then((Pe) => {
|
|
55378
|
+
Pe === "confirm" && Z.export(`/dataFile/download/${Te.id}`).then((ke) => {
|
|
55363
55379
|
K({
|
|
55364
55380
|
content: "下载成功!",
|
|
55365
55381
|
status: "success",
|
|
@@ -55367,111 +55383,168 @@ const fileUpload_vue_vue_type_style_index_0_scoped_b6b5a57d_lang = "", _withScop
|
|
|
55367
55383
|
});
|
|
55368
55384
|
});
|
|
55369
55385
|
});
|
|
55370
|
-
},
|
|
55386
|
+
}, ve = (Te, Pe) => {
|
|
55371
55387
|
K({
|
|
55372
55388
|
content: "允许上传文件的最大数量为1",
|
|
55373
55389
|
status: "error",
|
|
55374
55390
|
zIndex: 3e3
|
|
55375
55391
|
});
|
|
55376
|
-
},
|
|
55377
|
-
|
|
55378
|
-
var
|
|
55379
|
-
return ((
|
|
55380
|
-
id:
|
|
55381
|
-
name:
|
|
55382
|
-
} :
|
|
55383
|
-
}), se.value.push(
|
|
55384
|
-
content:
|
|
55392
|
+
}, we = (Te, Pe) => {
|
|
55393
|
+
Te.result ? (ae.value = ae.value.map((ke) => {
|
|
55394
|
+
var Oe;
|
|
55395
|
+
return ((Oe = ke.response) == null ? void 0 : Oe.id) == Te.id ? {
|
|
55396
|
+
id: Te.id,
|
|
55397
|
+
name: Pe.name
|
|
55398
|
+
} : ke;
|
|
55399
|
+
}), se.value.push(Te.id), K({
|
|
55400
|
+
content: Te.msg,
|
|
55385
55401
|
status: "success",
|
|
55386
55402
|
zIndex: 3e3
|
|
55387
55403
|
})) : K({
|
|
55388
|
-
content:
|
|
55404
|
+
content: Te.msg,
|
|
55389
55405
|
status: "error",
|
|
55390
55406
|
zIndex: 3e3
|
|
55391
55407
|
});
|
|
55392
|
-
},
|
|
55393
|
-
ae.value = [], Z.post(`/dataFile/list/${X.uploadConfig.regionId}/${X.uploadConfig.dataId}`).then(async (
|
|
55394
|
-
if (
|
|
55395
|
-
let
|
|
55396
|
-
for (let
|
|
55397
|
-
|
|
55398
|
-
id:
|
|
55399
|
-
name:
|
|
55400
|
-
columnName:
|
|
55401
|
-
}), se.value.push(
|
|
55402
|
-
ae.value =
|
|
55408
|
+
}, $e = () => {
|
|
55409
|
+
ae.value = [], Z.post(`/dataFile/list/${X.uploadConfig.regionId}/${X.uploadConfig.dataId}`).then(async (Te) => {
|
|
55410
|
+
if (Te.data.result && Te.data.list.length > 0) {
|
|
55411
|
+
let Pe = [];
|
|
55412
|
+
for (let ke of Te.data.list)
|
|
55413
|
+
ke.columnName == X.fieldId && (Pe.push({
|
|
55414
|
+
id: ke.id,
|
|
55415
|
+
name: ke.name,
|
|
55416
|
+
columnName: ke.columnName
|
|
55417
|
+
}), se.value.push(ke.id));
|
|
55418
|
+
ae.value = Pe;
|
|
55403
55419
|
}
|
|
55404
55420
|
});
|
|
55421
|
+
}, Se = () => {
|
|
55422
|
+
ue.value = !0, Z.post(`/dataFile/logs/${X.uploadConfig.regionId}/${X.uploadConfig.dataId}`).then(async (Te) => {
|
|
55423
|
+
ue.value = !1, Te.data.result && Te.data.list.length > 0 && (he.value.data = Te.data.list.filter((Pe) => !["jpg", "png"].includes(Pe.type.toLocaleLowerCase())).sort((Pe, ke) => new Date(ke.created) - new Date(Pe.created))), ce.value = !0;
|
|
55424
|
+
}).catch((Te) => {
|
|
55425
|
+
ue.value = !1;
|
|
55426
|
+
});
|
|
55427
|
+
}, be = (Te) => {
|
|
55428
|
+
ne(te("确定下载历史文件?"), void 0, { zIndex: 3e3 }).then((Pe) => {
|
|
55429
|
+
Pe === "confirm" && Z.export(`/dataFile/download/${Te.id}`).then((ke) => {
|
|
55430
|
+
K({
|
|
55431
|
+
content: "下载成功!",
|
|
55432
|
+
status: "success",
|
|
55433
|
+
zIndex: 3e3
|
|
55434
|
+
});
|
|
55435
|
+
});
|
|
55436
|
+
});
|
|
55405
55437
|
};
|
|
55406
55438
|
return watch(
|
|
55407
55439
|
() => X.uploadConfig,
|
|
55408
|
-
(
|
|
55409
|
-
oe.value +=
|
|
55440
|
+
(Te) => {
|
|
55441
|
+
oe.value += Te.regionId, X.fieldId && (le.value.columnId = X.fieldId), Te.dataId && (le.value.dataId = Te.dataId, $e());
|
|
55410
55442
|
},
|
|
55411
55443
|
{ deep: !0, immediate: !0 }
|
|
55412
|
-
), (
|
|
55413
|
-
const
|
|
55414
|
-
return openBlock(),
|
|
55415
|
-
|
|
55416
|
-
|
|
55417
|
-
|
|
55418
|
-
|
|
55419
|
-
|
|
55420
|
-
|
|
55421
|
-
|
|
55422
|
-
|
|
55423
|
-
|
|
55424
|
-
|
|
55425
|
-
|
|
55426
|
-
|
|
55427
|
-
|
|
55428
|
-
|
|
55429
|
-
|
|
55430
|
-
|
|
55431
|
-
|
|
55432
|
-
|
|
55433
|
-
createElementVNode("
|
|
55434
|
-
createElementVNode("
|
|
55435
|
-
createElementVNode("
|
|
55436
|
-
|
|
55437
|
-
|
|
55438
|
-
|
|
55439
|
-
|
|
55440
|
-
|
|
55441
|
-
|
|
55442
|
-
|
|
55443
|
-
|
|
55444
|
-
|
|
55445
|
-
|
|
55446
|
-
|
|
55447
|
-
|
|
55448
|
-
|
|
55449
|
-
|
|
55450
|
-
|
|
55451
|
-
|
|
55452
|
-
|
|
55453
|
-
|
|
55454
|
-
|
|
55444
|
+
), (Te, Pe) => {
|
|
55445
|
+
const ke = resolveComponent("el-button"), Oe = resolveComponent("el-upload"), De = resolveComponent("vxe-grid"), _e = resolveComponent("el-dialog");
|
|
55446
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
55447
|
+
createVNode$1(Oe, {
|
|
55448
|
+
ref_key: "fileUploadRef",
|
|
55449
|
+
ref: re,
|
|
55450
|
+
"file-list": unref(ae),
|
|
55451
|
+
"onUpdate:fileList": Pe[0] || (Pe[0] = (ye) => isRef(ae) ? ae.value = ye : ae = ye),
|
|
55452
|
+
class: "upload-file",
|
|
55453
|
+
disabled: fe.value,
|
|
55454
|
+
headers: unref(Q)(),
|
|
55455
|
+
action: unref(oe),
|
|
55456
|
+
data: unref(le),
|
|
55457
|
+
"on-exceed": ve,
|
|
55458
|
+
"on-success": we,
|
|
55459
|
+
"before-remove": me
|
|
55460
|
+
}, {
|
|
55461
|
+
tip: withCtx(() => [
|
|
55462
|
+
_hoisted_1$l2
|
|
55463
|
+
]),
|
|
55464
|
+
file: withCtx(({ file: ye }) => [
|
|
55465
|
+
createElementVNode("ul", _hoisted_2$kZ, [
|
|
55466
|
+
createElementVNode("li", _hoisted_3$hZ, [
|
|
55467
|
+
createElementVNode("div", _hoisted_4$az, [
|
|
55468
|
+
createElementVNode("a", _hoisted_5$4Z, [
|
|
55469
|
+
_hoisted_6$21,
|
|
55470
|
+
createElementVNode("span", {
|
|
55471
|
+
class: "el-upload-list__item-file-name",
|
|
55472
|
+
title: ye.name
|
|
55473
|
+
}, toDisplayString(ye.name), 9, _hoisted_7$14)
|
|
55474
|
+
])
|
|
55475
|
+
]),
|
|
55476
|
+
createElementVNode("i", {
|
|
55477
|
+
class: "iconfont icon-download1",
|
|
55478
|
+
style: { color: "#67c23a", cursor: "pointer" },
|
|
55479
|
+
onClick: (Ce) => ge(ye),
|
|
55480
|
+
title: "下载"
|
|
55481
|
+
}, null, 8, _hoisted_8$H),
|
|
55482
|
+
_hoisted_9$n,
|
|
55483
|
+
createElementVNode("i", {
|
|
55484
|
+
class: "iconfont icon-close2 el-icon--close el-icon",
|
|
55485
|
+
title: "删除",
|
|
55486
|
+
onClick: (Ce) => pe(ye)
|
|
55487
|
+
}, null, 8, _hoisted_10$q)
|
|
55488
|
+
])
|
|
55455
55489
|
])
|
|
55456
|
-
])
|
|
55457
|
-
|
|
55458
|
-
|
|
55459
|
-
|
|
55460
|
-
|
|
55461
|
-
|
|
55462
|
-
|
|
55463
|
-
|
|
55464
|
-
|
|
55465
|
-
|
|
55466
|
-
|
|
55467
|
-
|
|
55468
|
-
|
|
55469
|
-
|
|
55470
|
-
|
|
55471
|
-
|
|
55490
|
+
]),
|
|
55491
|
+
default: withCtx(() => [
|
|
55492
|
+
createVNode$1(ke, {
|
|
55493
|
+
type: "primary",
|
|
55494
|
+
size: "small",
|
|
55495
|
+
disabled: fe.value
|
|
55496
|
+
}, {
|
|
55497
|
+
default: withCtx(() => [
|
|
55498
|
+
createTextVNode(" 上传文件 ")
|
|
55499
|
+
]),
|
|
55500
|
+
_: 1
|
|
55501
|
+
}, 8, ["disabled"]),
|
|
55502
|
+
createVNode$1(ke, {
|
|
55503
|
+
type: "info",
|
|
55504
|
+
size: "small",
|
|
55505
|
+
loading: unref(ue),
|
|
55506
|
+
onClick: withModifiers(Se, ["stop"])
|
|
55507
|
+
}, {
|
|
55508
|
+
default: withCtx(() => [
|
|
55509
|
+
createTextVNode(" 历史文件 ")
|
|
55510
|
+
]),
|
|
55511
|
+
_: 1
|
|
55512
|
+
}, 8, ["loading", "onClick"])
|
|
55513
|
+
]),
|
|
55514
|
+
_: 1
|
|
55515
|
+
}, 8, ["file-list", "disabled", "headers", "action", "data"]),
|
|
55516
|
+
createVNode$1(_e, {
|
|
55517
|
+
modelValue: unref(ce),
|
|
55518
|
+
"onUpdate:modelValue": Pe[1] || (Pe[1] = (ye) => isRef(ce) ? ce.value = ye : ce = ye),
|
|
55519
|
+
title: unref(te)("历史文件")
|
|
55520
|
+
}, {
|
|
55521
|
+
default: withCtx(() => [
|
|
55522
|
+
createVNode$1(De, mergeProps$1({
|
|
55523
|
+
ref_key: "logsRegionRef",
|
|
55524
|
+
ref: de
|
|
55525
|
+
}, unref(he)), {
|
|
55526
|
+
operation: withCtx(({ row: ye, rowIndex: Ce }) => [
|
|
55527
|
+
createVNode$1(ke, {
|
|
55528
|
+
type: "primary",
|
|
55529
|
+
size: "small",
|
|
55530
|
+
onClick: (xe) => be(ye)
|
|
55531
|
+
}, {
|
|
55532
|
+
default: withCtx(() => [
|
|
55533
|
+
_hoisted_11$g,
|
|
55534
|
+
createTextVNode(" 下载文件 ")
|
|
55535
|
+
]),
|
|
55536
|
+
_: 2
|
|
55537
|
+
}, 1032, ["onClick"])
|
|
55538
|
+
]),
|
|
55539
|
+
_: 1
|
|
55540
|
+
}, 16)
|
|
55541
|
+
]),
|
|
55542
|
+
_: 1
|
|
55543
|
+
}, 8, ["modelValue", "title"])
|
|
55544
|
+
], 64);
|
|
55472
55545
|
};
|
|
55473
55546
|
}
|
|
55474
|
-
}, FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
55547
|
+
}, FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-2e2158ea"]]);
|
|
55475
55548
|
FileUpload.name = "slw-file-upload";
|
|
55476
55549
|
FileUpload.install = (G) => {
|
|
55477
55550
|
G.component(FileUpload.name, FileUpload);
|
|
@@ -77666,7 +77739,7 @@ var js = js$1.exports;
|
|
|
77666
77739
|
})(G);
|
|
77667
77740
|
})(js$1);
|
|
77668
77741
|
var jsExports = js$1.exports;
|
|
77669
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
77742
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_a52b66ae_lang = "", _withScopeId$7 = (G) => (pushScopeId("data-v-a52b66ae"), G = G(), popScopeId(), G), _hoisted_1$l1 = { class: "slw-window-form" }, _hoisted_2$kY = {
|
|
77670
77743
|
key: 0,
|
|
77671
77744
|
class: "form-title"
|
|
77672
77745
|
}, _hoisted_3$hY = ["onClick"], _hoisted_4$ay = ["onClick"], _hoisted_5$4Y = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _hoisted_8$G = ["onClick"], _sfc_main$e = {
|
|
@@ -77682,7 +77755,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
77682
77755
|
let regionMap = inject("$regionMap");
|
|
77683
77756
|
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), $externalFun = inject("$externalFun"), endEdit = inject("$endEdit"), route = useRoute();
|
|
77684
77757
|
let success = inject("$success", null), error = inject("$error", null);
|
|
77685
|
-
const $components = inject("$components"), $componentsPath = inject("$componentsPath");
|
|
77758
|
+
const $components = inject("$components"), $componentsPath = inject("$componentsPath"), executeFun = inject("$executeFun");
|
|
77686
77759
|
let formConfig = useVModel$1(props, "formConfig", emits), gridData = ref$2(formConfig.value), formData = ref$2({}), fieldColumnMap = ref$2({}), formDataClone = ref$2({}), formLoading = ref$2(!1), queryTimeout = ref$2(null);
|
|
77687
77760
|
const $modal = $Modal;
|
|
77688
77761
|
let uploadConfig = ref$2({
|
|
@@ -78684,7 +78757,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
78684
78757
|
]);
|
|
78685
78758
|
};
|
|
78686
78759
|
}
|
|
78687
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
78760
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a52b66ae"]]);
|
|
78688
78761
|
WindowForm.name = "slw-window-form";
|
|
78689
78762
|
WindowForm.install = (G) => {
|
|
78690
78763
|
G.component(WindowForm.name, WindowForm);
|
|
@@ -91755,7 +91828,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
91755
91828
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
91756
91829
|
setup(G, { emit: H }) {
|
|
91757
91830
|
const X = G, Q = defineAsyncComponent(
|
|
91758
|
-
() => import("./index-
|
|
91831
|
+
() => import("./index-b69133f9.js")
|
|
91759
91832
|
);
|
|
91760
91833
|
let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref$2(0), re = ref$2(null);
|
|
91761
91834
|
re.value = createDesigner();
|
|
@@ -91840,7 +91913,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
91840
91913
|
WindowDesigner.install = (G) => {
|
|
91841
91914
|
G.component(WindowDesigner.name, WindowDesigner);
|
|
91842
91915
|
};
|
|
91843
|
-
const
|
|
91916
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_c354513b_lang = "", _withScopeId$1 = (G) => (pushScopeId("data-v-c354513b"), G = G(), popScopeId(), G), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kR = { class: "child-table-p" }, _sfc_main$2 = {
|
|
91844
91917
|
__name: "window-index",
|
|
91845
91918
|
props: {
|
|
91846
91919
|
windowId: {
|
|
@@ -91852,6 +91925,9 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bdfedaab_lang = "", _withSco
|
|
|
91852
91925
|
},
|
|
91853
91926
|
height: {
|
|
91854
91927
|
type: [String, Number]
|
|
91928
|
+
},
|
|
91929
|
+
executeFun: {
|
|
91930
|
+
type: Object
|
|
91855
91931
|
}
|
|
91856
91932
|
},
|
|
91857
91933
|
emits: ["update:queryParams", "on-load-success", "close", "togglePreViewLoading"],
|
|
@@ -92765,7 +92841,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bdfedaab_lang = "", _withSco
|
|
|
92765
92841
|
document.removeEventListener("keydown", ctrlSSave);
|
|
92766
92842
|
}), watch([() => props.windowId, () => props.queryParams], () => {
|
|
92767
92843
|
loadData(), settPageHeight();
|
|
92768
|
-
}), provide("$addGridClickEvent", addGridClickEvent), provide("$callGridClickEvents", callGridClickEvents), provide("$evalDefaultValue", evalDefaultValue), provide("$showPreView", showPreView), provide("$showPreViewClose", showPreViewClose), provide("$preViewCloseCallback", preViewCloseCallback), provide("$openModal", openModal), provide("$closeModal", closeModal), provide("$openDrawer", openDrawer), provide("$closeDrawer", closeDrawer), provide("$closePreModal", closePreModal), provide("$rowDbClick", openEditWin), provide("$regionMap", regionMap), provide("$getRegion", getRegion), provide("$hiprint", hiprint), provide("$serverPrint", serverPrint), provide("$focusInput", focusInput), provide("$addOnActivatedFun", addOnActivatedFun), provide("$debounce", debounce), provide("$getInitData", getInitData), provide("$toggleModalLoading", toggleModalLoading), (G, H) => {
|
|
92844
|
+
}), provide("$addGridClickEvent", addGridClickEvent), provide("$callGridClickEvents", callGridClickEvents), provide("$evalDefaultValue", evalDefaultValue), provide("$showPreView", showPreView), provide("$showPreViewClose", showPreViewClose), provide("$preViewCloseCallback", preViewCloseCallback), provide("$openModal", openModal), provide("$closeModal", closeModal), provide("$openDrawer", openDrawer), provide("$closeDrawer", closeDrawer), provide("$closePreModal", closePreModal), provide("$rowDbClick", openEditWin), provide("$regionMap", regionMap), provide("$getRegion", getRegion), provide("$hiprint", hiprint), provide("$serverPrint", serverPrint), provide("$focusInput", focusInput), provide("$addOnActivatedFun", addOnActivatedFun), provide("$debounce", debounce), provide("$getInitData", getInitData), provide("$toggleModalLoading", toggleModalLoading), provide("$executeFun", props.executeFun), (G, H) => {
|
|
92769
92845
|
var ue;
|
|
92770
92846
|
const X = resolveComponent("el-tab-pane"), Q = resolveComponent("el-tabs"), K = resolveComponent("el-checkbox"), Z = resolveComponent("arrow-back"), ee = resolveComponent("el-icon"), te = resolveComponent("el-button"), ne = resolveComponent("arrow-forward"), re = resolveComponent("el-button-group"), oe = resolveComponent("save"), ae = resolveComponent("close"), se = resolveComponent("el-space"), le = resolveComponent("vxe-modal"), ce = resolveComponent("window-index", !0);
|
|
92771
92847
|
return openBlock(), createElementBlock("div", _hoisted_1$kS, [
|
|
@@ -93036,7 +93112,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_bdfedaab_lang = "", _withSco
|
|
|
93036
93112
|
]);
|
|
93037
93113
|
};
|
|
93038
93114
|
}
|
|
93039
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
93115
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-c354513b"]]);
|
|
93040
93116
|
WindowIndex.name = "slw-window-index";
|
|
93041
93117
|
WindowIndex.install = (G) => {
|
|
93042
93118
|
G.component(WindowIndex.name, WindowIndex);
|
|
@@ -159559,9 +159635,8 @@ function initVxeRenderer(G, H, X) {
|
|
|
159559
159635
|
filterable: !0,
|
|
159560
159636
|
clearable: !0,
|
|
159561
159637
|
treeDefaultExpandAll: !1,
|
|
159562
|
-
|
|
159563
|
-
|
|
159564
|
-
readonly: $e.readonly
|
|
159638
|
+
...$e,
|
|
159639
|
+
data: $e.treeData
|
|
159565
159640
|
}), null);
|
|
159566
159641
|
};
|
|
159567
159642
|
function re(ge) {
|
|
@@ -224369,7 +224444,7 @@ function reConsole() {
|
|
|
224369
224444
|
}
|
|
224370
224445
|
}
|
|
224371
224446
|
console.info(
|
|
224372
|
-
`%cSLW %cVer 1.0.0-beta.17.
|
|
224447
|
+
`%cSLW %cVer 1.0.0-beta.17.5%c
|
|
224373
224448
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
224374
224449
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
224375
224450
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pushScopeId as P, popScopeId as V, createElementVNode as h, resolveComponent as g, openBlock as o, createElementBlock as p, createBlock as f, normalizeClass as T, normalizeStyle as A, withModifiers as R, withCtx as r, renderSlot as q, createCommentVNode as _, Fragment as B, createVNode as s, mergeProps as k, renderList as j, toDisplayString as E, normalizeProps as K, guardReactiveProps as Q, resolveDynamicComponent as Z, defineAsyncComponent as $, computed as F, unref as D, withDirectives as ee, vShow as te } from "vue";
|
|
2
|
-
import { _ as x, d as S, a as L, u as N } from "./index-
|
|
2
|
+
import { _ as x, d as S, a as L, u as N } from "./index-8784112f.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
package/lib/index.js
CHANGED