zsysview 0.0.35 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{backup-DynLMXdm.js → backup-DYT6WOhb.js} +4 -4
- package/dist/{breadcrumb.vue_vue_type_script_setup_true_lang-TTLDMjMD.js → breadcrumb.vue_vue_type_script_setup_true_lang-nfrW6-5D.js} +1 -1
- package/dist/{change_password-BneyLtuI.js → change_password-C1TSXbkT.js} +4 -4
- package/dist/{department-CbHAuLje.js → department-Cy3bZi0Z.js} +15 -11
- package/dist/{desktop-eknEWppu.js → desktop-D8NO-31I.js} +1 -1
- package/dist/{http_api_v1-EUs_f9lQ.js → http_api_v1-BOkofMrH.js} +3 -16
- package/dist/{index-BO349G9H.js → index-D0WjiJFA.js} +86 -148
- package/dist/{log-YY2eN32S.js → log-BNz3HXTx.js} +5 -5
- package/dist/{login-DeeHxCNb.js → login-CRBF4af6.js} +19 -16
- package/dist/main-D1Qc1usP.js +447 -0
- package/dist/{message-CpFOrVMc.js → message-CxCkznRZ.js} +1 -1
- package/dist/notification-CFdEb99z.js +82 -0
- package/dist/{position-BsoCgmh_.js → position-BsXmxfyE.js} +6 -6
- package/dist/{role-CnLFQOSX.js → role-DfMFK4Sf.js} +6 -6
- package/dist/{self-6xdRjh6a.js → self-Twg1O-V2.js} +2 -2
- package/dist/systemsetting-DY_aaCMb.js +170 -0
- package/dist/{user-DPtBnZLN.js → user-BNfLS3hP.js} +7 -7
- package/dist/{zsys_delbutton.vue_vue_type_script_setup_true_lang-xh5_jCEI.js → zsys_delbutton.vue_vue_type_script_setup_true_lang-CdVC6Qlu.js} +2 -2
- package/dist/zsys_time-BE4ImI0m.js +22 -0
- package/dist/{zsyslist.vue_vue_type_script_setup_true_lang-Di1hHbqk.js → zsyslist.vue_vue_type_script_setup_true_lang-Bwtl9i35.js} +3 -3
- package/dist/zsysview.css +1 -1
- package/dist/zsysview.es.js +4 -2
- package/docs//345/205/250/345/261/200/345/217/230/351/207/217.md +5 -3
- package/package.json +1 -1
- package/dist/main-D9VmwlaL.js +0 -289
- package/dist/sys-BZgBUI3k.js +0 -30
- package/dist/zsys_time-4KclnYJN.js +0 -17
- /package/dist/{vite.svg → vite1.svg} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
4
|
-
import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-nfrW6-5D.js";
|
|
3
|
+
import { H as HttpApiV1 } from "./http_api_v1-BOkofMrH.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./zsyslist.vue_vue_type_script_setup_true_lang-Bwtl9i35.js";
|
|
5
|
+
import { Z as ZSYSMessage } from "./message-CxCkznRZ.js";
|
|
6
6
|
const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = { key: 0 }, _hoisted_3 = { key: 0 }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "backup",
|
|
8
8
|
setup(__props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onMounted, resolveComponent, createBlock, openBlock, unref, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { e as useRouter, k as arrow_right_default } from "./index-D0WjiJFA.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "breadcrumb",
|
|
5
5
|
setup(__props) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
4
|
-
import {
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-nfrW6-5D.js";
|
|
3
|
+
import { H as HttpApiV1 } from "./http_api_v1-BOkofMrH.js";
|
|
4
|
+
import { e as useRouter } from "./index-D0WjiJFA.js";
|
|
5
|
+
import { Z as ZSYSMessage } from "./message-CxCkznRZ.js";
|
|
6
6
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
7
7
|
const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "change_password",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, onMounted, onUnmounted, createElementBlock, Fragment, unref } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
4
|
-
import {
|
|
5
|
-
import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-nfrW6-5D.js";
|
|
3
|
+
import { H as HttpApiV1 } from "./http_api_v1-BOkofMrH.js";
|
|
4
|
+
import { h as useMagicKeys, w as whenever, i as refresh_default } from "./index-D0WjiJFA.js";
|
|
5
|
+
import { _ as _sfc_main$3 } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-CdVC6Qlu.js";
|
|
6
6
|
import { z as zsysEventBus } from "./zsys_eventBus-NYpVNvQ4.js";
|
|
7
|
-
import { Z as ZSYSMessage } from "./message-
|
|
7
|
+
import { Z as ZSYSMessage } from "./message-CxCkznRZ.js";
|
|
8
8
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "department_edit_dialog",
|
|
10
10
|
props: {
|
|
@@ -39,12 +39,16 @@ const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } },
|
|
|
39
39
|
props.id == 0n && (view.isnew = !0);
|
|
40
40
|
function convertDepartmentToParentOption(alldept) {
|
|
41
41
|
let re = [];
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
try {
|
|
43
|
+
for (let i = 0; i < alldept.length; i++) {
|
|
44
|
+
const result = {
|
|
45
|
+
value: alldept[i].department_id.toString(),
|
|
46
|
+
label: alldept[i].department_title
|
|
47
|
+
};
|
|
48
|
+
alldept[i].children && alldept[i]?.children.length > 0 && (result.children = convertDepartmentToParentOption(alldept[i].children)), re.push(result);
|
|
49
|
+
}
|
|
50
|
+
} catch {
|
|
51
|
+
} finally {
|
|
48
52
|
}
|
|
49
53
|
return re;
|
|
50
54
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as getDefaultExportFromCjs, g as useTokenStore, H as HttpApiReturnData } from "./index-D0WjiJFA.js";
|
|
2
2
|
function bind(fn, thisArg) {
|
|
3
3
|
return function() {
|
|
4
4
|
return fn.apply(thisArg, arguments);
|
|
@@ -2631,21 +2631,6 @@ let http_axios = axios.create({
|
|
|
2631
2631
|
});
|
|
2632
2632
|
http_axios.interceptors.request.use((config) => (console.log(store.token.value), config.headers.authorization = "Bearer " + store.token.value, config));
|
|
2633
2633
|
http_axios.interceptors.response.use((res) => (res.data.error_code == 100 && store.saveToken("none"), typeof res.headers.authorization < "u" && store.saveToken(res.headers.authorization), res), (err) => Promise.reject(err));
|
|
2634
|
-
class HttpApiReturnData {
|
|
2635
|
-
error_code;
|
|
2636
|
-
message;
|
|
2637
|
-
data;
|
|
2638
|
-
constructor() {
|
|
2639
|
-
this.error_code = 1, this.message = "未知错误", this.data = {};
|
|
2640
|
-
}
|
|
2641
|
-
get IsSuccess() {
|
|
2642
|
-
return this.error_code == 0;
|
|
2643
|
-
}
|
|
2644
|
-
static fromObject(obj) {
|
|
2645
|
-
const instance = new HttpApiReturnData();
|
|
2646
|
-
return Object.assign(instance, obj), instance;
|
|
2647
|
-
}
|
|
2648
|
-
}
|
|
2649
2634
|
const hostUrl = `${window.location.protocol}//${window.location.host}/`;
|
|
2650
2635
|
class HttpApiV1 {
|
|
2651
2636
|
//系统基础接口
|
|
@@ -2656,6 +2641,8 @@ class HttpApiV1 {
|
|
|
2656
2641
|
static url_usercenter = "api/user_center";
|
|
2657
2642
|
static url_change_password = "api/change_password";
|
|
2658
2643
|
static url_user_permission = "api/user_permission";
|
|
2644
|
+
//系统消息
|
|
2645
|
+
static url_notification_list = "api/notification_list";
|
|
2659
2646
|
//用户管理
|
|
2660
2647
|
static url_user_save = "api/user_save";
|
|
2661
2648
|
static url_user_list = "api/user_list";
|
|
@@ -7302,25 +7302,7 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7302
7302
|
})
|
|
7303
7303
|
]));
|
|
7304
7304
|
}
|
|
7305
|
-
}), close_default = _sfc_main56,
|
|
7306
|
-
name: "Collection",
|
|
7307
|
-
__name: "collection",
|
|
7308
|
-
setup(__props) {
|
|
7309
|
-
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
7310
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7311
|
-
viewBox: "0 0 1024 1024"
|
|
7312
|
-
}, [
|
|
7313
|
-
createElementVNode("path", {
|
|
7314
|
-
fill: "currentColor",
|
|
7315
|
-
d: "M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"
|
|
7316
|
-
}),
|
|
7317
|
-
createElementVNode("path", {
|
|
7318
|
-
fill: "currentColor",
|
|
7319
|
-
d: "M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"
|
|
7320
|
-
})
|
|
7321
|
-
]));
|
|
7322
|
-
}
|
|
7323
|
-
}), collection_default = _sfc_main63, _sfc_main68 = /* @__PURE__ */ defineComponent({
|
|
7305
|
+
}), close_default = _sfc_main56, _sfc_main68 = /* @__PURE__ */ defineComponent({
|
|
7324
7306
|
name: "CopyDocument",
|
|
7325
7307
|
__name: "copy-document",
|
|
7326
7308
|
setup(__props) {
|
|
@@ -7426,21 +7408,7 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7426
7408
|
})
|
|
7427
7409
|
]));
|
|
7428
7410
|
}
|
|
7429
|
-
}), hide_default = _sfc_main133,
|
|
7430
|
-
name: "House",
|
|
7431
|
-
__name: "house",
|
|
7432
|
-
setup(__props) {
|
|
7433
|
-
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
7434
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7435
|
-
viewBox: "0 0 1024 1024"
|
|
7436
|
-
}, [
|
|
7437
|
-
createElementVNode("path", {
|
|
7438
|
-
fill: "currentColor",
|
|
7439
|
-
d: "M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"
|
|
7440
|
-
})
|
|
7441
|
-
]));
|
|
7442
|
-
}
|
|
7443
|
-
}), house_default = _sfc_main137, _sfc_main143 = /* @__PURE__ */ defineComponent({
|
|
7411
|
+
}), hide_default = _sfc_main133, _sfc_main143 = /* @__PURE__ */ defineComponent({
|
|
7444
7412
|
name: "InfoFilled",
|
|
7445
7413
|
__name: "info-filled",
|
|
7446
7414
|
setup(__props) {
|
|
@@ -7468,25 +7436,7 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7468
7436
|
})
|
|
7469
7437
|
]));
|
|
7470
7438
|
}
|
|
7471
|
-
}), loading_default = _sfc_main150,
|
|
7472
|
-
name: "Location",
|
|
7473
|
-
__name: "location",
|
|
7474
|
-
setup(__props) {
|
|
7475
|
-
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
7476
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7477
|
-
viewBox: "0 0 1024 1024"
|
|
7478
|
-
}, [
|
|
7479
|
-
createElementVNode("path", {
|
|
7480
|
-
fill: "currentColor",
|
|
7481
|
-
d: "M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"
|
|
7482
|
-
}),
|
|
7483
|
-
createElementVNode("path", {
|
|
7484
|
-
fill: "currentColor",
|
|
7485
|
-
d: "M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"
|
|
7486
|
-
})
|
|
7487
|
-
]));
|
|
7488
|
-
}
|
|
7489
|
-
}), location_default = _sfc_main153, _sfc_main169 = /* @__PURE__ */ defineComponent({
|
|
7439
|
+
}), loading_default = _sfc_main150, _sfc_main169 = /* @__PURE__ */ defineComponent({
|
|
7490
7440
|
name: "Minus",
|
|
7491
7441
|
__name: "minus",
|
|
7492
7442
|
setup(__props) {
|
|
@@ -7528,9 +7478,9 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7528
7478
|
})
|
|
7529
7479
|
]));
|
|
7530
7480
|
}
|
|
7531
|
-
}), more_default = _sfc_main175,
|
|
7532
|
-
name: "
|
|
7533
|
-
__name: "
|
|
7481
|
+
}), more_default = _sfc_main175, _sfc_main185 = /* @__PURE__ */ defineComponent({
|
|
7482
|
+
name: "OfficeBuilding",
|
|
7483
|
+
__name: "office-building",
|
|
7534
7484
|
setup(__props) {
|
|
7535
7485
|
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
7536
7486
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7538,21 +7488,21 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7538
7488
|
}, [
|
|
7539
7489
|
createElementVNode("path", {
|
|
7540
7490
|
fill: "currentColor",
|
|
7541
|
-
d: "
|
|
7491
|
+
d: "M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"
|
|
7542
7492
|
}),
|
|
7543
7493
|
createElementVNode("path", {
|
|
7544
7494
|
fill: "currentColor",
|
|
7545
|
-
d: "
|
|
7495
|
+
d: "M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"
|
|
7546
7496
|
}),
|
|
7547
7497
|
createElementVNode("path", {
|
|
7548
7498
|
fill: "currentColor",
|
|
7549
|
-
d: "
|
|
7499
|
+
d: "M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"
|
|
7550
7500
|
})
|
|
7551
7501
|
]));
|
|
7552
7502
|
}
|
|
7553
|
-
}),
|
|
7554
|
-
name: "
|
|
7555
|
-
__name: "
|
|
7503
|
+
}), office_building_default = _sfc_main185, _sfc_main187 = /* @__PURE__ */ defineComponent({
|
|
7504
|
+
name: "Operation",
|
|
7505
|
+
__name: "operation",
|
|
7556
7506
|
setup(__props) {
|
|
7557
7507
|
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
7558
7508
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7560,19 +7510,11 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7560
7510
|
}, [
|
|
7561
7511
|
createElementVNode("path", {
|
|
7562
7512
|
fill: "currentColor",
|
|
7563
|
-
d: "
|
|
7564
|
-
}),
|
|
7565
|
-
createElementVNode("path", {
|
|
7566
|
-
fill: "currentColor",
|
|
7567
|
-
d: "M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"
|
|
7568
|
-
}),
|
|
7569
|
-
createElementVNode("path", {
|
|
7570
|
-
fill: "currentColor",
|
|
7571
|
-
d: "M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"
|
|
7513
|
+
d: "M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"
|
|
7572
7514
|
})
|
|
7573
7515
|
]));
|
|
7574
7516
|
}
|
|
7575
|
-
}),
|
|
7517
|
+
}), operation_default = _sfc_main187, _sfc_main195 = /* @__PURE__ */ defineComponent({
|
|
7576
7518
|
name: "PictureFilled",
|
|
7577
7519
|
__name: "picture-filled",
|
|
7578
7520
|
setup(__props) {
|
|
@@ -7702,33 +7644,7 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7702
7644
|
})
|
|
7703
7645
|
]));
|
|
7704
7646
|
}
|
|
7705
|
-
}), search_default = _sfc_main225,
|
|
7706
|
-
name: "SetUp",
|
|
7707
|
-
__name: "set-up",
|
|
7708
|
-
setup(__props) {
|
|
7709
|
-
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
7710
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7711
|
-
viewBox: "0 0 1024 1024"
|
|
7712
|
-
}, [
|
|
7713
|
-
createElementVNode("path", {
|
|
7714
|
-
fill: "currentColor",
|
|
7715
|
-
d: "M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"
|
|
7716
|
-
}),
|
|
7717
|
-
createElementVNode("path", {
|
|
7718
|
-
fill: "currentColor",
|
|
7719
|
-
d: "M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"
|
|
7720
|
-
}),
|
|
7721
|
-
createElementVNode("path", {
|
|
7722
|
-
fill: "currentColor",
|
|
7723
|
-
d: "M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"
|
|
7724
|
-
}),
|
|
7725
|
-
createElementVNode("path", {
|
|
7726
|
-
fill: "currentColor",
|
|
7727
|
-
d: "M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"
|
|
7728
|
-
})
|
|
7729
|
-
]));
|
|
7730
|
-
}
|
|
7731
|
-
}), set_up_default = _sfc_main230, _sfc_main231 = /* @__PURE__ */ defineComponent({
|
|
7647
|
+
}), search_default = _sfc_main225, _sfc_main231 = /* @__PURE__ */ defineComponent({
|
|
7732
7648
|
name: "Setting",
|
|
7733
7649
|
__name: "setting",
|
|
7734
7650
|
setup(__props) {
|
|
@@ -7826,21 +7742,7 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
|
|
|
7826
7742
|
})
|
|
7827
7743
|
]));
|
|
7828
7744
|
}
|
|
7829
|
-
}), user_default = _sfc_main277,
|
|
7830
|
-
name: "VideoCamera",
|
|
7831
|
-
__name: "video-camera",
|
|
7832
|
-
setup(__props) {
|
|
7833
|
-
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
7834
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7835
|
-
viewBox: "0 0 1024 1024"
|
|
7836
|
-
}, [
|
|
7837
|
-
createElementVNode("path", {
|
|
7838
|
-
fill: "currentColor",
|
|
7839
|
-
d: "M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"
|
|
7840
|
-
})
|
|
7841
|
-
]));
|
|
7842
|
-
}
|
|
7843
|
-
}), video_camera_default = _sfc_main280, _sfc_main283 = /* @__PURE__ */ defineComponent({
|
|
7745
|
+
}), user_default = _sfc_main277, _sfc_main283 = /* @__PURE__ */ defineComponent({
|
|
7844
7746
|
name: "View",
|
|
7845
7747
|
__name: "view",
|
|
7846
7748
|
setup(__props) {
|
|
@@ -49229,25 +49131,38 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
|
|
|
49229
49131
|
{
|
|
49230
49132
|
path: "/main",
|
|
49231
49133
|
//"/main"
|
|
49232
|
-
component: () => import("./main-
|
|
49134
|
+
component: () => import("./main-D1Qc1usP.js"),
|
|
49233
49135
|
meta: { requiresAuth: !0, title: "主界面" },
|
|
49234
49136
|
children: [
|
|
49235
49137
|
{
|
|
49236
49138
|
path: "/desktop",
|
|
49237
49139
|
meta: { title: "首页" },
|
|
49238
|
-
component: () => import("./desktop-
|
|
49140
|
+
component: () => import("./desktop-D8NO-31I.js")
|
|
49239
49141
|
},
|
|
49240
49142
|
{
|
|
49241
49143
|
path: "/self",
|
|
49242
49144
|
//个人中心
|
|
49243
49145
|
meta: { title: "个人中心" },
|
|
49244
|
-
|
|
49146
|
+
children: [
|
|
49147
|
+
{
|
|
49148
|
+
path: "/self",
|
|
49149
|
+
//个人中心
|
|
49150
|
+
meta: { title: "基本信息" },
|
|
49151
|
+
component: () => import("./self-Twg1O-V2.js")
|
|
49152
|
+
},
|
|
49153
|
+
{
|
|
49154
|
+
path: "/notification",
|
|
49155
|
+
//个人中心
|
|
49156
|
+
meta: { title: "系统消息" },
|
|
49157
|
+
component: () => import("./notification-CFdEb99z.js")
|
|
49158
|
+
}
|
|
49159
|
+
]
|
|
49245
49160
|
},
|
|
49246
49161
|
{
|
|
49247
49162
|
path: "/password",
|
|
49248
49163
|
//修改密码
|
|
49249
49164
|
meta: { title: "修改密码" },
|
|
49250
|
-
component: () => import("./change_password-
|
|
49165
|
+
component: () => import("./change_password-C1TSXbkT.js")
|
|
49251
49166
|
},
|
|
49252
49167
|
{
|
|
49253
49168
|
path: "/sys",
|
|
@@ -49258,37 +49173,37 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
|
|
|
49258
49173
|
{
|
|
49259
49174
|
path: "/user",
|
|
49260
49175
|
meta: { title: "用户管理" },
|
|
49261
|
-
component: () => import("./user-
|
|
49176
|
+
component: () => import("./user-BNfLS3hP.js")
|
|
49262
49177
|
},
|
|
49263
49178
|
{
|
|
49264
49179
|
path: "/department",
|
|
49265
49180
|
meta: { title: "组织架构" },
|
|
49266
|
-
component: () => import("./department-
|
|
49181
|
+
component: () => import("./department-Cy3bZi0Z.js")
|
|
49267
49182
|
},
|
|
49268
49183
|
{
|
|
49269
49184
|
path: "/position",
|
|
49270
49185
|
meta: { title: "职务" },
|
|
49271
|
-
component: () => import("./position-
|
|
49186
|
+
component: () => import("./position-BsXmxfyE.js")
|
|
49272
49187
|
},
|
|
49273
49188
|
{
|
|
49274
49189
|
path: "/role",
|
|
49275
49190
|
meta: { title: "角色权限" },
|
|
49276
|
-
component: () => import("./role-
|
|
49191
|
+
component: () => import("./role-DfMFK4Sf.js")
|
|
49277
49192
|
},
|
|
49278
49193
|
{
|
|
49279
49194
|
path: "/log",
|
|
49280
49195
|
meta: { title: "日志" },
|
|
49281
|
-
component: () => import("./log-
|
|
49196
|
+
component: () => import("./log-BNz3HXTx.js")
|
|
49282
49197
|
},
|
|
49283
49198
|
{
|
|
49284
49199
|
path: "/backup",
|
|
49285
49200
|
meta: { title: "备份" },
|
|
49286
|
-
component: () => import("./backup-
|
|
49201
|
+
component: () => import("./backup-DYT6WOhb.js")
|
|
49287
49202
|
},
|
|
49288
49203
|
{
|
|
49289
|
-
path: "/
|
|
49290
|
-
meta: { title: "
|
|
49291
|
-
component: () => import("./
|
|
49204
|
+
path: "/systemsetting",
|
|
49205
|
+
meta: { title: "高级设置" },
|
|
49206
|
+
component: () => import("./systemsetting-DY_aaCMb.js")
|
|
49292
49207
|
}
|
|
49293
49208
|
]
|
|
49294
49209
|
}
|
|
@@ -49297,7 +49212,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
|
|
|
49297
49212
|
{
|
|
49298
49213
|
path: "/login",
|
|
49299
49214
|
name: "login",
|
|
49300
|
-
component: () => import("./login-
|
|
49215
|
+
component: () => import("./login-CRBF4af6.js")
|
|
49301
49216
|
}
|
|
49302
49217
|
], router = createRouter({
|
|
49303
49218
|
history: createWebHistory(),
|
|
@@ -49310,37 +49225,60 @@ router.beforeEach((to, _2, next) => {
|
|
|
49310
49225
|
} else
|
|
49311
49226
|
next();
|
|
49312
49227
|
});
|
|
49228
|
+
class HttpApiReturnData {
|
|
49229
|
+
error_code;
|
|
49230
|
+
message;
|
|
49231
|
+
data;
|
|
49232
|
+
constructor() {
|
|
49233
|
+
this.error_code = 1, this.message = "未知错误", this.data = {};
|
|
49234
|
+
}
|
|
49235
|
+
get IsSuccess() {
|
|
49236
|
+
return this.error_code == 0;
|
|
49237
|
+
}
|
|
49238
|
+
static fromObject(obj) {
|
|
49239
|
+
const instance = new HttpApiReturnData();
|
|
49240
|
+
return Object.assign(instance, obj), instance;
|
|
49241
|
+
}
|
|
49242
|
+
}
|
|
49243
|
+
async function GetPublish(app2) {
|
|
49244
|
+
const response = await fetch("/api/system_public");
|
|
49245
|
+
if (!response.ok)
|
|
49246
|
+
throw new Error(`加载配置失败: ${response.status}`);
|
|
49247
|
+
let res = await response.json(), re = HttpApiReturnData.fromObject(res);
|
|
49248
|
+
if (console.log(re), re.IsSuccess) {
|
|
49249
|
+
let data = res.data;
|
|
49250
|
+
app2.provide("appname", data.app_name);
|
|
49251
|
+
} else
|
|
49252
|
+
console.log(11111);
|
|
49253
|
+
}
|
|
49313
49254
|
const zsysapp = createApp(app), pinia = createPinia();
|
|
49314
49255
|
pinia.use(index_default);
|
|
49315
49256
|
zsysapp.use(router);
|
|
49316
49257
|
zsysapp.use(installer, { locale: zhCn });
|
|
49317
49258
|
zsysapp.use(pinia);
|
|
49259
|
+
GetPublish(zsysapp);
|
|
49318
49260
|
zsysapp.mount("#app");
|
|
49319
49261
|
export {
|
|
49320
49262
|
ElMessage as E,
|
|
49263
|
+
HttpApiReturnData as H,
|
|
49321
49264
|
_export_sfc$1 as _,
|
|
49322
|
-
|
|
49265
|
+
avatar_default as a,
|
|
49323
49266
|
bell_default as b,
|
|
49324
|
-
|
|
49325
|
-
|
|
49326
|
-
|
|
49327
|
-
|
|
49328
|
-
|
|
49329
|
-
|
|
49330
|
-
|
|
49331
|
-
|
|
49332
|
-
|
|
49333
|
-
|
|
49334
|
-
|
|
49335
|
-
|
|
49336
|
-
odometer_default as o,
|
|
49337
|
-
search_default as p,
|
|
49338
|
-
arrow_right_default as q,
|
|
49267
|
+
copy_document_default as c,
|
|
49268
|
+
operation_default as d,
|
|
49269
|
+
useRouter as e,
|
|
49270
|
+
arrow_down_default as f,
|
|
49271
|
+
useTokenStore as g,
|
|
49272
|
+
useMagicKeys as h,
|
|
49273
|
+
refresh_default as i,
|
|
49274
|
+
search_default as j,
|
|
49275
|
+
arrow_right_default as k,
|
|
49276
|
+
useRoute as l,
|
|
49277
|
+
getDefaultExportFromCjs as m,
|
|
49278
|
+
office_building_default as o,
|
|
49339
49279
|
reading_default as r,
|
|
49340
|
-
|
|
49341
|
-
useRoute as t,
|
|
49280
|
+
setting_default as s,
|
|
49342
49281
|
user_default as u,
|
|
49343
|
-
video_camera_default as v,
|
|
49344
49282
|
whenever as w,
|
|
49345
|
-
|
|
49283
|
+
zsysapp as z
|
|
49346
49284
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, createTextVNode, reactive, computed, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
5
|
-
import { Z as ZSYSMessage } from "./message-
|
|
6
|
-
import {
|
|
2
|
+
import { _ as _sfc_main$2 } from "./breadcrumb.vue_vue_type_script_setup_true_lang-nfrW6-5D.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "./zsyslist.vue_vue_type_script_setup_true_lang-Bwtl9i35.js";
|
|
4
|
+
import { H as HttpApiV1 } from "./http_api_v1-BOkofMrH.js";
|
|
5
|
+
import { Z as ZSYSMessage } from "./message-CxCkznRZ.js";
|
|
6
|
+
import { a as formatDateTime } from "./zsys_time-BE4ImI0m.js";
|
|
7
7
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "log_setting",
|
|
9
9
|
setup(__props, { expose: __expose }) {
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode } from "vue";
|
|
2
|
-
import { Z as ZSYSMessage } from "./message-
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode, toDisplayString, inject } from "vue";
|
|
2
|
+
import { Z as ZSYSMessage } from "./message-CxCkznRZ.js";
|
|
3
|
+
import { e as useRouter, l as useRoute, _ as _export_sfc } from "./index-D0WjiJFA.js";
|
|
4
4
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
5
|
-
import { H as HttpApiV1 } from "./http_api_v1-
|
|
6
|
-
const _hoisted_1 = {
|
|
5
|
+
import { H as HttpApiV1 } from "./http_api_v1-BOkofMrH.js";
|
|
6
|
+
const _hoisted_1 = {
|
|
7
|
+
class: "bg",
|
|
8
|
+
style: { "background-image": "url('/public/img/login_bg.jpg')" }
|
|
9
|
+
}, _hoisted_2 = {
|
|
10
|
+
class: "card-header",
|
|
11
|
+
style: {}
|
|
12
|
+
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
13
|
__name: "login",
|
|
8
14
|
setup(__props) {
|
|
9
15
|
const r = useRouter(), route = useRoute(), d = reactive({
|
|
@@ -34,18 +40,15 @@ const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent(
|
|
|
34
40
|
shadow: "always",
|
|
35
41
|
class: "align-center"
|
|
36
42
|
}, {
|
|
37
|
-
header: withCtx(() => [
|
|
38
|
-
createElementVNode("div",
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
createElementVNode("span", null, "岗位行为识别系统")
|
|
43
|
-
], -1)
|
|
44
|
-
])]),
|
|
43
|
+
header: withCtx(() => [
|
|
44
|
+
createElementVNode("div", _hoisted_2, [
|
|
45
|
+
createElementVNode("span", null, toDisplayString(inject("appname")), 1)
|
|
46
|
+
])
|
|
47
|
+
]),
|
|
45
48
|
default: withCtx(() => [
|
|
46
49
|
createVNode(_component_el_image, {
|
|
47
50
|
style: { height: "100px" },
|
|
48
|
-
src: "
|
|
51
|
+
src: "/public/img/logo_100.png"
|
|
49
52
|
}),
|
|
50
53
|
createVNode(_component_el_form, {
|
|
51
54
|
"label-width": "auto",
|
|
@@ -88,7 +91,7 @@ const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent(
|
|
|
88
91
|
onClick: login2,
|
|
89
92
|
style: { width: "100%" }
|
|
90
93
|
}, {
|
|
91
|
-
default: withCtx(() => [..._cache[
|
|
94
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
92
95
|
createTextVNode("登录", -1)
|
|
93
96
|
])]),
|
|
94
97
|
_: 1
|
|
@@ -105,7 +108,7 @@ const _hoisted_1 = { class: "bg" }, _sfc_main = /* @__PURE__ */ defineComponent(
|
|
|
105
108
|
]);
|
|
106
109
|
};
|
|
107
110
|
}
|
|
108
|
-
}), login = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
111
|
+
}), login = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-49a35005"]]);
|
|
109
112
|
export {
|
|
110
113
|
login as default
|
|
111
114
|
};
|