zsysview 0.0.18 → 0.0.20
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-BwHGMFM9.js → backup-BtlHW0BD.js} +4 -4
- package/dist/{breadcrumb.vue_vue_type_script_setup_true_lang-B-s19d7a.js → breadcrumb.vue_vue_type_script_setup_true_lang-0fY46hVF.js} +12 -11
- package/dist/{change_password-Cvx2fsBt.js → change_password-CFzY6W1m.js} +9 -9
- package/dist/{department-D19P31la.js → department-CTjgunsp.js} +73 -73
- package/dist/{desktop-IlIshTtF.js → desktop-DllfdF_C.js} +1 -1
- package/dist/{http_api_v1-DFc71lD8.js → http_api_v1-CKW-eruI.js} +146 -143
- package/dist/index-1JxUipsC.js +6688 -0
- package/dist/index-BaFHeDAF.js +327 -0
- package/dist/{log-sQxXMuk2.js → log-B0TFmX0G.js} +4 -4
- package/dist/{login-CN37wrzM.js → login-DvnQWaIX.js} +22 -22
- package/dist/{main-B5GBQKz0.js → main-zeYv7R6E.js} +47 -46
- package/dist/{message-Dd0EkBmy.js → message-CdVUOGzt.js} +1 -1
- package/dist/{position-DfWT0ovL.js → position-DFLhIMSw.js} +11 -12
- package/dist/{role-CNn2CuOU.js → role-D2CDQgt8.js} +11 -11
- package/dist/{self-CraGrpq3.js → self-2M89YD6I.js} +2 -2
- package/dist/{user-CYvTCZB6.js → user-Q7eKhHdo.js} +8 -9
- package/dist/{zsys_delbutton.vue_vue_type_script_setup_true_lang-DTE_uo5w.js → zsys_delbutton.vue_vue_type_script_setup_true_lang-DDPcW53J.js} +3 -3
- package/dist/zsys_eventBus-DDrk0Aw8.js +178 -0
- package/dist/{zsyslist.vue_vue_type_script_setup_true_lang-CiKZqB0j.js → zsyslist.vue_vue_type_script_setup_true_lang-CDcUSsVO.js} +41 -40
- package/dist/zsysview.css +1 -1
- package/dist/zsysview.es.js +2 -1
- package/package.json +1 -1
- package/dist/index-C_d1JnWR.js +0 -49346
- package/dist/zsys_eventBus-Dc_JZwH4.js +0 -36
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as H, reactive as y, onMounted as A, resolveComponent as n, createElementBlock as w, openBlock as c, Fragment as Z, createVNode as e, createElementVNode as $, withCtx as o, createTextVNode as p, createCommentVNode as S } from "vue";
|
|
2
|
-
import { _ as D } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { H as _ } from "./http_api_v1-
|
|
4
|
-
import { _ as G } from "./zsyslist.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { Z as i } from "./message-
|
|
2
|
+
import { _ as D } from "./breadcrumb.vue_vue_type_script_setup_true_lang-0fY46hVF.js";
|
|
3
|
+
import { H as _ } from "./http_api_v1-CKW-eruI.js";
|
|
4
|
+
import { _ as G } from "./zsyslist.vue_vue_type_script_setup_true_lang-CDcUSsVO.js";
|
|
5
|
+
import { Z as i } from "./message-CdVUOGzt.js";
|
|
6
6
|
const L = { style: { padding: "0px 20px" } }, O = { key: 0 }, Q = { key: 0 }, W = /* @__PURE__ */ M({
|
|
7
7
|
__name: "backup",
|
|
8
8
|
setup(Y) {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as _, ref as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { defineComponent as _, ref as p, watch as i, onMounted as d, resolveComponent as c, createBlock as u, openBlock as t, unref as b, withCtx as m, createElementBlock as f, Fragment as h, renderList as v, createTextVNode as x, toDisplayString as g } from "vue";
|
|
2
|
+
import { m as k } from "./index-BaFHeDAF.js";
|
|
3
|
+
import { u as B } from "./index-1JxUipsC.js";
|
|
4
|
+
const E = /* @__PURE__ */ _({
|
|
4
5
|
__name: "breadcrumb",
|
|
5
6
|
setup(R) {
|
|
6
|
-
const e =
|
|
7
|
-
|
|
7
|
+
const e = B(), r = p([]);
|
|
8
|
+
i(
|
|
8
9
|
() => e.currentRoute.value.path,
|
|
9
10
|
// 使用 getter 函数
|
|
10
11
|
() => {
|
|
@@ -17,16 +18,16 @@ const q = /* @__PURE__ */ _({
|
|
|
17
18
|
r.value = a;
|
|
18
19
|
}
|
|
19
20
|
return (a, w) => {
|
|
20
|
-
const
|
|
21
|
+
const l = c("el-breadcrumb-item"), s = c("el-breadcrumb");
|
|
21
22
|
return t(), u(s, {
|
|
22
|
-
"separator-icon": b(
|
|
23
|
+
"separator-icon": b(k),
|
|
23
24
|
style: { padding: "20px" }
|
|
24
25
|
}, {
|
|
25
|
-
default:
|
|
26
|
-
(t(!0), f(h, null, v(r.value, (n) => (t(), u(
|
|
26
|
+
default: m(() => [
|
|
27
|
+
(t(!0), f(h, null, v(r.value, (n) => (t(), u(l, {
|
|
27
28
|
key: n.path
|
|
28
29
|
}, {
|
|
29
|
-
default:
|
|
30
|
+
default: m(() => [
|
|
30
31
|
x(g(n.meta.title), 1)
|
|
31
32
|
]),
|
|
32
33
|
_: 2
|
|
@@ -38,5 +39,5 @@ const q = /* @__PURE__ */ _({
|
|
|
38
39
|
}
|
|
39
40
|
});
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
E as _
|
|
42
43
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as S, ref as h, reactive as d, resolveComponent as
|
|
2
|
-
import { _ as q } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { H as f } from "./http_api_v1-
|
|
4
|
-
import {
|
|
5
|
-
import { Z as w } from "./message-
|
|
1
|
+
import { defineComponent as S, ref as h, reactive as d, resolveComponent as p, createElementBlock as v, openBlock as y, Fragment as C, createVNode as o, createElementVNode as F, withCtx as r, createTextVNode as g } from "vue";
|
|
2
|
+
import { _ as q } from "./breadcrumb.vue_vue_type_script_setup_true_lang-0fY46hVF.js";
|
|
3
|
+
import { H as f } from "./http_api_v1-CKW-eruI.js";
|
|
4
|
+
import { u as z } from "./index-1JxUipsC.js";
|
|
5
|
+
import { Z as w } from "./message-CdVUOGzt.js";
|
|
6
6
|
import { h as c } from "./index.es-BcGc183Q.js";
|
|
7
7
|
const B = { style: { padding: "0px 20px", "margin-top": "20px" } }, A = /* @__PURE__ */ S({
|
|
8
8
|
__name: "change_password",
|
|
@@ -27,8 +27,8 @@ const B = { style: { padding: "0px 20px", "margin-top": "20px" } }, A = /* @__PU
|
|
|
27
27
|
{ required: !0, message: "请输入新密码", trigger: "blur" },
|
|
28
28
|
{ min: 6, max: 18, message: "密码长度为6-18位", trigger: "blur" }
|
|
29
29
|
]
|
|
30
|
-
}), V = (
|
|
31
|
-
|
|
30
|
+
}), V = (i) => {
|
|
31
|
+
i && i.validate((e) => {
|
|
32
32
|
e ? (n.isloading = !0, f.Post(f.url_change_password, {
|
|
33
33
|
old_p: c.hashStr(l.old_p),
|
|
34
34
|
new_p: c.hashStr(l.new_p1)
|
|
@@ -41,8 +41,8 @@ const B = { style: { padding: "0px 20px", "margin-top": "20px" } }, A = /* @__PU
|
|
|
41
41
|
})) : console.log("error submit!");
|
|
42
42
|
});
|
|
43
43
|
};
|
|
44
|
-
return (
|
|
45
|
-
const t =
|
|
44
|
+
return (i, e) => {
|
|
45
|
+
const t = p("el-input"), a = p("el-form-item"), _ = p("el-button"), k = p("el-form");
|
|
46
46
|
return y(), v(C, null, [
|
|
47
47
|
o(q),
|
|
48
48
|
F("div", B, [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as E, ref as c, watch as R, reactive as z, resolveComponent as a, resolveDirective as Q, createBlock as N, openBlock as B, withCtx as
|
|
2
|
-
import { _ as ae } from "./breadcrumb.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { H as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
import { z as
|
|
7
|
-
import { Z as A } from "./message-
|
|
1
|
+
import { defineComponent as E, ref as c, watch as R, reactive as z, resolveComponent as a, resolveDirective as Q, createBlock as N, openBlock as B, withCtx as o, withDirectives as W, withModifiers as X, createVNode as l, createElementVNode as T, createCommentVNode as ee, createTextVNode as b, onMounted as te, onUnmounted as le, createElementBlock as oe, Fragment as ne, unref as q } from "vue";
|
|
2
|
+
import { _ as ae } from "./breadcrumb.vue_vue_type_script_setup_true_lang-0fY46hVF.js";
|
|
3
|
+
import { H as m } from "./http_api_v1-CKW-eruI.js";
|
|
4
|
+
import { j as ie } from "./index-BaFHeDAF.js";
|
|
5
|
+
import { _ as de } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-DDPcW53J.js";
|
|
6
|
+
import { z as j, u as re, w as se } from "./zsys_eventBus-DDrk0Aw8.js";
|
|
7
|
+
import { Z as A } from "./message-CdVUOGzt.js";
|
|
8
8
|
const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @__PURE__ */ E({
|
|
9
9
|
__name: "department_edit_dialog",
|
|
10
10
|
props: {
|
|
@@ -14,7 +14,7 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:modelValue"],
|
|
16
16
|
setup(F, { emit: V }) {
|
|
17
|
-
const k =
|
|
17
|
+
const k = j(), f = c(null), r = F, I = V, u = c(!1);
|
|
18
18
|
R(
|
|
19
19
|
() => r.modelValue,
|
|
20
20
|
(t) => {
|
|
@@ -49,9 +49,9 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
49
49
|
return e;
|
|
50
50
|
}
|
|
51
51
|
const C = async () => {
|
|
52
|
-
let t = await
|
|
52
|
+
let t = await m.Post(m.url_department_list, {});
|
|
53
53
|
return t.IsSuccess ? t.data.listdata : [];
|
|
54
|
-
}, w = c([]), v = c(),
|
|
54
|
+
}, w = c([]), v = c(), n = c({
|
|
55
55
|
department_id: r.id,
|
|
56
56
|
department_title: "",
|
|
57
57
|
department_sort: 9999,
|
|
@@ -61,37 +61,37 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
61
61
|
{ required: !0, message: "请输入名称", trigger: "blur" }
|
|
62
62
|
]
|
|
63
63
|
}), D = async () => {
|
|
64
|
-
if (i.loading = !0, w.value = h(await C()), console.log(w),
|
|
64
|
+
if (i.loading = !0, w.value = h(await C()), console.log(w), n.value.department_id = r.id, r.id != 0n) {
|
|
65
65
|
i.donotClose = !1;
|
|
66
66
|
try {
|
|
67
|
-
let t = await
|
|
67
|
+
let t = await m.Post(m.url_department_detail, { id: r.id });
|
|
68
68
|
if (t.IsSuccess) {
|
|
69
69
|
let e = t.data;
|
|
70
|
-
|
|
70
|
+
n.value.department_id = e.department_id, n.value.department_title = e.department_title;
|
|
71
71
|
let d = e.parent_id.toString();
|
|
72
|
-
|
|
72
|
+
n.value.parent_id_str = d == "0" ? "" : d, n.value.department_sort = e.department_sort;
|
|
73
73
|
}
|
|
74
74
|
} catch (t) {
|
|
75
75
|
console.log(t);
|
|
76
76
|
} finally {
|
|
77
77
|
}
|
|
78
78
|
} else
|
|
79
|
-
|
|
79
|
+
n.value.department_title = "";
|
|
80
80
|
i.loading = !1;
|
|
81
|
-
}, $ = async () => await
|
|
82
|
-
department_id:
|
|
83
|
-
department_title:
|
|
84
|
-
department_sort:
|
|
85
|
-
parent_id: BigInt(
|
|
81
|
+
}, $ = async () => await m.Post(m.url_department_save, {
|
|
82
|
+
department_id: n.value.department_id,
|
|
83
|
+
department_title: n.value.department_title,
|
|
84
|
+
department_sort: n.value.department_sort,
|
|
85
|
+
parent_id: BigInt(n.value.parent_id_str)
|
|
86
86
|
}), y = (t) => {
|
|
87
87
|
t && t.validate(async (e) => {
|
|
88
88
|
if (e) {
|
|
89
89
|
i.saving = !0;
|
|
90
90
|
try {
|
|
91
91
|
let d = await $();
|
|
92
|
-
d.IsSuccess ? (i.donotClose ? (
|
|
92
|
+
d.IsSuccess ? (i.donotClose ? (n.value.department_id = 0n, setTimeout(() => {
|
|
93
93
|
S();
|
|
94
|
-
}, 200)) : _(), A.ShowSuccess("保存成功"), k.emit("aud", { module: "department", id:
|
|
94
|
+
}, 200)) : _(), A.ShowSuccess("保存成功"), k.emit("aud", { module: "department", id: n.value.department_id })) : A.ShowError(d.message);
|
|
95
95
|
} catch {
|
|
96
96
|
} finally {
|
|
97
97
|
i.saving = !1;
|
|
@@ -100,14 +100,14 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
100
100
|
});
|
|
101
101
|
}, S = () => {
|
|
102
102
|
f.value?.focus(), f.value?.select();
|
|
103
|
-
}, P =
|
|
104
|
-
return
|
|
103
|
+
}, P = re();
|
|
104
|
+
return se(P.alt_s, () => {
|
|
105
105
|
u.value && (console.log("Alt+S提交"), y(v.value));
|
|
106
106
|
}), (t, e) => {
|
|
107
|
-
const d = a("el-input"), g = a("el-form-item"),
|
|
107
|
+
const d = a("el-input"), g = a("el-form-item"), H = a("el-tree-select"), Z = a("el-input-number"), K = a("el-form"), Y = a("el-checkbox"), M = a("el-tooltip"), G = a("el-text"), O = a("el-button"), J = a("el-dialog"), L = Q("loading");
|
|
108
108
|
return B(), N(J, {
|
|
109
109
|
modelValue: u.value,
|
|
110
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
110
|
+
"onUpdate:modelValue": e[6] || (e[6] = (p) => u.value = p),
|
|
111
111
|
title: "组织架构节点",
|
|
112
112
|
"align-center": !0,
|
|
113
113
|
"before-close": s,
|
|
@@ -119,16 +119,16 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
119
119
|
"destroy-on-close": "",
|
|
120
120
|
"close-on-click-modal": !1
|
|
121
121
|
}, {
|
|
122
|
-
footer:
|
|
122
|
+
footer: o(() => [
|
|
123
123
|
T("div", ue, [
|
|
124
124
|
i.isnew ? (B(), N(M, {
|
|
125
125
|
key: 0,
|
|
126
126
|
content: "保存成功后不关闭窗口"
|
|
127
127
|
}, {
|
|
128
|
-
default:
|
|
128
|
+
default: o(() => [
|
|
129
129
|
l(Y, {
|
|
130
130
|
modelValue: i.donotClose,
|
|
131
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
131
|
+
"onUpdate:modelValue": e[4] || (e[4] = (p) => i.donotClose = p),
|
|
132
132
|
label: "连续录入",
|
|
133
133
|
style: { "margin-right": "10px" }
|
|
134
134
|
}, null, 8, ["modelValue"])
|
|
@@ -139,20 +139,20 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
139
139
|
content: "快捷键 Alt+S",
|
|
140
140
|
"show-after": 800
|
|
141
141
|
}, {
|
|
142
|
-
default:
|
|
142
|
+
default: o(() => [
|
|
143
143
|
l(O, {
|
|
144
144
|
type: "primary",
|
|
145
|
-
onClick: e[5] || (e[5] = (
|
|
145
|
+
onClick: e[5] || (e[5] = (p) => y(v.value)),
|
|
146
146
|
disabled: i.loading,
|
|
147
147
|
loading: i.saving
|
|
148
148
|
}, {
|
|
149
|
-
default:
|
|
149
|
+
default: o(() => [
|
|
150
150
|
e[8] || (e[8] = b("保存(", -1)),
|
|
151
151
|
l(G, {
|
|
152
152
|
tag: "ins",
|
|
153
153
|
style: { color: "white" }
|
|
154
154
|
}, {
|
|
155
|
-
default:
|
|
155
|
+
default: o(() => [...e[7] || (e[7] = [
|
|
156
156
|
b("S", -1)
|
|
157
157
|
])]),
|
|
158
158
|
_: 1
|
|
@@ -165,36 +165,36 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
165
165
|
_: 1
|
|
166
166
|
}),
|
|
167
167
|
l(O, { onClick: _ }, {
|
|
168
|
-
default:
|
|
168
|
+
default: o(() => [...e[10] || (e[10] = [
|
|
169
169
|
b("取消", -1)
|
|
170
170
|
])]),
|
|
171
171
|
_: 1
|
|
172
172
|
})
|
|
173
173
|
])
|
|
174
174
|
]),
|
|
175
|
-
default:
|
|
175
|
+
default: o(() => [
|
|
176
176
|
W((B(), N(K, {
|
|
177
177
|
onSubmit: e[3] || (e[3] = X(() => {
|
|
178
178
|
}, ["prevent"])),
|
|
179
179
|
ref_key: "ruleFormRef",
|
|
180
180
|
ref: v,
|
|
181
|
-
model:
|
|
181
|
+
model: n.value,
|
|
182
182
|
rules: U,
|
|
183
183
|
style: { "padding-left": "10px", "padding-right": "10px" },
|
|
184
184
|
"label-width": "auto",
|
|
185
185
|
disabled: i.saving
|
|
186
186
|
}, {
|
|
187
|
-
default:
|
|
187
|
+
default: o(() => [
|
|
188
188
|
l(g, {
|
|
189
189
|
label: "名称",
|
|
190
190
|
prop: "department_title"
|
|
191
191
|
}, {
|
|
192
|
-
default:
|
|
192
|
+
default: o(() => [
|
|
193
193
|
l(d, {
|
|
194
194
|
ref_key: "inputRef",
|
|
195
195
|
ref: f,
|
|
196
|
-
modelValue:
|
|
197
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
196
|
+
modelValue: n.value.department_title,
|
|
197
|
+
"onUpdate:modelValue": e[0] || (e[0] = (p) => n.value.department_title = p),
|
|
198
198
|
style: { width: "300px" }
|
|
199
199
|
}, null, 8, ["modelValue"])
|
|
200
200
|
]),
|
|
@@ -204,10 +204,10 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
204
204
|
label: "上级部门/组织",
|
|
205
205
|
prop: "de"
|
|
206
206
|
}, {
|
|
207
|
-
default:
|
|
208
|
-
l(
|
|
209
|
-
modelValue:
|
|
210
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
207
|
+
default: o(() => [
|
|
208
|
+
l(H, {
|
|
209
|
+
modelValue: n.value.parent_id_str,
|
|
210
|
+
"onUpdate:modelValue": e[1] || (e[1] = (p) => n.value.parent_id_str = p),
|
|
211
211
|
data: w.value,
|
|
212
212
|
"check-strictly": "",
|
|
213
213
|
"render-after-expand": !0,
|
|
@@ -224,10 +224,10 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
224
224
|
label: "排序",
|
|
225
225
|
prop: "department_sort"
|
|
226
226
|
}, {
|
|
227
|
-
default:
|
|
228
|
-
l(
|
|
229
|
-
modelValue:
|
|
230
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
227
|
+
default: o(() => [
|
|
228
|
+
l(Z, {
|
|
229
|
+
modelValue: n.value.department_sort,
|
|
230
|
+
"onUpdate:modelValue": e[2] || (e[2] = (p) => n.value.department_sort = p),
|
|
231
231
|
min: 1
|
|
232
232
|
}, null, 8, ["modelValue"])
|
|
233
233
|
]),
|
|
@@ -243,17 +243,17 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
243
243
|
}, 8, ["modelValue"]);
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
|
-
}),
|
|
246
|
+
}), pe = { style: { padding: "0px 20px" } }, ye = /* @__PURE__ */ E({
|
|
247
247
|
__name: "department",
|
|
248
248
|
setup(F) {
|
|
249
|
-
const V = c("first"), k =
|
|
249
|
+
const V = c("first"), k = j(), f = c([]), r = z({
|
|
250
250
|
edit_id: BigInt(0),
|
|
251
251
|
edit_dialog_show: !1
|
|
252
252
|
}), I = () => {
|
|
253
253
|
u();
|
|
254
254
|
}, u = async () => {
|
|
255
255
|
try {
|
|
256
|
-
let _ = await
|
|
256
|
+
let _ = await m.Post(m.url_department_list, {});
|
|
257
257
|
_.IsSuccess && (f.value = _.data?.listdata);
|
|
258
258
|
} catch (_) {
|
|
259
259
|
console.log(_);
|
|
@@ -268,29 +268,29 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
268
268
|
(_.module = "department") && u();
|
|
269
269
|
};
|
|
270
270
|
return (_, s) => {
|
|
271
|
-
const i = a("el-button"), h = a("el-tooltip"), C = a("el-space"), w = a("el-col"), v = a("el-row"),
|
|
272
|
-
return B(), ne
|
|
271
|
+
const i = a("el-button"), h = a("el-tooltip"), C = a("el-space"), w = a("el-col"), v = a("el-row"), n = a("el-table-column"), U = a("el-link"), D = a("el-empty"), $ = a("el-table"), y = a("el-tab-pane"), S = a("el-alert"), P = a("el-tabs");
|
|
272
|
+
return B(), oe(ne, null, [
|
|
273
273
|
l(ae),
|
|
274
|
-
T("div",
|
|
274
|
+
T("div", pe, [
|
|
275
275
|
l(P, {
|
|
276
276
|
modelValue: V.value,
|
|
277
277
|
"onUpdate:modelValue": s[1] || (s[1] = (t) => V.value = t)
|
|
278
278
|
}, {
|
|
279
|
-
default:
|
|
279
|
+
default: o(() => [
|
|
280
280
|
l(y, {
|
|
281
281
|
label: "组织架构",
|
|
282
282
|
name: "first"
|
|
283
283
|
}, {
|
|
284
|
-
default:
|
|
284
|
+
default: o(() => [
|
|
285
285
|
l(v, null, {
|
|
286
|
-
default:
|
|
286
|
+
default: o(() => [
|
|
287
287
|
l(w, { span: 24 }, {
|
|
288
|
-
default:
|
|
288
|
+
default: o(() => [
|
|
289
289
|
l(C, {
|
|
290
290
|
size: 4,
|
|
291
291
|
wrap: ""
|
|
292
292
|
}, {
|
|
293
|
-
default:
|
|
293
|
+
default: o(() => [
|
|
294
294
|
l(i, {
|
|
295
295
|
class: "main_btn",
|
|
296
296
|
type: "primary",
|
|
@@ -298,15 +298,15 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
298
298
|
r.edit_id = 0n, r.edit_dialog_show = !0;
|
|
299
299
|
})
|
|
300
300
|
}, {
|
|
301
|
-
default:
|
|
301
|
+
default: o(() => [...s[3] || (s[3] = [
|
|
302
302
|
b("新建", -1)
|
|
303
303
|
])]),
|
|
304
304
|
_: 1
|
|
305
305
|
}),
|
|
306
306
|
l(h, { content: "刷新列表数据" }, {
|
|
307
|
-
default:
|
|
307
|
+
default: o(() => [
|
|
308
308
|
l(i, {
|
|
309
|
-
icon: q(
|
|
309
|
+
icon: q(ie),
|
|
310
310
|
onClick: I
|
|
311
311
|
}, null, 8, ["icon"])
|
|
312
312
|
]),
|
|
@@ -326,45 +326,45 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
326
326
|
style: { width: "100%", "margin-bottom": "20px" },
|
|
327
327
|
"row-key": "department_id"
|
|
328
328
|
}, {
|
|
329
|
-
empty:
|
|
329
|
+
empty: o(() => [
|
|
330
330
|
l(D, {
|
|
331
331
|
description: "无相关部门数据",
|
|
332
332
|
"image-size": 100
|
|
333
333
|
})
|
|
334
334
|
]),
|
|
335
|
-
default:
|
|
336
|
-
l(
|
|
335
|
+
default: o(() => [
|
|
336
|
+
l(n, {
|
|
337
337
|
prop: "department_title",
|
|
338
338
|
label: "名称",
|
|
339
339
|
"min-width": "300"
|
|
340
340
|
}),
|
|
341
|
-
l(
|
|
341
|
+
l(n, {
|
|
342
342
|
prop: "department_sort",
|
|
343
343
|
label: "排序",
|
|
344
344
|
width: "80"
|
|
345
345
|
}),
|
|
346
|
-
l(
|
|
346
|
+
l(n, {
|
|
347
347
|
prop: "department_title",
|
|
348
348
|
label: "操作",
|
|
349
349
|
width: "130"
|
|
350
350
|
}, {
|
|
351
|
-
default:
|
|
351
|
+
default: o(({ row: t }) => [
|
|
352
352
|
l(C, null, {
|
|
353
|
-
default:
|
|
353
|
+
default: o(() => [
|
|
354
354
|
l(U, {
|
|
355
355
|
type: "primary",
|
|
356
356
|
onClick: (e) => {
|
|
357
357
|
r.edit_id = BigInt(t.department_id), r.edit_dialog_show = !0;
|
|
358
358
|
}
|
|
359
359
|
}, {
|
|
360
|
-
default:
|
|
360
|
+
default: o(() => [...s[4] || (s[4] = [
|
|
361
361
|
b("查看和编辑", -1)
|
|
362
362
|
])]),
|
|
363
363
|
_: 1
|
|
364
364
|
}, 8, ["onClick"]),
|
|
365
|
-
l(
|
|
365
|
+
l(de, {
|
|
366
366
|
id: BigInt(t.department_id),
|
|
367
|
-
api_url: q(
|
|
367
|
+
api_url: q(m).url_department_del
|
|
368
368
|
}, null, 8, ["id", "api_url"])
|
|
369
369
|
]),
|
|
370
370
|
_: 2
|
|
@@ -382,7 +382,7 @@ const ue = { style: { display: "flex", "justify-content": "right" } }, _e = /* @
|
|
|
382
382
|
label: "类型设置",
|
|
383
383
|
name: "second"
|
|
384
384
|
}, {
|
|
385
|
-
default:
|
|
385
|
+
default: o(() => [
|
|
386
386
|
l(S, {
|
|
387
387
|
title: "暂只支持创建普通部门节点",
|
|
388
388
|
type: "info",
|