@syzh-syzh/base 0.0.2 → 0.0.36

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 (165) hide show
  1. package/dist/chunks/401-DdYjkp5A.js +1 -0
  2. package/dist/chunks/404-DpPaPuN5.js +1 -0
  3. package/dist/chunks/Cfg-CdDHqOej.js +1 -0
  4. package/dist/chunks/CoordTransform-vvuI3-ZJ.js +1 -0
  5. package/dist/chunks/Dept-Cp6EQ_Hp.js +1 -0
  6. package/dist/chunks/Depttype-CPX7IlM-.js +1 -0
  7. package/dist/chunks/Verify-CLo4uCyF.js +1 -0
  8. package/dist/chunks/_plugin-vue_export-helper-DQA08Z2K.js +1 -0
  9. package/dist/chunks/app-D8Nrq-K9.js +1 -0
  10. package/dist/chunks/apps-AwA6vA7L.js +1 -0
  11. package/dist/chunks/areadept-gglDz9Ez.js +1 -0
  12. package/dist/chunks/cfgtype-DZvaxXLc.js +1 -0
  13. package/dist/chunks/col-m2wqDhrM.js +1 -0
  14. package/dist/chunks/daibanevent-CzZcCjcF.js +1 -0
  15. package/dist/chunks/data-B-sWljqN.js +1 -0
  16. package/dist/chunks/data-BEiKZSx6.js +1 -0
  17. package/dist/chunks/dayjs.min-Ryjc4SLQ.js +1 -0
  18. package/dist/chunks/deptgxfw-CQdTLAzK.js +1 -0
  19. package/dist/chunks/detail-w9PTUewX.js +1 -0
  20. package/dist/chunks/dict-D1_w26TW.js +1 -0
  21. package/dist/chunks/dict-tvM2EzN0.js +1 -0
  22. package/dist/chunks/dispose-BKL82LLD.js +3 -0
  23. package/dist/chunks/eventfb-BivTybyE.js +1 -0
  24. package/dist/chunks/eventsource-B56LK_41.js +1 -0
  25. package/dist/chunks/gaopinevent-FfM2bwg6.js +1 -0
  26. package/dist/chunks/grade-D_C4jINj.js +1 -0
  27. package/dist/chunks/grid-table-BgKatB8h.js +1 -0
  28. package/dist/chunks/griddept-DAGt4wzo.js +1 -0
  29. package/dist/chunks/gridgrid-DMr_x9rH.js +1 -0
  30. package/dist/chunks/gridtype-BiVjyXJJ.js +1 -0
  31. package/dist/chunks/home-IkH9GV2J.js +1 -0
  32. package/dist/chunks/index-2JVd9fFM.js +1 -0
  33. package/dist/chunks/index-B0lm0PDf.js +1 -0
  34. package/dist/chunks/index-B0pP15GB.js +1 -0
  35. package/dist/chunks/index-B4KUyOzB.js +1 -0
  36. package/dist/chunks/index-B8hB0Kny.js +1 -0
  37. package/dist/chunks/index-B9bUGSjF.js +1 -0
  38. package/dist/chunks/index-BB_RNpg2.js +1 -0
  39. package/dist/chunks/index-BDFiyb-Q.js +1 -0
  40. package/dist/chunks/index-BEHFb8CH.js +1 -0
  41. package/dist/chunks/index-BFStHpEc.js +1 -0
  42. package/dist/chunks/index-BMHNz55V.js +1 -0
  43. package/dist/chunks/index-BNhVrKsd.js +1 -0
  44. package/dist/chunks/index-BSkM3MoK.js +1 -0
  45. package/dist/chunks/index-BVqe0C9b.js +1 -0
  46. package/dist/chunks/index-BWk4PK7C.js +1 -0
  47. package/dist/chunks/index-BgkCRF9B.js +1 -0
  48. package/dist/chunks/index-BqdOEaI8.js +1 -0
  49. package/dist/chunks/index-C-EtQxcG.js +1 -0
  50. package/dist/chunks/index-C6AMa_Bz.js +1 -0
  51. package/dist/chunks/index-C7cbvXPf.js +1 -0
  52. package/dist/chunks/index-CCLLX1Ox.js +1 -0
  53. package/dist/chunks/index-CMAo3HOO.js +1 -0
  54. package/dist/chunks/index-CPRIMttA.js +1 -0
  55. package/dist/chunks/index-CTGZ4w03.js +1 -0
  56. package/dist/chunks/index-CVLzEGf1.js +1 -0
  57. package/dist/chunks/index-Cgyw1Qv_.js +1 -0
  58. package/dist/chunks/index-ClIlXpsl.js +1 -0
  59. package/dist/chunks/index-CmOkHd3r.js +1 -0
  60. package/dist/chunks/index-CopOov3d.js +1 -0
  61. package/dist/chunks/index-D37HjcfD.js +1 -0
  62. package/dist/chunks/index-D5zsycnl.js +1 -0
  63. package/dist/chunks/index-D8tft7Bo.js +1 -0
  64. package/dist/chunks/index-DCZx97H8.js +1 -0
  65. package/dist/chunks/index-DDwL6MSh.js +1 -0
  66. package/dist/chunks/index-DGt3HEsB.js +1 -0
  67. package/dist/chunks/index-DPEU5siJ.js +1 -0
  68. package/dist/chunks/index-DQnikhDQ.js +1 -0
  69. package/dist/chunks/index-DYomrPsO.js +1 -0
  70. package/dist/chunks/index-Dc60HxoV.js +1 -0
  71. package/dist/chunks/index-DhxOQbge.js +1 -0
  72. package/dist/chunks/index-DlsegLzo.js +1 -0
  73. package/dist/chunks/index-Dm4x4Bm1.js +1 -0
  74. package/dist/chunks/index-DtV9y9CU.js +1 -0
  75. package/dist/chunks/index-EVknlIOB.js +1 -0
  76. package/dist/chunks/index-JVd9u695.js +1 -0
  77. package/dist/chunks/index-OKzzbzXF.js +1 -0
  78. package/dist/chunks/index-b6uYudPF.js +1 -0
  79. package/dist/chunks/index-cpjjgY5b.js +1 -0
  80. package/dist/chunks/index-dK37Oo3R.js +1 -0
  81. package/dist/chunks/index-qMxmDwD8.js +1 -0
  82. package/dist/chunks/index-tBdHPKOp.js +1 -0
  83. package/dist/chunks/index-wkYAheLa.js +1 -0
  84. package/dist/chunks/index-wrH6JZtC.js +1 -0
  85. package/dist/chunks/index-yVDq55Uh.js +1 -0
  86. package/dist/chunks/index-yoRZeUHy.js +1 -0
  87. package/dist/chunks/lazyTree-CN7_yMu4.js +1 -0
  88. package/dist/chunks/logLogin-BkFyINYM.js +1 -0
  89. package/dist/chunks/logMqysmsg-Bntzt40p.js +1 -0
  90. package/dist/chunks/logMsg-DdoD8biZ.js +1 -0
  91. package/dist/chunks/logQuartz-CvUI41fo.js +1 -0
  92. package/dist/chunks/login-Bvg-lwzV.js +1 -0
  93. package/dist/chunks/logmqerror-CnPBK6L8.js +1 -0
  94. package/dist/chunks/logoperate-D9SNXImq.js +1 -0
  95. package/dist/chunks/lv-CoFXwlMG.js +1 -0
  96. package/dist/chunks/maparea-Dg9Fm4O5.js +1 -0
  97. package/dist/chunks/nodeadd-ZO8uX89N.js +1 -0
  98. package/dist/chunks/numberbox-Bg6qvod5.js +1 -0
  99. package/dist/chunks/opradd-DTIP9yM-.js +1 -0
  100. package/dist/chunks/oprauthadd-zMIOeMlB.js +1 -0
  101. package/dist/chunks/oprtype-Lfb7CGMr.js +1 -0
  102. package/dist/chunks/regions-hVsQiy1q.js +1 -0
  103. package/dist/chunks/regionstype-BqWrUQOz.js +1 -0
  104. package/dist/chunks/role-BmmlwNJt.js +1 -0
  105. package/dist/chunks/shangbaoevent-BpZ42PRV.js +1 -0
  106. package/dist/chunks/shangbaoeventfl-mijfxTMO.js +1 -0
  107. package/dist/chunks/source-CvOQ-ZTp.js +1 -0
  108. package/dist/chunks/splitpanes-h9OOw7VD.js +1 -0
  109. package/dist/chunks/sysholidays-CH3r8Ohq.js +1 -0
  110. package/dist/chunks/sysright-manage-AL6FwZYp.js +1 -0
  111. package/dist/chunks/taskfx-DXq-ocOu.js +1 -0
  112. package/dist/chunks/taskmatter-CF0kqEQX.js +1 -0
  113. package/dist/chunks/tasknode-DyQD78nf.js +1 -0
  114. package/dist/chunks/tasknodelog-D62aO1Ks.js +1 -0
  115. package/dist/chunks/tasktype-DMwjt93i.js +1 -0
  116. package/dist/chunks/title-zUdufjoH.js +1 -0
  117. package/dist/chunks/tzgg-Xbvl2Yfa.js +1 -0
  118. package/dist/chunks/tzggtype-CAKD1MVR.js +1 -0
  119. package/dist/chunks/weather-Db8fSkDd.js +1 -0
  120. package/dist/chunks/wfEventAdd-C0DsIR3A.js +1 -0
  121. package/dist/chunks/wfclass-B4X1aYu5.js +1 -0
  122. package/dist/chunks/wfdef-Duyff85h.js +1 -0
  123. package/dist/chunks/wfeventall-BQ2cUmli.js +1 -0
  124. package/dist/chunks/wfeventdone-B7GlF_on.js +1 -0
  125. package/dist/chunks/wfeventlog-XPVQfZxF.js +1 -0
  126. package/dist/chunks/wfeventtask-Cjk62ZZ8.js +1 -0
  127. package/dist/chunks/wfeventyqsqsp-iRE1I50v.js +1 -0
  128. package/dist/chunks/wfjixiao-Bx8KEm0b.js +1 -0
  129. package/dist/chunks/wfnode-BwJJFAYT.js +1 -0
  130. package/dist/chunks/wfopr-DzvqH37k.js +1 -0
  131. package/dist/chunks/wfoprcfg-Gs_hItaS.js +1 -0
  132. package/dist/chunks/wfyqsqcfg-CBzSar81.js +1 -0
  133. package/dist/chunks/wfyqsqcfg-D3QxJNsx.js +1 -0
  134. package/dist/chunks/wfzdy-BAUa4hkK.js +1 -0
  135. package/dist/resolver.js +1 -24
  136. package/dist/sybase.css +1 -1
  137. package/dist/sybase.js +1 -2748
  138. package/dist/utils.js +1 -0
  139. package/package.json +40 -6
  140. package/dist/chunks/401-CL4u0r_c.js +0 -66
  141. package/dist/chunks/404-kPZw9FCc.js +0 -35
  142. package/dist/chunks/daibanevent-C8JNsrlI.js +0 -65
  143. package/dist/chunks/dayjs.min-B97rgn_L.js +0 -283
  144. package/dist/chunks/dict-C49Ogd-n.js +0 -57009
  145. package/dist/chunks/eventfb-BTFXb03d.js +0 -51
  146. package/dist/chunks/eventsource--BhatYsm.js +0 -91
  147. package/dist/chunks/gaopinevent-B-5K3OFp.js +0 -132
  148. package/dist/chunks/index-BJS7Ejqq.js +0 -768
  149. package/dist/chunks/index-CLnO5o1_.js +0 -1446
  150. package/dist/chunks/index-D8_MkquB.js +0 -762
  151. package/dist/chunks/index-DCeOtd-T.js +0 -651
  152. package/dist/chunks/index-DOll2JRT.js +0 -1106
  153. package/dist/chunks/index-DWhfjjo6.js +0 -31
  154. package/dist/chunks/index-VyUXzwqh.js +0 -426
  155. package/dist/chunks/index-gKvU35v8.js +0 -1617
  156. package/dist/chunks/lazyTree-MjyLwMcY.js +0 -89
  157. package/dist/chunks/login-pu41rAd1.js +0 -173
  158. package/dist/chunks/lv-B7X90WVW.js +0 -5
  159. package/dist/chunks/numberbox-tQsb4wgY.js +0 -29
  160. package/dist/chunks/shangbaoevent-Veamh7z3.js +0 -451
  161. package/dist/chunks/shangbaoeventfl-BJoXH_B5.js +0 -259
  162. package/dist/chunks/sysright-manage-BmiSkG44.js +0 -474
  163. package/dist/chunks/title-NwJCTLeC.js +0 -25
  164. package/dist/chunks/weather-ptB2uA3s.js +0 -65
  165. package/dist/views.js +0 -92
@@ -1,474 +0,0 @@
1
- import { a5 as Ve, ap as we, an as Re, ao as Ce, ba as Se, G as De, W as B, m as w, bb as xe, bc as Ue, bd as Ne, be as Me, bf as Pe } from "./dict-C49Ogd-n.js";
2
- import { ref as g, reactive as qe, toRefs as Ee, resolveComponent as s, resolveDirective as T, createElementBlock as D, openBlock as i, withDirectives as m, createVNode as o, unref as t, withCtx as n, Fragment as G, renderList as J, createBlock as d, createTextVNode as p, vShow as W, isRef as K, createCommentVNode as y, toDisplayString as Y, createElementVNode as O } from "vue";
3
- import { d as ze } from "./dayjs.min-B97rgn_L.js";
4
- import { useRoute as Be } from "vue-router";
5
- const Te = { class: "app-container" }, Ye = { class: "dialog-footer" }, Ie = {
6
- __name: "sysright-manage",
7
- setup(Ae) {
8
- const { sys_rightright_state: x } = Ve("sys_right@right_state"), X = ze, U = Be(), R = g(), A = g(), N = g([]), f = g(!1), M = g(!0), C = g(!0), F = g([]), L = g([]), Q = g(!0), S = g(0), P = g(""), H = g([]), c = g([
9
- { key: "right_no", label: "权限编号", visible: !0 },
10
- { key: "right_name", label: "权限名称", visible: !0 },
11
- { key: "right_state", label: "状态", visible: !0 },
12
- { key: "right_sort", label: "排序", visible: !0 },
13
- { key: "right_note", label: "备注", visible: !0 },
14
- { key: "right_create_time", label: "创建时间", visible: !0 }
15
- ]), Z = qe({
16
- form: {},
17
- queryParams: {
18
- pageNo: 1,
19
- pageSize: 10,
20
- right_menuid: "",
21
- right_state: void 0,
22
- selectinfo: void 0
23
- },
24
- rules: {
25
- right_no: [{ required: !0, message: "权限编号不能为空", trigger: "blur" }],
26
- right_name: [{ required: !0, message: "权限名称不能为空", trigger: "blur" }]
27
- }
28
- }), { queryParams: u, form: r, rules: ee } = Ee(Z);
29
- function v() {
30
- M.value = !0, Se(De(u.value, H.value)).then((a) => {
31
- a.records && a.records.length != 0 ? (N.value = a.records, S.value = a.rowCount) : (N.value = [], S.value = 0), M.value = !1;
32
- });
33
- }
34
- function te() {
35
- q(), B(R.value), f.value = !1;
36
- }
37
- function q() {
38
- B(R.value), r.value = {
39
- right_no: void 0,
40
- right_name: void 0,
41
- right_note: void 0,
42
- right_sort: 0,
43
- right_state: 1
44
- }, r.value.right_menuid = u.value.right_menuid, u.value.selectinfo = void 0;
45
- }
46
- function I() {
47
- u.value.pageNo = 1, v();
48
- }
49
- function le() {
50
- H.value = [], B(A.value), u.value.selectinfo = void 0, u.value.right_state = void 0, I();
51
- }
52
- function ne(a) {
53
- F.value = a.map((e) => e.rightid), L.value = a.map((e) => e.right_name), Q.value = !a.length;
54
- }
55
- function oe() {
56
- q(), f.value = !0, P.value = "添加按钮权限";
57
- }
58
- function ae(a) {
59
- q();
60
- const e = a.rightid;
61
- Ne(e).then((k) => {
62
- r.value = k, f.value = !0, P.value = "修改按钮权限";
63
- });
64
- }
65
- function ie() {
66
- R.value.validate((a) => {
67
- a && (r.value.rightid != null ? Me(r.value).then((e) => {
68
- w.msgSuccess("修改成功"), f.value = !1, v();
69
- }) : Pe(r.value).then((e) => {
70
- w.msgSuccess("新增成功"), f.value = !1, v();
71
- }));
72
- });
73
- }
74
- function $(a) {
75
- const e = a && a.rightid != null ? [a.rightid] : F.value, k = a && a.right_name ? a.right_name : L.value;
76
- w.confirm('是否确认删除权限名称为"' + k + '"的数据项?').then(() => xe(e)).then(() => {
77
- v(), w.msgSuccess("删除成功");
78
- }).catch(() => {
79
- });
80
- }
81
- function re() {
82
- Ue().then(() => {
83
- w.msgSuccess("刷新缓存成功");
84
- });
85
- }
86
- function ue() {
87
- U.params && U.params.menuid && (u.value.right_menuid = U.params.menuid);
88
- }
89
- return ue(), v(), (a, e) => {
90
- const k = s("el-option"), se = s("el-select"), b = s("el-form-item"), _ = s("el-button"), j = s("el-form"), E = s("el-col"), de = we, ge = s("el-row"), h = s("el-table-column"), pe = Re, _e = s("el-table"), me = Ce, z = s("el-input"), fe = s("el-input-number"), he = s("el-radio"), ce = s("el-radio-group"), ve = s("el-dialog"), V = T("hasPermi"), be = T("copyText"), ye = T("loading");
91
- return i(), D("div", Te, [
92
- m(o(j, {
93
- model: t(u),
94
- ref_key: "queryRef",
95
- ref: A,
96
- inline: !0
97
- }, {
98
- default: n(() => [
99
- o(b, {
100
- label: "状态",
101
- prop: "menu_state"
102
- }, {
103
- default: n(() => [
104
- o(se, {
105
- modelValue: t(u).right_state,
106
- "onUpdate:modelValue": e[0] || (e[0] = (l) => t(u).right_state = l),
107
- placeholder: "请选择状态",
108
- clearable: "",
109
- style: { width: "200px" }
110
- }, {
111
- default: n(() => [
112
- (i(!0), D(G, null, J(t(x), (l) => (i(), d(k, {
113
- key: l.value,
114
- label: l.label,
115
- value: l.value
116
- }, null, 8, ["label", "value"]))), 128))
117
- ]),
118
- _: 1
119
- }, 8, ["modelValue"])
120
- ]),
121
- _: 1
122
- }),
123
- o(b, null, {
124
- default: n(() => [
125
- o(_, {
126
- type: "primary",
127
- icon: "Search",
128
- onClick: I
129
- }, {
130
- default: n(() => [...e[10] || (e[10] = [
131
- p("搜索", -1)
132
- ])]),
133
- _: 1
134
- }),
135
- o(_, {
136
- icon: "Refresh",
137
- onClick: le
138
- }, {
139
- default: n(() => [...e[11] || (e[11] = [
140
- p("重置", -1)
141
- ])]),
142
- _: 1
143
- })
144
- ]),
145
- _: 1
146
- })
147
- ]),
148
- _: 1
149
- }, 8, ["model"]), [
150
- [W, t(C)]
151
- ]),
152
- o(ge, {
153
- gutter: 10,
154
- class: "mb8"
155
- }, {
156
- default: n(() => [
157
- o(E, { span: 1.5 }, {
158
- default: n(() => [
159
- m((i(), d(_, {
160
- type: "primary",
161
- plain: "",
162
- icon: "Plus",
163
- onClick: oe
164
- }, {
165
- default: n(() => [...e[12] || (e[12] = [
166
- p("新增", -1)
167
- ])]),
168
- _: 1
169
- })), [
170
- [V, ["sysMenuRightAdd"]]
171
- ])
172
- ]),
173
- _: 1
174
- }),
175
- o(E, { span: 1.5 }, {
176
- default: n(() => [
177
- m((i(), d(_, {
178
- type: "danger",
179
- plain: "",
180
- icon: "Delete",
181
- disabled: t(Q),
182
- onClick: $
183
- }, {
184
- default: n(() => [...e[13] || (e[13] = [
185
- p("删除", -1)
186
- ])]),
187
- _: 1
188
- }, 8, ["disabled"])), [
189
- [V, ["sysMenuRightDelete"]]
190
- ])
191
- ]),
192
- _: 1
193
- }),
194
- o(E, { span: 1.5 }, {
195
- default: n(() => [
196
- m((i(), d(_, {
197
- type: "danger",
198
- plain: "",
199
- icon: "Refresh",
200
- onClick: re
201
- }, {
202
- default: n(() => [...e[14] || (e[14] = [
203
- p("刷新缓存", -1)
204
- ])]),
205
- _: 1
206
- })), [
207
- [V, ["sysMenuRightRefresh"]]
208
- ])
209
- ]),
210
- _: 1
211
- }),
212
- o(de, {
213
- showSearch: t(C),
214
- "onUpdate:showSearch": e[1] || (e[1] = (l) => K(C) ? C.value = l : null),
215
- onQueryTable: v,
216
- columns: t(c)
217
- }, null, 8, ["showSearch", "columns"])
218
- ]),
219
- _: 1
220
- }),
221
- m((i(), d(_e, {
222
- border: "",
223
- data: t(N),
224
- onSelectionChange: ne
225
- }, {
226
- default: n(() => [
227
- o(h, {
228
- type: "selection",
229
- width: "55",
230
- align: "center"
231
- }),
232
- t(c)[0].visible ? (i(), d(h, {
233
- key: 0,
234
- label: "权限编号",
235
- align: "center",
236
- prop: "right_no",
237
- "show-overflow-tooltip": !0
238
- }, {
239
- default: n(({ row: l }) => [
240
- m((i(), D("span", null, [
241
- p(Y(l.right_no), 1)
242
- ])), [
243
- [be, l.right_no]
244
- ])
245
- ]),
246
- _: 1
247
- })) : y("", !0),
248
- t(c)[1].visible ? (i(), d(h, {
249
- key: 1,
250
- label: "权限名称",
251
- align: "center",
252
- prop: "right_name",
253
- "show-overflow-tooltip": !0
254
- })) : y("", !0),
255
- t(c)[2].visible ? (i(), d(h, {
256
- key: 2,
257
- label: "状态",
258
- align: "center",
259
- prop: "right_state"
260
- }, {
261
- default: n((l) => [
262
- o(pe, {
263
- options: t(x),
264
- value: l.row.right_state
265
- }, null, 8, ["options", "value"])
266
- ]),
267
- _: 1
268
- })) : y("", !0),
269
- t(c)[3].visible ? (i(), d(h, {
270
- key: 3,
271
- label: "排序",
272
- align: "center",
273
- prop: "right_sort",
274
- "show-overflow-tooltip": !0
275
- })) : y("", !0),
276
- t(c)[4].visible ? (i(), d(h, {
277
- key: 4,
278
- label: "备注",
279
- align: "center",
280
- prop: "right_note",
281
- "show-overflow-tooltip": !0
282
- })) : y("", !0),
283
- t(c)[5].visible ? (i(), d(h, {
284
- key: 5,
285
- label: "创建时间",
286
- align: "center",
287
- prop: "right_create_time",
288
- width: "180"
289
- }, {
290
- default: n((l) => [
291
- O("span", null, Y(t(X)(l.row.right_create_time).format("YYYY-MM-DD HH:mm:ss")), 1)
292
- ]),
293
- _: 1
294
- })) : y("", !0),
295
- o(h, {
296
- label: "操作",
297
- align: "center",
298
- width: "150",
299
- "class-name": "small-padding fixed-width"
300
- }, {
301
- default: n((l) => [
302
- m((i(), d(_, {
303
- link: "",
304
- type: "primary",
305
- icon: "Edit",
306
- onClick: (ke) => ae(l.row)
307
- }, {
308
- default: n(() => [...e[15] || (e[15] = [
309
- p("修改", -1)
310
- ])]),
311
- _: 2
312
- }, 1032, ["onClick"])), [
313
- [V, ["sysMenuRightEdit"]]
314
- ]),
315
- m((i(), d(_, {
316
- link: "",
317
- type: "primary",
318
- icon: "Delete",
319
- onClick: (ke) => $(l.row)
320
- }, {
321
- default: n(() => [...e[16] || (e[16] = [
322
- p("删除", -1)
323
- ])]),
324
- _: 2
325
- }, 1032, ["onClick"])), [
326
- [V, ["sysMenuRightDelete"]]
327
- ])
328
- ]),
329
- _: 1
330
- })
331
- ]),
332
- _: 1
333
- }, 8, ["data"])), [
334
- [ye, t(M)]
335
- ]),
336
- m(o(me, {
337
- total: t(S),
338
- page: t(u).pageNo,
339
- "onUpdate:page": e[2] || (e[2] = (l) => t(u).pageNo = l),
340
- limit: t(u).pageSize,
341
- "onUpdate:limit": e[3] || (e[3] = (l) => t(u).pageSize = l),
342
- onPagination: v
343
- }, null, 8, ["total", "page", "limit"]), [
344
- [W, t(S) > 0]
345
- ]),
346
- o(ve, {
347
- title: t(P),
348
- modelValue: t(f),
349
- "onUpdate:modelValue": e[9] || (e[9] = (l) => K(f) ? f.value = l : null),
350
- width: "500px",
351
- draggable: "",
352
- "append-to-body": ""
353
- }, {
354
- footer: n(() => [
355
- O("div", Ye, [
356
- o(_, {
357
- type: "primary",
358
- onClick: ie
359
- }, {
360
- default: n(() => [...e[17] || (e[17] = [
361
- p("确 定", -1)
362
- ])]),
363
- _: 1
364
- }),
365
- o(_, { onClick: te }, {
366
- default: n(() => [...e[18] || (e[18] = [
367
- p("取 消", -1)
368
- ])]),
369
- _: 1
370
- })
371
- ])
372
- ]),
373
- default: n(() => [
374
- o(j, {
375
- ref_key: "sysRightRef",
376
- ref: R,
377
- model: t(r),
378
- rules: t(ee),
379
- "label-width": "80px"
380
- }, {
381
- default: n(() => [
382
- o(b, {
383
- label: "权限名称",
384
- prop: "right_name"
385
- }, {
386
- default: n(() => [
387
- o(z, {
388
- modelValue: t(r).right_name,
389
- "onUpdate:modelValue": e[4] || (e[4] = (l) => t(r).right_name = l),
390
- placeholder: "请输入权限名称"
391
- }, null, 8, ["modelValue"])
392
- ]),
393
- _: 1
394
- }),
395
- o(b, {
396
- label: "权限编号",
397
- prop: "right_no"
398
- }, {
399
- default: n(() => [
400
- o(z, {
401
- modelValue: t(r).right_no,
402
- "onUpdate:modelValue": e[5] || (e[5] = (l) => t(r).right_no = l),
403
- placeholder: "请输入权限编号"
404
- }, null, 8, ["modelValue"])
405
- ]),
406
- _: 1
407
- }),
408
- o(b, {
409
- label: "排序",
410
- prop: "right_sort"
411
- }, {
412
- default: n(() => [
413
- o(fe, {
414
- modelValue: t(r).right_sort,
415
- "onUpdate:modelValue": e[6] || (e[6] = (l) => t(r).right_sort = l),
416
- "controls-position": "right",
417
- min: 0
418
- }, null, 8, ["modelValue"])
419
- ]),
420
- _: 1
421
- }),
422
- o(b, {
423
- label: "状态",
424
- prop: "right_state"
425
- }, {
426
- default: n(() => [
427
- o(ce, {
428
- modelValue: t(r).right_state,
429
- "onUpdate:modelValue": e[7] || (e[7] = (l) => t(r).right_state = l)
430
- }, {
431
- default: n(() => [
432
- (i(!0), D(G, null, J(t(x), (l) => (i(), d(he, {
433
- key: l.value,
434
- value: l.value
435
- }, {
436
- default: n(() => [
437
- p(Y(l.label), 1)
438
- ]),
439
- _: 2
440
- }, 1032, ["value"]))), 128))
441
- ]),
442
- _: 1
443
- }, 8, ["modelValue"])
444
- ]),
445
- _: 1
446
- }),
447
- o(b, {
448
- label: "备注",
449
- prop: "right_note"
450
- }, {
451
- default: n(() => [
452
- o(z, {
453
- modelValue: t(r).right_note,
454
- "onUpdate:modelValue": e[8] || (e[8] = (l) => t(r).right_note = l),
455
- autosize: "",
456
- type: "textarea",
457
- placeholder: "请输入备注信息"
458
- }, null, 8, ["modelValue"])
459
- ]),
460
- _: 1
461
- })
462
- ]),
463
- _: 1
464
- }, 8, ["model", "rules"])
465
- ]),
466
- _: 1
467
- }, 8, ["title", "modelValue"])
468
- ]);
469
- };
470
- }
471
- };
472
- export {
473
- Ie as default
474
- };
@@ -1,25 +0,0 @@
1
- import { createElementBlock as o, openBlock as a, createElementVNode as e, toDisplayString as s, renderSlot as r } from "vue";
2
- import { _ as c } from "./dict-C49Ogd-n.js";
3
- const i = { class: "container" }, l = { class: "title-container" }, d = { class: "content-container" }, _ = {
4
- __name: "title",
5
- props: {
6
- name: {
7
- type: String,
8
- default: "标题"
9
- }
10
- },
11
- setup(t) {
12
- return (n, p) => (a(), o("div", i, [
13
- e("div", l, [
14
- e("span", null, s(t.name), 1)
15
- ]),
16
- e("div", d, [
17
- r(n.$slots, "default", {}, void 0, !0)
18
- ])
19
- ]));
20
- }
21
- };
22
- var f = /* @__PURE__ */ c(_, [["__scopeId", "data-v-da409687"]]);
23
- export {
24
- f as default
25
- };
@@ -1,65 +0,0 @@
1
- import { ref as l, onMounted as k, onUnmounted as N, createElementBlock as x, openBlock as D, createElementVNode as n, createCommentVNode as A, toDisplayString as o, unref as a } from "vue";
2
- import { _ as B, aN as E } from "./dict-C49Ogd-n.js";
3
- const O = { class: "weatherbox" }, V = ["src"], W = { key: 0 }, $ = {
4
- __name: "weather",
5
- setup(q) {
6
- const p = l(""), m = l(""), f = l(""), t = l(null), d = l(""), g = l(""), _ = l(""), v = l(void 0);
7
- function w() {
8
- const e = /* @__PURE__ */ new Date();
9
- e.getFullYear();
10
- const s = e.getMonth() + 1, u = e.getDate(), i = new Array(
11
- "星期日",
12
- "星期一",
13
- "星期二",
14
- "星期三",
15
- "星期四",
16
- "星期五",
17
- "星期六"
18
- )[e.getDay()], r = String(
19
- e.getHours() < 10 ? "0" + e.getHours() : e.getHours()
20
- ), c = String(
21
- e.getMinutes() < 10 ? "0" + e.getMinutes() : e.getMinutes()
22
- ), h = String(
23
- e.getSeconds() < 10 ? "0" + e.getSeconds() : e.getSeconds()
24
- );
25
- f.value = s + "月" + u + "日", m.value = i, p.value = r + ":" + c + ":" + h;
26
- }
27
- async function b() {
28
- let e = await E();
29
- e && (H("06:00", "18:00") ? (t.value = e, d.value = `/images/weather_icon/${t.value.daily.code_day}@2x.png`, g.value = t.value.suggestion.air_pollution.brief, _.value = t.value.daily.text_day) : (t.value = e, d.value = `/images/weather_icon/${t.value.daily.code_night}@2x.png`, g.value = t.value.suggestion.air_pollution.brief, _.value = t.value.daily.text_night));
30
- }
31
- function H(e, s) {
32
- let u = /* @__PURE__ */ new Date(), i = new Date(u), r = new Date(u), c = e.lastIndexOf(":"), h = e.substring(0, c), I = e.substring(c + 1, e.length);
33
- i.setHours(h, I, 0, 0);
34
- let y = s.lastIndexOf(":"), M = s.substring(0, y), S = s.substring(y + 1, s.length);
35
- return r.setHours(M, S, 0, 0), u.getTime() - i.getTime() >= 0 && u.getTime() <= r.getTime();
36
- }
37
- return k(() => {
38
- b(), w(), v.value = setInterval(w, 1e3);
39
- }), N(() => {
40
- v.value && clearInterval(v.value);
41
- }), (e, s) => (D(), x("div", O, [
42
- n("div", null, [
43
- n("p", null, o(a(f)), 1),
44
- n("p", null, o(a(m)), 1),
45
- n("p", null, o(a(p)), 1)
46
- ]),
47
- n("div", null, [
48
- n("img", {
49
- src: a(d),
50
- alt: ""
51
- }, null, 8, V),
52
- n("p", null, o(a(g)), 1)
53
- ]),
54
- a(t) ? (D(), x("div", W, [
55
- n("p", null, o(a(t).location.name), 1),
56
- n("p", null, o(a(_)), 1),
57
- n("p", null, o(a(t).daily.low) + "/" + o(a(t).daily.high) + " ℃", 1)
58
- ])) : A("", !0)
59
- ]));
60
- }
61
- };
62
- var T = /* @__PURE__ */ B($, [["__scopeId", "data-v-8e90ddd8"]]);
63
- export {
64
- T as default
65
- };
package/dist/views.js DELETED
@@ -1,92 +0,0 @@
1
- import { default as m } from "./chunks/401-CL4u0r_c.js";
2
- import { default as s } from "./chunks/404-kPZw9FCc.js";
3
- import { default as p } from "./chunks/daibanevent-C8JNsrlI.js";
4
- import { default as v } from "./chunks/eventfb-BTFXb03d.js";
5
- import { default as u } from "./chunks/eventsource--BhatYsm.js";
6
- import { default as d } from "./chunks/gaopinevent-B-5K3OFp.js";
7
- import { default as y } from "./chunks/numberbox-tQsb4wgY.js";
8
- import { default as M } from "./chunks/shangbaoevent-Veamh7z3.js";
9
- import { default as H } from "./chunks/shangbaoeventfl-BJoXH_B5.js";
10
- import { default as h } from "./chunks/title-NwJCTLeC.js";
11
- import { default as w } from "./chunks/weather-ptB2uA3s.js";
12
- import { default as c } from "./chunks/index-DWhfjjo6.js";
13
- import { default as D } from "./chunks/login-pu41rAd1.js";
14
- import { default as T } from "./chunks/index-DOll2JRT.js";
15
- import { default as z } from "./chunks/lazyTree-MjyLwMcY.js";
16
- import { default as N } from "./chunks/index-BJS7Ejqq.js";
17
- import { default as W } from "./chunks/sysright-manage-BmiSkG44.js";
18
- import { default as j } from "./chunks/index-DCeOtd-T.js";
19
- import { default as q } from "./chunks/index-VyUXzwqh.js";
20
- import { default as B } from "./chunks/index-D8_MkquB.js";
21
- import { default as J } from "./chunks/index-gKvU35v8.js";
22
- const e = {
23
- Error401: "@/views/error/401.vue",
24
- Error404: "@/views/error/404.vue",
25
- HomeComponentsDaibanevent: "@/views/home/components/daibanevent.vue",
26
- HomeComponentsEventfb: "@/views/home/components/eventfb.vue",
27
- HomeComponentsEventsource: "@/views/home/components/eventsource.vue",
28
- HomeComponentsGaopinevent: "@/views/home/components/gaopinevent.vue",
29
- HomeComponentsNumberbox: "@/views/home/components/numberbox.vue",
30
- HomeComponentsShangbaoevent: "@/views/home/components/shangbaoevent.vue",
31
- HomeComponentsShangbaoeventfl: "@/views/home/components/shangbaoeventfl.vue",
32
- HomeComponentsTitle: "@/views/home/components/title.vue",
33
- HomeComponentsWeather: "@/views/home/components/weather.vue",
34
- HomeIndex: "@/views/home/index.vue",
35
- Login: "@/views/login.vue",
36
- SystemDeptManageIndex: "@/views/system/dept-manage/index.vue",
37
- SystemDeptManageLazyTree: "@/views/system/dept-manage/lazyTree.vue",
38
- SystemMenuManageIndex: "@/views/system/menu-manage/index.vue",
39
- SystemMenuManageSysrightManage: "@/views/system/menu-manage/sysright-manage.vue",
40
- SystemRegionsManageIndex: "@/views/system/regions-manage/index.vue",
41
- SystemRegionstypeManageIndex: "@/views/system/regionstype-manage/index.vue",
42
- SystemRoleManageIndex: "@/views/system/role-manage/index.vue",
43
- SystemUserManageIndex: "@/views/system/user-manage/index.vue"
44
- }, o = {
45
- Error401: () => import("./chunks/401-CL4u0r_c.js"),
46
- Error404: () => import("./chunks/404-kPZw9FCc.js"),
47
- HomeComponentsDaibanevent: () => import("./chunks/daibanevent-C8JNsrlI.js"),
48
- HomeComponentsEventfb: () => import("./chunks/eventfb-BTFXb03d.js"),
49
- HomeComponentsEventsource: () => import("./chunks/eventsource--BhatYsm.js"),
50
- HomeComponentsGaopinevent: () => import("./chunks/gaopinevent-B-5K3OFp.js"),
51
- HomeComponentsNumberbox: () => import("./chunks/numberbox-tQsb4wgY.js"),
52
- HomeComponentsShangbaoevent: () => import("./chunks/shangbaoevent-Veamh7z3.js"),
53
- HomeComponentsShangbaoeventfl: () => import("./chunks/shangbaoeventfl-BJoXH_B5.js"),
54
- HomeComponentsTitle: () => import("./chunks/title-NwJCTLeC.js"),
55
- HomeComponentsWeather: () => import("./chunks/weather-ptB2uA3s.js"),
56
- HomeIndex: () => import("./chunks/index-DWhfjjo6.js"),
57
- Login: () => import("./chunks/login-pu41rAd1.js"),
58
- SystemDeptManageIndex: () => import("./chunks/index-DOll2JRT.js"),
59
- SystemDeptManageLazyTree: () => import("./chunks/lazyTree-MjyLwMcY.js"),
60
- SystemMenuManageIndex: () => import("./chunks/index-BJS7Ejqq.js"),
61
- SystemMenuManageSysrightManage: () => import("./chunks/sysright-manage-BmiSkG44.js"),
62
- SystemRegionsManageIndex: () => import("./chunks/index-DCeOtd-T.js"),
63
- SystemRegionstypeManageIndex: () => import("./chunks/index-VyUXzwqh.js"),
64
- SystemRoleManageIndex: () => import("./chunks/index-D8_MkquB.js"),
65
- SystemUserManageIndex: () => import("./chunks/index-gKvU35v8.js")
66
- };
67
- export {
68
- m as Error401,
69
- s as Error404,
70
- p as HomeComponentsDaibanevent,
71
- v as HomeComponentsEventfb,
72
- u as HomeComponentsEventsource,
73
- d as HomeComponentsGaopinevent,
74
- y as HomeComponentsNumberbox,
75
- M as HomeComponentsShangbaoevent,
76
- H as HomeComponentsShangbaoeventfl,
77
- h as HomeComponentsTitle,
78
- w as HomeComponentsWeather,
79
- c as HomeIndex,
80
- D as Login,
81
- T as SystemDeptManageIndex,
82
- z as SystemDeptManageLazyTree,
83
- N as SystemMenuManageIndex,
84
- W as SystemMenuManageSysrightManage,
85
- j as SystemRegionsManageIndex,
86
- q as SystemRegionstypeManageIndex,
87
- B as SystemRoleManageIndex,
88
- J as SystemUserManageIndex,
89
- o as ViewComponents,
90
- o as default,
91
- e as viewMappings
92
- };