zsysview 0.0.26 → 0.0.27

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.
Files changed (45) hide show
  1. package/dist/backup-DgoJ-AYS.js +519 -0
  2. package/dist/breadcrumb.vue_vue_type_script_setup_true_lang-CGEOrj8x.js +43 -0
  3. package/dist/change_password-CfTKlKzq.js +135 -0
  4. package/dist/department-SWj0HA-l.js +410 -0
  5. package/dist/desktop-le1cI27_.js +9 -0
  6. package/dist/http_api_v1-d9smAbJZ.js +1008 -0
  7. package/dist/index-BZZm3CTh.js +6688 -0
  8. package/dist/{index-BaFHeDAF.js → index-DG0x9mYD.js} +105 -105
  9. package/dist/index.es-DrN1BLo5.js +170 -0
  10. package/dist/log-D-BDBVS7.js +163 -0
  11. package/dist/login-DUn4tmOp.js +111 -0
  12. package/dist/main-Bgkb3hrI.js +293 -0
  13. package/dist/message-CVTa4Hb1.js +26 -0
  14. package/dist/position-D7u-VoeU.js +311 -0
  15. package/dist/role-CyCsBm0V.js +405 -0
  16. package/dist/self-BRTR2NdM.js +102 -0
  17. package/dist/sys-BZgBUI3k.js +30 -0
  18. package/dist/user-cl8kQwmL.js +650 -0
  19. package/dist/zsys_delbutton.vue_vue_type_script_setup_true_lang-Dqud3QQ4.js +72 -0
  20. package/dist/zsys_eventBus-CZOk9fTb.js +178 -0
  21. package/dist/zsys_time-4KclnYJN.js +17 -0
  22. package/dist/zsyslist.vue_vue_type_script_setup_true_lang-BE2Kl33t.js +466 -0
  23. package/dist/zsysview.es.js +1 -1
  24. package/package.json +1 -1
  25. package/dist/backup-BrCAKHW5.js +0 -519
  26. package/dist/breadcrumb.vue_vue_type_script_setup_true_lang-DxqktuR5.js +0 -43
  27. package/dist/change_password-CY87a5gc.js +0 -135
  28. package/dist/department-BDW7DB5F.js +0 -410
  29. package/dist/desktop-DgyBqclt.js +0 -9
  30. package/dist/http_api_v1-BQLGtV9G.js +0 -1008
  31. package/dist/index-DXGp4B8l.js +0 -6688
  32. package/dist/index.es-BcGc183Q.js +0 -170
  33. package/dist/log-2ZY0HGuh.js +0 -163
  34. package/dist/login-BAuvM04T.js +0 -111
  35. package/dist/main-CxdkVN-C.js +0 -293
  36. package/dist/message-CdVUOGzt.js +0 -26
  37. package/dist/position-D7wr1m96.js +0 -311
  38. package/dist/role-M_ZYR2ta.js +0 -405
  39. package/dist/self-DAB-5Co8.js +0 -102
  40. package/dist/sys-BjlP52cg.js +0 -30
  41. package/dist/user-CEaf7VIW.js +0 -650
  42. package/dist/zsys_delbutton.vue_vue_type_script_setup_true_lang-BYahBvHu.js +0 -72
  43. package/dist/zsys_eventBus-DDrk0Aw8.js +0 -178
  44. package/dist/zsys_time-DHEMuVgo.js +0 -17
  45. package/dist/zsyslist.vue_vue_type_script_setup_true_lang-Bl1QXOML.js +0 -466
@@ -1,293 +0,0 @@
1
- import { defineComponent as k, resolveComponent as l, createBlock as f, createCommentVNode as E, openBlock as _, withCtx as o, createVNode as r, createElementVNode as h, resolveDynamicComponent as A, toDisplayString as b, createElementBlock as S, Fragment as C, renderList as M, markRaw as s, reactive as N, onMounted as F, createTextVNode as v, unref as R, watch as T } from "vue";
2
- import { H as y } from "./http_api_v1-BQLGtV9G.js";
3
- import { h as U, u as H, o as $, c as D, s as O, v as Z, l as j, d as L, b as Y, a as G, e as I, r as J, f as K, g as Q, i as W } from "./index-BaFHeDAF.js";
4
- import { _ as z, u as V, a as B } from "./index-DXGp4B8l.js";
5
- import { Z as X } from "./message-CdVUOGzt.js";
6
- const P = /* @__PURE__ */ k({
7
- __name: "userMenuItem",
8
- props: {
9
- item: {}
10
- },
11
- setup(w) {
12
- const t = w;
13
- return (a, n) => {
14
- const p = l("el-icon"), u = l("el-menu-item"), e = l("el-sub-menu");
15
- return !t.item.children && t.item.show ? (_(), f(u, {
16
- key: 0,
17
- index: t.item.url
18
- }, {
19
- default: o(() => [
20
- r(p, null, {
21
- default: o(() => [
22
- (_(), f(A(t.item.icon)))
23
- ]),
24
- _: 1
25
- }),
26
- h("span", null, b(t.item.name), 1)
27
- ]),
28
- _: 1
29
- }, 8, ["index"])) : t.item.show ? (_(), f(e, {
30
- key: 1,
31
- index: t.item.url
32
- }, {
33
- title: o(() => [
34
- r(p, null, {
35
- default: o(() => [
36
- (_(), f(A(s(t.item.icon))))
37
- ]),
38
- _: 1
39
- }),
40
- h("span", null, b(t.item.name), 1)
41
- ]),
42
- default: o(() => [
43
- (_(!0), S(C, null, M(t.item.children, (i) => (_(), f(P, {
44
- key: i.url,
45
- item: i
46
- }, null, 8, ["item"]))), 128))
47
- ]),
48
- _: 1
49
- }, 8, ["index"])) : E("", !0);
50
- };
51
- }
52
- });
53
- class x {
54
- //数组中是否存在字符串
55
- static StringArrayHasString(t, a) {
56
- return t.indexOf(a) !== -1;
57
- }
58
- //数组中是否存在另一数组中的任意一个元素
59
- static StringArrayHasStringArrayOne(t, a) {
60
- for (const n of a)
61
- if (x.StringArrayHasString(t, n))
62
- return !0;
63
- return !1;
64
- }
65
- //数组2是否包含在数组1中
66
- static StringArrayHasStringArray(t, a) {
67
- if (a.length == 0)
68
- return !1;
69
- for (const n of a)
70
- if (!x.StringArrayHasString(t, n))
71
- return !1;
72
- return !0;
73
- }
74
- }
75
- const ee = /* @__PURE__ */ k({
76
- __name: "userMenu",
77
- setup(w) {
78
- const t = N(
79
- [
80
- { name: "首页", iconname: "House", icon: s(U), url: "/desktop", show: !0 },
81
- { name: "个人中心", icon: s(H), url: "/self", show: !0 },
82
- { name: "数据看板", icon: s($), url: "/chart", show: !1 },
83
- { name: "事件管理", icon: s(D), url: "/eventgroup/event", show: !1 },
84
- // {
85
- // name: '事件管理', icon: markRaw(Collection), url: '/111', show: false,
86
- // children: [
87
- // { name: '数据看板', icon: markRaw(Odometer), url: '/user', show: false },
88
- // { name: '事件', icon: markRaw(Collection), url: '/eventgroup/event', show: false },
89
- // ]
90
- // },
91
- { name: "行为分析引擎", icon: s(O), url: "/engine", show: !1 },
92
- { name: "设备管理", icon: s(Z), url: "/equipment", show: !1 },
93
- { name: "区域管理", icon: s(j), url: "/area", show: !1 },
94
- { name: "报表与统计", icon: s(L), url: "/building?1", show: !1 },
95
- { name: "报警与通知", icon: s(Y), url: "/building?2", show: !1 },
96
- {
97
- name: "系统管理",
98
- icon: s(Q),
99
- url: "/zsys",
100
- show: !1,
101
- children: [
102
- { name: "用户管理", icon: s(H), url: "/user", show: !1 },
103
- { name: "组织架构", icon: s(G), url: "/department", show: !1 },
104
- { name: "职务", icon: s(I), url: "/position", show: !1 },
105
- { name: "角色权限", icon: s(I), url: "/role", show: !1 },
106
- { name: "日志", icon: s(J), url: "/log", show: !1 },
107
- { name: "备份", icon: s(K), url: "/backup", show: !1 }
108
- ]
109
- }
110
- ]
111
- );
112
- function a(e, i) {
113
- for (const c of e) {
114
- if (c.name === i)
115
- return c;
116
- if (c.children && c.children.length > 0) {
117
- const d = a(c.children, i);
118
- if (d)
119
- return d;
120
- }
121
- }
122
- }
123
- const n = (e, i, c) => {
124
- let d = i.split("|"), g = !1;
125
- for (const m of d) {
126
- let q = m.split(",");
127
- if (x.StringArrayHasStringArray(c, q)) {
128
- g = !0;
129
- break;
130
- }
131
- }
132
- if (g) {
133
- let m = a(t, e);
134
- m.show = g;
135
- }
136
- }, p = (e) => {
137
- n("事件管理", "gwxw.event", e), n("数据看板", "gwxw.event", e), n("行为分析引擎", "gwxw.engine", e), n("设备管理", "gwxw.equipment", e), n("区域管理", "gwxw.area", e), n("报表与统计", "gwxw.total", e), n("报警与通知", "gwxw.notice", e), n("系统管理", "zsys.user|zsys.department|zsys.position|zsys.role|zsys.log|zsys.backup", e), n("用户管理", "zsys.user", e), n("组织架构", "zsys.department", e), n("职务", "zsys.position", e), n("角色权限", "zsys.role", e), n("日志", "zsys.log", e), n("备份", "zsys.backup", e);
138
- }, u = async () => {
139
- try {
140
- let e = await y.Post(y.url_user_permission, {});
141
- if (e.IsSuccess) {
142
- let i = e.data;
143
- p(i);
144
- }
145
- } catch (e) {
146
- console.log(e);
147
- }
148
- };
149
- return F(() => {
150
- u();
151
- }), (e, i) => {
152
- const c = l("el-menu"), d = l("el-scrollbar"), g = l("el-aside");
153
- return _(), f(g, {
154
- width: "200px",
155
- style: { position: "fixed", top: "60px", left: "0px", bottom: "0px" }
156
- }, {
157
- default: o(() => [
158
- r(d, { style: { "background-color": "#252423" } }, {
159
- default: o(() => [
160
- r(c, {
161
- "default-active": "2",
162
- router: "",
163
- style: { "margin-bottom": "20px" },
164
- "background-color": "#252423",
165
- "text-color": "#fff",
166
- "active-text-color": "#409EFF"
167
- }, {
168
- default: o(() => [
169
- (_(!0), S(C, null, M(t, (m) => (_(), f(P, {
170
- key: m.url,
171
- item: m
172
- }, null, 8, ["item"]))), 128))
173
- ]),
174
- _: 1
175
- })
176
- ]),
177
- _: 1
178
- })
179
- ]),
180
- _: 1
181
- });
182
- };
183
- }
184
- }), te = /* @__PURE__ */ z(ee, [["__scopeId", "data-v-33c36378"]]), ne = { style: { "padding-left": "20px", "padding-right": "20px" } }, oe = { style: { height: "60px", "margin-right": "10px", float: "left", display: "flex", "align-items": "center", "justify-content": "center" } }, se = { class: "el-dropdown-link" }, re = /* @__PURE__ */ k({
185
- __name: "userHeader",
186
- setup(w) {
187
- const t = V(), a = N({
188
- uname: ""
189
- });
190
- y.Post(y.url_usercenter, {}).then((u) => {
191
- if (u.IsSuccess) {
192
- let e = u.data;
193
- a.uname = e.uname;
194
- }
195
- }).catch((u) => {
196
- console.log("er1111r"), console.log(u);
197
- });
198
- const n = () => {
199
- B().saveToken(""), t.push("/login");
200
- }, p = () => {
201
- t.push("/password");
202
- };
203
- return (u, e) => {
204
- const i = l("el-image"), c = l("el-icon"), d = l("el-dropdown-item"), g = l("el-dropdown-menu"), m = l("el-dropdown");
205
- return _(), S("div", ne, [
206
- h("div", oe, [
207
- r(i, {
208
- style: { height: "40px" },
209
- src: "../../assets/default_logo_40.png"
210
- })
211
- ]),
212
- e[2] || (e[2] = h("div", { style: { float: "left", "line-height": "60px" } }, "岗位行为识别系统", -1)),
213
- r(m, {
214
- trigger: "click",
215
- class: "user_operate"
216
- }, {
217
- dropdown: o(() => [
218
- r(g, null, {
219
- default: o(() => [
220
- r(d, { onClick: p }, {
221
- default: o(() => [...e[0] || (e[0] = [
222
- v("修改密码", -1)
223
- ])]),
224
- _: 1
225
- }),
226
- r(d, { onClick: n }, {
227
- default: o(() => [...e[1] || (e[1] = [
228
- v("退出", -1)
229
- ])]),
230
- _: 1
231
- })
232
- ]),
233
- _: 1
234
- })
235
- ]),
236
- default: o(() => [
237
- h("span", se, [
238
- v(b(a.uname) + " ", 1),
239
- r(c, { class: "el-icon--right" }, {
240
- default: o(() => [
241
- r(R(W))
242
- ]),
243
- _: 1
244
- })
245
- ])
246
- ]),
247
- _: 1
248
- })
249
- ]);
250
- };
251
- }
252
- }), ae = /* @__PURE__ */ z(re, [["__scopeId", "data-v-11555c6e"]]), le = /* @__PURE__ */ k({
253
- __name: "main",
254
- setup(w) {
255
- const t = B(), a = V();
256
- return T(t, (n) => {
257
- console.log("watch"), n.token_data == "none" ? (console.log("newv.token_data==none"), a.push({
258
- path: "/login",
259
- query: {
260
- redirect: a.currentRoute.value.fullPath
261
- }
262
- }), X.ShowInfo("系统要求您重新登录")) : console.log("newv.token_data!=none");
263
- }), (n, p) => {
264
- const u = l("el-header"), e = l("router-view"), i = l("el-main"), c = l("el-container");
265
- return _(), f(c, null, {
266
- default: o(() => [
267
- r(u, { class: "header" }, {
268
- default: o(() => [
269
- r(ae)
270
- ]),
271
- _: 1
272
- }),
273
- r(c, null, {
274
- default: o(() => [
275
- r(te),
276
- r(i, { style: { padding: "0", "background-color": "white", position: "fixed", left: "200px", top: "60px", right: "0px", bottom: "0px" } }, {
277
- default: o(() => [
278
- r(e)
279
- ]),
280
- _: 1
281
- })
282
- ]),
283
- _: 1
284
- })
285
- ]),
286
- _: 1
287
- });
288
- };
289
- }
290
- }), me = /* @__PURE__ */ z(le, [["__scopeId", "data-v-71477349"]]);
291
- export {
292
- me as default
293
- };
@@ -1,26 +0,0 @@
1
- import { ElMessage as n } from "element-plus";
2
- class s {
3
- static show(o = "info", t) {
4
- n({
5
- message: t,
6
- type: o,
7
- plain: !0,
8
- duration: 3e3,
9
- // 3秒后消失
10
- showClose: !1
11
- });
12
- }
13
- static ShowInfo(o) {
14
- s.show("info", o);
15
- }
16
- static ShowSuccess(o) {
17
- s.show("success", o);
18
- }
19
- static ShowError(o) {
20
- s.show("error", o);
21
- }
22
- install = (o) => (o.component(s.name, s), o);
23
- }
24
- export {
25
- s as Z
26
- };
@@ -1,311 +0,0 @@
1
- import { defineComponent as h, ref as g, watch as F, reactive as V, resolveComponent as a, resolveDirective as Z, createBlock as S, openBlock as w, withCtx as l, withDirectives as j, withModifiers as G, createVNode as t, createElementVNode as q, createCommentVNode as K, createTextVNode as c, createElementBlock as Q, Fragment as Y, unref as J } from "vue";
2
- import { _ as L } from "./breadcrumb.vue_vue_type_script_setup_true_lang-DxqktuR5.js";
3
- import { _ as W } from "./zsyslist.vue_vue_type_script_setup_true_lang-Bl1QXOML.js";
4
- import { H as v } from "./http_api_v1-BQLGtV9G.js";
5
- import { Z as R } from "./message-CdVUOGzt.js";
6
- import { z as X, u as ee, w as te } from "./zsys_eventBus-DDrk0Aw8.js";
7
- import { _ as oe } from "./zsys_delbutton.vue_vue_type_script_setup_true_lang-BYahBvHu.js";
8
- const le = { style: { display: "flex", "justify-content": "right" } }, ie = /* @__PURE__ */ h({
9
- __name: "position_edit_dialog",
10
- props: {
11
- modelValue: { type: Boolean, required: !0 },
12
- // 控制显示隐藏
13
- id: { type: BigInt, required: !0 }
14
- },
15
- emits: ["update:modelValue"],
16
- setup(B, { emit: b }) {
17
- const k = X(), d = g(null), r = B, y = b, o = g(!1);
18
- F(
19
- () => r.modelValue,
20
- (s) => {
21
- o.value = s;
22
- },
23
- { immediate: !0 }
24
- ), F(o, (s) => {
25
- y("update:modelValue", s);
26
- });
27
- const C = () => {
28
- n.isnew = r.id == 0n, $();
29
- }, _ = () => {
30
- o.value = !1;
31
- }, x = (s) => {
32
- m.value?.clearValidate(), s();
33
- }, n = V({
34
- loading: !0,
35
- saving: !1,
36
- donotClose: !1,
37
- isnew: !0
38
- }), m = g(), i = g({
39
- position_id: r.id,
40
- position_title: "",
41
- position_notes: ""
42
- }), u = V({
43
- position_title: [
44
- { required: !0, message: "请输入职务名称", trigger: "blur" }
45
- ]
46
- }), $ = async () => {
47
- if (n.loading = !0, i.value.position_id = r.id, r.id != 0n) {
48
- n.donotClose = !1;
49
- try {
50
- let s = await v.Post(v.url_position_detail, { id: r.id });
51
- if (s.IsSuccess) {
52
- let e = s.data;
53
- i.value = e;
54
- }
55
- } catch (s) {
56
- console.log(s);
57
- } finally {
58
- }
59
- } else
60
- i.value.position_title = "", i.value.position_notes = "";
61
- n.loading = !1;
62
- }, E = async () => await v.Post(v.url_position_save, {
63
- position_id: i.value.position_id,
64
- position_title: i.value.position_title,
65
- position_notes: i.value.position_notes
66
- }), U = (s) => {
67
- s && s.validate(async (e) => {
68
- if (e) {
69
- n.saving = !0;
70
- try {
71
- let f = await E();
72
- f.IsSuccess ? (n.donotClose ? setTimeout(() => {
73
- I();
74
- }, 200) : _(), R.ShowSuccess("保存成功"), k.emit("aud", { module: "position", id: i.value.position_id })) : R.ShowError(f.message);
75
- } catch {
76
- } finally {
77
- n.saving = !1;
78
- }
79
- }
80
- });
81
- }, I = () => {
82
- d.value?.focus(), d.value?.select();
83
- }, M = ee();
84
- return te(M.alt_s, () => {
85
- o.value && (console.log("Alt+S提交"), U(m.value));
86
- }), (s, e) => {
87
- const f = a("el-input"), N = a("el-form-item"), T = a("el-form"), z = a("el-checkbox"), A = a("el-tooltip"), H = a("el-text"), D = a("el-button"), O = a("el-dialog"), P = Z("loading");
88
- return w(), S(O, {
89
- modelValue: o.value,
90
- "onUpdate:modelValue": e[5] || (e[5] = (p) => o.value = p),
91
- title: "职务",
92
- "align-center": !0,
93
- "before-close": x,
94
- onOpen: C,
95
- width: "550",
96
- draggable: !0,
97
- overflow: !0,
98
- onOpened: I,
99
- "destroy-on-close": ""
100
- }, {
101
- footer: l(() => [
102
- q("div", le, [
103
- i.value.position_id == 0n ? (w(), S(A, {
104
- key: 0,
105
- content: "保存成功后不关闭窗口"
106
- }, {
107
- default: l(() => [
108
- t(z, {
109
- modelValue: n.donotClose,
110
- "onUpdate:modelValue": e[3] || (e[3] = (p) => n.donotClose = p),
111
- label: "连续录入",
112
- style: { "margin-right": "10px" }
113
- }, null, 8, ["modelValue"])
114
- ]),
115
- _: 1
116
- })) : K("", !0),
117
- t(A, {
118
- content: "快捷键 Alt+S",
119
- "show-after": 800
120
- }, {
121
- default: l(() => [
122
- t(D, {
123
- type: "primary",
124
- onClick: e[4] || (e[4] = (p) => U(m.value)),
125
- disabled: n.loading,
126
- loading: n.saving
127
- }, {
128
- default: l(() => [
129
- e[7] || (e[7] = c("保存(", -1)),
130
- t(H, {
131
- tag: "ins",
132
- style: { color: "white" }
133
- }, {
134
- default: l(() => [...e[6] || (e[6] = [
135
- c("S", -1)
136
- ])]),
137
- _: 1
138
- }),
139
- e[8] || (e[8] = c(")", -1))
140
- ]),
141
- _: 1
142
- }, 8, ["disabled", "loading"])
143
- ]),
144
- _: 1
145
- }),
146
- t(D, { onClick: _ }, {
147
- default: l(() => [...e[9] || (e[9] = [
148
- c("取消", -1)
149
- ])]),
150
- _: 1
151
- })
152
- ])
153
- ]),
154
- default: l(() => [
155
- j((w(), S(T, {
156
- onSubmit: e[2] || (e[2] = G(() => {
157
- }, ["prevent"])),
158
- ref_key: "ruleFormRef",
159
- ref: m,
160
- model: i.value,
161
- rules: u,
162
- style: { "padding-left": "10px", "padding-right": "10px" },
163
- "label-width": "auto",
164
- disabled: n.saving
165
- }, {
166
- default: l(() => [
167
- t(N, {
168
- label: "职务名称",
169
- prop: "position_title"
170
- }, {
171
- default: l(() => [
172
- t(f, {
173
- ref_key: "inputRef",
174
- ref: d,
175
- modelValue: i.value.position_title,
176
- "onUpdate:modelValue": e[0] || (e[0] = (p) => i.value.position_title = p)
177
- }, null, 8, ["modelValue"])
178
- ]),
179
- _: 1
180
- }),
181
- t(N, {
182
- label: "备注",
183
- prop: "position_notes"
184
- }, {
185
- default: l(() => [
186
- t(f, {
187
- modelValue: i.value.position_notes,
188
- "onUpdate:modelValue": e[1] || (e[1] = (p) => i.value.position_notes = p),
189
- type: "textarea",
190
- rows: 4
191
- }, null, 8, ["modelValue"])
192
- ]),
193
- _: 1
194
- })
195
- ]),
196
- _: 1
197
- }, 8, ["model", "rules", "disabled"])), [
198
- [P, n.loading]
199
- ])
200
- ]),
201
- _: 1
202
- }, 8, ["modelValue"]);
203
- };
204
- }
205
- }), ne = { style: { padding: "0px 20px" } }, me = /* @__PURE__ */ h({
206
- __name: "position",
207
- setup(B) {
208
- const b = g("first"), k = (y, o) => {
209
- console.log(y, o);
210
- }, d = V({
211
- edit_id: 0n,
212
- edit_dialog_show: !1
213
- }), r = V({
214
- ApiUrl: v.url_position_list,
215
- QuickConditionsGroups: []
216
- });
217
- return (y, o) => {
218
- const C = a("el-button"), _ = a("el-table-column"), x = a("el-link"), n = a("el-space"), m = a("el-tab-pane"), i = a("el-tabs");
219
- return w(), Q(Y, null, [
220
- t(L),
221
- q("div", ne, [
222
- t(i, {
223
- modelValue: b.value,
224
- "onUpdate:modelValue": o[1] || (o[1] = (u) => b.value = u),
225
- onTabClick: k
226
- }, {
227
- default: l(() => [
228
- t(m, {
229
- label: "全部职务",
230
- name: "first"
231
- }, {
232
- default: l(() => [
233
- t(W, {
234
- config: r,
235
- module: "position"
236
- }, {
237
- headermain: l(() => [
238
- t(C, {
239
- class: "main_btn",
240
- type: "primary",
241
- onClick: o[0] || (o[0] = (u) => {
242
- d.edit_id = 0n, d.edit_dialog_show = !0;
243
- })
244
- }, {
245
- default: l(() => [...o[3] || (o[3] = [
246
- c("新建", -1)
247
- ])]),
248
- _: 1
249
- })
250
- ]),
251
- content: l(() => [
252
- t(_, {
253
- prop: "position_title",
254
- label: "职务名称",
255
- width: "140"
256
- }),
257
- t(_, {
258
- prop: "position_notes",
259
- label: "备注",
260
- "min-width": "180"
261
- }),
262
- t(_, {
263
- label: "操作",
264
- width: "100"
265
- }, {
266
- default: l(({ row: u }) => [
267
- t(n, null, {
268
- default: l(() => [
269
- t(x, {
270
- type: "primary",
271
- onClick: ($) => {
272
- d.edit_id = BigInt(u.position_id), d.edit_dialog_show = !0;
273
- }
274
- }, {
275
- default: l(() => [...o[4] || (o[4] = [
276
- c("修改", -1)
277
- ])]),
278
- _: 1
279
- }, 8, ["onClick"]),
280
- t(oe, {
281
- id: BigInt(u.position_id),
282
- api_url: J(v).url_position_del
283
- }, null, 8, ["id", "api_url"])
284
- ]),
285
- _: 2
286
- }, 1024)
287
- ]),
288
- _: 1
289
- })
290
- ]),
291
- _: 1
292
- }, 8, ["config"])
293
- ]),
294
- _: 1
295
- })
296
- ]),
297
- _: 1
298
- }, 8, ["modelValue"])
299
- ]),
300
- t(ie, {
301
- id: d.edit_id,
302
- modelValue: d.edit_dialog_show,
303
- "onUpdate:modelValue": o[2] || (o[2] = (u) => d.edit_dialog_show = u)
304
- }, null, 8, ["id", "modelValue"])
305
- ], 64);
306
- };
307
- }
308
- });
309
- export {
310
- me as default
311
- };