zsysview 0.1.5 → 0.1.7
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-CFb1azDq.js → backup-BexBPSBN.js} +1 -1
- package/dist/{building-CPP-5foo.js → building-CEo1YykH.js} +1 -1
- package/dist/{change_password-4Xj2KtVO.js → change_password-BnVoX1vr.js} +1 -1
- package/dist/{department-CCEL1-Ei.js → department-CT10fKua.js} +1 -1
- package/dist/{help-D4ou2jhe.js → help-CAGHNs5E.js} +1 -1
- package/dist/{index-Bin-Bn8y.js → index-c7yqwLnu.js} +20 -20
- package/dist/{log-D-XLl7My.js → log-CK_uJoyi.js} +1 -1
- package/dist/{login-C7B4Irqq.js → login-zbjfj57O.js} +1 -1
- package/dist/{main-yMaBpk6J.js → main-CObUZ8wc.js} +1 -1
- package/dist/{notification-DqlKr4sJ.js → notification-BEgB0Pbq.js} +1 -1
- package/dist/{position-BfuEUoc-.js → position-DWnoh0S0.js} +1 -1
- package/dist/{role-BthrZFhu.js → role-BBOPM5Vr.js} +1 -1
- package/dist/{self-C7ClXBne.js → self-DNQRbObB.js} +1 -1
- package/dist/{systemsetting-CJ9loh18.js → systemsetting-DB48Vg0k.js} +1 -1
- package/dist/{user-Rdplt2UP.js → user-DVA6vbi8.js} +1 -1
- package/dist/{version-BLw8R--t.js → version-BIK3MHFB.js} +1 -1
- package/dist/zsysview.es.js +1 -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-c7yqwLnu.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-c7yqwLnu.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-c7yqwLnu.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-c7yqwLnu.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-c7yqwLnu.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-CObUZ8wc.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-DNQRbObB.js")
|
|
48833
48833
|
},
|
|
48834
48834
|
{
|
|
48835
48835
|
path: "/notification",
|
|
48836
48836
|
//个人中心
|
|
48837
48837
|
meta: { title: "系统消息" },
|
|
48838
|
-
component: () => import("./notification-
|
|
48838
|
+
component: () => import("./notification-BEgB0Pbq.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-BnVoX1vr.js")
|
|
48847
48847
|
},
|
|
48848
48848
|
{
|
|
48849
48849
|
path: "/sys",
|
|
@@ -48854,61 +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-DVA6vbi8.js")
|
|
48858
48858
|
},
|
|
48859
48859
|
{
|
|
48860
48860
|
path: "/department",
|
|
48861
48861
|
meta: { title: "组织架构" },
|
|
48862
|
-
component: () => import("./department-
|
|
48862
|
+
component: () => import("./department-CT10fKua.js")
|
|
48863
48863
|
},
|
|
48864
48864
|
{
|
|
48865
48865
|
path: "/position",
|
|
48866
48866
|
meta: { title: "职务" },
|
|
48867
|
-
component: () => import("./position-
|
|
48867
|
+
component: () => import("./position-DWnoh0S0.js")
|
|
48868
48868
|
},
|
|
48869
48869
|
{
|
|
48870
48870
|
path: "/role",
|
|
48871
48871
|
meta: { title: "角色权限" },
|
|
48872
|
-
component: () => import("./role-
|
|
48872
|
+
component: () => import("./role-BBOPM5Vr.js")
|
|
48873
48873
|
},
|
|
48874
48874
|
{
|
|
48875
48875
|
path: "/log",
|
|
48876
48876
|
meta: { title: "日志" },
|
|
48877
|
-
component: () => import("./log-
|
|
48877
|
+
component: () => import("./log-CK_uJoyi.js")
|
|
48878
48878
|
},
|
|
48879
48879
|
{
|
|
48880
48880
|
path: "/backup",
|
|
48881
48881
|
meta: { title: "备份" },
|
|
48882
|
-
component: () => import("./backup-
|
|
48882
|
+
component: () => import("./backup-BexBPSBN.js")
|
|
48883
48883
|
},
|
|
48884
48884
|
{
|
|
48885
48885
|
path: "/systemsetting",
|
|
48886
48886
|
meta: { title: "高级设置" },
|
|
48887
|
-
component: () => import("./systemsetting-
|
|
48887
|
+
component: () => import("./systemsetting-DB48Vg0k.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-CAGHNs5E.js")
|
|
48895
48895
|
},
|
|
48896
48896
|
{
|
|
48897
48897
|
path: "/version",
|
|
48898
48898
|
meta: { title: "版本记录" },
|
|
48899
|
-
component: () => import("./version-
|
|
48899
|
+
component: () => import("./version-BIK3MHFB.js")
|
|
48900
48900
|
},
|
|
48901
48901
|
{
|
|
48902
48902
|
path: "/building",
|
|
48903
48903
|
meta: { title: "开发中的功能" },
|
|
48904
|
-
component: () => import("./building-
|
|
48904
|
+
component: () => import("./building-CEo1YykH.js")
|
|
48905
48905
|
}
|
|
48906
48906
|
]
|
|
48907
48907
|
},
|
|
48908
48908
|
{
|
|
48909
48909
|
path: "/login",
|
|
48910
48910
|
name: "login",
|
|
48911
|
-
component: () => import("./login-
|
|
48911
|
+
component: () => import("./login-zbjfj57O.js")
|
|
48912
48912
|
}
|
|
48913
48913
|
], router = createRouter({
|
|
48914
48914
|
history: createWebHistory(),
|
|
@@ -51719,7 +51719,7 @@ class HttpApiV1 {
|
|
|
51719
51719
|
static PostSync(url2, obj) {
|
|
51720
51720
|
let rd = { error_code: 1, message: "请求失败" };
|
|
51721
51721
|
return this.Post(url2, obj).then((res) => {
|
|
51722
|
-
rd = HttpApiReturnData.fromObject(res.data);
|
|
51722
|
+
rd = HttpApiReturnData.fromObject(res.data), console.log("PostSync rd", rd);
|
|
51723
51723
|
}).catch((error) => {
|
|
51724
51724
|
console.error("捕获错误:", error);
|
|
51725
51725
|
}), rd;
|
|
@@ -52349,9 +52349,9 @@ function GetUserPermission() {
|
|
|
52349
52349
|
let ps = [];
|
|
52350
52350
|
try {
|
|
52351
52351
|
let res = HttpApiV1.PostSync(HttpApiV1.url_user_permission, {});
|
|
52352
|
-
res.IsSuccess && (ps = res.data);
|
|
52352
|
+
res.IsSuccess && (ps = res.data, console.log("GetUserPermission", ps));
|
|
52353
52353
|
} catch (e) {
|
|
52354
|
-
console.log(e);
|
|
52354
|
+
console.log("GetUserPermission error", e);
|
|
52355
52355
|
}
|
|
52356
52356
|
return ps;
|
|
52357
52357
|
}
|
|
@@ -52359,9 +52359,9 @@ function HasPermission(p2) {
|
|
|
52359
52359
|
let has = !1;
|
|
52360
52360
|
try {
|
|
52361
52361
|
let ps = GetUserPermission();
|
|
52362
|
-
has = CommonHelper.StringArrayHasString(ps, p2);
|
|
52362
|
+
console.log("ps", ps), has = CommonHelper.StringArrayHasString(ps, p2);
|
|
52363
52363
|
} catch (error) {
|
|
52364
|
-
console.error(error);
|
|
52364
|
+
console.error("HasPermission error", error);
|
|
52365
52365
|
}
|
|
52366
52366
|
return has;
|
|
52367
52367
|
}
|
|
@@ -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-c7yqwLnu.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-c7yqwLnu.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, 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-
|
|
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-c7yqwLnu.js";
|
|
3
3
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "userMenuItem",
|
|
5
5
|
props: {
|
|
@@ -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-c7yqwLnu.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-c7yqwLnu.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-c7yqwLnu.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-c7yqwLnu.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-c7yqwLnu.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-c7yqwLnu.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,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { H as HttpApiV1, i as _sfc_main$1 } from "./index-c7yqwLnu.js";
|
|
3
3
|
const _hoisted_1 = { style: { padding: "0px 20px", "white-space": "pre" } }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "version",
|
|
5
5
|
setup(__props) {
|
package/dist/zsysview.es.js
CHANGED