mooho-base-admin-plus 2.0.26 → 2.0.28
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/package/mooho-base-admin-plus.min.esm.js +117 -520
- package/package/mooho-base-admin-plus.min.js +49 -49
- package/package/style.css +2 -2
- package/package.json +1 -1
- package/src/api/customModel.js +2 -10
- package/src/api/dataSource.js +1 -7
- package/src/api/dataView.js +1 -7
- package/src/api/model.js +1 -7
- package/src/components/view/view-table.vue +2 -2
- package/src/index.js +3 -9
- package/src/layouts/basic-layout/index.vue +2 -3
- package/src/layouts/basic-layout/menu-head/title.vue +2 -3
- package/src/layouts/basic-layout/menu-side/index.vue +2 -2
- package/src/layouts/basic-layout/menu-side/menu-title.vue +0 -1
- package/src/layouts/basic-layout/menu-side/submenu.vue +1 -1
- package/src/layouts/basic-layout/tabs/index.vue +2 -3
- package/src/libs/lodop/index.js +10 -134
- package/src/libs/util.js +0 -44
- package/src/menu/sider.js +1 -1
- package/src/mixins/page.js +40 -33
- package/src/router/dynamic.js +38 -143
- package/src/router/index.js +5 -6
- package/src/store/modules/admin/modules/cache.js +13 -13
- package/src/store/modules/admin/modules/i18n.js +1 -3
- package/src/store/modules/admin/modules/layout.js +0 -16
- package/src/store/modules/admin/modules/menu.js +2 -28
- package/src/styles/css/default.css +6 -0
- package/test/api/barcode.js +2 -6
- package/test/api/inbound.js +2 -6
- package/test/api/movePlan.js +2 -6
- package/test/api/outbound.js +2 -6
- package/test/router/routes.js +3 -2
- package/src/layouts/basic-layout/mixins/translate-title.js +0 -11
- package/src/plugins/auth/index.js +0 -21
- package/src/plugins/index.js +0 -24
- package/src/plugins/sweetalert2/index.js +0 -16
|
@@ -6987,36 +6987,6 @@ const util$8 = {
|
|
|
6987
6987
|
cookies: cookies$2,
|
|
6988
6988
|
db: db$1
|
|
6989
6989
|
};
|
|
6990
|
-
function tTitle$1(title = "") {
|
|
6991
|
-
const $t = window ? window.$app.$t : null;
|
|
6992
|
-
if ($t) {
|
|
6993
|
-
if (title.indexOf("$t:") === 0) {
|
|
6994
|
-
return $t(title.split("$t:")[1]);
|
|
6995
|
-
} else {
|
|
6996
|
-
return title;
|
|
6997
|
-
}
|
|
6998
|
-
} else {
|
|
6999
|
-
return title;
|
|
7000
|
-
}
|
|
7001
|
-
}
|
|
7002
|
-
util$8.title = function({ title, count: count2 }) {
|
|
7003
|
-
title = tTitle$1(title);
|
|
7004
|
-
let fullTitle;
|
|
7005
|
-
if (Setting.titleSuffix === false || Setting.titleSuffix === "") {
|
|
7006
|
-
fullTitle = title ? `${title}` : "";
|
|
7007
|
-
} else {
|
|
7008
|
-
fullTitle = title ? `${title} - ${Setting.titleSuffix}` : Setting.titleSuffix;
|
|
7009
|
-
}
|
|
7010
|
-
if (count2)
|
|
7011
|
-
fullTitle = `(${count2}\u6761\u6D88\u606F)${fullTitle}`;
|
|
7012
|
-
window.document.title = fullTitle;
|
|
7013
|
-
};
|
|
7014
|
-
function requestAnimation(task) {
|
|
7015
|
-
if ("requestAnimationFrame" in window) {
|
|
7016
|
-
return window.requestAnimationFrame(task);
|
|
7017
|
-
}
|
|
7018
|
-
setTimeout(task, 16);
|
|
7019
|
-
}
|
|
7020
6990
|
/*!
|
|
7021
6991
|
* vue-router v4.1.6
|
|
7022
6992
|
* (c) 2022 Eduardo San Martin Morote
|
|
@@ -13034,152 +13004,21 @@ var enumApi = {
|
|
|
13034
13004
|
});
|
|
13035
13005
|
}
|
|
13036
13006
|
};
|
|
13037
|
-
|
|
13038
|
-
const needCLodop = () => {
|
|
13039
|
-
try {
|
|
13040
|
-
var ua = navigator.userAgent;
|
|
13041
|
-
if (ua.match(/Windows\sPhone/i) != null)
|
|
13042
|
-
return true;
|
|
13043
|
-
if (ua.match(/iPhone|iPod/i) != null)
|
|
13044
|
-
return true;
|
|
13045
|
-
if (ua.match(/Android/i) != null)
|
|
13046
|
-
return true;
|
|
13047
|
-
if (ua.match(/Edge\D?\d+/i) != null)
|
|
13048
|
-
return true;
|
|
13049
|
-
if (ua.match(/QQBrowser/i) != null)
|
|
13050
|
-
return false;
|
|
13051
|
-
var verTrident = ua.match(/Trident\D?\d+/i);
|
|
13052
|
-
var verIE = ua.match(/MSIE\D?\d+/i);
|
|
13053
|
-
var verOPR = ua.match(/OPR\D?\d+/i);
|
|
13054
|
-
var verFF = ua.match(/Firefox\D?\d+/i);
|
|
13055
|
-
var x64 = ua.match(/x64/i);
|
|
13056
|
-
if (verTrident == null && verIE == null && x64 !== null) {
|
|
13057
|
-
return true;
|
|
13058
|
-
} else if (verFF !== null) {
|
|
13059
|
-
verFF = verFF[0].match(/\d+/);
|
|
13060
|
-
if (verFF[0] >= 42)
|
|
13061
|
-
return true;
|
|
13062
|
-
} else if (verOPR !== null) {
|
|
13063
|
-
verOPR = verOPR[0].match(/\d+/);
|
|
13064
|
-
if (verOPR[0] >= 32)
|
|
13065
|
-
return true;
|
|
13066
|
-
} else if (verTrident == null && verIE == null) {
|
|
13067
|
-
var verChrome = ua.match(/Chrome\D?\d+/i);
|
|
13068
|
-
if (verChrome !== null) {
|
|
13069
|
-
verChrome = verChrome[0].match(/\d+/);
|
|
13070
|
-
if (verChrome[0] >= 42)
|
|
13071
|
-
return true;
|
|
13072
|
-
}
|
|
13073
|
-
}
|
|
13074
|
-
return false;
|
|
13075
|
-
} catch (err) {
|
|
13076
|
-
return true;
|
|
13077
|
-
}
|
|
13078
|
-
};
|
|
13079
|
-
const getLodop = (oOBJECT, oEMBED) => {
|
|
13080
|
-
var strHtmInstall = "<br><font color='#FF00FF'>\u6253\u5370\u63A7\u4EF6\u672A\u5B89\u88C5!\u70B9\u51FB\u8FD9\u91CC<a href='install_lodop32.exe' target='_self'>\u6267\u884C\u5B89\u88C5</a>,\u5B89\u88C5\u540E\u8BF7\u5237\u65B0\u9875\u9762\u6216\u91CD\u65B0\u8FDB\u5165\u3002</font>";
|
|
13081
|
-
var strHtmUpdate = "<br><font color='#FF00FF'>\u6253\u5370\u63A7\u4EF6\u9700\u8981\u5347\u7EA7!\u70B9\u51FB\u8FD9\u91CC<a href='install_lodop32.exe' target='_self'>\u6267\u884C\u5347\u7EA7</a>,\u5347\u7EA7\u540E\u8BF7\u91CD\u65B0\u8FDB\u5165\u3002</font>";
|
|
13082
|
-
var strHtm64Install = "<br><font color='#FF00FF'>\u6253\u5370\u63A7\u4EF6\u672A\u5B89\u88C5!\u70B9\u51FB\u8FD9\u91CC<a href='install_lodop64.exe' target='_self'>\u6267\u884C\u5B89\u88C5</a>,\u5B89\u88C5\u540E\u8BF7\u5237\u65B0\u9875\u9762\u6216\u91CD\u65B0\u8FDB\u5165\u3002</font>";
|
|
13083
|
-
var strHtm64Update = "<br><font color='#FF00FF'>\u6253\u5370\u63A7\u4EF6\u9700\u8981\u5347\u7EA7!\u70B9\u51FB\u8FD9\u91CC<a href='install_lodop64.exe' target='_self'>\u6267\u884C\u5347\u7EA7</a>,\u5347\u7EA7\u540E\u8BF7\u91CD\u65B0\u8FDB\u5165\u3002</font>";
|
|
13084
|
-
var strHtmFireFox = "<br><br><font color='#FF00FF'>\uFF08\u6CE8\u610F\uFF1A\u5982\u66FE\u5B89\u88C5\u8FC7Lodop\u65E7\u7248\u9644\u4EF6npActiveXPLugin,\u8BF7\u5728\u3010\u5DE5\u5177\u3011->\u3010\u9644\u52A0\u7EC4\u4EF6\u3011->\u3010\u6269\u5C55\u3011\u4E2D\u5148\u5378\u5B83\uFF09</font>";
|
|
13085
|
-
var strHtmChrome = "<br><br><font color='#FF00FF'>(\u5982\u679C\u6B64\u524D\u6B63\u5E38\uFF0C\u4EC5\u56E0\u6D4F\u89C8\u5668\u5347\u7EA7\u6216\u91CD\u5B89\u88C5\u800C\u51FA\u95EE\u9898\uFF0C\u9700\u91CD\u65B0\u6267\u884C\u4EE5\u4E0A\u5B89\u88C5\uFF09</font>";
|
|
13086
|
-
var strCLodopInstall = "<br><font color='#FF00FF'>CLodop\u4E91\u6253\u5370\u670D\u52A1(localhost\u672C\u5730)\u672A\u5B89\u88C5\u542F\u52A8!\u70B9\u51FB\u8FD9\u91CC<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>\u6267\u884C\u5B89\u88C5</a>,\u5B89\u88C5\u540E\u8BF7\u5237\u65B0\u9875\u9762\u3002</font>";
|
|
13087
|
-
var strCLodopUpdate = "<br><font color='#FF00FF'>CLodop\u4E91\u6253\u5370\u670D\u52A1\u9700\u5347\u7EA7!\u70B9\u51FB\u8FD9\u91CC<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>\u6267\u884C\u5347\u7EA7</a>,\u5347\u7EA7\u540E\u8BF7\u5237\u65B0\u9875\u9762\u3002</font>";
|
|
13088
|
-
var LODOP;
|
|
13007
|
+
const getLodop = () => {
|
|
13089
13008
|
try {
|
|
13090
|
-
|
|
13091
|
-
if (needCLodop()) {
|
|
13092
|
-
try {
|
|
13093
|
-
LODOP = getCLodop();
|
|
13094
|
-
} catch (err) {
|
|
13095
|
-
}
|
|
13096
|
-
if (!LODOP && document.readyState !== "complete") {
|
|
13097
|
-
alert("C-Lodop\u6CA1\u51C6\u5907\u597D\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01");
|
|
13098
|
-
return;
|
|
13099
|
-
}
|
|
13100
|
-
if (!LODOP) {
|
|
13101
|
-
if (isIE)
|
|
13102
|
-
document.write(strCLodopInstall);
|
|
13103
|
-
else {
|
|
13104
|
-
document.documentElement.innerHTML = strCLodopInstall + document.documentElement.innerHTML;
|
|
13105
|
-
}
|
|
13106
|
-
return;
|
|
13107
|
-
} else {
|
|
13108
|
-
if (CLODOP.CVERSION < "2.0.6.8") {
|
|
13109
|
-
if (isIE)
|
|
13110
|
-
document.write(strCLodopUpdate);
|
|
13111
|
-
else {
|
|
13112
|
-
document.documentElement.innerHTML = strCLodopUpdate + document.documentElement.innerHTML;
|
|
13113
|
-
}
|
|
13114
|
-
}
|
|
13115
|
-
if (oEMBED && oEMBED.parentNode)
|
|
13116
|
-
oEMBED.parentNode.removeChild(oEMBED);
|
|
13117
|
-
if (oOBJECT && oOBJECT.parentNode)
|
|
13118
|
-
oOBJECT.parentNode.removeChild(oOBJECT);
|
|
13119
|
-
}
|
|
13120
|
-
} else {
|
|
13121
|
-
var is64IE = isIE && navigator.userAgent.indexOf("x64") >= 0;
|
|
13122
|
-
if (oOBJECT !== void 0 || oEMBED !== void 0) {
|
|
13123
|
-
if (isIE)
|
|
13124
|
-
LODOP = oOBJECT;
|
|
13125
|
-
else
|
|
13126
|
-
LODOP = oEMBED;
|
|
13127
|
-
} else if (CreatedOKLodop7766 == null) {
|
|
13128
|
-
LODOP = document.createElement("object");
|
|
13129
|
-
LODOP.setAttribute("width", 0);
|
|
13130
|
-
LODOP.setAttribute("height", 0);
|
|
13131
|
-
LODOP.setAttribute("style", "position:absolute;left:0px;top:-100px;width:0px;height:0px;");
|
|
13132
|
-
if (isIE)
|
|
13133
|
-
LODOP.setAttribute("classid", "clsid:2105C259-1E0C-4534-8141-A753534CB4CA");
|
|
13134
|
-
else
|
|
13135
|
-
LODOP.setAttribute("type", "application/x-print-lodop");
|
|
13136
|
-
document.documentElement.appendChild(LODOP);
|
|
13137
|
-
CreatedOKLodop7766 = LODOP;
|
|
13138
|
-
} else
|
|
13139
|
-
LODOP = CreatedOKLodop7766;
|
|
13140
|
-
if (LODOP == null || typeof LODOP.VERSION === "undefined") {
|
|
13141
|
-
if (navigator.userAgent.indexOf("Chrome") >= 0) {
|
|
13142
|
-
document.documentElement.innerHTML = strHtmChrome + document.documentElement.innerHTML;
|
|
13143
|
-
}
|
|
13144
|
-
if (navigator.userAgent.indexOf("Firefox") >= 0) {
|
|
13145
|
-
document.documentElement.innerHTML = strHtmFireFox + document.documentElement.innerHTML;
|
|
13146
|
-
}
|
|
13147
|
-
if (is64IE)
|
|
13148
|
-
document.write(strHtm64Install);
|
|
13149
|
-
else if (isIE)
|
|
13150
|
-
document.write(strHtmInstall);
|
|
13151
|
-
else {
|
|
13152
|
-
document.documentElement.innerHTML = strHtmInstall + document.documentElement.innerHTML;
|
|
13153
|
-
}
|
|
13154
|
-
return LODOP;
|
|
13155
|
-
}
|
|
13156
|
-
}
|
|
13157
|
-
if (LODOP.VERSION < "6.2.0.8") {
|
|
13158
|
-
if (needCLodop()) {
|
|
13159
|
-
document.documentElement.innerHTML = strCLodopUpdate + document.documentElement.innerHTML;
|
|
13160
|
-
} else if (is64IE)
|
|
13161
|
-
document.write(strHtm64Update);
|
|
13162
|
-
else if (isIE)
|
|
13163
|
-
document.write(strHtmUpdate);
|
|
13164
|
-
else {
|
|
13165
|
-
document.documentElement.innerHTML = strHtmUpdate + document.documentElement.innerHTML;
|
|
13166
|
-
}
|
|
13167
|
-
return LODOP;
|
|
13168
|
-
}
|
|
13009
|
+
const LODOP = getCLodop();
|
|
13169
13010
|
LODOP.SET_LICENSES(Setting.lodop.name, Setting.lodop.key, "", "");
|
|
13170
13011
|
return LODOP;
|
|
13171
|
-
} catch (
|
|
13172
|
-
alert("
|
|
13012
|
+
} catch (e3) {
|
|
13013
|
+
alert(window.$app.$t("Front_Msg_Check_Print_Driver") + e3.message);
|
|
13014
|
+
return;
|
|
13173
13015
|
}
|
|
13174
13016
|
};
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
head.insertBefore(oscript, head.firstChild);
|
|
13180
|
-
}
|
|
13017
|
+
var head = document.head || document.getElementsByTagName("head")[0] || document.documentElement;
|
|
13018
|
+
var oscript = document.createElement("script");
|
|
13019
|
+
oscript.src = "http://localhost:8000/CLodopfuncs.js?priority=1";
|
|
13020
|
+
head.insertBefore(oscript, head.firstChild);
|
|
13181
13021
|
var lodop = {
|
|
13182
|
-
needCLodop,
|
|
13183
13022
|
getLodop
|
|
13184
13023
|
};
|
|
13185
13024
|
function requiredArgs(required, args) {
|
|
@@ -14909,13 +14748,7 @@ var modelApi = {
|
|
|
14909
14748
|
filter2.groupColumn = JSON.parse(tableView2.groupColumn);
|
|
14910
14749
|
filter2.groupMethod = JSON.parse(tableView2.groupMethod);
|
|
14911
14750
|
}
|
|
14912
|
-
|
|
14913
|
-
try {
|
|
14914
|
-
LODOP = lodop.getLodop();
|
|
14915
|
-
} catch (e3) {
|
|
14916
|
-
alert(window.$app.$t("Front_Msg_Check_Print_Driver") + e3.message);
|
|
14917
|
-
return;
|
|
14918
|
-
}
|
|
14751
|
+
const LODOP = lodop.getLodop();
|
|
14919
14752
|
let data2 = {
|
|
14920
14753
|
...filter2,
|
|
14921
14754
|
per: 1e3,
|
|
@@ -14965,9 +14798,6 @@ var cache$1 = {
|
|
|
14965
14798
|
state.caches[type] = [];
|
|
14966
14799
|
try {
|
|
14967
14800
|
let res2 = await modelApi.query(type, {});
|
|
14968
|
-
state.caches = {
|
|
14969
|
-
...state.caches
|
|
14970
|
-
};
|
|
14971
14801
|
state.caches[type] = res2.data;
|
|
14972
14802
|
} catch (err) {
|
|
14973
14803
|
delete state.caches[type];
|
|
@@ -14980,9 +14810,6 @@ var cache$1 = {
|
|
|
14980
14810
|
state.dicts[type] = {};
|
|
14981
14811
|
try {
|
|
14982
14812
|
let res2 = await modelApi.query("Dict", { type });
|
|
14983
|
-
state.dicts = {
|
|
14984
|
-
...state.dicts
|
|
14985
|
-
};
|
|
14986
14813
|
res2.data.forEach((item) => {
|
|
14987
14814
|
state.dicts[type][item.id] = item.displayName;
|
|
14988
14815
|
});
|
|
@@ -14997,9 +14824,6 @@ var cache$1 = {
|
|
|
14997
14824
|
state.enums[type] = {};
|
|
14998
14825
|
try {
|
|
14999
14826
|
let res2 = await enumApi.query(type);
|
|
15000
|
-
state.enums = {
|
|
15001
|
-
...state.enums
|
|
15002
|
-
};
|
|
15003
14827
|
res2.forEach((item) => {
|
|
15004
14828
|
state.enums[type][item.id] = item.name;
|
|
15005
14829
|
});
|
|
@@ -15011,13 +14835,10 @@ var cache$1 = {
|
|
|
15011
14835
|
},
|
|
15012
14836
|
async loadUserName({ state }, id) {
|
|
15013
14837
|
if (id && !(id in state.userNames)) {
|
|
15014
|
-
state.userNames[id] =
|
|
14838
|
+
state.userNames[id] = "-";
|
|
15015
14839
|
try {
|
|
15016
14840
|
let res2 = await userlApi.get(id);
|
|
15017
14841
|
if (res2) {
|
|
15018
|
-
state.userNames = {
|
|
15019
|
-
...state.userNames
|
|
15020
|
-
};
|
|
15021
14842
|
state.userNames[id] = res2.name;
|
|
15022
14843
|
}
|
|
15023
14844
|
} catch (err) {
|
|
@@ -15191,13 +15012,7 @@ var dataViewApi = {
|
|
|
15191
15012
|
saveAs(blob, tableView2.name + "-" + format$3(new Date(), "yyyyMMddHHmmss") + ".pdf");
|
|
15192
15013
|
},
|
|
15193
15014
|
async printList(tableView2, data2, viewColumns, landscape = true) {
|
|
15194
|
-
|
|
15195
|
-
try {
|
|
15196
|
-
LODOP = lodop.getLodop();
|
|
15197
|
-
} catch (e3) {
|
|
15198
|
-
alert(window.$app.$t("Front_Msg_Check_Print_Driver") + e3.message);
|
|
15199
|
-
return;
|
|
15200
|
-
}
|
|
15015
|
+
const LODOP = lodop.getLodop();
|
|
15201
15016
|
const result2 = await service({
|
|
15202
15017
|
url: `api/${res$m}/export`,
|
|
15203
15018
|
method: "post",
|
|
@@ -21664,9 +21479,7 @@ var i18n = {
|
|
|
21664
21479
|
} else {
|
|
21665
21480
|
state.locale = locale2;
|
|
21666
21481
|
vm.$i18n.locale = locale2;
|
|
21667
|
-
|
|
21668
|
-
title: vm.$route.meta.title
|
|
21669
|
-
});
|
|
21482
|
+
window.document.title = window.$app.$t(vm.$route.meta.title) + " - " + Setting.info.title;
|
|
21670
21483
|
}
|
|
21671
21484
|
},
|
|
21672
21485
|
async load({ state }, app) {
|
|
@@ -21923,18 +21736,6 @@ var layout$4 = {
|
|
|
21923
21736
|
}
|
|
21924
21737
|
},
|
|
21925
21738
|
actions: {
|
|
21926
|
-
listenFullscreen({ commit: commit2 }) {
|
|
21927
|
-
return new Promise((resolve) => {
|
|
21928
|
-
if (screenfull.enabled) {
|
|
21929
|
-
screenfull.on("change", () => {
|
|
21930
|
-
if (!screenfull.isFullscreen) {
|
|
21931
|
-
commit2("setFullscreen", false);
|
|
21932
|
-
}
|
|
21933
|
-
});
|
|
21934
|
-
}
|
|
21935
|
-
resolve();
|
|
21936
|
-
});
|
|
21937
|
-
},
|
|
21938
21739
|
toggleFullscreen({ commit: commit2 }) {
|
|
21939
21740
|
return new Promise((resolve) => {
|
|
21940
21741
|
if (screenfull.isFullscreen) {
|
|
@@ -22201,23 +22002,6 @@ var permissionApi = {
|
|
|
22201
22002
|
saveAs(blob, "Permission-" + format$3(new Date(), "yyyyMMddHHmmss") + ".pms");
|
|
22202
22003
|
}
|
|
22203
22004
|
};
|
|
22204
|
-
function filterMenu(menuList, access, lastList) {
|
|
22205
|
-
menuList.forEach((menu2) => {
|
|
22206
|
-
let menuAccess = menu2.auth;
|
|
22207
|
-
if (!menuAccess || includeArray(menuAccess, access)) {
|
|
22208
|
-
let newMenu = {};
|
|
22209
|
-
for (let i3 in menu2) {
|
|
22210
|
-
if (i3 !== "children")
|
|
22211
|
-
newMenu[i3] = lodash$1.exports.cloneDeep(menu2[i3]);
|
|
22212
|
-
}
|
|
22213
|
-
if (menu2.children && menu2.children.length)
|
|
22214
|
-
newMenu.children = [];
|
|
22215
|
-
lastList.push(newMenu);
|
|
22216
|
-
menu2.children && filterMenu(menu2.children, access, newMenu.children);
|
|
22217
|
-
}
|
|
22218
|
-
});
|
|
22219
|
-
return lastList;
|
|
22220
|
-
}
|
|
22221
22005
|
function convertMenu(source2) {
|
|
22222
22006
|
if (!source2) {
|
|
22223
22007
|
return null;
|
|
@@ -22250,14 +22034,8 @@ var menu = {
|
|
|
22250
22034
|
userPermissions: null
|
|
22251
22035
|
},
|
|
22252
22036
|
getters: {
|
|
22253
|
-
filterSider(state
|
|
22254
|
-
|
|
22255
|
-
const access = userInfo.access;
|
|
22256
|
-
if (access && access.length) {
|
|
22257
|
-
return filterMenu(state.sider, access, []);
|
|
22258
|
-
} else {
|
|
22259
|
-
return filterMenu(state.sider, [], []);
|
|
22260
|
-
}
|
|
22037
|
+
filterSider(state) {
|
|
22038
|
+
return state.sider;
|
|
22261
22039
|
},
|
|
22262
22040
|
filterHeader(state, getters, rootState) {
|
|
22263
22041
|
const userInfo = rootState.admin.user.info;
|
|
@@ -22448,7 +22226,7 @@ var menuSider = [
|
|
|
22448
22226
|
dashboard,
|
|
22449
22227
|
{
|
|
22450
22228
|
path: "/i18n",
|
|
22451
|
-
title: "
|
|
22229
|
+
title: "menu.i18n",
|
|
22452
22230
|
header: "home",
|
|
22453
22231
|
custom: "i-icon-demo i-icon-demo-i18n"
|
|
22454
22232
|
}
|
|
@@ -22893,63 +22671,32 @@ var store = createStore({
|
|
|
22893
22671
|
}
|
|
22894
22672
|
});
|
|
22895
22673
|
var dynamic = {
|
|
22896
|
-
async init(router2, pages2
|
|
22674
|
+
async init(router2, pages2) {
|
|
22897
22675
|
let res2 = await permissionApi.queryRouter();
|
|
22898
|
-
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
|
|
22904
|
-
|
|
22905
|
-
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
|
|
22909
|
-
|
|
22910
|
-
|
|
22911
|
-
|
|
22912
|
-
meta: {
|
|
22913
|
-
title: "404"
|
|
22914
|
-
},
|
|
22915
|
-
component: () => {
|
|
22916
|
-
return new Promise((resolve) => {
|
|
22917
|
-
resolve(pages2["system/error/404.vue"]);
|
|
22918
|
-
});
|
|
22919
|
-
}
|
|
22920
|
-
},
|
|
22921
|
-
{
|
|
22922
|
-
path: "/",
|
|
22923
|
-
redirect: {
|
|
22924
|
-
name: "login"
|
|
22925
|
-
},
|
|
22926
|
-
component: layout2,
|
|
22927
|
-
children: []
|
|
22928
|
-
}
|
|
22929
|
-
];
|
|
22930
|
-
for (let i3 = 0; i3 < topPer.length; i3++) {
|
|
22931
|
-
if (!(topPer[i3].templateUrl || "").trim()) {
|
|
22932
|
-
topPer[i3] = PermissionDeep(topPer[i3], allPer);
|
|
22933
|
-
} else {
|
|
22934
|
-
let parent = routes.find((element) => {
|
|
22935
|
-
return element.path === "/";
|
|
22936
|
-
});
|
|
22937
|
-
let item = topPer[i3];
|
|
22938
|
-
let url = item.url.split("?")[0];
|
|
22939
|
-
let data2 = {};
|
|
22940
|
-
if (item.url.split("?").length > 1) {
|
|
22676
|
+
const root = router2.getRoutes().find((item) => item.path == "/");
|
|
22677
|
+
res2.forEach((item) => {
|
|
22678
|
+
var _a2;
|
|
22679
|
+
if (item.isCustomPage) {
|
|
22680
|
+
item.url += "?id=" + item.customPageID;
|
|
22681
|
+
if (item.customPage.customPageTemplate) {
|
|
22682
|
+
item.templateUrl = "template/" + item.customPage.customPageTemplate.substr(0, 1).toLowerCase() + item.customPage.customPageTemplate.substr(1) + ".vue";
|
|
22683
|
+
}
|
|
22684
|
+
}
|
|
22685
|
+
if (!!(item.templateUrl || "").trim()) {
|
|
22686
|
+
const path = ((_a2 = item.url) == null ? void 0 : _a2.split("?")[0]) || "";
|
|
22687
|
+
const name = path.replace(/\//g, "-");
|
|
22688
|
+
const data2 = {};
|
|
22689
|
+
if (item.url && item.url.split("?").length > 1) {
|
|
22941
22690
|
item.url.split("?")[1].split("&").forEach((item2) => {
|
|
22942
22691
|
if (item2.split("=").length > 1 && item2.split("=")[0].length > 0) {
|
|
22943
22692
|
data2[item2.split("=")[0]] = item2.split("=")[1];
|
|
22944
22693
|
}
|
|
22945
22694
|
});
|
|
22946
22695
|
}
|
|
22947
|
-
|
|
22948
|
-
|
|
22949
|
-
|
|
22950
|
-
name: url.replace(/\//g, "-"),
|
|
22696
|
+
const child = {
|
|
22697
|
+
path,
|
|
22698
|
+
name,
|
|
22951
22699
|
meta: {
|
|
22952
|
-
auth: false,
|
|
22953
22700
|
title: getNameI18n(item),
|
|
22954
22701
|
description: getDescI18n(item),
|
|
22955
22702
|
data: data2,
|
|
@@ -22961,95 +22708,25 @@ var dynamic = {
|
|
|
22961
22708
|
});
|
|
22962
22709
|
}
|
|
22963
22710
|
};
|
|
22964
|
-
|
|
22711
|
+
root.children.push(child);
|
|
22965
22712
|
}
|
|
22966
|
-
}
|
|
22967
|
-
buildPermission(pages2, topPer, routes, layout2, null);
|
|
22968
|
-
routes.forEach((route) => {
|
|
22969
|
-
router2.addRoute(route);
|
|
22970
22713
|
});
|
|
22971
|
-
|
|
22972
|
-
|
|
22973
|
-
|
|
22974
|
-
|
|
22975
|
-
|
|
22976
|
-
|
|
22977
|
-
|
|
22978
|
-
|
|
22979
|
-
|
|
22980
|
-
|
|
22981
|
-
|
|
22982
|
-
path: "/" + item.url.split("/").pop(),
|
|
22983
|
-
name: item.url.replace("app.", "").replace(/\./g, "-"),
|
|
22984
|
-
meta: {
|
|
22985
|
-
auth: false
|
|
22986
|
-
},
|
|
22987
|
-
component: layout2
|
|
22988
|
-
};
|
|
22989
|
-
routes.push(node);
|
|
22990
|
-
}
|
|
22991
|
-
} else {
|
|
22992
|
-
let url = item.url.split("?")[0];
|
|
22993
|
-
let data2 = {};
|
|
22994
|
-
if (item.url.split("?").length > 1) {
|
|
22995
|
-
item.url.split("?")[1].split("&").forEach((item2) => {
|
|
22996
|
-
if (item2.split("=").length > 1 && item2.split("=")[0].length > 0) {
|
|
22997
|
-
data2[item2.split("=")[0]] = item2.split("=")[1];
|
|
22998
|
-
}
|
|
22714
|
+
router2.removeRoute("root");
|
|
22715
|
+
router2.addRoute(root);
|
|
22716
|
+
router2.addRoute({
|
|
22717
|
+
path: "/:pathMatch(.*)",
|
|
22718
|
+
name: "404",
|
|
22719
|
+
meta: {
|
|
22720
|
+
title: "404"
|
|
22721
|
+
},
|
|
22722
|
+
component: () => {
|
|
22723
|
+
return new Promise((resolve) => {
|
|
22724
|
+
resolve(pages2["system/error/404.vue"]);
|
|
22999
22725
|
});
|
|
23000
22726
|
}
|
|
23001
|
-
|
|
23002
|
-
id: item.id,
|
|
23003
|
-
pId: item.parentID,
|
|
23004
|
-
path: url.split("/").pop(),
|
|
23005
|
-
name: url.replace(/\//g, "-"),
|
|
23006
|
-
meta: {
|
|
23007
|
-
auth: false,
|
|
23008
|
-
title: getNameI18n(item),
|
|
23009
|
-
description: getDescI18n(item),
|
|
23010
|
-
data: data2,
|
|
23011
|
-
cache: true
|
|
23012
|
-
},
|
|
23013
|
-
component: () => {
|
|
23014
|
-
return new Promise((resolve) => {
|
|
23015
|
-
resolve(pages2[item.templateUrl]);
|
|
23016
|
-
});
|
|
23017
|
-
}
|
|
23018
|
-
};
|
|
23019
|
-
if (parent == null) {
|
|
23020
|
-
parent = routes.find((p) => p.id == item.parentID);
|
|
23021
|
-
}
|
|
23022
|
-
if (parent != void 0) {
|
|
23023
|
-
if (parent.children == null) {
|
|
23024
|
-
parent.children = [];
|
|
23025
|
-
}
|
|
23026
|
-
if (parent.pId != null) {
|
|
23027
|
-
let backup = parent;
|
|
23028
|
-
parent = routes.find((p) => p.id == parent.pId);
|
|
23029
|
-
node.path = url.split("/").splice(1).join("/");
|
|
23030
|
-
parent.children.push(node);
|
|
23031
|
-
parent = backup;
|
|
23032
|
-
} else {
|
|
23033
|
-
parent.children.push(node);
|
|
23034
|
-
}
|
|
23035
|
-
}
|
|
23036
|
-
}
|
|
23037
|
-
if (item.sonPer != null) {
|
|
23038
|
-
buildPermission(pages2, item.sonPer, routes, layout2, node);
|
|
23039
|
-
}
|
|
23040
|
-
});
|
|
23041
|
-
return routes;
|
|
23042
|
-
}
|
|
23043
|
-
function PermissionDeep(per, perArry) {
|
|
23044
|
-
let sonPerArry = perArry.filter((p) => p.parentID == per.id);
|
|
23045
|
-
if (sonPerArry.length > 0) {
|
|
23046
|
-
per["sonPer"] = sonPerArry;
|
|
23047
|
-
for (let i3 = 0; i3 < sonPerArry.length; i3++) {
|
|
23048
|
-
sonPerArry[i3] = PermissionDeep(sonPerArry[i3], perArry);
|
|
23049
|
-
}
|
|
22727
|
+
});
|
|
23050
22728
|
}
|
|
23051
|
-
|
|
23052
|
-
}
|
|
22729
|
+
};
|
|
23053
22730
|
function getNameI18n(item) {
|
|
23054
22731
|
if (Setting.layout.showI18n) {
|
|
23055
22732
|
let key = "Permission_" + item.url.split("?")[0];
|
|
@@ -23092,9 +22769,8 @@ const initRouter = (pages2, layout2, routes) => {
|
|
|
23092
22769
|
ViewUIPlus.LoadingBar.start();
|
|
23093
22770
|
}
|
|
23094
22771
|
if (!inited) {
|
|
23095
|
-
|
|
23096
|
-
|
|
23097
|
-
store.commit("admin/page/init", [...frameInRoutes, ...dynamicRoutes]);
|
|
22772
|
+
await dynamic.init(router, pages2);
|
|
22773
|
+
store.commit("admin/page/init", router.getRoutes());
|
|
23098
22774
|
inited = true;
|
|
23099
22775
|
next({
|
|
23100
22776
|
...to,
|
|
@@ -23124,9 +22800,7 @@ const initRouter = (pages2, layout2, routes) => {
|
|
|
23124
22800
|
if (!("meta" in to) || to.meta && !("tabs" in to.meta) || to.meta && to.meta.tabs) {
|
|
23125
22801
|
store.dispatch("admin/page/open", to);
|
|
23126
22802
|
}
|
|
23127
|
-
|
|
23128
|
-
title: to.meta.title
|
|
23129
|
-
});
|
|
22803
|
+
window.document.title = window.$app.$t(to.meta.title) + " - " + Setting.info.title;
|
|
23130
22804
|
window.scrollTo(0, 0);
|
|
23131
22805
|
});
|
|
23132
22806
|
};
|
|
@@ -23221,7 +22895,7 @@ var mixinPage = {
|
|
|
23221
22895
|
methods: {
|
|
23222
22896
|
...mapActions("admin/cache", ["loadEnum", "loadDict", "loadUserName", "loadCache"]),
|
|
23223
22897
|
copy(model2) {
|
|
23224
|
-
return
|
|
22898
|
+
return lodash$1.exports.cloneDeep(model2);
|
|
23225
22899
|
},
|
|
23226
22900
|
allow(key) {
|
|
23227
22901
|
if (key.startsWith("permission/")) {
|
|
@@ -23389,35 +23063,10 @@ var mixinPage = {
|
|
|
23389
23063
|
}
|
|
23390
23064
|
},
|
|
23391
23065
|
parseData(model2, expression2) {
|
|
23392
|
-
|
|
23393
|
-
return null;
|
|
23394
|
-
}
|
|
23395
|
-
let keys2 = expression2.split(".");
|
|
23396
|
-
let result2 = model2;
|
|
23397
|
-
for (let i3 = 0; i3 < keys2.length; i3++) {
|
|
23398
|
-
if (result2 == null) {
|
|
23399
|
-
return null;
|
|
23400
|
-
}
|
|
23401
|
-
result2 = result2[keys2[i3]];
|
|
23402
|
-
}
|
|
23403
|
-
return result2;
|
|
23066
|
+
return lodash$1.exports.get(model2, expression2);
|
|
23404
23067
|
},
|
|
23405
23068
|
setData(model2, expression2, value) {
|
|
23406
|
-
|
|
23407
|
-
return;
|
|
23408
|
-
}
|
|
23409
|
-
let keys2 = expression2.split(".");
|
|
23410
|
-
let target = model2;
|
|
23411
|
-
for (let i3 = 0; i3 < keys2.length; i3++) {
|
|
23412
|
-
if (i3 === keys2.length - 1) {
|
|
23413
|
-
target[keys2[i3]] = value;
|
|
23414
|
-
} else {
|
|
23415
|
-
if (!(keys2[i3] in target) || target[keys2[i3]] == null) {
|
|
23416
|
-
target[keys2[i3]] = {};
|
|
23417
|
-
}
|
|
23418
|
-
target = target[keys2[i3]];
|
|
23419
|
-
}
|
|
23420
|
-
}
|
|
23069
|
+
lodash$1.exports.set(model2, expression2, value);
|
|
23421
23070
|
},
|
|
23422
23071
|
parseDateTimeData(model2, expression2) {
|
|
23423
23072
|
let data2 = this.parseData(model2, expression2);
|
|
@@ -23565,7 +23214,7 @@ var mixinPage = {
|
|
|
23565
23214
|
}
|
|
23566
23215
|
},
|
|
23567
23216
|
confirm(title, onConfirm) {
|
|
23568
|
-
let swal =
|
|
23217
|
+
let swal = Swal.fire({
|
|
23569
23218
|
title: this.tParam(title),
|
|
23570
23219
|
icon: "question",
|
|
23571
23220
|
confirmButtonText: this.$t("Front_Btn_OK"),
|
|
@@ -23582,7 +23231,7 @@ var mixinPage = {
|
|
|
23582
23231
|
return swal;
|
|
23583
23232
|
},
|
|
23584
23233
|
confirmInput(title, inputLabel, onConfirm, preConfirm) {
|
|
23585
|
-
let swal =
|
|
23234
|
+
let swal = Swal.fire({
|
|
23586
23235
|
title: this.tParam(title),
|
|
23587
23236
|
input: "text",
|
|
23588
23237
|
confirmButtonText: this.$t("Front_Btn_OK"),
|
|
@@ -23617,7 +23266,7 @@ var mixinPage = {
|
|
|
23617
23266
|
onConfirm();
|
|
23618
23267
|
}
|
|
23619
23268
|
} else {
|
|
23620
|
-
var swal =
|
|
23269
|
+
var swal = Swal.fire({
|
|
23621
23270
|
title: this.tParam(message),
|
|
23622
23271
|
icon: "success",
|
|
23623
23272
|
confirmButtonText: this.$t("Front_Btn_OK")
|
|
@@ -23650,7 +23299,7 @@ var mixinPage = {
|
|
|
23650
23299
|
onConfirm();
|
|
23651
23300
|
}
|
|
23652
23301
|
} else {
|
|
23653
|
-
var swal =
|
|
23302
|
+
var swal = Swal.fire({
|
|
23654
23303
|
title: this.tParam(message),
|
|
23655
23304
|
icon: "warning",
|
|
23656
23305
|
confirmButtonText: this.$t("Front_Btn_OK")
|
|
@@ -23683,7 +23332,7 @@ var mixinPage = {
|
|
|
23683
23332
|
onConfirm();
|
|
23684
23333
|
}
|
|
23685
23334
|
} else {
|
|
23686
|
-
var swal =
|
|
23335
|
+
var swal = Swal.fire({
|
|
23687
23336
|
title: this.tParam(message),
|
|
23688
23337
|
icon: "error",
|
|
23689
23338
|
confirmButtonText: this.$t("Front_Btn_OK")
|
|
@@ -23884,7 +23533,7 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23884
23533
|
]);
|
|
23885
23534
|
}
|
|
23886
23535
|
var login = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__scopeId", "data-v-1c48c1b3"], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/account/login.vue"]]);
|
|
23887
|
-
var
|
|
23536
|
+
var __glob_44_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23888
23537
|
__proto__: null,
|
|
23889
23538
|
"default": login
|
|
23890
23539
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -24522,7 +24171,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24522
24171
|
]);
|
|
24523
24172
|
}
|
|
24524
24173
|
var home = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__scopeId", "data-v-9f6133a2"], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/common/home.vue"]]);
|
|
24525
|
-
var
|
|
24174
|
+
var __glob_44_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24526
24175
|
__proto__: null,
|
|
24527
24176
|
"default": home
|
|
24528
24177
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -24650,13 +24299,7 @@ var customModelApi = {
|
|
|
24650
24299
|
saveAs(blob, tableView2.name + "-" + format$3(new Date(), "yyyyMMddHHmmss") + ".pdf");
|
|
24651
24300
|
},
|
|
24652
24301
|
async printList(tableView2, filter2, landscape = true) {
|
|
24653
|
-
|
|
24654
|
-
try {
|
|
24655
|
-
LODOP = lodop.getLodop();
|
|
24656
|
-
} catch (e3) {
|
|
24657
|
-
alert(window.$app.$t("Front_Msg_Check_Print_Driver") + e3.message);
|
|
24658
|
-
return;
|
|
24659
|
-
}
|
|
24302
|
+
const LODOP = lodop.getLodop();
|
|
24660
24303
|
let data2 = {
|
|
24661
24304
|
...filter2,
|
|
24662
24305
|
modelName: tableView2.model,
|
|
@@ -24671,14 +24314,13 @@ var customModelApi = {
|
|
|
24671
24314
|
result2 = await service({
|
|
24672
24315
|
url: `api/${res$h}/group`,
|
|
24673
24316
|
method: "post",
|
|
24674
|
-
responseType: "blob",
|
|
24675
24317
|
data: data2
|
|
24676
24318
|
});
|
|
24677
24319
|
} else {
|
|
24320
|
+
console.log("4");
|
|
24678
24321
|
result2 = await service({
|
|
24679
24322
|
url: `api/${res$h}/query`,
|
|
24680
24323
|
method: "post",
|
|
24681
|
-
responseType: "blob",
|
|
24682
24324
|
data: data2
|
|
24683
24325
|
});
|
|
24684
24326
|
}
|
|
@@ -25251,7 +24893,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25251
24893
|
]);
|
|
25252
24894
|
}
|
|
25253
24895
|
var taskForm = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/common/task-form.vue"]]);
|
|
25254
|
-
var
|
|
24896
|
+
var __glob_44_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25255
24897
|
__proto__: null,
|
|
25256
24898
|
"default": taskForm
|
|
25257
24899
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -25319,7 +24961,7 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25319
24961
|
]);
|
|
25320
24962
|
}
|
|
25321
24963
|
var todo = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/common/todo.vue"]]);
|
|
25322
|
-
var
|
|
24964
|
+
var __glob_44_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25323
24965
|
__proto__: null,
|
|
25324
24966
|
"default": todo
|
|
25325
24967
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -25460,7 +25102,7 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25460
25102
|
]);
|
|
25461
25103
|
}
|
|
25462
25104
|
var apiLog = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/apiLog.vue"]]);
|
|
25463
|
-
var
|
|
25105
|
+
var __glob_44_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25464
25106
|
__proto__: null,
|
|
25465
25107
|
"default": apiLog
|
|
25466
25108
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -25935,7 +25577,7 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25935
25577
|
]);
|
|
25936
25578
|
}
|
|
25937
25579
|
var applicationType = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/applicationType.vue"]]);
|
|
25938
|
-
var
|
|
25580
|
+
var __glob_44_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25939
25581
|
__proto__: null,
|
|
25940
25582
|
"default": applicationType
|
|
25941
25583
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -25994,7 +25636,7 @@ function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25994
25636
|
]);
|
|
25995
25637
|
}
|
|
25996
25638
|
var customPage = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/customPage.vue"]]);
|
|
25997
|
-
var
|
|
25639
|
+
var __glob_44_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25998
25640
|
__proto__: null,
|
|
25999
25641
|
"default": customPage
|
|
26000
25642
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -26134,7 +25776,7 @@ function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26134
25776
|
]);
|
|
26135
25777
|
}
|
|
26136
25778
|
var customTable = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/customTable.vue"]]);
|
|
26137
|
-
var
|
|
25779
|
+
var __glob_44_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26138
25780
|
__proto__: null,
|
|
26139
25781
|
"default": customTable
|
|
26140
25782
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -26197,7 +25839,7 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26197
25839
|
]);
|
|
26198
25840
|
}
|
|
26199
25841
|
var dict = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/dict.vue"]]);
|
|
26200
|
-
var
|
|
25842
|
+
var __glob_44_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26201
25843
|
__proto__: null,
|
|
26202
25844
|
"default": dict
|
|
26203
25845
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -26324,7 +25966,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26324
25966
|
]);
|
|
26325
25967
|
}
|
|
26326
25968
|
var dictType = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/dictType.vue"]]);
|
|
26327
|
-
var
|
|
25969
|
+
var __glob_44_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26328
25970
|
__proto__: null,
|
|
26329
25971
|
"default": dictType
|
|
26330
25972
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -26403,7 +26045,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26403
26045
|
]);
|
|
26404
26046
|
}
|
|
26405
26047
|
var entityView = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/entityView.vue"]]);
|
|
26406
|
-
var
|
|
26048
|
+
var __glob_44_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26407
26049
|
__proto__: null,
|
|
26408
26050
|
"default": entityView
|
|
26409
26051
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -26539,7 +26181,7 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26539
26181
|
]);
|
|
26540
26182
|
}
|
|
26541
26183
|
var extendColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/extendColumn.vue"]]);
|
|
26542
|
-
var
|
|
26184
|
+
var __glob_44_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26543
26185
|
__proto__: null,
|
|
26544
26186
|
"default": extendColumn
|
|
26545
26187
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -26765,7 +26407,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26765
26407
|
]);
|
|
26766
26408
|
}
|
|
26767
26409
|
var formView = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/formView.vue"]]);
|
|
26768
|
-
var
|
|
26410
|
+
var __glob_44_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26769
26411
|
__proto__: null,
|
|
26770
26412
|
"default": formView
|
|
26771
26413
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -26911,7 +26553,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26911
26553
|
]);
|
|
26912
26554
|
}
|
|
26913
26555
|
var i18nText = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/i18nText.vue"]]);
|
|
26914
|
-
var
|
|
26556
|
+
var __glob_44_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26915
26557
|
__proto__: null,
|
|
26916
26558
|
"default": i18nText
|
|
26917
26559
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27017,7 +26659,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27017
26659
|
]);
|
|
27018
26660
|
}
|
|
27019
26661
|
var log$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/log.vue"]]);
|
|
27020
|
-
var
|
|
26662
|
+
var __glob_44_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27021
26663
|
__proto__: null,
|
|
27022
26664
|
"default": log$1
|
|
27023
26665
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27144,7 +26786,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27144
26786
|
]);
|
|
27145
26787
|
}
|
|
27146
26788
|
var mailTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/mailTemplate.vue"]]);
|
|
27147
|
-
var
|
|
26789
|
+
var __glob_44_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27148
26790
|
__proto__: null,
|
|
27149
26791
|
"default": mailTemplate
|
|
27150
26792
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27197,7 +26839,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27197
26839
|
]);
|
|
27198
26840
|
}
|
|
27199
26841
|
var notice = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/notice.vue"]]);
|
|
27200
|
-
var
|
|
26842
|
+
var __glob_44_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27201
26843
|
__proto__: null,
|
|
27202
26844
|
"default": notice
|
|
27203
26845
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27250,7 +26892,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27250
26892
|
]);
|
|
27251
26893
|
}
|
|
27252
26894
|
var openApi = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/openApi.vue"]]);
|
|
27253
|
-
var
|
|
26895
|
+
var __glob_44_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27254
26896
|
__proto__: null,
|
|
27255
26897
|
"default": openApi
|
|
27256
26898
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27395,7 +27037,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27395
27037
|
]);
|
|
27396
27038
|
}
|
|
27397
27039
|
var openUser = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/openUser.vue"]]);
|
|
27398
|
-
var
|
|
27040
|
+
var __glob_44_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27399
27041
|
__proto__: null,
|
|
27400
27042
|
"default": openUser
|
|
27401
27043
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27514,7 +27156,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27514
27156
|
]);
|
|
27515
27157
|
}
|
|
27516
27158
|
var organization = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/organization.vue"]]);
|
|
27517
|
-
var
|
|
27159
|
+
var __glob_44_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27518
27160
|
__proto__: null,
|
|
27519
27161
|
"default": organization
|
|
27520
27162
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27567,7 +27209,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27567
27209
|
]);
|
|
27568
27210
|
}
|
|
27569
27211
|
var organizationType = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/organizationType.vue"]]);
|
|
27570
|
-
var
|
|
27212
|
+
var __glob_44_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27571
27213
|
__proto__: null,
|
|
27572
27214
|
"default": organizationType
|
|
27573
27215
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27822,7 +27464,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27822
27464
|
]);
|
|
27823
27465
|
}
|
|
27824
27466
|
var permission = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/permission.vue"]]);
|
|
27825
|
-
var
|
|
27467
|
+
var __glob_44_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27826
27468
|
__proto__: null,
|
|
27827
27469
|
"default": permission
|
|
27828
27470
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27907,7 +27549,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27907
27549
|
]);
|
|
27908
27550
|
}
|
|
27909
27551
|
var planJob = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/planJob.vue"]]);
|
|
27910
|
-
var
|
|
27552
|
+
var __glob_44_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27911
27553
|
__proto__: null,
|
|
27912
27554
|
"default": planJob
|
|
27913
27555
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -27981,7 +27623,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27981
27623
|
]);
|
|
27982
27624
|
}
|
|
27983
27625
|
var printTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/printTemplate.vue"]]);
|
|
27984
|
-
var
|
|
27626
|
+
var __glob_44_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27985
27627
|
__proto__: null,
|
|
27986
27628
|
"default": printTemplate
|
|
27987
27629
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -29183,7 +28825,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29183
28825
|
]);
|
|
29184
28826
|
}
|
|
29185
28827
|
var process$1 = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/process.vue"]]);
|
|
29186
|
-
var
|
|
28828
|
+
var __glob_44_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
29187
28829
|
__proto__: null,
|
|
29188
28830
|
"default": process$1
|
|
29189
28831
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -29236,7 +28878,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29236
28878
|
]);
|
|
29237
28879
|
}
|
|
29238
28880
|
var processType = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/processType.vue"]]);
|
|
29239
|
-
var
|
|
28881
|
+
var __glob_44_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
29240
28882
|
__proto__: null,
|
|
29241
28883
|
"default": processType
|
|
29242
28884
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -30107,7 +29749,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30107
29749
|
]);
|
|
30108
29750
|
}
|
|
30109
29751
|
var rolePropertyEdit = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/rolePropertyEdit.vue"]]);
|
|
30110
|
-
var
|
|
29752
|
+
var __glob_44_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30111
29753
|
__proto__: null,
|
|
30112
29754
|
"default": rolePropertyEdit
|
|
30113
29755
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -30647,7 +30289,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30647
30289
|
]);
|
|
30648
30290
|
}
|
|
30649
30291
|
var role = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/role.vue"]]);
|
|
30650
|
-
var
|
|
30292
|
+
var __glob_44_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30651
30293
|
__proto__: null,
|
|
30652
30294
|
"default": role
|
|
30653
30295
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -30700,7 +30342,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30700
30342
|
]);
|
|
30701
30343
|
}
|
|
30702
30344
|
var sequenceSetting = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/sequenceSetting.vue"]]);
|
|
30703
|
-
var
|
|
30345
|
+
var __glob_44_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30704
30346
|
__proto__: null,
|
|
30705
30347
|
"default": sequenceSetting
|
|
30706
30348
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -30753,7 +30395,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30753
30395
|
]);
|
|
30754
30396
|
}
|
|
30755
30397
|
var setting = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/setting.vue"]]);
|
|
30756
|
-
var
|
|
30398
|
+
var __glob_44_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30757
30399
|
__proto__: null,
|
|
30758
30400
|
"default": setting
|
|
30759
30401
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -30865,7 +30507,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30865
30507
|
]);
|
|
30866
30508
|
}
|
|
30867
30509
|
var systemData = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/systemData.vue"]]);
|
|
30868
|
-
var
|
|
30510
|
+
var __glob_44_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30869
30511
|
__proto__: null,
|
|
30870
30512
|
"default": systemData
|
|
30871
30513
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -33598,7 +33240,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33598
33240
|
]);
|
|
33599
33241
|
}
|
|
33600
33242
|
var tableView = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/tableView.vue"]]);
|
|
33601
|
-
var
|
|
33243
|
+
var __glob_44_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33602
33244
|
__proto__: null,
|
|
33603
33245
|
"default": tableView
|
|
33604
33246
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -33699,7 +33341,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33699
33341
|
]);
|
|
33700
33342
|
}
|
|
33701
33343
|
var taskQueue = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/taskQueue.vue"]]);
|
|
33702
|
-
var
|
|
33344
|
+
var __glob_44_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33703
33345
|
__proto__: null,
|
|
33704
33346
|
"default": taskQueue
|
|
33705
33347
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -34086,7 +33728,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34086
33728
|
]);
|
|
34087
33729
|
}
|
|
34088
33730
|
var user = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/user.vue"]]);
|
|
34089
|
-
var
|
|
33731
|
+
var __glob_44_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34090
33732
|
__proto__: null,
|
|
34091
33733
|
"default": user
|
|
34092
33734
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -34477,7 +34119,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34477
34119
|
]);
|
|
34478
34120
|
}
|
|
34479
34121
|
var processPage = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/template/processPage.vue"]]);
|
|
34480
|
-
var
|
|
34122
|
+
var __glob_44_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34481
34123
|
__proto__: null,
|
|
34482
34124
|
"default": processPage
|
|
34483
34125
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -34530,13 +34172,7 @@ var dataSourceApi = {
|
|
|
34530
34172
|
saveAs(blob, tableView2.name + "-" + format$3(new Date(), "yyyyMMddHHmmss") + ".pdf");
|
|
34531
34173
|
},
|
|
34532
34174
|
async printList(tableView2, filter2, landscape = true, path = "query") {
|
|
34533
|
-
|
|
34534
|
-
try {
|
|
34535
|
-
LODOP = lodop.getLodop();
|
|
34536
|
-
} catch (e3) {
|
|
34537
|
-
alert(window.$app.$t("Front_Msg_Check_Print_Driver") + e3.message);
|
|
34538
|
-
return;
|
|
34539
|
-
}
|
|
34175
|
+
const LODOP = lodop.getLodop();
|
|
34540
34176
|
let data2 = {
|
|
34541
34177
|
...filter2,
|
|
34542
34178
|
per: 1e3,
|
|
@@ -35059,7 +34695,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35059
34695
|
]);
|
|
35060
34696
|
}
|
|
35061
34697
|
var reportPage = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/template/reportPage.vue"]]);
|
|
35062
|
-
var
|
|
34698
|
+
var __glob_44_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
35063
34699
|
__proto__: null,
|
|
35064
34700
|
"default": reportPage
|
|
35065
34701
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -35220,7 +34856,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35220
34856
|
]);
|
|
35221
34857
|
}
|
|
35222
34858
|
var viewPage = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/template/viewPage.vue"]]);
|
|
35223
|
-
var
|
|
34859
|
+
var __glob_44_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
35224
34860
|
__proto__: null,
|
|
35225
34861
|
"default": viewPage
|
|
35226
34862
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -35237,7 +34873,7 @@ function _sfc_render$H(_ctx, _cache) {
|
|
|
35237
34873
|
]);
|
|
35238
34874
|
}
|
|
35239
34875
|
var _404 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/pages/system/error/404.vue"]]);
|
|
35240
|
-
var
|
|
34876
|
+
var __glob_44_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
35241
34877
|
__proto__: null,
|
|
35242
34878
|
"default": _404
|
|
35243
34879
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -35401,31 +35037,6 @@ var mixinApp = {
|
|
|
35401
35037
|
}
|
|
35402
35038
|
}
|
|
35403
35039
|
};
|
|
35404
|
-
var directiveAuth = {
|
|
35405
|
-
inserted(el, binding) {
|
|
35406
|
-
const { value } = binding;
|
|
35407
|
-
const access = store.state.admin.user.info.access;
|
|
35408
|
-
if (value && value instanceof Array && value.length && access && access.length) {
|
|
35409
|
-
const isPermission = includeArray(value, access);
|
|
35410
|
-
if (!isPermission) {
|
|
35411
|
-
el.parentNode && el.parentNode.removeChild(el);
|
|
35412
|
-
}
|
|
35413
|
-
}
|
|
35414
|
-
}
|
|
35415
|
-
};
|
|
35416
|
-
var sweetalert2_min = "";
|
|
35417
|
-
var sweetalert2 = {
|
|
35418
|
-
install: (app) => {
|
|
35419
|
-
const swal = Swal;
|
|
35420
|
-
app.config.globalProperties.$swal = swal;
|
|
35421
|
-
}
|
|
35422
|
-
};
|
|
35423
|
-
var plugins$1 = {
|
|
35424
|
-
async install(app) {
|
|
35425
|
-
app.use(sweetalert2);
|
|
35426
|
-
app.directive("auth", directiveAuth);
|
|
35427
|
-
}
|
|
35428
|
-
};
|
|
35429
35040
|
var menuHeader = [
|
|
35430
35041
|
{
|
|
35431
35042
|
path: "/",
|
|
@@ -42778,7 +42389,7 @@ const _sfc_main$q = {
|
|
|
42778
42389
|
orderBy: this.orderBy
|
|
42779
42390
|
};
|
|
42780
42391
|
if (this.tableView.isCustom) {
|
|
42781
|
-
customModelApi.
|
|
42392
|
+
customModelApi.exportPdf(this.tableView, data2);
|
|
42782
42393
|
} else if (this.tableView.isDataSource) {
|
|
42783
42394
|
dataSourceApi.exportPdf(this.tableView, data2);
|
|
42784
42395
|
} else {
|
|
@@ -42791,7 +42402,7 @@ const _sfc_main$q = {
|
|
|
42791
42402
|
orderBy: this.orderBy
|
|
42792
42403
|
};
|
|
42793
42404
|
if (this.tableView.isCustom) {
|
|
42794
|
-
customModelApi.
|
|
42405
|
+
customModelApi.printList(this.tableView, data2);
|
|
42795
42406
|
} else if (this.tableView.isDataSource) {
|
|
42796
42407
|
dataSourceApi.printList(this.tableView, data2);
|
|
42797
42408
|
} else {
|
|
@@ -53083,7 +52694,6 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53083
52694
|
var ModalTable = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/components/view/modal-table.vue"]]);
|
|
53084
52695
|
var index = "";
|
|
53085
52696
|
var _default = "";
|
|
53086
|
-
var all_min = "";
|
|
53087
52697
|
var focus = {
|
|
53088
52698
|
update() {
|
|
53089
52699
|
setTimeout(() => {
|
|
@@ -53099,20 +52709,9 @@ var tabHide = {
|
|
|
53099
52709
|
});
|
|
53100
52710
|
}
|
|
53101
52711
|
};
|
|
53102
|
-
var tTitle = {
|
|
53103
|
-
methods: {
|
|
53104
|
-
tTitle(title) {
|
|
53105
|
-
if (title && title.indexOf("$t:") === 0) {
|
|
53106
|
-
return this.$t(title.split("$t:")[1]);
|
|
53107
|
-
} else {
|
|
53108
|
-
return title;
|
|
53109
|
-
}
|
|
53110
|
-
}
|
|
53111
|
-
}
|
|
53112
|
-
};
|
|
53113
52712
|
const _sfc_main$k = {
|
|
53114
52713
|
name: "iMenuHeadTitle",
|
|
53115
|
-
mixins: [
|
|
52714
|
+
mixins: [],
|
|
53116
52715
|
props: {
|
|
53117
52716
|
item: {
|
|
53118
52717
|
type: Object,
|
|
@@ -53163,7 +52762,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53163
52762
|
src: $props.item.img
|
|
53164
52763
|
}, null, 8, _hoisted_3$7)) : createCommentVNode("v-if", true)
|
|
53165
52764
|
])) : createCommentVNode("v-if", true),
|
|
53166
|
-
createElementVNode("span", _hoisted_4$2, toDisplayString$1(_ctx
|
|
52765
|
+
createElementVNode("span", _hoisted_4$2, toDisplayString$1(_ctx.$t($props.item.title)), 1),
|
|
53167
52766
|
$props.badge && $options.badgeData ? (openBlock(), createBlock(_component_Badge, mergeProps({
|
|
53168
52767
|
key: 1,
|
|
53169
52768
|
class: "i-layout-menu-head-badge"
|
|
@@ -53555,7 +53154,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53555
53154
|
default: withCtx(() => [
|
|
53556
53155
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.menu.children, (item, index2) => {
|
|
53557
53156
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
53558
|
-
item.children
|
|
53157
|
+
item.children == null || !item.children.length ? (openBlock(), createBlock(_component_i_menu_side_item, {
|
|
53559
53158
|
key: 0,
|
|
53560
53159
|
menu: item
|
|
53561
53160
|
}, null, 8, ["menu"])) : (openBlock(), createBlock(_component_i_menu_side_submenu, {
|
|
@@ -53812,7 +53411,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53812
53411
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filterSider, (item, index2) => {
|
|
53813
53412
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
53814
53413
|
!_ctx.menuCollapse ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
53815
|
-
item.children
|
|
53414
|
+
item.children == null || !item.children.length ? (openBlock(), createBlock(_component_i_menu_side_item, {
|
|
53816
53415
|
menu: item,
|
|
53817
53416
|
key: index2
|
|
53818
53417
|
}, null, 8, ["menu"])) : (openBlock(), createBlock(_component_i_menu_side_submenu, {
|
|
@@ -53820,7 +53419,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53820
53419
|
key: "submenu" + index2
|
|
53821
53420
|
}, null, 8, ["menu"]))
|
|
53822
53421
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
53823
|
-
item.children
|
|
53422
|
+
item.children == null || !item.children.length ? (openBlock(), createBlock(_component_Tooltip, {
|
|
53824
53423
|
content: _ctx.layout.showI18n ? _ctx.$t("Permission_" + item.code) : item.title,
|
|
53825
53424
|
placement: "right",
|
|
53826
53425
|
key: index2,
|
|
@@ -55358,7 +54957,7 @@ function random$1(len2 = 32) {
|
|
|
55358
54957
|
}
|
|
55359
54958
|
const _sfc_main$2 = {
|
|
55360
54959
|
name: "iTabs",
|
|
55361
|
-
mixins: [
|
|
54960
|
+
mixins: [],
|
|
55362
54961
|
emits: ["on-reload"],
|
|
55363
54962
|
computed: {
|
|
55364
54963
|
...mapState("admin/page", ["opened", "current"]),
|
|
@@ -55394,7 +54993,7 @@ const _sfc_main$2 = {
|
|
|
55394
54993
|
methods: {
|
|
55395
54994
|
...mapActions("admin/page", ["close", "closeLeft", "closeRight", "closeOther", "closeAll", "updateOpened"]),
|
|
55396
54995
|
tabLabel(h4, page2) {
|
|
55397
|
-
const title = h4("span", this
|
|
54996
|
+
const title = h4("span", this.$t(page2.meta ? page2.meta.title : "\u672A\u547D\u540D") || "\u672A\u547D\u540D");
|
|
55398
54997
|
let slot = [];
|
|
55399
54998
|
if (this.showTabsIcon) {
|
|
55400
54999
|
const fullPathWithoutQuery = page2.fullPath.indexOf("?") >= 0 ? page2.fullPath.split("?")[0] : page2.fullPath;
|
|
@@ -55786,7 +55385,7 @@ const _sfc_main = {
|
|
|
55786
55385
|
const scrollTop = document.body.scrollTop + document.documentElement.scrollTop;
|
|
55787
55386
|
if (!this.ticking) {
|
|
55788
55387
|
this.ticking = true;
|
|
55789
|
-
|
|
55388
|
+
requestAnimationFrame(() => {
|
|
55790
55389
|
if (this.oldScrollTop > scrollTop) {
|
|
55791
55390
|
this.headerVisible = true;
|
|
55792
55391
|
} else if (scrollTop > 300 && this.headerVisible) {
|
|
@@ -58781,11 +58380,11 @@ var Storage = function() {
|
|
|
58781
58380
|
return Storage2;
|
|
58782
58381
|
}();
|
|
58783
58382
|
var Storage$1 = Storage;
|
|
58784
|
-
var requestAnimationFrame;
|
|
58785
|
-
requestAnimationFrame = env$1.hasGlobalWindow && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function(func) {
|
|
58383
|
+
var requestAnimationFrame$1;
|
|
58384
|
+
requestAnimationFrame$1 = env$1.hasGlobalWindow && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function(func) {
|
|
58786
58385
|
return setTimeout(func, 16);
|
|
58787
58386
|
};
|
|
58788
|
-
var requestAnimationFrame$
|
|
58387
|
+
var requestAnimationFrame$2 = requestAnimationFrame$1;
|
|
58789
58388
|
var easingFuncs = {
|
|
58790
58389
|
linear: function(k3) {
|
|
58791
58390
|
return k3;
|
|
@@ -60862,11 +60461,11 @@ var Animation = function(_super) {
|
|
|
60862
60461
|
this._running = true;
|
|
60863
60462
|
function step() {
|
|
60864
60463
|
if (self2._running) {
|
|
60865
|
-
requestAnimationFrame$
|
|
60464
|
+
requestAnimationFrame$2(step);
|
|
60866
60465
|
!self2._paused && self2.update();
|
|
60867
60466
|
}
|
|
60868
60467
|
}
|
|
60869
|
-
requestAnimationFrame$
|
|
60468
|
+
requestAnimationFrame$2(step);
|
|
60870
60469
|
};
|
|
60871
60470
|
Animation2.prototype.start = function() {
|
|
60872
60471
|
if (this._running) {
|
|
@@ -86911,7 +86510,7 @@ var CanvasPainter = function() {
|
|
|
86911
86510
|
}
|
|
86912
86511
|
if (!finished) {
|
|
86913
86512
|
var self_1 = this;
|
|
86914
|
-
requestAnimationFrame$
|
|
86513
|
+
requestAnimationFrame$2(function() {
|
|
86915
86514
|
self_1._paintList(list, prevList, paintAll, redrawId);
|
|
86916
86515
|
});
|
|
86917
86516
|
} else {
|
|
@@ -127727,7 +127326,6 @@ const install = function(app) {
|
|
|
127727
127326
|
app.use(ViewUIPlus, {
|
|
127728
127327
|
i18n: i18n$1
|
|
127729
127328
|
});
|
|
127730
|
-
app.use(plugins$1);
|
|
127731
127329
|
app.mixin(mixinApp);
|
|
127732
127330
|
Object.keys(components).forEach((key) => {
|
|
127733
127331
|
app.component(key, components[key]);
|
|
@@ -127739,7 +127337,7 @@ const install = function(app) {
|
|
|
127739
127337
|
const API = {
|
|
127740
127338
|
install
|
|
127741
127339
|
};
|
|
127742
|
-
const files = { "./pages/account/login.vue":
|
|
127340
|
+
const files = { "./pages/account/login.vue": __glob_44_0, "./pages/common/home.vue": __glob_44_1, "./pages/common/task-form.vue": __glob_44_2, "./pages/common/todo.vue": __glob_44_3, "./pages/system/apiLog.vue": __glob_44_4, "./pages/system/applicationType.vue": __glob_44_5, "./pages/system/customPage.vue": __glob_44_6, "./pages/system/customTable.vue": __glob_44_7, "./pages/system/dict.vue": __glob_44_8, "./pages/system/dictType.vue": __glob_44_9, "./pages/system/entityView.vue": __glob_44_10, "./pages/system/extendColumn.vue": __glob_44_11, "./pages/system/formView.vue": __glob_44_12, "./pages/system/i18nText.vue": __glob_44_13, "./pages/system/log.vue": __glob_44_14, "./pages/system/mailTemplate.vue": __glob_44_15, "./pages/system/notice.vue": __glob_44_16, "./pages/system/openApi.vue": __glob_44_17, "./pages/system/openUser.vue": __glob_44_18, "./pages/system/organization.vue": __glob_44_19, "./pages/system/organizationType.vue": __glob_44_20, "./pages/system/permission.vue": __glob_44_21, "./pages/system/planJob.vue": __glob_44_22, "./pages/system/printTemplate.vue": __glob_44_23, "./pages/system/process.vue": __glob_44_24, "./pages/system/processType.vue": __glob_44_25, "./pages/system/role.vue": __glob_44_26, "./pages/system/rolePropertyEdit.vue": __glob_44_27, "./pages/system/sequenceSetting.vue": __glob_44_28, "./pages/system/setting.vue": __glob_44_29, "./pages/system/systemData.vue": __glob_44_30, "./pages/system/tableView.vue": __glob_44_31, "./pages/system/taskQueue.vue": __glob_44_32, "./pages/system/user.vue": __glob_44_33, "./pages/template/processPage.vue": __glob_44_34, "./pages/template/reportPage.vue": __glob_44_35, "./pages/template/viewPage.vue": __glob_44_36, "./pages/system/error/404.vue": __glob_44_37 };
|
|
127743
127341
|
const pages = {};
|
|
127744
127342
|
Object.keys(files).forEach((key) => {
|
|
127745
127343
|
pages[key.replace(/(\.\/pages\/)/g, "")] = files[key].default;
|
|
@@ -127755,7 +127353,6 @@ const created = async (app, pages2, routes, layout2 = basicLayout) => {
|
|
|
127755
127353
|
store.dispatch("admin/i18n/load", app);
|
|
127756
127354
|
store.commit("admin/menu/setHeader", menuHeader);
|
|
127757
127355
|
store.dispatch("admin/account/load");
|
|
127758
|
-
store.dispatch("admin/layout/listenFullscreen");
|
|
127759
127356
|
app.config.globalProperties.$pages = pages2;
|
|
127760
127357
|
};
|
|
127761
127358
|
const routeChanged = (to) => {
|