zsysview 0.1.34 → 0.1.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-BLE-nrg2.js → backup-COcCJb62.js} +1 -1
- package/dist/{building-BT7LQTNX.js → building-BChaRK3l.js} +1 -1
- package/dist/change_password-BuCylpBt.js +17 -0
- package/dist/change_password_panel.vue_vue_type_script_setup_true_lang-AKEQjIc3.js +186 -0
- package/dist/{department-BgggtWRy.js → department-DzP9HRBY.js} +1 -1
- package/dist/{help-DEEzBbCi.js → help-1xk-vnLY.js} +1 -1
- package/dist/{index-AWs6yDvi.js → index-AG3yhDG9.js} +165 -144
- package/dist/{log-BM0xYm3t.js → log-MfFiH8pw.js} +1 -1
- package/dist/login--ISRUoev.js +174 -0
- package/dist/{main-DargS7FG.js → main-BDXt3YcM.js} +22 -44
- package/dist/{notification-DyEvP4zX.js → notification-D7Ai1PlH.js} +1 -1
- package/dist/nyxxx.mp3 +0 -0
- package/dist/{position-B_nM9rnB.js → position-LalBjY2P.js} +3 -2
- package/dist/{role-DlnOMUpa.js → role-_YjZ-iFJ.js} +1 -1
- package/dist/{self-CZDkNDaW.js → self-nYVyk5As.js} +1 -1
- package/dist/{systemsetting-B9_eHvzU.js → systemsetting-D-HLfZ2D.js} +28 -49
- package/dist/{user-ziHTW4a_.js → user-CNowCkY5.js} +304 -27
- package/dist/{version-DD_ggGRu.js → version-BF4ogONa.js} +1 -1
- package/dist/zsysview.css +1 -1
- package/dist/zsysview.es.d.ts +244 -235
- package/dist/zsysview.es.js +15 -14
- package/package.json +1 -1
- package/dist/change_password-DkRK4FEF.js +0 -132
- package/dist/login-DDqlMXu_.js +0 -112
|
@@ -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-BDXt3YcM.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-nYVyk5As.js")
|
|
48833
48833
|
},
|
|
48834
48834
|
{
|
|
48835
48835
|
path: "/notification",
|
|
48836
48836
|
//个人中心
|
|
48837
48837
|
meta: { title: "系统消息" },
|
|
48838
|
-
component: () => import("./notification-
|
|
48838
|
+
component: () => import("./notification-D7Ai1PlH.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-BuCylpBt.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-CNowCkY5.js")
|
|
48858
48858
|
},
|
|
48859
48859
|
{
|
|
48860
48860
|
path: "/department",
|
|
48861
48861
|
meta: { title: "组织架构" },
|
|
48862
|
-
component: () => import("./department-
|
|
48862
|
+
component: () => import("./department-DzP9HRBY.js")
|
|
48863
48863
|
},
|
|
48864
48864
|
{
|
|
48865
48865
|
path: "/position",
|
|
48866
48866
|
meta: { title: "职务" },
|
|
48867
|
-
component: () => import("./position-
|
|
48867
|
+
component: () => import("./position-LalBjY2P.js")
|
|
48868
48868
|
},
|
|
48869
48869
|
{
|
|
48870
48870
|
path: "/role",
|
|
48871
48871
|
meta: { title: "角色权限" },
|
|
48872
|
-
component: () => import("./role-
|
|
48872
|
+
component: () => import("./role-_YjZ-iFJ.js")
|
|
48873
48873
|
},
|
|
48874
48874
|
{
|
|
48875
48875
|
path: "/log",
|
|
48876
48876
|
meta: { title: "日志" },
|
|
48877
|
-
component: () => import("./log-
|
|
48877
|
+
component: () => import("./log-MfFiH8pw.js")
|
|
48878
48878
|
},
|
|
48879
48879
|
{
|
|
48880
48880
|
path: "/backup",
|
|
48881
48881
|
meta: { title: "备份" },
|
|
48882
|
-
component: () => import("./backup-
|
|
48882
|
+
component: () => import("./backup-COcCJb62.js")
|
|
48883
48883
|
},
|
|
48884
48884
|
{
|
|
48885
48885
|
path: "/systemsetting",
|
|
48886
48886
|
meta: { title: "高级设置" },
|
|
48887
|
-
component: () => import("./systemsetting-
|
|
48887
|
+
component: () => import("./systemsetting-D-HLfZ2D.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-1xk-vnLY.js")
|
|
48895
48895
|
},
|
|
48896
48896
|
{
|
|
48897
48897
|
path: "/version",
|
|
48898
48898
|
meta: { title: "版本记录" },
|
|
48899
|
-
component: () => import("./version-
|
|
48899
|
+
component: () => import("./version-BF4ogONa.js")
|
|
48900
48900
|
},
|
|
48901
48901
|
{
|
|
48902
48902
|
path: "/building",
|
|
48903
48903
|
meta: { title: "开发中的功能" },
|
|
48904
|
-
component: () => import("./building-
|
|
48904
|
+
component: () => import("./building-BChaRK3l.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--ISRUoev.js")
|
|
48912
48912
|
}
|
|
48913
48913
|
], router = createRouter({
|
|
48914
48914
|
history: createWebHistory(),
|
|
@@ -51660,8 +51660,11 @@ class HttpApiV1 {
|
|
|
51660
51660
|
//'http://localhost:1788/' //1788
|
|
51661
51661
|
//当前用户
|
|
51662
51662
|
static url_login = "api/login";
|
|
51663
|
+
static url_login_vc = "api/login_vc";
|
|
51663
51664
|
static url_usercenter = "api/user_center";
|
|
51664
51665
|
static url_change_password = "api/change_password";
|
|
51666
|
+
static url_user_change_pwd_by_username = "api/user_change_pwd_by_username";
|
|
51667
|
+
static url_user_change_pwd_by_username_vc = "api/user_change_pwd_by_username_vc";
|
|
51665
51668
|
static url_user_permission = "api/user_permission";
|
|
51666
51669
|
//系统消息
|
|
51667
51670
|
static url_notification_list = "api/notification_list";
|
|
@@ -51674,6 +51677,9 @@ class HttpApiV1 {
|
|
|
51674
51677
|
static url_user_del = "api/user_del";
|
|
51675
51678
|
static url_user_detail = "api/user_detail";
|
|
51676
51679
|
static url_user_change_pwd = "api/user_change_pwd";
|
|
51680
|
+
static url_user_module_setting_get = "api/user_module_setting_get";
|
|
51681
|
+
static url_user_module_setting_save = "api/user_module_setting_save";
|
|
51682
|
+
static url_user_unlock = "api/user_unlock";
|
|
51677
51683
|
//组织架构
|
|
51678
51684
|
static url_department_save = "api/department_save";
|
|
51679
51685
|
static url_department_list = "api/department_list";
|
|
@@ -51693,7 +51699,9 @@ class HttpApiV1 {
|
|
|
51693
51699
|
static url_backup_list = "api/backup_list";
|
|
51694
51700
|
static url_backup_del = "api/backup_del";
|
|
51695
51701
|
static url_backup_config_get = "api/backup_config_get";
|
|
51696
|
-
static url_backup_config_save = "api/
|
|
51702
|
+
static url_backup_config_save = "api/system_setting_set";
|
|
51703
|
+
//系统高级设置
|
|
51704
|
+
static url_system_setting_save = "api/backup_config_save";
|
|
51697
51705
|
//权限
|
|
51698
51706
|
static url_syspermission_list = "api/permission_list";
|
|
51699
51707
|
static url_sysrole_list = "api/role_list";
|
|
@@ -51706,7 +51714,7 @@ class HttpApiV1 {
|
|
|
51706
51714
|
// 系统
|
|
51707
51715
|
static url_system_version = "api/system_version";
|
|
51708
51716
|
static url_system_version_history = "api/system_version_history";
|
|
51709
|
-
static
|
|
51717
|
+
static url_system_public = "api/system_public";
|
|
51710
51718
|
static url_system_common_info = "api/system_common_info";
|
|
51711
51719
|
static GetFullApiUrl(api) {
|
|
51712
51720
|
return this.api_host + api;
|
|
@@ -51750,109 +51758,13 @@ class ZSYSMessage {
|
|
|
51750
51758
|
}
|
|
51751
51759
|
install = (app2) => (app2.component(ZSYSMessage.name, ZSYSMessage), app2);
|
|
51752
51760
|
}
|
|
51753
|
-
|
|
51754
|
-
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
|
|
51755
|
-
var i = n.get(t);
|
|
51756
|
-
i ? i.push(e) : n.set(t, [e]);
|
|
51757
|
-
}, off: function(t, e) {
|
|
51758
|
-
var i = n.get(t);
|
|
51759
|
-
i && (e ? i.splice(i.indexOf(e) >>> 0, 1) : n.set(t, []));
|
|
51760
|
-
}, emit: function(t, e) {
|
|
51761
|
-
var i = n.get(t);
|
|
51762
|
-
i && i.slice().map(function(n2) {
|
|
51763
|
-
n2(e);
|
|
51764
|
-
}), (i = n.get("*")) && i.slice().map(function(n2) {
|
|
51765
|
-
n2(t, e);
|
|
51766
|
-
});
|
|
51767
|
-
} };
|
|
51768
|
-
}
|
|
51769
|
-
const emitter = mitt(), zsysEventBus = () => ({
|
|
51770
|
-
// 触发事件
|
|
51771
|
-
emit: emitter.emit,
|
|
51772
|
-
// 监听事件
|
|
51773
|
-
on: emitter.on,
|
|
51774
|
-
// 取消监听
|
|
51775
|
-
off: emitter.off,
|
|
51776
|
-
// 一次性监听
|
|
51777
|
-
once: (event, handler) => {
|
|
51778
|
-
const onceHandler = (payload) => {
|
|
51779
|
-
handler(payload), emitter.off(event, onceHandler);
|
|
51780
|
-
};
|
|
51781
|
-
emitter.on(event, onceHandler);
|
|
51782
|
-
},
|
|
51783
|
-
// 清空所有监听
|
|
51784
|
-
clearAll: emitter.all.clear
|
|
51785
|
-
}), _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
51786
|
-
__name: "zsys_delbutton",
|
|
51787
|
-
props: {
|
|
51788
|
-
id: { type: BigInt, required: !0 },
|
|
51789
|
-
api_url: { type: String, required: !0 },
|
|
51790
|
-
module: { type: String, default: "all" }
|
|
51791
|
-
// closeOnClickModal: { type: Boolean, default: true }
|
|
51792
|
-
},
|
|
51793
|
-
setup(__props) {
|
|
51794
|
-
const eventBus = zsysEventBus(), view = reactive({
|
|
51795
|
-
loading: !1
|
|
51796
|
-
}), props2 = __props, confirm = async () => {
|
|
51797
|
-
view.loading = !0;
|
|
51798
|
-
try {
|
|
51799
|
-
(await HttpApiV1.Post(props2.api_url, { id: props2.id })).IsSuccess ? (view.loading = !1, ZSYSMessage.ShowSuccess("删除成功"), console.log("aud", props2.module), console.log(props2.module), eventBus.emit("aud", { module: props2.module, id: props2.id })) : ZSYSMessage.ShowError("删除失败");
|
|
51800
|
-
} catch {
|
|
51801
|
-
}
|
|
51802
|
-
view.loading = !1;
|
|
51803
|
-
};
|
|
51804
|
-
return (_ctx, _cache) => {
|
|
51805
|
-
const _component_el_link = resolveComponent("el-link"), _component_el_popconfirm = resolveComponent("el-popconfirm"), _component_el_popover = resolveComponent("el-popover");
|
|
51806
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
51807
|
-
view.loading ? createCommentVNode("", !0) : (openBlock(), createBlock(_component_el_popconfirm, {
|
|
51808
|
-
key: 0,
|
|
51809
|
-
onConfirm: confirm,
|
|
51810
|
-
title: "确认要删除吗?",
|
|
51811
|
-
"confirm-button-text": "删除",
|
|
51812
|
-
"cancel-button-text": "取消",
|
|
51813
|
-
"confirm-button-type": "danger"
|
|
51814
|
-
}, {
|
|
51815
|
-
reference: withCtx(() => [
|
|
51816
|
-
createVNode(_component_el_link, { type: "primary" }, {
|
|
51817
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
51818
|
-
createTextVNode("删除", -1)
|
|
51819
|
-
])]),
|
|
51820
|
-
_: 1
|
|
51821
|
-
})
|
|
51822
|
-
]),
|
|
51823
|
-
_: 1
|
|
51824
|
-
})),
|
|
51825
|
-
view.loading ? (openBlock(), createBlock(_component_el_popover, {
|
|
51826
|
-
key: 1,
|
|
51827
|
-
visible: view.loading,
|
|
51828
|
-
width: 40,
|
|
51829
|
-
placement: "top",
|
|
51830
|
-
content: "正在删除"
|
|
51831
|
-
}, {
|
|
51832
|
-
reference: withCtx(() => [
|
|
51833
|
-
createVNode(_component_el_link, {
|
|
51834
|
-
type: "primary",
|
|
51835
|
-
style: { "margin-left": "6px" },
|
|
51836
|
-
disabled: ""
|
|
51837
|
-
}, {
|
|
51838
|
-
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
51839
|
-
createTextVNode("删除", -1)
|
|
51840
|
-
])]),
|
|
51841
|
-
_: 1
|
|
51842
|
-
})
|
|
51843
|
-
]),
|
|
51844
|
-
_: 1
|
|
51845
|
-
}, 8, ["visible"])) : createCommentVNode("", !0)
|
|
51846
|
-
], 64);
|
|
51847
|
-
};
|
|
51848
|
-
}
|
|
51849
|
-
}), _hoisted_1$4 = { style: { "padding-left": "20px", "padding-right": "20px", "padding-top": "6px" } }, _hoisted_2$1 = {
|
|
51761
|
+
const _hoisted_1$4 = { style: { "padding-left": "20px", "padding-right": "20px", "padding-top": "6px" } }, _hoisted_2$1 = {
|
|
51850
51762
|
key: 0,
|
|
51851
51763
|
style: { "font-size": "x-large" }
|
|
51852
51764
|
}, _hoisted_3$1 = {
|
|
51853
51765
|
key: 1,
|
|
51854
51766
|
style: { "font-size": "x-large" }
|
|
51855
|
-
}, _hoisted_4$1 = { style: { "font-size": "large", "margin-top": "10px" } }, _sfc_main$
|
|
51767
|
+
}, _hoisted_4$1 = { style: { "font-size": "large", "margin-top": "10px" } }, _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
51856
51768
|
__name: "export_progress",
|
|
51857
51769
|
props: {
|
|
51858
51770
|
exportId: { type: BigInt, required: !0 }
|
|
@@ -51922,7 +51834,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
51922
51834
|
]);
|
|
51923
51835
|
};
|
|
51924
51836
|
}
|
|
51925
|
-
}), _hoisted_1$3 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$
|
|
51837
|
+
}), _hoisted_1$3 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
51926
51838
|
__name: "export_dialog",
|
|
51927
51839
|
props: {
|
|
51928
51840
|
modelValue: { type: Boolean, required: !0 },
|
|
@@ -52073,7 +51985,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52073
51985
|
}, 8, ["model", "rules"]), [
|
|
52074
51986
|
[vShow, view.exporting == !1]
|
|
52075
51987
|
]),
|
|
52076
|
-
withDirectives(createVNode(_sfc_main$
|
|
51988
|
+
withDirectives(createVNode(_sfc_main$8, {
|
|
52077
51989
|
"export-id": view.exportId
|
|
52078
51990
|
}, null, 8, ["export-id"]), [
|
|
52079
51991
|
[vShow, view.exporting]
|
|
@@ -52083,7 +51995,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52083
51995
|
}, 8, ["modelValue"]);
|
|
52084
51996
|
};
|
|
52085
51997
|
}
|
|
52086
|
-
}), export_dialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
51998
|
+
}), export_dialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-a9e71fc0"]]), _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
52087
51999
|
__name: "zsyslist_header",
|
|
52088
52000
|
props: ["config", "query"],
|
|
52089
52001
|
emits: ["refresh"],
|
|
@@ -52210,7 +52122,40 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52210
52122
|
], 64);
|
|
52211
52123
|
};
|
|
52212
52124
|
}
|
|
52213
|
-
})
|
|
52125
|
+
});
|
|
52126
|
+
function mitt(n) {
|
|
52127
|
+
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
|
|
52128
|
+
var i = n.get(t);
|
|
52129
|
+
i ? i.push(e) : n.set(t, [e]);
|
|
52130
|
+
}, off: function(t, e) {
|
|
52131
|
+
var i = n.get(t);
|
|
52132
|
+
i && (e ? i.splice(i.indexOf(e) >>> 0, 1) : n.set(t, []));
|
|
52133
|
+
}, emit: function(t, e) {
|
|
52134
|
+
var i = n.get(t);
|
|
52135
|
+
i && i.slice().map(function(n2) {
|
|
52136
|
+
n2(e);
|
|
52137
|
+
}), (i = n.get("*")) && i.slice().map(function(n2) {
|
|
52138
|
+
n2(t, e);
|
|
52139
|
+
});
|
|
52140
|
+
} };
|
|
52141
|
+
}
|
|
52142
|
+
const emitter = mitt(), zsysEventBus = () => ({
|
|
52143
|
+
// 触发事件
|
|
52144
|
+
emit: emitter.emit,
|
|
52145
|
+
// 监听事件
|
|
52146
|
+
on: emitter.on,
|
|
52147
|
+
// 取消监听
|
|
52148
|
+
off: emitter.off,
|
|
52149
|
+
// 一次性监听
|
|
52150
|
+
once: (event, handler) => {
|
|
52151
|
+
const onceHandler = (payload) => {
|
|
52152
|
+
handler(payload), emitter.off(event, onceHandler);
|
|
52153
|
+
};
|
|
52154
|
+
emitter.on(event, onceHandler);
|
|
52155
|
+
},
|
|
52156
|
+
// 清空所有监听
|
|
52157
|
+
clearAll: emitter.all.clear
|
|
52158
|
+
}), _hoisted_1$2 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
52214
52159
|
__name: "selector_dialog",
|
|
52215
52160
|
props: {
|
|
52216
52161
|
modelValue: { type: Boolean, required: !0 },
|
|
@@ -52287,7 +52232,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52287
52232
|
createElementVNode("div", {
|
|
52288
52233
|
style: normalizeStyle({ height: view.height + "px" })
|
|
52289
52234
|
}, [
|
|
52290
|
-
createVNode(_sfc_main$
|
|
52235
|
+
createVNode(_sfc_main$2, {
|
|
52291
52236
|
ref_key: "list",
|
|
52292
52237
|
ref: list,
|
|
52293
52238
|
config: __props.listconfig,
|
|
@@ -52305,7 +52250,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52305
52250
|
}, 8, ["modelValue", "title", "width"]);
|
|
52306
52251
|
};
|
|
52307
52252
|
}
|
|
52308
|
-
}), _sfc_main$
|
|
52253
|
+
}), _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
52309
52254
|
__name: "selector",
|
|
52310
52255
|
props: {
|
|
52311
52256
|
pre_selection: { type: Array, default: [] },
|
|
@@ -52371,7 +52316,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52371
52316
|
_: 1
|
|
52372
52317
|
}, 8, ["modelValue"])
|
|
52373
52318
|
]),
|
|
52374
|
-
createVNode(_sfc_main$
|
|
52319
|
+
createVNode(_sfc_main$5, {
|
|
52375
52320
|
modelValue: view.dialog_show,
|
|
52376
52321
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => view.dialog_show = $event),
|
|
52377
52322
|
pre_selection: props2.pre_selection || [],
|
|
@@ -52388,7 +52333,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52388
52333
|
], 64);
|
|
52389
52334
|
};
|
|
52390
52335
|
}
|
|
52391
|
-
}), _hoisted_1$1 = { class: "flex_height" }, _hoisted_2 = { style: { height: "40px", "line-height": "40px", "padding-left": "10px", "font-size": "16px", flex: "0 0 auto" } }, _hoisted_3 = { class: "flex_fill" }, _hoisted_4 = { style: { height: "100%", "overflow-y": "auto" } }, _sfc_main$
|
|
52336
|
+
}), _hoisted_1$1 = { class: "flex_height" }, _hoisted_2 = { style: { height: "40px", "line-height": "40px", "padding-left": "10px", "font-size": "16px", flex: "0 0 auto" } }, _hoisted_3 = { class: "flex_fill" }, _hoisted_4 = { style: { height: "100%", "overflow-y": "auto" } }, _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
52392
52337
|
__name: "zsyslist_selected_list",
|
|
52393
52338
|
props: {
|
|
52394
52339
|
modelValue: { type: Array, required: !0 }
|
|
@@ -52446,7 +52391,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52446
52391
|
]);
|
|
52447
52392
|
};
|
|
52448
52393
|
}
|
|
52449
|
-
}), zsyslist_selected_list = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
52394
|
+
}), zsyslist_selected_list = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["__scopeId", "data-v-e96c1e80"]]), _hoisted_1 = { class: "flex_height" }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
52450
52395
|
__name: "zsyslist",
|
|
52451
52396
|
props: {
|
|
52452
52397
|
config: { type: Object, required: !0 },
|
|
@@ -52541,7 +52486,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52541
52486
|
}), (_ctx, _cache) => {
|
|
52542
52487
|
const _component_el_splitter_panel = resolveComponent("el-splitter-panel"), _component_el_table_column = resolveComponent("el-table-column"), _component_el_empty = resolveComponent("el-empty"), _component_el_table = resolveComponent("el-table"), _component_el_pagination = resolveComponent("el-pagination"), _component_el_splitter = resolveComponent("el-splitter"), _directive_loading = resolveDirective("loading");
|
|
52543
52488
|
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
52544
|
-
createVNode(_sfc_main$
|
|
52489
|
+
createVNode(_sfc_main$6, {
|
|
52545
52490
|
config: unref(config),
|
|
52546
52491
|
query,
|
|
52547
52492
|
onRefresh: _cache[0] || (_cache[0] = ($event) => GetListData()),
|
|
@@ -52635,6 +52580,70 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52635
52580
|
]);
|
|
52636
52581
|
};
|
|
52637
52582
|
}
|
|
52583
|
+
}), _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
52584
|
+
__name: "zsys_delbutton",
|
|
52585
|
+
props: {
|
|
52586
|
+
id: { type: BigInt, required: !0 },
|
|
52587
|
+
api_url: { type: String, required: !0 },
|
|
52588
|
+
module: { type: String, default: "all" }
|
|
52589
|
+
// closeOnClickModal: { type: Boolean, default: true }
|
|
52590
|
+
},
|
|
52591
|
+
setup(__props) {
|
|
52592
|
+
const eventBus = zsysEventBus(), view = reactive({
|
|
52593
|
+
loading: !1
|
|
52594
|
+
}), props2 = __props, confirm = async () => {
|
|
52595
|
+
view.loading = !0;
|
|
52596
|
+
try {
|
|
52597
|
+
(await HttpApiV1.Post(props2.api_url, { id: props2.id })).IsSuccess ? (view.loading = !1, ZSYSMessage.ShowSuccess("删除成功"), console.log("aud", props2.module), console.log(props2.module), eventBus.emit("aud", { module: props2.module, id: props2.id })) : ZSYSMessage.ShowError("删除失败");
|
|
52598
|
+
} catch {
|
|
52599
|
+
}
|
|
52600
|
+
view.loading = !1;
|
|
52601
|
+
};
|
|
52602
|
+
return (_ctx, _cache) => {
|
|
52603
|
+
const _component_el_link = resolveComponent("el-link"), _component_el_popconfirm = resolveComponent("el-popconfirm"), _component_el_popover = resolveComponent("el-popover");
|
|
52604
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
52605
|
+
view.loading ? createCommentVNode("", !0) : (openBlock(), createBlock(_component_el_popconfirm, {
|
|
52606
|
+
key: 0,
|
|
52607
|
+
onConfirm: confirm,
|
|
52608
|
+
title: "确认要删除吗?",
|
|
52609
|
+
"confirm-button-text": "删除",
|
|
52610
|
+
"cancel-button-text": "取消",
|
|
52611
|
+
"confirm-button-type": "danger"
|
|
52612
|
+
}, {
|
|
52613
|
+
reference: withCtx(() => [
|
|
52614
|
+
createVNode(_component_el_link, { type: "primary" }, {
|
|
52615
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
52616
|
+
createTextVNode("删除", -1)
|
|
52617
|
+
])]),
|
|
52618
|
+
_: 1
|
|
52619
|
+
})
|
|
52620
|
+
]),
|
|
52621
|
+
_: 1
|
|
52622
|
+
})),
|
|
52623
|
+
view.loading ? (openBlock(), createBlock(_component_el_popover, {
|
|
52624
|
+
key: 1,
|
|
52625
|
+
visible: view.loading,
|
|
52626
|
+
width: 40,
|
|
52627
|
+
placement: "top",
|
|
52628
|
+
content: "正在删除"
|
|
52629
|
+
}, {
|
|
52630
|
+
reference: withCtx(() => [
|
|
52631
|
+
createVNode(_component_el_link, {
|
|
52632
|
+
type: "primary",
|
|
52633
|
+
style: { "margin-left": "6px" },
|
|
52634
|
+
disabled: ""
|
|
52635
|
+
}, {
|
|
52636
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
52637
|
+
createTextVNode("删除", -1)
|
|
52638
|
+
])]),
|
|
52639
|
+
_: 1
|
|
52640
|
+
})
|
|
52641
|
+
]),
|
|
52642
|
+
_: 1
|
|
52643
|
+
}, 8, ["visible"])) : createCommentVNode("", !0)
|
|
52644
|
+
], 64);
|
|
52645
|
+
};
|
|
52646
|
+
}
|
|
52638
52647
|
}), _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52639
52648
|
__name: "user_selector",
|
|
52640
52649
|
props: {
|
|
@@ -52666,7 +52675,7 @@ const emitter = mitt(), zsysEventBus = () => ({
|
|
|
52666
52675
|
GetSelectedItems
|
|
52667
52676
|
}), (_ctx, _cache) => {
|
|
52668
52677
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
52669
|
-
return openBlock(), createBlock(_sfc_main$
|
|
52678
|
+
return openBlock(), createBlock(_sfc_main$4, {
|
|
52670
52679
|
ref_key: "s",
|
|
52671
52680
|
ref: s2,
|
|
52672
52681
|
pre_selection: props2.pre_selection || [],
|
|
@@ -52760,6 +52769,16 @@ async function HasPermission(p2) {
|
|
|
52760
52769
|
}
|
|
52761
52770
|
return has;
|
|
52762
52771
|
}
|
|
52772
|
+
async function GetAppName() {
|
|
52773
|
+
let ps = "";
|
|
52774
|
+
try {
|
|
52775
|
+
let res = await HttpApiV1.Post(HttpApiV1.url_system_public, {});
|
|
52776
|
+
res.IsSuccess && (ps = res.data.app_name);
|
|
52777
|
+
} catch (e) {
|
|
52778
|
+
console.log("GetAppName error", e);
|
|
52779
|
+
}
|
|
52780
|
+
return ps;
|
|
52781
|
+
}
|
|
52763
52782
|
const sysUrls = [], appUrls = [];
|
|
52764
52783
|
function getClientUrl(url2) {
|
|
52765
52784
|
let curl = "";
|
|
@@ -52796,20 +52815,22 @@ const AddClientUrl = (url2, clientUrl) => {
|
|
|
52796
52815
|
window.open(curl + "?id=" + id, "_blank");
|
|
52797
52816
|
};
|
|
52798
52817
|
export {
|
|
52799
|
-
|
|
52800
|
-
|
|
52818
|
+
addFrameRouter as A,
|
|
52819
|
+
zsysappMount as B,
|
|
52801
52820
|
CommonHelper as C,
|
|
52802
|
-
_sfc_main$
|
|
52803
|
-
|
|
52804
|
-
_sfc_main
|
|
52821
|
+
_sfc_main$4 as D,
|
|
52822
|
+
_sfc_main$5 as E,
|
|
52823
|
+
_sfc_main as F,
|
|
52805
52824
|
GetItemsIds as G,
|
|
52806
52825
|
HttpApiV1 as H,
|
|
52807
|
-
|
|
52808
|
-
|
|
52809
|
-
|
|
52810
|
-
|
|
52811
|
-
|
|
52826
|
+
GetItemsTitles as I,
|
|
52827
|
+
HttpApiReturnData as J,
|
|
52828
|
+
HasPermission as K,
|
|
52829
|
+
GetUserPermission as L,
|
|
52830
|
+
GetAppName as M,
|
|
52831
|
+
AddClientUrl as N,
|
|
52812
52832
|
OpenClientUrlWithID as O,
|
|
52833
|
+
HasClientUrl as P,
|
|
52813
52834
|
ZSYSMessage as Z,
|
|
52814
52835
|
_export_sfc$1 as _,
|
|
52815
52836
|
avatar_default as a,
|
|
@@ -52822,20 +52843,20 @@ export {
|
|
|
52822
52843
|
useTokenStore as h,
|
|
52823
52844
|
_sfc_main$9 as i,
|
|
52824
52845
|
formatDateTime as j,
|
|
52825
|
-
_sfc_main$
|
|
52846
|
+
_sfc_main$2 as k,
|
|
52826
52847
|
useMagicKeys as l,
|
|
52827
|
-
_sfc_main$
|
|
52828
|
-
|
|
52848
|
+
_sfc_main$1 as m,
|
|
52849
|
+
more_filled_default as n,
|
|
52829
52850
|
office_building_default as o,
|
|
52830
|
-
|
|
52851
|
+
refresh_default as p,
|
|
52831
52852
|
question_filled_default as q,
|
|
52832
52853
|
reading_default as r,
|
|
52833
52854
|
setting_default as s,
|
|
52834
|
-
|
|
52855
|
+
useRoute as t,
|
|
52835
52856
|
user_default as u,
|
|
52836
|
-
|
|
52857
|
+
zsysapp as v,
|
|
52837
52858
|
whenever as w,
|
|
52838
|
-
|
|
52839
|
-
|
|
52859
|
+
router as x,
|
|
52860
|
+
addFrameRouters as y,
|
|
52840
52861
|
zsysEventBus as z
|
|
52841
52862
|
};
|
|
@@ -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-AG3yhDG9.js";
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "log_setting",
|
|
5
5
|
setup(__props, { expose: __expose }) {
|