zsysview 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{backup-Cke4NrXx.js → backup-CFb1azDq.js} +1 -1
- package/dist/{building-DrX90fKF.js → building-CPP-5foo.js} +1 -1
- package/dist/{change_password-DgcZMt2n.js → change_password-4Xj2KtVO.js} +1 -1
- package/dist/{department-BW_-GWhU.js → department-CCEL1-Ei.js} +1 -1
- package/dist/{help-DJMNjmm_.js → help-D4ou2jhe.js} +1 -1
- package/dist/{index-B-oDn2XQ.js → index-Bin-Bn8y.js} +73 -14
- package/dist/{log-V-5-93vy.js → log-D-XLl7My.js} +1 -1
- package/dist/{login-DJ38-m3A.js → login-C7B4Irqq.js} +1 -1
- package/dist/{main-C5nqVMag.js → main-yMaBpk6J.js} +24 -35
- package/dist/{notification-1qsG20g0.js → notification-DqlKr4sJ.js} +1 -1
- package/dist/{position-D0p29OVk.js → position-BfuEUoc-.js} +1 -1
- package/dist/{role-COVjy7yY.js → role-BthrZFhu.js} +1 -1
- package/dist/{self-BvnFT3z6.js → self-C7ClXBne.js} +1 -1
- package/dist/{systemsetting-Bp3eGya9.js → systemsetting-CJ9loh18.js} +1 -1
- package/dist/{user-CpFYPYUK.js → user-Rdplt2UP.js} +1 -1
- package/dist/version-BLw8R--t.js +32 -0
- package/dist/zsysview.css +1 -1
- package/dist/zsysview.es.d.ts +6 -0
- package/dist/zsysview.es.js +3 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-
|
|
2
|
+
import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = { key: 0 }, _hoisted_3 = { key: 0 }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "backup",
|
|
5
5
|
setup(__props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./index-
|
|
2
|
+
import { _ as _export_sfc } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _sfc_main = {}, _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } };
|
|
4
4
|
function _sfc_render(_ctx, _cache) {
|
|
5
5
|
const _component_breadcrumb = resolveComponent("breadcrumb"), _component_el_result = resolveComponent("el-result");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-
|
|
2
|
+
import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-Bin-Bn8y.js";
|
|
3
3
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
4
4
|
const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "change_password",
|
|
@@ -1,5 +1,5 @@
|
|
|
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 { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, n as refresh_default, m as _sfc_main$3 } from "./index-
|
|
2
|
+
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, n as refresh_default, m as _sfc_main$3 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "department_edit_dialog",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { i as _sfc_main$1 } from "./index-
|
|
2
|
+
import { i as _sfc_main$1 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "help",
|
|
5
5
|
setup(__props) {
|
|
@@ -48817,7 +48817,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
|
|
|
48817
48817
|
path: "/main",
|
|
48818
48818
|
//"/main"
|
|
48819
48819
|
name: "main",
|
|
48820
|
-
component: () => import("./main-
|
|
48820
|
+
component: () => import("./main-yMaBpk6J.js"),
|
|
48821
48821
|
meta: { requiresAuth: !0, title: "主界面" },
|
|
48822
48822
|
children: [
|
|
48823
48823
|
{
|
|
@@ -48829,13 +48829,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
|
|
|
48829
48829
|
path: "/self",
|
|
48830
48830
|
//个人中心
|
|
48831
48831
|
meta: { title: "基本信息" },
|
|
48832
|
-
component: () => import("./self-
|
|
48832
|
+
component: () => import("./self-C7ClXBne.js")
|
|
48833
48833
|
},
|
|
48834
48834
|
{
|
|
48835
48835
|
path: "/notification",
|
|
48836
48836
|
//个人中心
|
|
48837
48837
|
meta: { title: "系统消息" },
|
|
48838
|
-
component: () => import("./notification-
|
|
48838
|
+
component: () => import("./notification-DqlKr4sJ.js")
|
|
48839
48839
|
}
|
|
48840
48840
|
]
|
|
48841
48841
|
},
|
|
@@ -48843,7 +48843,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
|
|
|
48843
48843
|
path: "/password",
|
|
48844
48844
|
//修改密码
|
|
48845
48845
|
meta: { title: "修改密码" },
|
|
48846
|
-
component: () => import("./change_password-
|
|
48846
|
+
component: () => import("./change_password-4Xj2KtVO.js")
|
|
48847
48847
|
},
|
|
48848
48848
|
{
|
|
48849
48849
|
path: "/sys",
|
|
@@ -48854,56 +48854,61 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
|
|
|
48854
48854
|
{
|
|
48855
48855
|
path: "/user",
|
|
48856
48856
|
meta: { title: "用户管理" },
|
|
48857
|
-
component: () => import("./user-
|
|
48857
|
+
component: () => import("./user-Rdplt2UP.js")
|
|
48858
48858
|
},
|
|
48859
48859
|
{
|
|
48860
48860
|
path: "/department",
|
|
48861
48861
|
meta: { title: "组织架构" },
|
|
48862
|
-
component: () => import("./department-
|
|
48862
|
+
component: () => import("./department-CCEL1-Ei.js")
|
|
48863
48863
|
},
|
|
48864
48864
|
{
|
|
48865
48865
|
path: "/position",
|
|
48866
48866
|
meta: { title: "职务" },
|
|
48867
|
-
component: () => import("./position-
|
|
48867
|
+
component: () => import("./position-BfuEUoc-.js")
|
|
48868
48868
|
},
|
|
48869
48869
|
{
|
|
48870
48870
|
path: "/role",
|
|
48871
48871
|
meta: { title: "角色权限" },
|
|
48872
|
-
component: () => import("./role-
|
|
48872
|
+
component: () => import("./role-BthrZFhu.js")
|
|
48873
48873
|
},
|
|
48874
48874
|
{
|
|
48875
48875
|
path: "/log",
|
|
48876
48876
|
meta: { title: "日志" },
|
|
48877
|
-
component: () => import("./log-
|
|
48877
|
+
component: () => import("./log-D-XLl7My.js")
|
|
48878
48878
|
},
|
|
48879
48879
|
{
|
|
48880
48880
|
path: "/backup",
|
|
48881
48881
|
meta: { title: "备份" },
|
|
48882
|
-
component: () => import("./backup-
|
|
48882
|
+
component: () => import("./backup-CFb1azDq.js")
|
|
48883
48883
|
},
|
|
48884
48884
|
{
|
|
48885
48885
|
path: "/systemsetting",
|
|
48886
48886
|
meta: { title: "高级设置" },
|
|
48887
|
-
component: () => import("./systemsetting-
|
|
48887
|
+
component: () => import("./systemsetting-CJ9loh18.js")
|
|
48888
48888
|
}
|
|
48889
48889
|
]
|
|
48890
48890
|
},
|
|
48891
48891
|
{
|
|
48892
48892
|
path: "/help",
|
|
48893
48893
|
meta: { title: "使用帮助" },
|
|
48894
|
-
component: () => import("./help-
|
|
48894
|
+
component: () => import("./help-D4ou2jhe.js")
|
|
48895
|
+
},
|
|
48896
|
+
{
|
|
48897
|
+
path: "/version",
|
|
48898
|
+
meta: { title: "版本记录" },
|
|
48899
|
+
component: () => import("./version-BLw8R--t.js")
|
|
48895
48900
|
},
|
|
48896
48901
|
{
|
|
48897
48902
|
path: "/building",
|
|
48898
48903
|
meta: { title: "开发中的功能" },
|
|
48899
|
-
component: () => import("./building-
|
|
48904
|
+
component: () => import("./building-CPP-5foo.js")
|
|
48900
48905
|
}
|
|
48901
48906
|
]
|
|
48902
48907
|
},
|
|
48903
48908
|
{
|
|
48904
48909
|
path: "/login",
|
|
48905
48910
|
name: "login",
|
|
48906
|
-
component: () => import("./login-
|
|
48911
|
+
component: () => import("./login-C7B4Irqq.js")
|
|
48907
48912
|
}
|
|
48908
48913
|
], router = createRouter({
|
|
48909
48914
|
history: createWebHistory(),
|
|
@@ -51697,6 +51702,7 @@ class HttpApiV1 {
|
|
|
51697
51702
|
static url_export_detail = "api/export_detail";
|
|
51698
51703
|
static url_export_file = "api/export_file";
|
|
51699
51704
|
// 系统
|
|
51705
|
+
static url_system_version = "api/system_version";
|
|
51700
51706
|
static url_system_publish = "api/system_publish";
|
|
51701
51707
|
static url_system_common_info = "api/system_common_info";
|
|
51702
51708
|
static GetFullApiUrl(api) {
|
|
@@ -51710,6 +51716,14 @@ class HttpApiV1 {
|
|
|
51710
51716
|
return console.log(err), Promise.reject("访问服务器失败");
|
|
51711
51717
|
}
|
|
51712
51718
|
}
|
|
51719
|
+
static PostSync(url2, obj) {
|
|
51720
|
+
let rd = { error_code: 1, message: "请求失败" };
|
|
51721
|
+
return this.Post(url2, obj).then((res) => {
|
|
51722
|
+
rd = HttpApiReturnData.fromObject(res.data);
|
|
51723
|
+
}).catch((error) => {
|
|
51724
|
+
console.error("捕获错误:", error);
|
|
51725
|
+
}), rd;
|
|
51726
|
+
}
|
|
51713
51727
|
// http_axios.interceptors.response.use(res=>{
|
|
51714
51728
|
// return res
|
|
51715
51729
|
// },err=>{
|
|
@@ -52309,9 +52323,54 @@ const formatPreciseOralTime = (timestamp) => {
|
|
|
52309
52323
|
const date4 = new Date(timestamp), diffInMs = (/* @__PURE__ */ new Date()).getTime() - date4.getTime(), seconds = Math.floor(diffInMs / 1e3), minutes = Math.floor(seconds / 60), hours = Math.floor(minutes / 60), days = Math.floor(hours / 24);
|
|
52310
52324
|
return days > 0 ? days === 1 ? "昨天" : days === 2 ? "前天" : days < 7 ? `${days}天前` : days < 30 ? `${Math.floor(days / 7)}周前` : days < 365 ? `${Math.floor(days / 30)}个月前` : `${Math.floor(days / 365)}年前` : hours > 0 ? `${hours}小时前` : minutes > 0 ? `${minutes}分钟前` : "刚刚";
|
|
52311
52325
|
};
|
|
52326
|
+
class CommonHelper {
|
|
52327
|
+
//数组中是否存在字符串
|
|
52328
|
+
static StringArrayHasString(array4, str) {
|
|
52329
|
+
return array4.indexOf(str) !== -1;
|
|
52330
|
+
}
|
|
52331
|
+
//数组中是否存在另一数组中的任意一个元素
|
|
52332
|
+
static StringArrayHasStringArrayOne(array4, array22) {
|
|
52333
|
+
for (const s2 of array22)
|
|
52334
|
+
if (CommonHelper.StringArrayHasString(array4, s2))
|
|
52335
|
+
return !0;
|
|
52336
|
+
return !1;
|
|
52337
|
+
}
|
|
52338
|
+
//数组2是否包含在数组1中
|
|
52339
|
+
static StringArrayHasStringArray(array4, array22) {
|
|
52340
|
+
if (array22.length == 0)
|
|
52341
|
+
return !1;
|
|
52342
|
+
for (const s2 of array22)
|
|
52343
|
+
if (!CommonHelper.StringArrayHasString(array4, s2))
|
|
52344
|
+
return !1;
|
|
52345
|
+
return !0;
|
|
52346
|
+
}
|
|
52347
|
+
}
|
|
52348
|
+
function GetUserPermission() {
|
|
52349
|
+
let ps = [];
|
|
52350
|
+
try {
|
|
52351
|
+
let res = HttpApiV1.PostSync(HttpApiV1.url_user_permission, {});
|
|
52352
|
+
res.IsSuccess && (ps = res.data);
|
|
52353
|
+
} catch (e) {
|
|
52354
|
+
console.log(e);
|
|
52355
|
+
}
|
|
52356
|
+
return ps;
|
|
52357
|
+
}
|
|
52358
|
+
function HasPermission(p2) {
|
|
52359
|
+
let has = !1;
|
|
52360
|
+
try {
|
|
52361
|
+
let ps = GetUserPermission();
|
|
52362
|
+
has = CommonHelper.StringArrayHasString(ps, p2);
|
|
52363
|
+
} catch (error) {
|
|
52364
|
+
console.error(error);
|
|
52365
|
+
}
|
|
52366
|
+
return has;
|
|
52367
|
+
}
|
|
52312
52368
|
export {
|
|
52313
52369
|
zsysappMount as A,
|
|
52314
52370
|
HttpApiReturnData as B,
|
|
52371
|
+
CommonHelper as C,
|
|
52372
|
+
HasPermission as D,
|
|
52373
|
+
GetUserPermission as G,
|
|
52315
52374
|
HttpApiV1 as H,
|
|
52316
52375
|
ZSYSMessage as Z,
|
|
52317
52376
|
_export_sfc$1 as _,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, createTextVNode, reactive, computed, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-
|
|
2
|
+
import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "log_setting",
|
|
5
5
|
setup(__props, { expose: __expose }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode, toDisplayString, inject } from "vue";
|
|
2
|
-
import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-Bin-Bn8y.js";
|
|
3
3
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
class: "bg",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, inject, reactive, onMounted, ref, unref, createTextVNode, watch } from "vue";
|
|
2
|
-
import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-
|
|
2
|
+
import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, C as CommonHelper, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "userMenuItem",
|
|
5
5
|
props: {
|
|
@@ -46,30 +46,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
}, 8, ["index"]));
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
})
|
|
50
|
-
class CommonHelper {
|
|
51
|
-
//数组中是否存在字符串
|
|
52
|
-
static StringArrayHasString(array, str) {
|
|
53
|
-
return array.indexOf(str) !== -1;
|
|
54
|
-
}
|
|
55
|
-
//数组中是否存在另一数组中的任意一个元素
|
|
56
|
-
static StringArrayHasStringArrayOne(array, array2) {
|
|
57
|
-
for (const s of array2)
|
|
58
|
-
if (CommonHelper.StringArrayHasString(array, s))
|
|
59
|
-
return !0;
|
|
60
|
-
return !1;
|
|
61
|
-
}
|
|
62
|
-
//数组2是否包含在数组1中
|
|
63
|
-
static StringArrayHasStringArray(array, array2) {
|
|
64
|
-
if (array2.length == 0)
|
|
65
|
-
return !1;
|
|
66
|
-
for (const s of array2)
|
|
67
|
-
if (!CommonHelper.StringArrayHasString(array, s))
|
|
68
|
-
return !1;
|
|
69
|
-
return !0;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
49
|
+
}), _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
73
50
|
__name: "userMenu",
|
|
74
51
|
setup(__props) {
|
|
75
52
|
const app_menus = inject("app_menus");
|
|
@@ -342,14 +319,26 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
342
319
|
return onMounted(() => {
|
|
343
320
|
getViewTime(), getServerTime();
|
|
344
321
|
}), (_ctx, _cache) => {
|
|
345
|
-
const _component_el_image = resolveComponent("el-image"), _component_el_tooltip = resolveComponent("el-tooltip"), _component_el_button = resolveComponent("el-button"), _component_el_icon = resolveComponent("el-icon"), _component_el_dropdown_item = resolveComponent("el-dropdown-item"), _component_el_dropdown_menu = resolveComponent("el-dropdown-menu"), _component_el_dropdown = resolveComponent("el-dropdown"), _component_el_space = resolveComponent("el-space"),
|
|
322
|
+
const _component_el_link = resolveComponent("el-link"), _component_el_image = resolveComponent("el-image"), _component_el_tooltip = resolveComponent("el-tooltip"), _component_el_button = resolveComponent("el-button"), _component_el_icon = resolveComponent("el-icon"), _component_el_dropdown_item = resolveComponent("el-dropdown-item"), _component_el_dropdown_menu = resolveComponent("el-dropdown-menu"), _component_el_dropdown = resolveComponent("el-dropdown"), _component_el_space = resolveComponent("el-space"), _component_el_drawer = resolveComponent("el-drawer");
|
|
346
323
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
347
324
|
createElementVNode("div", _hoisted_1, [
|
|
348
325
|
createElementVNode("div", _hoisted_2, [
|
|
349
|
-
createVNode(_component_el_tooltip, {
|
|
350
|
-
content:
|
|
351
|
-
|
|
352
|
-
|
|
326
|
+
createVNode(_component_el_tooltip, { placement: "bottom" }, {
|
|
327
|
+
content: withCtx(() => [
|
|
328
|
+
_cache[3] || (_cache[3] = createTextVNode(" 版本:1.0", -1)),
|
|
329
|
+
_cache[4] || (_cache[4] = createElementVNode("br", null, null, -1)),
|
|
330
|
+
createVNode(_component_el_link, {
|
|
331
|
+
type: "primary",
|
|
332
|
+
href: "/version"
|
|
333
|
+
}, {
|
|
334
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
335
|
+
createTextVNode("查看版本记录", -1)
|
|
336
|
+
])]),
|
|
337
|
+
_: 1
|
|
338
|
+
}),
|
|
339
|
+
_cache[5] || (_cache[5] = createElementVNode("br", null, null, -1)),
|
|
340
|
+
createTextVNode(" 编译时间:前端(" + toDisplayString(view.view_build_time) + ") 后端(" + toDisplayString(view.server_build_time) + ") ", 1)
|
|
341
|
+
]),
|
|
353
342
|
default: withCtx(() => [
|
|
354
343
|
createVNode(_component_el_image, {
|
|
355
344
|
style: { height: "40px" },
|
|
@@ -357,7 +346,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
357
346
|
})
|
|
358
347
|
]),
|
|
359
348
|
_: 1
|
|
360
|
-
}
|
|
349
|
+
})
|
|
361
350
|
]),
|
|
362
351
|
createElementVNode("div", _hoisted_3, toDisplayString(inject("appname")), 1),
|
|
363
352
|
createVNode(_component_el_space, {
|
|
@@ -386,13 +375,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
386
375
|
createVNode(_component_el_dropdown_menu, null, {
|
|
387
376
|
default: withCtx(() => [
|
|
388
377
|
createVNode(_component_el_dropdown_item, { onClick: changepassword }, {
|
|
389
|
-
default: withCtx(() => [..._cache[
|
|
378
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
390
379
|
createTextVNode("修改密码", -1)
|
|
391
380
|
])]),
|
|
392
381
|
_: 1
|
|
393
382
|
}),
|
|
394
383
|
createVNode(_component_el_dropdown_item, { onClick: loginout }, {
|
|
395
|
-
default: withCtx(() => [..._cache[
|
|
384
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
396
385
|
createTextVNode("退出", -1)
|
|
397
386
|
])]),
|
|
398
387
|
_: 1
|
|
@@ -431,7 +420,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
431
420
|
type: "primary",
|
|
432
421
|
href: "/notification"
|
|
433
422
|
}, {
|
|
434
|
-
default: withCtx(() => [..._cache[
|
|
423
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
435
424
|
createTextVNode("查看全部消息", -1)
|
|
436
425
|
])]),
|
|
437
426
|
_: 1
|
|
@@ -446,7 +435,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
446
435
|
], 64);
|
|
447
436
|
};
|
|
448
437
|
}
|
|
449
|
-
}), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
438
|
+
}), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-7fb46fee"]]), _sfc_main = /* @__PURE__ */ defineComponent({
|
|
450
439
|
__name: "main",
|
|
451
440
|
setup(__props) {
|
|
452
441
|
const store = useTokenStore(), r = useRouter();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, computed, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-
|
|
2
|
+
import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "notification",
|
|
5
5
|
setup(__props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
|
|
2
|
-
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-
|
|
2
|
+
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "position_edit_dialog",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
|
|
2
|
-
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-
|
|
2
|
+
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "role_edit_dialog",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { H as HttpApiV1, i as _sfc_main$1 } from "./index-
|
|
2
|
+
import { H as HttpApiV1, i as _sfc_main$1 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "self",
|
|
5
5
|
setup(__props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-
|
|
2
|
+
import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-Bin-Bn8y.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "systemsetting",
|
|
5
5
|
setup(__props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createCommentVNode, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, computed, unref } from "vue";
|
|
2
|
-
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4, m as _sfc_main$5 } from "./index-
|
|
2
|
+
import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4, m as _sfc_main$5 } from "./index-Bin-Bn8y.js";
|
|
3
3
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
4
4
|
const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
|
|
5
5
|
key: 0,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { H as HttpApiV1, i as _sfc_main$1 } from "./index-Bin-Bn8y.js";
|
|
3
|
+
const _hoisted_1 = { style: { padding: "0px 20px", "white-space": "pre" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "version",
|
|
5
|
+
setup(__props) {
|
|
6
|
+
const view = reactive({
|
|
7
|
+
none_tip: !1,
|
|
8
|
+
version: ""
|
|
9
|
+
});
|
|
10
|
+
return onMounted(async () => {
|
|
11
|
+
let res = await HttpApiV1.Post(HttpApiV1.url_system_version, {});
|
|
12
|
+
res.IsSuccess ? (view.version = res.data, view.version == "" && (view.none_tip = !0)) : view.none_tip = !0;
|
|
13
|
+
}), (_ctx, _cache) => {
|
|
14
|
+
const _component_el_result = resolveComponent("el-result");
|
|
15
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
16
|
+
createVNode(_sfc_main$1),
|
|
17
|
+
createElementVNode("div", _hoisted_1, [
|
|
18
|
+
view.none_tip ? (openBlock(), createBlock(_component_el_result, {
|
|
19
|
+
key: 0,
|
|
20
|
+
icon: "info",
|
|
21
|
+
title: "暂无版本描述",
|
|
22
|
+
style: { "margin-top": "100px" }
|
|
23
|
+
})) : createCommentVNode("", !0),
|
|
24
|
+
createTextVNode(" " + toDisplayString(view.version), 1)
|
|
25
|
+
])
|
|
26
|
+
], 64);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
_sfc_main as default
|
|
32
|
+
};
|