slw 1.0.0-beta.5.1 → 1.0.0-beta.6
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,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-5a8c9d05.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const I = {
|
|
5
5
|
computed: {},
|
|
@@ -1090,7 +1090,7 @@ const je = { class: "form-widget-list" }, Fe = {
|
|
|
1090
1090
|
}, 8, ["list", "component-data"])
|
|
1091
1091
|
]));
|
|
1092
1092
|
}
|
|
1093
|
-
}, Ne = /* @__PURE__ */ x(Fe, [["__scopeId", "data-v-
|
|
1093
|
+
}, Ne = /* @__PURE__ */ x(Fe, [["__scopeId", "data-v-48225462"]]), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1094
1094
|
__proto__: null,
|
|
1095
1095
|
default: Ne
|
|
1096
1096
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -8525,7 +8525,7 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8525
8525
|
PictureUpload.install = (Q) => {
|
|
8526
8526
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8527
8527
|
};
|
|
8528
|
-
const
|
|
8528
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_958bb110_lang = "", _withScopeId$9 = (Q) => (pushScopeId("data-v-958bb110"), Q = Q(), popScopeId(), Q), _hoisted_1$l2 = {
|
|
8529
8529
|
class: "slw-window-grid-container",
|
|
8530
8530
|
style: { height: "100%" }
|
|
8531
8531
|
}, _hoisted_2$kZ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hZ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$az = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4Z = [
|
|
@@ -8548,7 +8548,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
8548
8548
|
},
|
|
8549
8549
|
emits: ["update:gridData", "jumpDesign"],
|
|
8550
8550
|
setup(__props, { expose: __expose, emit }) {
|
|
8551
|
-
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"), $vxeMessage = inject("$vxeMessage"), $vxeConfirm = inject("$vxeConfirm"), $vxeOpen = inject("$vxeOpen"), $vxeReadFile = inject("$vxeReadFile"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), evalDefaultValue = inject("$evalDefaultValue"), callGridClickEvents = inject("$callGridClickEvents"), ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), $components = inject("$components"), $componentsPath = inject("$componentsPath"), route = useRoute();
|
|
8551
|
+
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"), 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"), route = useRoute();
|
|
8552
8552
|
let gridData = useVModel$1(props, "gridData", emit), rowIndex = ref(0), isImport = ref(!1), importUrl = ref(`${(axios == null ? void 0 : axios.baseUrl) || ""}/window/import`), importBtnId = ref(""), uploadConfig = ref({
|
|
8553
8553
|
show: !1,
|
|
8554
8554
|
dataId: "",
|
|
@@ -8825,11 +8825,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
8825
8825
|
let G;
|
|
8826
8826
|
if (typeof H > "u" && Q.type !== "EXPORT" && (H = getSelectRecord() || getCheckedData(), G = getCheckedData(), gridData.value.type !== "EDIT_GRID" && Q.type !== "NEW" && Q.type !== "IMPORT" && Q.code.toUpperCase() !== "ROLLBACK" && Q.type !== "EVENT")) {
|
|
8827
8827
|
if (!H || H.length === 0) {
|
|
8828
|
-
$
|
|
8829
|
-
content: $T("请选择数据!"),
|
|
8830
|
-
status: "info",
|
|
8831
|
-
zIndex: 3e3
|
|
8832
|
-
});
|
|
8828
|
+
$message.success($T("请选择数据!"), "info");
|
|
8833
8829
|
return;
|
|
8834
8830
|
}
|
|
8835
8831
|
H.length > 0 && (H = H[0]);
|
|
@@ -8954,11 +8950,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
8954
8950
|
await editGridSetDefaultValue(oe), isEditGridInitData.value || await editGridInitData(oe), ne.setEditRow(oe);
|
|
8955
8951
|
} else {
|
|
8956
8952
|
if (gridData.value.params.parentRowId && !gridData.value.params.parentRowIdValue) {
|
|
8957
|
-
$
|
|
8958
|
-
content: $T("请选创建父窗口数据!"),
|
|
8959
|
-
status: "info",
|
|
8960
|
-
zIndex: 3e3
|
|
8961
|
-
});
|
|
8953
|
+
$message.success($T("请选创建父窗口数据!"), "info");
|
|
8962
8954
|
return;
|
|
8963
8955
|
}
|
|
8964
8956
|
let ne = Object.assign({}, gridData.value);
|
|
@@ -8995,21 +8987,9 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
8995
8987
|
let ae = "/window/delete";
|
|
8996
8988
|
Q.requestPath && (ae = Q.requestPath), $vxeConfirm($T("你确定删除?"), void 0, { zIndex: 3e3 }).then((le) => {
|
|
8997
8989
|
le === "confirm" && axios.post(ae, re).then((se) => {
|
|
8998
|
-
se.status === 200 && se.data.result ? (reload(), $
|
|
8999
|
-
content: se.data.msg,
|
|
9000
|
-
status: "info",
|
|
9001
|
-
zIndex: 3e3
|
|
9002
|
-
})) : $vxeMessage({
|
|
9003
|
-
content: se.data.msg,
|
|
9004
|
-
status: "error",
|
|
9005
|
-
zIndex: 3e3
|
|
9006
|
-
});
|
|
8990
|
+
se.status === 200 && se.data.result ? (reload(), $message.success($T(se.data.msg), "info")) : $message.error(se.data.msg);
|
|
9007
8991
|
}).catch((se) => {
|
|
9008
|
-
$
|
|
9009
|
-
content: se.msg,
|
|
9010
|
-
status: "error",
|
|
9011
|
-
zIndex: 3e3
|
|
9012
|
-
});
|
|
8992
|
+
$message.error(se.msg);
|
|
9013
8993
|
});
|
|
9014
8994
|
});
|
|
9015
8995
|
}
|
|
@@ -9045,11 +9025,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9045
9025
|
$vxeReadFile({ types: ["xml"] }).then(({ file: ne }) => {
|
|
9046
9026
|
const oe = new FormData();
|
|
9047
9027
|
oe.append("file", ne), axios.upload("windowButton/importWindow", oe).then((re) => {
|
|
9048
|
-
re.status === 200 && ($
|
|
9049
|
-
content: re.data.msg || $T("导入失败!"),
|
|
9050
|
-
status: "info",
|
|
9051
|
-
zIndex: 3e3
|
|
9052
|
-
}), re.data.result && reload()), Q.loading = !1;
|
|
9028
|
+
re.status === 200 && ($message.success($T(re.data.msg || $T("导入失败!")), "info"), re.data.result && reload()), Q.loading = !1;
|
|
9053
9029
|
});
|
|
9054
9030
|
}).catch((ne) => {
|
|
9055
9031
|
console.error(ne), Q.loading = !1;
|
|
@@ -9059,11 +9035,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9059
9035
|
}
|
|
9060
9036
|
else if (te === "EXPORT" && gridData.value.params.code == "Window") {
|
|
9061
9037
|
if (!H || H.length === 0) {
|
|
9062
|
-
$
|
|
9063
|
-
content: $T("请选择需要导出的窗口!"),
|
|
9064
|
-
status: "info",
|
|
9065
|
-
zIndex: 3e3
|
|
9066
|
-
}), Q.loading = !1;
|
|
9038
|
+
$message.success($T(response.data.msg || $T("请选择需要导出的窗口!")), "info"), Q.loading = !1;
|
|
9067
9039
|
return;
|
|
9068
9040
|
}
|
|
9069
9041
|
H.length > 0 && (H = H[0]), await axios.download("/windowButton/exportWindow", {
|
|
@@ -9074,11 +9046,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9074
9046
|
ne === "confirm" && axios.post("windowButton/generateColumn", {
|
|
9075
9047
|
datasourceId: H.SYS_DATASOURCE_ID
|
|
9076
9048
|
}).then((oe) => {
|
|
9077
|
-
$
|
|
9078
|
-
content: oe.data.msg,
|
|
9079
|
-
status: oe.data.result ? "success" : "error",
|
|
9080
|
-
zIndex: 3e3
|
|
9081
|
-
}), oe.data.result && reload(), Q.loading = !1;
|
|
9049
|
+
oe.data.result ? (reload(), $message.success(oe.data.msg)) : $message.error(oe.data.msg), Q.loading = !1;
|
|
9082
9050
|
});
|
|
9083
9051
|
});
|
|
9084
9052
|
else if (te === "DATA_VIEW")
|
|
@@ -9087,7 +9055,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9087
9055
|
width: "800px",
|
|
9088
9056
|
height: "500px",
|
|
9089
9057
|
title: $T("预览[") + H.NAME + $T("]的数据"),
|
|
9090
|
-
content: ne.data.result ? JSON.stringify(ne.data.data) : ne.data.msg
|
|
9058
|
+
content: ne.data.result ? JSON.stringify(ne.data.data, null, " ") : ne.data.msg
|
|
9091
9059
|
}), Q.loading = !1;
|
|
9092
9060
|
});
|
|
9093
9061
|
else if (te === "GENERATETABLE")
|
|
@@ -9095,11 +9063,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9095
9063
|
ne === "confirm" && axios.post("windowButton/generateTableStructure", {
|
|
9096
9064
|
dataSourceId: H.SYS_DATASOURCE_ID
|
|
9097
9065
|
}).then((oe) => {
|
|
9098
|
-
$
|
|
9099
|
-
content: oe.data.msg,
|
|
9100
|
-
status: oe.data.result ? "success" : "error",
|
|
9101
|
-
zIndex: 3e3
|
|
9102
|
-
}), oe.data.result && reload(), Q.loading = !1;
|
|
9066
|
+
oe.data.result ? (reload(), $message.success(oe.data.msg)) : $message.error(oe.data.msg), Q.loading = !1;
|
|
9103
9067
|
});
|
|
9104
9068
|
});
|
|
9105
9069
|
else if (te === "GENERATE_FIELD")
|
|
@@ -9107,11 +9071,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9107
9071
|
ne === "confirm" && axios.post("windowButton/generateField", {
|
|
9108
9072
|
regionId: H.SYS_WINDOW_REGION_ID
|
|
9109
9073
|
}).then((oe) => {
|
|
9110
|
-
$
|
|
9111
|
-
content: oe.data.msg,
|
|
9112
|
-
status: oe.data.result ? "success" : "error",
|
|
9113
|
-
zIndex: 3e3
|
|
9114
|
-
}), oe.data.result && reload(), Q.loading = !1;
|
|
9074
|
+
oe.data.result ? (reload(), $message.success(oe.data.msg)) : $message.error(oe.data.msg), Q.loading = !1;
|
|
9115
9075
|
});
|
|
9116
9076
|
});
|
|
9117
9077
|
else if (Q.windowId)
|
|
@@ -9239,11 +9199,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9239
9199
|
}, removeRow = (Q) => {
|
|
9240
9200
|
getCurRegion().remove(Q);
|
|
9241
9201
|
}, exportCurrentData = async () => {
|
|
9242
|
-
exportButton.value ? getCurRegion().exportData() : $
|
|
9243
|
-
content: $T("您没有导出数据权限!"),
|
|
9244
|
-
status: "error",
|
|
9245
|
-
zIndex: 3e3
|
|
9246
|
-
});
|
|
9202
|
+
exportButton.value ? getCurRegion().exportData() : $message.error($T("您没有导出数据权限!"));
|
|
9247
9203
|
}, exportData = async () => {
|
|
9248
9204
|
if (exportButton.value) {
|
|
9249
9205
|
const Q = Object.assign(
|
|
@@ -9254,11 +9210,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9254
9210
|
);
|
|
9255
9211
|
gridData.value.params.parentRowId && (Q[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), await axios.export("/window/export?data=" + base64Encode(JSON.stringify(Q)), {}), exportButton.value.loading = !1;
|
|
9256
9212
|
} else
|
|
9257
|
-
$
|
|
9258
|
-
content: $T("您没有导出数据权限!"),
|
|
9259
|
-
status: "error",
|
|
9260
|
-
zIndex: 3e3
|
|
9261
|
-
});
|
|
9213
|
+
$message.error($T("您没有导出数据权限!"));
|
|
9262
9214
|
}, search = (Q) => {
|
|
9263
9215
|
clearTimeout(queryTimeout.value), Q && Object.keys(Q).forEach((H) => {
|
|
9264
9216
|
const X = H.toLowerCase();
|
|
@@ -9268,13 +9220,9 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9268
9220
|
(H = getCurRegion()) == null || H.commitProxy("query");
|
|
9269
9221
|
}, 500);
|
|
9270
9222
|
}, importFormatError = (Q) => {
|
|
9271
|
-
$
|
|
9272
|
-
content: $T("导入文件格式错误"),
|
|
9273
|
-
status: "error",
|
|
9274
|
-
zIndex: 3e3
|
|
9275
|
-
});
|
|
9223
|
+
$message.error($T("导入文件格式错误!"));
|
|
9276
9224
|
}, importSuccess = (Q, H) => {
|
|
9277
|
-
Q.result && (isImport.value = !1, reload()), $
|
|
9225
|
+
Q.result && (isImport.value = !1, reload()), $message.success(Q.msg, "info");
|
|
9278
9226
|
}, downTemplate = () => {
|
|
9279
9227
|
let Q = getCurRegion(), H = Q.params.newDownTemplateUrl ? Q.params.newDownTemplateUrl : "/window/downloadTemplate";
|
|
9280
9228
|
axios.download(H, {
|
|
@@ -9347,10 +9295,11 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9347
9295
|
zIndex: 3e3
|
|
9348
9296
|
});
|
|
9349
9297
|
}, error = (Q) => {
|
|
9350
|
-
$
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9298
|
+
$ElMessage({
|
|
9299
|
+
showClose: !0,
|
|
9300
|
+
message: Q,
|
|
9301
|
+
type: "error",
|
|
9302
|
+
duration: 0
|
|
9354
9303
|
});
|
|
9355
9304
|
}, visibleMethod = ({ row: Q, type: H }) => {
|
|
9356
9305
|
let X = getCurRegion();
|
|
@@ -9389,11 +9338,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9389
9338
|
const H = getGrid();
|
|
9390
9339
|
let X = H.getCheckboxRecords();
|
|
9391
9340
|
if (X.length <= 0) {
|
|
9392
|
-
$
|
|
9393
|
-
content: $T("请勾选需要复制的行数据!"),
|
|
9394
|
-
status: "warning",
|
|
9395
|
-
zIndex: 3e3
|
|
9396
|
-
});
|
|
9341
|
+
$message.success($T("请勾选需要复制的行数据!"), "warning");
|
|
9397
9342
|
return;
|
|
9398
9343
|
}
|
|
9399
9344
|
let G = H.getRowSeq(X[X.length - 1]);
|
|
@@ -9409,11 +9354,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9409
9354
|
}, handleDeleteChildTableData = async () => {
|
|
9410
9355
|
const Q = getGrid();
|
|
9411
9356
|
if (Q.getCheckboxRecords().length <= 0) {
|
|
9412
|
-
$
|
|
9413
|
-
content: $T("请勾选需要删除的行数据!"),
|
|
9414
|
-
status: "warning",
|
|
9415
|
-
zIndex: 3e3
|
|
9416
|
-
});
|
|
9357
|
+
$message.success($T("请勾选需要删除的行数据!"), "warning");
|
|
9417
9358
|
return;
|
|
9418
9359
|
}
|
|
9419
9360
|
await $vxeConfirm($T("您确定要删除吗?")) === "confirm" && Q.removeCheckboxRow();
|
|
@@ -9739,7 +9680,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9739
9680
|
const G = Q.property, K = Q.data, Z = Q.item.itemRender.options;
|
|
9740
9681
|
await evalEvent(X, H, G, K, Z, "查询条件字段值改变事件");
|
|
9741
9682
|
}
|
|
9742
|
-
nextTick(() => {
|
|
9683
|
+
gridData.value.params.queryFieldChangeNoQuery || nextTick(() => {
|
|
9743
9684
|
reload();
|
|
9744
9685
|
});
|
|
9745
9686
|
}, setQueryFieldChangeFun = (Q, H) => {
|
|
@@ -9856,11 +9797,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9856
9797
|
type: "json",
|
|
9857
9798
|
data: K
|
|
9858
9799
|
}).then((Z) => {
|
|
9859
|
-
Z.data.result || $
|
|
9860
|
-
content: Z.data.msg,
|
|
9861
|
-
status: "error",
|
|
9862
|
-
zIndex: 3e3
|
|
9863
|
-
});
|
|
9800
|
+
Z.data.result || $message.error(Z.data.msg);
|
|
9864
9801
|
}).catch((Z) => {
|
|
9865
9802
|
console.error(Z);
|
|
9866
9803
|
});
|
|
@@ -9884,6 +9821,15 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9884
9821
|
}
|
|
9885
9822
|
}, setGridSlotsVuePath = async (Q, H) => {
|
|
9886
9823
|
gridData.value.params.slotsVuePath || (gridData.value.params.slotsVuePath = {}), H == "other_item" ? otherItemComponent.value = (await $components[`${$componentsPath}/${Q}`]()).default : H == "table_top" && (tableTopComponent.value = (await $components[`${$componentsPath}/${Q}`]()).default), (otherItemComponent.value || tableTopComponent.value) && (gridData.value.params.slotsVuePath[H] = Q, await nextTick(), regionMap.value[H + "-" + gridData.value.params.code + "-" + gridData.value.params.preTag] = H == "other_item" ? otherItem.value : tableTop.value, regionMap.value[H + "-" + gridData.value.params.code] = H == "other_item" ? otherItem.value : tableTop.value, getCurRegion().recalculate(!0));
|
|
9824
|
+
}, setCheckMethod = (Q) => {
|
|
9825
|
+
gridData.value.checkboxConfig.checkMethod = Q;
|
|
9826
|
+
}, setButtonDisplay = (Q, H) => {
|
|
9827
|
+
gridData.value.toolbarConfig.buttons.forEach((X) => {
|
|
9828
|
+
if (X.name == Q) {
|
|
9829
|
+
X.visible = H, X.showInGrid = H;
|
|
9830
|
+
return;
|
|
9831
|
+
}
|
|
9832
|
+
});
|
|
9887
9833
|
};
|
|
9888
9834
|
return onMounted(async () => {
|
|
9889
9835
|
gridData.value.addListener && getCurRegion() && addListener(), gridData.value.type === "TREE_STRUCTURE" && (gridData.value.menuConfig = {
|
|
@@ -9936,7 +9882,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
9936
9882
|
search(Q);
|
|
9937
9883
|
}, curRegion.value.getCheckedData = () => getCheckedData(), curRegion.value.getSelectRecord = () => getSelectRecord(), curRegion.value.setChecked = (Q) => {
|
|
9938
9884
|
setChecked(Q);
|
|
9939
|
-
}, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.removeRow = (Q) => removeRow(Q), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (Q, H) => setCheckboxRowColor(Q, H), curRegion.value.setFormValue = (Q, H) => setFormValue(Q, H), curRegion.value.setRowCellColor = (Q, H, X, G) => setRowCellColor(Q, H, X, G), curRegion.value.setFormSelectOption = (Q, H, X) => setFormSelectOption(Q, H, X), curRegion.value.getFormSelectOption = (Q, H) => getFormSelectOption(Q, H), curRegion.value.setColumnFixed = (Q, H) => setColumnFixed(Q, H), curRegion.value.getQueryForm = (Q) => getQueryForm(Q), curRegion.value.setCurrentRowByRowIndex = (Q, H) => setCurrentRowByRowIndex(Q, H), curRegion.value.setUploadData = (Q) => setUploadData(Q), curRegion.value.setQueryFieldChangeFun = (Q, H) => setQueryFieldChangeFun(Q, H), curRegion.value.setQueryFormItemDisplay = (Q, H) => setQueryFormItemDisplay(Q, H);
|
|
9885
|
+
}, curRegion.value.getParentRegion = () => getParentRegion(), curRegion.value.exportData = () => exportData(), curRegion.value.removeRow = (Q) => removeRow(Q), curRegion.value.clearGrid = () => clearGrid(), curRegion.value.setCheckboxRowColor = (Q, H) => setCheckboxRowColor(Q, H), curRegion.value.setFormValue = (Q, H) => setFormValue(Q, H), curRegion.value.setRowCellColor = (Q, H, X, G) => setRowCellColor(Q, H, X, G), curRegion.value.setFormSelectOption = (Q, H, X) => setFormSelectOption(Q, H, X), curRegion.value.getFormSelectOption = (Q, H) => getFormSelectOption(Q, H), curRegion.value.setColumnFixed = (Q, H) => setColumnFixed(Q, H), curRegion.value.getQueryForm = (Q) => getQueryForm(Q), curRegion.value.setCurrentRowByRowIndex = (Q, H) => setCurrentRowByRowIndex(Q, H), curRegion.value.setUploadData = (Q) => setUploadData(Q), curRegion.value.setQueryFieldChangeFun = (Q, H) => setQueryFieldChangeFun(Q, H), curRegion.value.setQueryFormItemDisplay = (Q, H) => setQueryFormItemDisplay(Q, H), curRegion.value.setCheckMethod = (Q) => setCheckMethod(Q), curRegion.value.setButtonDisplay = (Q, H) => setButtonDisplay(Q, H);
|
|
9940
9886
|
}), onUnmounted(() => {
|
|
9941
9887
|
document.removeEventListener("mousedown", tableOutDestroyAreaBox), document.removeEventListener("mouseup", tbodymouseup), document.removeEventListener("paste", ctrlVPaste), document.removeEventListener("copy", ctrlCopyAndCut), document.removeEventListener("cut", ctrlCopyAndCut);
|
|
9942
9888
|
}), __expose({ gridReload, reload }), (Q, H) => {
|
|
@@ -10225,7 +10171,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_e62f5f8c_lang = "", _withScop
|
|
|
10225
10171
|
]);
|
|
10226
10172
|
};
|
|
10227
10173
|
}
|
|
10228
|
-
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
10174
|
+
}, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-958bb110"]]);
|
|
10229
10175
|
WindowGrid.name = "slw-window-grid";
|
|
10230
10176
|
WindowGrid.install = (Q) => {
|
|
10231
10177
|
Q.component(WindowGrid.name, WindowGrid);
|
|
@@ -42537,7 +42483,7 @@ var js = js$1.exports;
|
|
|
42537
42483
|
})(Q);
|
|
42538
42484
|
})(js$1);
|
|
42539
42485
|
var jsExports = js$1.exports;
|
|
42540
|
-
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports),
|
|
42486
|
+
const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_8acccf9f_lang = "", _withScopeId$8 = (Q) => (pushScopeId("data-v-8acccf9f"), Q = Q(), popScopeId(), Q), _hoisted_1$l1 = { class: "slw-window-form" }, _hoisted_2$kY = {
|
|
42541
42487
|
key: 0,
|
|
42542
42488
|
class: "form-title"
|
|
42543
42489
|
}, _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$d = {
|
|
@@ -42549,9 +42495,9 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
42549
42495
|
},
|
|
42550
42496
|
emits: ["saveLoadingChange", "gridReload", "update:formConfig"],
|
|
42551
42497
|
setup(__props, { expose: __expose, emit: emits }) {
|
|
42552
|
-
const props = __props, axios = inject("$axios"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), showPreView = inject("$showPreView"), showPreViewClose = inject("$showPreViewClose"), preViewCloseCallback = inject("$preViewCloseCallback"), toggleModalLoading = inject("$toggleModalLoading"), $Modal = inject("$modal"), $qs = inject("$qs"), $vxeMessage = inject("$vxeMessage"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $vxeConfirm = inject("$vxeConfirm"), $T = inject("$t"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), focusInput = inject("$focusInput"), evalDefaultValue = inject("$evalDefaultValue");
|
|
42498
|
+
const props = __props, axios = inject("$axios"), hiprint = inject("$hiprint"), serverPrint = inject("$serverPrint"), showPreView = inject("$showPreView"), showPreViewClose = inject("$showPreViewClose"), preViewCloseCallback = inject("$preViewCloseCallback"), toggleModalLoading = inject("$toggleModalLoading"), $Modal = inject("$modal"), $qs = inject("$qs"), $ElMessage = inject("$ElMessage"), $vxeMessage = inject("$vxeMessage"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $vxeConfirm = inject("$vxeConfirm"), $T = inject("$t"), openModal = inject("$openModal"), closeModal = inject("$closeModal"), focusInput = inject("$focusInput"), evalDefaultValue = inject("$evalDefaultValue");
|
|
42553
42499
|
let regionMap = inject("$regionMap");
|
|
42554
|
-
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), route = useRoute();
|
|
42500
|
+
const ElMessageBox = inject("$ElMessageBox"), addOnActivatedFun = inject("$addOnActivatedFun"), debounce = inject("$debounce"), router = inject("$router"), $externalFun = inject("$externalFun"), route = useRoute();
|
|
42555
42501
|
let formConfig = useVModel$1(props, "formConfig", emits), gridData = ref(formConfig.value), formData = ref({}), fieldColumnMap = ref({}), formDataClone = ref({}), formLoading = ref(!1), queryTimeout = ref(null);
|
|
42556
42502
|
const $modal = $Modal;
|
|
42557
42503
|
let uploadConfig = ref({
|
|
@@ -42772,11 +42718,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
42772
42718
|
for (let Z in K)
|
|
42773
42719
|
K[Z] instanceof Array && (K[Z] = K[Z].toString());
|
|
42774
42720
|
axios.post(G, K).then((Z) => {
|
|
42775
|
-
emits("saveLoadingChange"), typeof Q < "u" && Q instanceof Object && (formConfig.value.showEdit = !Z.data.result, showPreViewClose()), $
|
|
42776
|
-
content: Z.data.msg,
|
|
42777
|
-
status: Z.data.result ? "success" : "error",
|
|
42778
|
-
zIndex: 3e3
|
|
42779
|
-
}), Z.data.result && (uploadConfig.value.isHaveImgField && !uploadConfig.value.dataId && updatePictureDataId(Z.data.id), evalEvent(formConfig.value.params.formEvents.afterSubmit, formData.value, Z.data, "表单提交后触发"), typeof Q < "u" && (Q instanceof Object || Q === !0) && emits("gridReload", formData.value._region_id, formConfig.value.openType === "new" ? 0 : null)), nextTick(() => {
|
|
42721
|
+
emits("saveLoadingChange"), typeof Q < "u" && Q instanceof Object && (formConfig.value.showEdit = !Z.data.result, showPreViewClose()), Z.data.result ? ($message.success(Z.data.msg), uploadConfig.value.isHaveImgField && !uploadConfig.value.dataId && updatePictureDataId(Z.data.id), evalEvent(formConfig.value.params.formEvents.afterSubmit, formData.value, Z.data, "表单提交后触发"), typeof Q < "u" && (Q instanceof Object || Q === !0) && emits("gridReload", formData.value._region_id, formConfig.value.openType === "new" ? 0 : null)) : $message.error(Z.data.msg), nextTick(() => {
|
|
42780
42722
|
formDataClone.value = XEUtils$4.clone(toRaw(formData.value), !0);
|
|
42781
42723
|
});
|
|
42782
42724
|
}).catch((Z) => {
|
|
@@ -43034,10 +42976,11 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43034
42976
|
zIndex: 3e3
|
|
43035
42977
|
});
|
|
43036
42978
|
}, error = (Q) => {
|
|
43037
|
-
$
|
|
43038
|
-
|
|
43039
|
-
|
|
43040
|
-
|
|
42979
|
+
$ElMessage({
|
|
42980
|
+
showClose: !0,
|
|
42981
|
+
message: Q,
|
|
42982
|
+
type: "error",
|
|
42983
|
+
duration: 0
|
|
43041
42984
|
});
|
|
43042
42985
|
}, assembleParentData = () => {
|
|
43043
42986
|
let Q = {}, H = formConfig.value.type === "FORM" ? getParentData() : formConfig.value.params.parentData;
|
|
@@ -43316,12 +43259,13 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43316
43259
|
} : ae.dataType === "STRING" && ae.canScan === !0 ? {
|
|
43317
43260
|
name: "default",
|
|
43318
43261
|
fn: withCtx(() => [
|
|
43319
|
-
createVNode(K, {
|
|
43262
|
+
createVNode(K, mergeProps$1({
|
|
43320
43263
|
modelValue: unref(formData)[ae.field],
|
|
43321
|
-
"onUpdate:modelValue": (le) => unref(formData)[ae.field] = le
|
|
43264
|
+
"onUpdate:modelValue": (le) => unref(formData)[ae.field] = le
|
|
43265
|
+
}, ae.itemRender.props, {
|
|
43322
43266
|
onKeyup: (le) => onIconInputEnter(ae, le),
|
|
43323
43267
|
onChange: (le) => onIconInputChange(ae)
|
|
43324
|
-
}, {
|
|
43268
|
+
}), {
|
|
43325
43269
|
suffix: withCtx(() => [
|
|
43326
43270
|
createElementVNode("i", {
|
|
43327
43271
|
class: "iconfont icon-scan1",
|
|
@@ -43330,19 +43274,20 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43330
43274
|
}, null, 8, ["onClick"])
|
|
43331
43275
|
]),
|
|
43332
43276
|
_: 2
|
|
43333
|
-
},
|
|
43277
|
+
}, 1040, ["modelValue", "onUpdate:modelValue", "onKeyup", "onChange"])
|
|
43334
43278
|
]),
|
|
43335
43279
|
key: "1"
|
|
43336
43280
|
} : ae.itemRender.props.suffixIconfont || ae.itemRender.props.prefixIconfont ? {
|
|
43337
43281
|
name: "default",
|
|
43338
43282
|
fn: withCtx(() => [
|
|
43339
|
-
createVNode(K, {
|
|
43283
|
+
createVNode(K, mergeProps$1({
|
|
43340
43284
|
modelValue: unref(formData)[ae.field],
|
|
43341
|
-
"onUpdate:modelValue": (le) => unref(formData)[ae.field] = le
|
|
43285
|
+
"onUpdate:modelValue": (le) => unref(formData)[ae.field] = le
|
|
43286
|
+
}, ae.itemRender.props, {
|
|
43342
43287
|
clearable: !1,
|
|
43343
43288
|
onKeyup: (le) => onIconInputEnter(ae, le),
|
|
43344
43289
|
onChange: (le) => onIconInputChange(ae)
|
|
43345
|
-
}, createSlots({ _: 2 }, [
|
|
43290
|
+
}), createSlots({ _: 2 }, [
|
|
43346
43291
|
ae.itemRender.props.suffixIconfont ? {
|
|
43347
43292
|
name: "suffix",
|
|
43348
43293
|
fn: withCtx(() => [
|
|
@@ -43364,7 +43309,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43364
43309
|
]),
|
|
43365
43310
|
key: "1"
|
|
43366
43311
|
} : void 0
|
|
43367
|
-
]),
|
|
43312
|
+
]), 1040, ["modelValue", "onUpdate:modelValue", "onKeyup", "onChange"])
|
|
43368
43313
|
]),
|
|
43369
43314
|
key: "2"
|
|
43370
43315
|
} : ae.dataType === "IMG" ? {
|
|
@@ -43464,7 +43409,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
|
|
|
43464
43409
|
]);
|
|
43465
43410
|
};
|
|
43466
43411
|
}
|
|
43467
|
-
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
43412
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-8acccf9f"]]);
|
|
43468
43413
|
WindowForm.name = "slw-window-form";
|
|
43469
43414
|
WindowForm.install = (Q) => {
|
|
43470
43415
|
Q.component(WindowForm.name, WindowForm);
|
|
@@ -59241,7 +59186,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
|
|
|
59241
59186
|
emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
|
|
59242
59187
|
setup(Q, { emit: H }) {
|
|
59243
59188
|
const X = Q, G = defineAsyncComponent(
|
|
59244
|
-
() => import("./index-
|
|
59189
|
+
() => import("./index-558310f4.js")
|
|
59245
59190
|
);
|
|
59246
59191
|
let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref(0), oe = ref(null);
|
|
59247
59192
|
oe.value = createDesigner();
|
|
@@ -59326,7 +59271,7 @@ WindowDesigner.name = "slw-window-designer";
|
|
|
59326
59271
|
WindowDesigner.install = (Q) => {
|
|
59327
59272
|
Q.component(WindowDesigner.name, WindowDesigner);
|
|
59328
59273
|
};
|
|
59329
|
-
const
|
|
59274
|
+
const windowIndex_vue_vue_type_style_index_0_scoped_f27378f8_lang = "", _withScopeId$1 = (Q) => (pushScopeId("data-v-f27378f8"), Q = Q(), popScopeId(), Q), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kR = { class: "child-table-p" }, _sfc_main$2 = {
|
|
59330
59275
|
__name: "window-index",
|
|
59331
59276
|
props: {
|
|
59332
59277
|
windowId: {
|
|
@@ -59342,11 +59287,11 @@ const windowIndex_vue_vue_type_style_index_0_scoped_23c28edc_lang = "", _withSco
|
|
|
59342
59287
|
},
|
|
59343
59288
|
emits: ["update:queryParams", "on-load-success", "close", "togglePreViewLoading"],
|
|
59344
59289
|
setup(__props, { emit }) {
|
|
59345
|
-
const props = __props, axios = inject("$axios"), $components = inject("$components"), $componentsPath = inject("$componentsPath"), $Modal = inject("$modal"), $
|
|
59290
|
+
const props = __props, axios = inject("$axios"), $components = inject("$components"), $componentsPath = inject("$componentsPath"), $Modal = inject("$modal"), $ElMessage = inject("$ElMessage"), $qs = inject("$qs"), hiprint = inject("$hiprint", ""), serverPrint = inject("$serverPrint", ""), $vxeMessage = inject("$vxeMessage"), $vxeConfirm = inject("$vxeConfirm"), $crypto = inject("$crypto"), base64Encode = inject("$base64Encode"), base64Decode = inject("$base64Decode"), $T = inject("$t"), $VXETableConfig = inject("$VXETableConfig"), $externalFun = inject("$externalFun");
|
|
59346
59291
|
let queryParams = useVModel$1(props, "queryParams", emit);
|
|
59347
59292
|
const xModal = ref();
|
|
59348
59293
|
let menuName = ref(""), rootLayout = ref({}), layoutHeight = ref(0), formConfig = ref({}), formRules = ref({}), regionIdRegionMap = ref({}), layoutIdRegionMap = ref({}), parentLayoutIdLayoutMap = ref({}), preViewShow = ref(!1), preViewLoading = ref(!1), preViewFooterShow = ref(!1), editModalLoading = ref(!1), preWindowId = ref(""), preWindowName = ref(""), preQueryParams = ref(null), preViewSubmitFun = ref(null), preViewCloseFun = ref(null), preViewWidth = ref(null), preViewHeight = ref(null), preViewCode = ref(""), componentModalData = ref({}), componentModalTitle = ref(""), isAutoSave = ref(!1), saveDataBtnLoading = ref(!1), preModalData = ref({}), preModalTitle = ref(""), regionMap = ref({}), preRegionMap;
|
|
59349
|
-
const gridClickEvents = ref([]), $modal = $Modal
|
|
59294
|
+
const gridClickEvents = ref([]), $modal = $Modal;
|
|
59350
59295
|
let designerShow = ref(!1), designerType = ref(""), designerViewData = ref({
|
|
59351
59296
|
name: "",
|
|
59352
59297
|
layout: "V",
|
|
@@ -59620,8 +59565,10 @@ const windowIndex_vue_vue_type_style_index_0_scoped_23c28edc_lang = "", _withSco
|
|
|
59620
59565
|
addChildData: ae.addChildData,
|
|
59621
59566
|
childRegionCode: ae.childRegionCode,
|
|
59622
59567
|
isHavePicUploadBtn: !1,
|
|
59623
|
-
buttonPosition: "BOTTOM_CENTER"
|
|
59568
|
+
buttonPosition: "BOTTOM_CENTER",
|
|
59624
59569
|
// 表单操作按钮布局位置 TOP_LEFT, TOP_CENTER, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER(默认), BOTTOM_RIGHT
|
|
59570
|
+
queryFieldChangeNoQuery: ae.queryFieldChangeNoQuery
|
|
59571
|
+
// 控制查询条件值更改是否触发表格查询
|
|
59625
59572
|
}, ae.buttonPosition && ae.buttonPosition != "null" && (G.params.buttonPosition = ae.buttonPosition), ae.linkUrl && $components && $componentsPath) {
|
|
59626
59573
|
let me = `${$componentsPath}/${ae.linkUrl}`, ve = await $components[me]();
|
|
59627
59574
|
G.params.linkComponentView = markRaw(ve.default);
|
|
@@ -60156,10 +60103,11 @@ const windowIndex_vue_vue_type_style_index_0_scoped_23c28edc_lang = "", _withSco
|
|
|
60156
60103
|
zIndex: 3e3
|
|
60157
60104
|
});
|
|
60158
60105
|
}, error = (Q) => {
|
|
60159
|
-
$
|
|
60160
|
-
|
|
60161
|
-
|
|
60162
|
-
|
|
60106
|
+
$ElMessage({
|
|
60107
|
+
showClose: !0,
|
|
60108
|
+
message: Q,
|
|
60109
|
+
type: "error",
|
|
60110
|
+
duration: 0
|
|
60163
60111
|
});
|
|
60164
60112
|
}, getRegion = (Q) => {
|
|
60165
60113
|
let H = regionMap.value[Q + "-" + preTag.value];
|
|
@@ -60455,7 +60403,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_23c28edc_lang = "", _withSco
|
|
|
60455
60403
|
]);
|
|
60456
60404
|
};
|
|
60457
60405
|
}
|
|
60458
|
-
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
60406
|
+
}, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f27378f8"]]);
|
|
60459
60407
|
WindowIndex.name = "slw-window-index";
|
|
60460
60408
|
WindowIndex.install = (Q) => {
|
|
60461
60409
|
Q.component(WindowIndex.name, WindowIndex);
|
|
@@ -165692,7 +165640,8 @@ const loading = LoadingController, modal = ModalController, drawer = DrawerContr
|
|
|
165692
165640
|
components: {},
|
|
165693
165641
|
componentsPath: "/src/view",
|
|
165694
165642
|
customI18n: !1,
|
|
165695
|
-
VXETableConfig: null
|
|
165643
|
+
VXETableConfig: null,
|
|
165644
|
+
externalFun: null
|
|
165696
165645
|
}) => {
|
|
165697
165646
|
var K, Z;
|
|
165698
165647
|
components.forEach((ee) => {
|
|
@@ -165712,7 +165661,7 @@ const loading = LoadingController, modal = ModalController, drawer = DrawerContr
|
|
|
165712
165661
|
translate(ee, te) {
|
|
165713
165662
|
return H.customI18n(ee, te);
|
|
165714
165663
|
}
|
|
165715
|
-
})) : (G = (ee) => ee, Q.provide("$t", G)), H.VXETableConfig && VxeTableExport.setConfig(H.VXETableConfig), Q.provide("$VXETableConfig", H.VXETableConfig), Q.use(VxeTableExport), Q.provide("$componentMapping", X), Q.provide("$axios", Q.config.globalProperties.axios), Q.provide("$qs", qs), Q.provide(
|
|
165664
|
+
})) : (G = (ee) => ee, Q.provide("$t", G)), H.VXETableConfig && VxeTableExport.setConfig(H.VXETableConfig), Q.provide("$VXETableConfig", H.VXETableConfig), Q.provide("$externalFun", H.externalFun), Q.use(VxeTableExport), Q.provide("$componentMapping", X), Q.provide("$axios", Q.config.globalProperties.axios), Q.provide("$qs", qs), Q.provide(
|
|
165716
165665
|
"$crypto",
|
|
165717
165666
|
(H == null ? void 0 : H.crypto) || {
|
|
165718
165667
|
encrypt,
|
|
@@ -165724,7 +165673,7 @@ const loading = LoadingController, modal = ModalController, drawer = DrawerContr
|
|
|
165724
165673
|
TOKEN: localStorage.getItem("login-token"),
|
|
165725
165674
|
saToken: localStorage.getItem("SATOKEN")
|
|
165726
165675
|
}))
|
|
165727
|
-
), Q.provide("$components", H == null ? void 0 : H.components), Q.provide("$componentsPath", (H == null ? void 0 : H.componentsPath) || "/src/view"), Q.provide("$
|
|
165676
|
+
), Q.provide("$components", H == null ? void 0 : H.components), Q.provide("$componentsPath", (H == null ? void 0 : H.componentsPath) || "/src/view"), Q.provide("$ElMessage", Q.config.globalProperties.$message), Q.provide("$modal", VxeTableExport.modal), Q.provide("$vxeMessage", VxeTableExport.modal.message), Q.provide("$vxeConfirm", VxeTableExport.modal.confirm), Q.provide("$vxeOpen", VxeTableExport.modal.open), Q.provide("$vxeReadFile", VxeTableExport.readFile), Q.provide("$ElMessageBox", Q.config.globalProperties.$msgbox), Q.provide("$router", Q.config.globalProperties.$router), initVxeRenderer(VxeTableExport, X, G), initVxeFormater(VxeTableExport), initVxeConfig(VxeTableExport);
|
|
165728
165677
|
};
|
|
165729
165678
|
function reConsole() {
|
|
165730
165679
|
if (console !== null) {
|
|
@@ -165741,7 +165690,7 @@ function reConsole() {
|
|
|
165741
165690
|
}
|
|
165742
165691
|
}
|
|
165743
165692
|
console.info(
|
|
165744
|
-
`%cSLW %cVer 1.0.0-beta.
|
|
165693
|
+
`%cSLW %cVer 1.0.0-beta.6%c
|
|
165745
165694
|
%c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
|
|
165746
165695
|
%c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
|
|
165747
165696
|
"color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
|
package/lib/index.js
CHANGED