zsysview 0.1.31 → 0.1.34
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-DKQ9OpTg.js → backup-BLE-nrg2.js} +1 -1
- package/dist/{building-D8c1nLDS.js → building-BT7LQTNX.js} +1 -1
- package/dist/{change_password-CP2Cr60n.js → change_password-DkRK4FEF.js} +1 -1
- package/dist/{department-CF-ESEE7.js → department-BgggtWRy.js} +1 -1
- package/dist/{help-F6nK-Cu7.js → help-DEEzBbCi.js} +1 -1
- package/dist/{index-Bi-TEXig.js → index-AWs6yDvi.js} +15 -15
- package/dist/{log-BrHTWB00.js → log-BM0xYm3t.js} +1 -1
- package/dist/{login-CPMOC0hl.js → login-DDqlMXu_.js} +1 -1
- package/dist/{main-L9fzjB16.js → main-DargS7FG.js} +74 -41
- package/dist/{notification-CQj1Lr8G.js → notification-DyEvP4zX.js} +1 -1
- package/dist/{position-B5wSrLys.js → position-B_nM9rnB.js} +1 -1
- package/dist/{role-CBgDg-In.js → role-DlnOMUpa.js} +1 -1
- package/dist/{self-D8fxYEjt.js → self-CZDkNDaW.js} +1 -1
- package/dist/{systemsetting-9CGCcM4E.js → systemsetting-B9_eHvzU.js} +1 -1
- package/dist/{user-CeQ91SyS.js → user-ziHTW4a_.js} +1 -1
- package/dist/{version-34fMX6Dj.js → version-DD_ggGRu.js} +1 -1
- package/dist/zsysview.css +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-AWs6yDvi.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-AWs6yDvi.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-AWs6yDvi.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-AWs6yDvi.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-AWs6yDvi.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-DargS7FG.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-CZDkNDaW.js")
|
|
48833
48833
|
},
|
|
48834
48834
|
{
|
|
48835
48835
|
path: "/notification",
|
|
48836
48836
|
//个人中心
|
|
48837
48837
|
meta: { title: "系统消息" },
|
|
48838
|
-
component: () => import("./notification-
|
|
48838
|
+
component: () => import("./notification-DyEvP4zX.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-DkRK4FEF.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-ziHTW4a_.js")
|
|
48858
48858
|
},
|
|
48859
48859
|
{
|
|
48860
48860
|
path: "/department",
|
|
48861
48861
|
meta: { title: "组织架构" },
|
|
48862
|
-
component: () => import("./department-
|
|
48862
|
+
component: () => import("./department-BgggtWRy.js")
|
|
48863
48863
|
},
|
|
48864
48864
|
{
|
|
48865
48865
|
path: "/position",
|
|
48866
48866
|
meta: { title: "职务" },
|
|
48867
|
-
component: () => import("./position-
|
|
48867
|
+
component: () => import("./position-B_nM9rnB.js")
|
|
48868
48868
|
},
|
|
48869
48869
|
{
|
|
48870
48870
|
path: "/role",
|
|
48871
48871
|
meta: { title: "角色权限" },
|
|
48872
|
-
component: () => import("./role-
|
|
48872
|
+
component: () => import("./role-DlnOMUpa.js")
|
|
48873
48873
|
},
|
|
48874
48874
|
{
|
|
48875
48875
|
path: "/log",
|
|
48876
48876
|
meta: { title: "日志" },
|
|
48877
|
-
component: () => import("./log-
|
|
48877
|
+
component: () => import("./log-BM0xYm3t.js")
|
|
48878
48878
|
},
|
|
48879
48879
|
{
|
|
48880
48880
|
path: "/backup",
|
|
48881
48881
|
meta: { title: "备份" },
|
|
48882
|
-
component: () => import("./backup-
|
|
48882
|
+
component: () => import("./backup-BLE-nrg2.js")
|
|
48883
48883
|
},
|
|
48884
48884
|
{
|
|
48885
48885
|
path: "/systemsetting",
|
|
48886
48886
|
meta: { title: "高级设置" },
|
|
48887
|
-
component: () => import("./systemsetting-
|
|
48887
|
+
component: () => import("./systemsetting-B9_eHvzU.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-DEEzBbCi.js")
|
|
48895
48895
|
},
|
|
48896
48896
|
{
|
|
48897
48897
|
path: "/version",
|
|
48898
48898
|
meta: { title: "版本记录" },
|
|
48899
|
-
component: () => import("./version-
|
|
48899
|
+
component: () => import("./version-DD_ggGRu.js")
|
|
48900
48900
|
},
|
|
48901
48901
|
{
|
|
48902
48902
|
path: "/building",
|
|
48903
48903
|
meta: { title: "开发中的功能" },
|
|
48904
|
-
component: () => import("./building-
|
|
48904
|
+
component: () => import("./building-BT7LQTNX.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-DDqlMXu_.js")
|
|
48912
48912
|
}
|
|
48913
48913
|
], router = createRouter({
|
|
48914
48914
|
history: createWebHistory(),
|
|
@@ -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-AWs6yDvi.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-AWs6yDvi.js";
|
|
3
3
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
class: "bg",
|
|
@@ -1,5 +1,5 @@
|
|
|
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,
|
|
1
|
+
import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, inject, reactive, onMounted, ref, createCommentVNode, 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, f as formatPreciseOralTime, O as OpenClientUrlWithID, e as useRouter, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-AWs6yDvi.js";
|
|
3
3
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "userMenuItem",
|
|
5
5
|
props: {
|
|
@@ -226,18 +226,23 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
226
226
|
});
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
}), Usermenu = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c77e10a7"]]), _hoisted_1$1 = ["onClick"], _hoisted_2$1 = { style: { height: "20px" } }, _hoisted_3$1 = { style: { "font-weight": "bold", float: "left" } }, _hoisted_4$1 = {
|
|
229
|
+
}), Usermenu = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c77e10a7"]]), _hoisted_1$1 = ["onClick"], _hoisted_2$1 = { style: { height: "20px" } }, _hoisted_3$1 = { style: { "font-weight": "bold", float: "left" } }, _hoisted_4$1 = {
|
|
230
|
+
key: 0,
|
|
231
|
+
style: { "background-color": "#EF4444", "border-radius": "50%", height: "5px", width: "5px", float: "right" }
|
|
232
|
+
}, _hoisted_5$1 = { style: { color: "#909399", "font-size": "small", float: "right" } }, _hoisted_6$1 = { style: { width: "100%", display: "inline-block" } }, _hoisted_7$1 = { style: { "font-size": "medium", color: "#374151" } }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
230
233
|
__name: "notification_box",
|
|
231
234
|
setup(__props) {
|
|
232
|
-
const data = ref([]),
|
|
233
|
-
|
|
235
|
+
const data = ref([]), handleClick = (item) => {
|
|
236
|
+
HttpApiV1.Post(HttpApiV1.url_notification_read, { id: item.notification_id });
|
|
237
|
+
const n = data.value.find((i) => i.notification_id == item.notification_id);
|
|
238
|
+
n && (n.is_read = 1), OpenClientUrlWithID(item.url, item.data_id);
|
|
234
239
|
}, getdata = async () => {
|
|
235
240
|
let d = [], res = await HttpApiV1.Post(HttpApiV1.url_notification_list, { page_size: 50, page_index: 1 });
|
|
236
241
|
if (res.IsSuccess) {
|
|
237
242
|
let data2 = res.data;
|
|
238
243
|
for (let i = 0; i < data2.listdata.length; i++) {
|
|
239
|
-
let
|
|
240
|
-
d.push(
|
|
244
|
+
let r = data2.listdata[i];
|
|
245
|
+
d.push(r);
|
|
241
246
|
}
|
|
242
247
|
return d;
|
|
243
248
|
}
|
|
@@ -245,39 +250,32 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
245
250
|
};
|
|
246
251
|
return onMounted(async () => {
|
|
247
252
|
data.value = await getdata();
|
|
248
|
-
}), (_ctx, _cache) => {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
createElementVNode("div",
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
style: { "font-size": "medium" }
|
|
263
|
-
}, {
|
|
264
|
-
default: withCtx(() => [
|
|
265
|
-
createTextVNode(toDisplayString(item.title), 1)
|
|
266
|
-
]),
|
|
267
|
-
_: 2
|
|
268
|
-
}, 1024)
|
|
269
|
-
])
|
|
270
|
-
], 8, _hoisted_1$1))), 128);
|
|
271
|
-
};
|
|
253
|
+
}), (_ctx, _cache) => (openBlock(!0), createElementBlock(Fragment, null, renderList(data.value, (item, index) => (openBlock(), createElementBlock("div", {
|
|
254
|
+
key: index,
|
|
255
|
+
onClick: ($event) => handleClick(item),
|
|
256
|
+
class: "item"
|
|
257
|
+
}, [
|
|
258
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
259
|
+
createElementVNode("div", _hoisted_3$1, toDisplayString(item.module), 1),
|
|
260
|
+
item.is_read == 0 ? (openBlock(), createElementBlock("div", _hoisted_4$1)) : createCommentVNode("", !0),
|
|
261
|
+
createElementVNode("div", _hoisted_5$1, toDisplayString(unref(formatPreciseOralTime)(item.c_time)), 1)
|
|
262
|
+
]),
|
|
263
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
264
|
+
createElementVNode("div", _hoisted_7$1, toDisplayString(item.title), 1)
|
|
265
|
+
])
|
|
266
|
+
], 8, _hoisted_1$1))), 128));
|
|
272
267
|
}
|
|
273
|
-
}), _hoisted_1 = { style: { "padding-left": "20px", "padding-right": "20px" } }, _hoisted_2 = { style: { height: "60px", "margin-right": "10px", float: "left", display: "flex", "align-items": "center", "justify-content": "center" } }, _hoisted_3 = { style: { float: "left", "line-height": "60px" } }, _hoisted_4 = {
|
|
268
|
+
}), notification = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-54048ec7"]]), _hoisted_1 = { style: { "padding-left": "20px", "padding-right": "20px" } }, _hoisted_2 = { style: { height: "60px", "margin-right": "10px", float: "left", display: "flex", "align-items": "center", "justify-content": "center" } }, _hoisted_3 = { style: { float: "left", "line-height": "60px" } }, _hoisted_4 = {
|
|
269
|
+
key: 0,
|
|
270
|
+
style: { color: "rgb(196, 86, 86)" }
|
|
271
|
+
}, _hoisted_5 = { class: "el-dropdown-link" }, _hoisted_6 = { style: { "font-size": "24px" } }, _hoisted_7 = { style: { "text-align": "center" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
274
272
|
__name: "userHeader",
|
|
275
273
|
setup(__props) {
|
|
276
274
|
const view = reactive({
|
|
277
275
|
version: "未知",
|
|
278
276
|
view_build_time: "未知",
|
|
279
277
|
server_build_time: "未知"
|
|
280
|
-
}), notification_open = ref(!1), r = useRouter(), user = reactive({
|
|
278
|
+
}), notification_open = ref(!1), has_new_notification = ref(!1), r = useRouter(), user = reactive({
|
|
281
279
|
uname: ""
|
|
282
280
|
});
|
|
283
281
|
HttpApiV1.Post(HttpApiV1.url_usercenter, {}).then((res) => {
|
|
@@ -324,8 +322,22 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
324
322
|
console.log(e);
|
|
325
323
|
}
|
|
326
324
|
}
|
|
325
|
+
const allread = () => {
|
|
326
|
+
HttpApiV1.Post(HttpApiV1.url_notification_all_read, {}), notification_open.value = !1, has_new_notification.value = !1;
|
|
327
|
+
}, getLastNotification = async () => {
|
|
328
|
+
let res = await HttpApiV1.Post(HttpApiV1.url_notification_list, { page_size: 50, page_index: 1 });
|
|
329
|
+
if (res.IsSuccess) {
|
|
330
|
+
let data = res.data;
|
|
331
|
+
for (let i = 0; i < data.listdata.length; i++) {
|
|
332
|
+
data.listdata[i]?.is_read == 0 && (has_new_notification.value = !0);
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
};
|
|
327
337
|
return onMounted(() => {
|
|
328
|
-
getViewTime(), getServerTime(), getVersion()
|
|
338
|
+
getViewTime(), getServerTime(), getVersion(), setInterval(() => {
|
|
339
|
+
getLastNotification();
|
|
340
|
+
}, 3e3);
|
|
329
341
|
}), (_ctx, _cache) => {
|
|
330
342
|
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");
|
|
331
343
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -371,7 +383,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
371
383
|
text: "",
|
|
372
384
|
icon: unref(bell_default),
|
|
373
385
|
onClick: _cache[0] || (_cache[0] = ($event) => notification_open.value = !0)
|
|
374
|
-
},
|
|
386
|
+
}, {
|
|
387
|
+
default: withCtx(() => [
|
|
388
|
+
has_new_notification.value ? (openBlock(), createElementBlock("span", _hoisted_4, "有新消息")) : createCommentVNode("", !0)
|
|
389
|
+
]),
|
|
390
|
+
_: 1
|
|
391
|
+
}, 8, ["icon"])
|
|
375
392
|
]),
|
|
376
393
|
_: 1
|
|
377
394
|
}),
|
|
@@ -399,7 +416,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
399
416
|
})
|
|
400
417
|
]),
|
|
401
418
|
default: withCtx(() => [
|
|
402
|
-
createElementVNode("span",
|
|
419
|
+
createElementVNode("span", _hoisted_5, [
|
|
403
420
|
createTextVNode(toDisplayString(user.uname) + " ", 1),
|
|
404
421
|
createVNode(_component_el_icon, { class: "el-icon--right" }, {
|
|
405
422
|
default: withCtx(() => [
|
|
@@ -420,15 +437,31 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
420
437
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => notification_open.value = $event),
|
|
421
438
|
title: "消息盒子",
|
|
422
439
|
size: 400,
|
|
423
|
-
"destroy-on-close": !0
|
|
440
|
+
"destroy-on-close": !0,
|
|
441
|
+
class: "box"
|
|
424
442
|
}, {
|
|
443
|
+
header: withCtx(() => [
|
|
444
|
+
createElementVNode("div", _hoisted_6, [
|
|
445
|
+
_cache[8] || (_cache[8] = createTextVNode("消息盒子", -1)),
|
|
446
|
+
createVNode(_component_el_link, {
|
|
447
|
+
type: "primary",
|
|
448
|
+
style: { "margin-left": "10px" },
|
|
449
|
+
onClick: allread
|
|
450
|
+
}, {
|
|
451
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
452
|
+
createTextVNode("已阅全部", -1)
|
|
453
|
+
])]),
|
|
454
|
+
_: 1
|
|
455
|
+
})
|
|
456
|
+
])
|
|
457
|
+
]),
|
|
425
458
|
footer: withCtx(() => [
|
|
426
|
-
createElementVNode("div",
|
|
459
|
+
createElementVNode("div", _hoisted_7, [
|
|
427
460
|
createVNode(_component_el_link, {
|
|
428
461
|
type: "primary",
|
|
429
462
|
href: "/notification"
|
|
430
463
|
}, {
|
|
431
|
-
default: withCtx(() => [..._cache[
|
|
464
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
432
465
|
createTextVNode("查看全部消息", -1)
|
|
433
466
|
])]),
|
|
434
467
|
_: 1
|
|
@@ -436,14 +469,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
436
469
|
])
|
|
437
470
|
]),
|
|
438
471
|
default: withCtx(() => [
|
|
439
|
-
createVNode(
|
|
472
|
+
createVNode(notification, { ref: "notification_box" }, null, 512)
|
|
440
473
|
]),
|
|
441
474
|
_: 1
|
|
442
475
|
}, 8, ["modelValue"])
|
|
443
476
|
], 64);
|
|
444
477
|
};
|
|
445
478
|
}
|
|
446
|
-
}), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
479
|
+
}), Userheader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e943c1a6"]]), _sfc_main = /* @__PURE__ */ defineComponent({
|
|
447
480
|
__name: "main",
|
|
448
481
|
setup(__props) {
|
|
449
482
|
const store = useTokenStore(), r = useRouter();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, computed, resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { z as zsysEventBus, H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2, O as OpenClientUrlWithID } from "./index-
|
|
2
|
+
import { z as zsysEventBus, H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2, O as OpenClientUrlWithID } from "./index-AWs6yDvi.js";
|
|
3
3
|
const _hoisted_1 = { class: "flex_height" }, _hoisted_2 = {
|
|
4
4
|
class: "flex_fill",
|
|
5
5
|
style: { padding: "0px 20px" }
|
|
@@ -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-AWs6yDvi.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-AWs6yDvi.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-AWs6yDvi.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-AWs6yDvi.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-AWs6yDvi.js";
|
|
3
3
|
import { h } from "./index.es-DrN1BLo5.js";
|
|
4
4
|
const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2$1 = {
|
|
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-AWs6yDvi.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) {
|