@utogether/udp-core 1.0.1-beta.21 → 1.0.1-beta.23
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/{403-B_l9Q9w_.js → 403-CVk0Zv7-.js} +1 -1
- package/dist/{404-33KZO3Vz.js → 404-ndDOUJxF.js} +1 -1
- package/dist/{500-oI74ZkQH.js → 500-CBFigQjv.js} +1 -1
- package/dist/{AuthorityInfo-CNoxrmPS.js → AuthorityInfo-BDf4I8In.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-CO01EWKQ.js → AuthorityInfo.vue_vue_type_style_index_0_lang-cEIXuHBK.js} +1 -1
- package/dist/{Company-DOCRUvUs.js → Company-DYDDIDa5.js} +3 -3
- package/dist/{CompanyPanel-Do2JlJ3U.js → CompanyPanel-DggYD4kC.js} +1 -1
- package/dist/{Department-BAlx8Am2.js → Department-DqrAvwmT.js} +3 -3
- package/dist/{DepartmentPanel-BvQUkRaM.js → DepartmentPanel-BjhhDlhw.js} +1 -1
- package/dist/{DesignPanel-BMr-c76z.js → DesignPanel-DAR2pcpF.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-COERxrYp.js → DesignPanel.vue_vue_type_style_index_0_lang-B8GPGq0h.js} +2 -2
- package/dist/{DictView-DkG5lo6m.js → DictView-BcLgE6q2.js} +1 -1
- package/dist/{InvOrganization-D_PuTpPt.js → InvOrganization-B61NWug9.js} +1 -1
- package/dist/{Org-CtVfZAjI.js → Org-9tL7q4mS.js} +1 -1
- package/dist/{Preview-Cuj_akRk.js → Preview-Bn4QDJ6s.js} +1 -1
- package/dist/{ReportDefine-CM2aNEVp.js → ReportDefine-BMGU8p3z.js} +1 -1
- package/dist/{ReportDesign-B1y79NKM.js → ReportDesign-DkwxPGCT.js} +2 -2
- package/dist/{ReportQuery-CZEfKCWP.js → ReportQuery-DOFFL8Nn.js} +1 -1
- package/dist/{ReportQueryFrom-C_cUB8bs.js → ReportQueryFrom-BDDlluNb.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-DBqJnvTQ.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Yqw26YrX.js} +1 -1
- package/dist/{ReportTemplate-BprAuCb1.js → ReportTemplate-DmFqn7ji.js} +1 -1
- package/dist/{Role-CAaLVGNy.js → Role-DGw_eao_.js} +3 -3
- package/dist/{RoleAssign-DuFp2Ty7.js → RoleAssign-BJ32jpGq.js} +3 -3
- package/dist/{RolePanel-FnyN7LiS.js → RolePanel-B2O0mFtr.js} +1 -1
- package/dist/{RolePanel-BRStoO0e.js → RolePanel-DHS9C-hf.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CNIA7zdk.js → RolePanel.vue_vue_type_script_setup_true_lang-CEYM_zn7.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CS7drFhn.js → RolePanel.vue_vue_type_script_setup_true_lang-T5FN19eF.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CEnqhlSE.js → ScrollPanel.vue_vue_type_style_index_0_lang-CeYU2NrW.js} +1 -1
- package/dist/{Staff-D493jHwR.js → Staff-3Rejxejf.js} +3 -3
- package/dist/{StaffInfo-suU_pcyD.js → StaffInfo-C94C3Gj7.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DV16a2Nz.js → StaffInfo.vue_vue_type_script_setup_true_lang-Bm76KXps.js} +1 -1
- package/dist/{StaffPanel-BbYWu-xZ.js → StaffPanel-ClhiNL5a.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-CfRIanr5.js → StaffPanel.vue_vue_type_script_setup_true_lang-DjUOMmMr.js} +2 -2
- package/dist/{SysUser-YXOsIVpJ.js → SysUser-DUXK1KbY.js} +2 -2
- package/dist/{SysUserPanel-C1tQzih_.js → SysUserPanel-3HThXZFZ.js} +1 -1
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DjbpSAOd.js +340 -0
- package/dist/{SystemMenu-DzKl8RAz.js → SystemMenu-C1CrBLIy.js} +2 -2
- package/dist/{UserInfo-CYeYQNq8.js → UserInfo-C1tgO95t.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DYVdi2Ck.js → UserInfo.vue_vue_type_style_index_0_lang-CNLWkLRN.js} +1 -1
- package/dist/{childView-BNYdfnMx.js → childView-CCr-NwqZ.js} +1 -1
- package/dist/{childView-C6rHVrT6.js → childView-CeYGykew.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-O_zWFjYY.js → childView.vue_vue_type_style_index_0_lang-D9PsELsS.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-6o00J0a7.js → childView.vue_vue_type_style_index_0_lang-IhbVX2Xa.js} +1 -1
- package/dist/{code-rule-MxcRbYZR.js → code-rule-BVjue1Qj.js} +2 -2
- package/dist/core.es.js +12 -11
- package/dist/{cron-task-B0yfTtm6.js → cron-task-BfVSQIgT.js} +1 -1
- package/dist/flow-task-B07st2aD.js +10 -0
- package/dist/{frameView-DtHY5dLd.js → frameView-D_YJavxB.js} +1 -1
- package/dist/index-ZaDSQxcf.js +6495 -0
- package/dist/{layoutView-D0Q7EG0u.js → layoutView-DpxwrEJd.js} +164 -164
- package/dist/{login-CuO8YgN1.js → login-8muEJPMg.js} +1 -1
- package/dist/{lov-view-DcRVGqsD.js → lov-view-DEp2h_qy.js} +2 -2
- package/dist/{menuInfo-ccOqhCC8.js → menuInfo-rPb4Ed8Q.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DTBPgTe_.js → menuInfo.vue_vue_type_style_index_0_lang-mtPuZDRn.js} +1 -1
- package/dist/{pda-app-D7n4oxyn.js → pda-app-CSrTwUo7.js} +1 -1
- package/dist/{resource-_h2OtsKS.js → resource-B4Fsud2G.js} +1 -1
- package/dist/{su-welcome-Co6e4akE.js → su-welcome-DkwJ8pW8.js} +1 -1
- package/dist/{sys-config-C6Es9vZl.js → sys-config-CnMkBejC.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/index.ts +49 -48
- package/package.json +1 -1
- package/src/components/udp/grid/index.vue +514 -509
- package/src/components/udp/utils.ts +7 -4
- package/src/layout/hooks/useTag.ts +5 -1
- package/src/plugins/i18n/module/u-workflow.ts +71 -71
- package/src/plugins/i18n/zh.ts +359 -356
- package/src/router/index.ts +3 -1
- package/src/router/modules/flow.ts +35 -0
- package/src/router/utils.ts +27 -1
- package/src/store/modules/multiTags.ts +4 -4
- package/src/utils/udp/http/index.ts +294 -0
- package/src/utils/udp/http/types.d.ts +42 -0
- package/src/views/system/cron/cron-task.vue +2 -12
- package/src/views/system/sysUser/SysUserPanel.vue +346 -279
- package/src/views/udev/coderule/code-rule.vue +2 -2
- package/src/views/udev/lov/childView.vue +174 -180
- package/src/views/utask/flow-task.vue +18 -0
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BfT40pDr.js +0 -298
- package/dist/index-BWtOrjW2.js +0 -4603
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { defineComponent as oe, reactive as ae, ref as w, inject as le, createVNode as o, Fragment as x, resolveComponent as a, onMounted as re, createElementBlock as $, openBlock as g, createBlock as C, createCommentVNode as R, withCtx as d, renderList as ne, unref as de } from "vue";
|
|
2
|
+
import { useI18n as ie } from "vue-i18n";
|
|
3
|
+
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
+
import { useRender as ue, warnMessage as me, delay as ce, errorMessage as fe, getDictChildren as pe } from "@utogether/utils";
|
|
5
|
+
import { VxeUI as ge } from "vxe-pc-ui";
|
|
6
|
+
import { clone as U, isEmpty as he } from "xe-utils";
|
|
7
|
+
import { w as we } from "./index-ZaDSQxcf.js";
|
|
8
|
+
const ve = {
|
|
9
|
+
class: "page"
|
|
10
|
+
}, i = "/uums/user", ke = /* @__PURE__ */ oe({
|
|
11
|
+
__name: "SysUserPanel",
|
|
12
|
+
setup(_e) {
|
|
13
|
+
const t = ae({
|
|
14
|
+
record: {},
|
|
15
|
+
listQuery: {},
|
|
16
|
+
dataList: [],
|
|
17
|
+
roleList: [],
|
|
18
|
+
items: [],
|
|
19
|
+
submitLoading: !1,
|
|
20
|
+
showModelView: !1,
|
|
21
|
+
showUserRole: !1,
|
|
22
|
+
showModal: !1,
|
|
23
|
+
showAuth: !1,
|
|
24
|
+
dataStatus: ""
|
|
25
|
+
}), u = we(), {
|
|
26
|
+
t: r
|
|
27
|
+
} = ie(), M = {
|
|
28
|
+
userName: [{
|
|
29
|
+
required: !0,
|
|
30
|
+
message: `${r("message.required")}${r("message.userCode")}`
|
|
31
|
+
}],
|
|
32
|
+
name: [{
|
|
33
|
+
required: !0,
|
|
34
|
+
message: `${r("message.required")}${r("message.userName")}`
|
|
35
|
+
}],
|
|
36
|
+
unitId: [{
|
|
37
|
+
required: !0,
|
|
38
|
+
message: `${r("message.required")}${r("message.unitName")}`
|
|
39
|
+
}],
|
|
40
|
+
userPwd: [{
|
|
41
|
+
required: !0,
|
|
42
|
+
message: `${r("message.required")}${r("message.userPwd")}`
|
|
43
|
+
}]
|
|
44
|
+
}, L = ue(), v = w({}), q = le("treeList"), m = w(!1);
|
|
45
|
+
let _ = "";
|
|
46
|
+
const c = w(null), D = [{
|
|
47
|
+
field: "name",
|
|
48
|
+
title: "message.udp.userName"
|
|
49
|
+
}, {
|
|
50
|
+
field: "userName",
|
|
51
|
+
title: "message.udp.userCode"
|
|
52
|
+
}, {
|
|
53
|
+
field: "type",
|
|
54
|
+
title: "message.udp.userType",
|
|
55
|
+
code: "SU.USER.TYPE"
|
|
56
|
+
}], E = [{
|
|
57
|
+
type: "checkbox",
|
|
58
|
+
width: 40,
|
|
59
|
+
align: "center"
|
|
60
|
+
}, {
|
|
61
|
+
field: "userName",
|
|
62
|
+
title: "message.udp.userCode"
|
|
63
|
+
}, {
|
|
64
|
+
field: "name",
|
|
65
|
+
title: "message.udp.userName"
|
|
66
|
+
}, {
|
|
67
|
+
field: "type",
|
|
68
|
+
title: "message.udp.userType",
|
|
69
|
+
formatter: ["formatDict", "SU.USER.TYPE"]
|
|
70
|
+
}, {
|
|
71
|
+
field: "enabled",
|
|
72
|
+
width: 80,
|
|
73
|
+
cellRender: L.renderEnabled(z)
|
|
74
|
+
}, {
|
|
75
|
+
field: "operate",
|
|
76
|
+
width: 150,
|
|
77
|
+
fixed: "right",
|
|
78
|
+
slots: {
|
|
79
|
+
default: ({
|
|
80
|
+
row: e
|
|
81
|
+
}) => [o(x, null, [o(a("ut-button"), {
|
|
82
|
+
content: "edit",
|
|
83
|
+
icon: "ri-edit-line",
|
|
84
|
+
onTap: () => B(e)
|
|
85
|
+
}, null), o(a("ut-dropdown"), {
|
|
86
|
+
buttons: I(),
|
|
87
|
+
onCommand: (s) => A(e, s)
|
|
88
|
+
}, null)])]
|
|
89
|
+
}
|
|
90
|
+
}], A = (e, s) => {
|
|
91
|
+
s === "role" && H(e), s === "auth" && Q(e), s === "passwordReset" && O(e);
|
|
92
|
+
}, I = () => [{
|
|
93
|
+
code: "role",
|
|
94
|
+
icon: "ri-user-fill"
|
|
95
|
+
}, {
|
|
96
|
+
code: "auth",
|
|
97
|
+
icon: "ri-lock-fill"
|
|
98
|
+
}, {
|
|
99
|
+
code: "passwordReset",
|
|
100
|
+
icon: "ri-lock-password-line"
|
|
101
|
+
}], y = [{
|
|
102
|
+
field: "userName",
|
|
103
|
+
title: "message.udp.userCode",
|
|
104
|
+
required: !0,
|
|
105
|
+
disabled: !1
|
|
106
|
+
}, {
|
|
107
|
+
field: "name",
|
|
108
|
+
title: "message.udp.userName",
|
|
109
|
+
required: !0
|
|
110
|
+
}, {
|
|
111
|
+
field: "type",
|
|
112
|
+
required: !0,
|
|
113
|
+
title: "message.udp.userType",
|
|
114
|
+
code: "SU.USER.TYPE"
|
|
115
|
+
}, {
|
|
116
|
+
field: "userPwd",
|
|
117
|
+
required: !0,
|
|
118
|
+
visibleMethod: ({
|
|
119
|
+
data: e
|
|
120
|
+
}) => !e.id
|
|
121
|
+
}], T = () => {
|
|
122
|
+
t.record = {
|
|
123
|
+
userPwd: _,
|
|
124
|
+
...v.value
|
|
125
|
+
}, t.items = U(y, !0), t.height = 280, t.showModal = !0;
|
|
126
|
+
}, B = (e) => {
|
|
127
|
+
t.record = U(e, !0), y[0].disabled = !0, t.items = U(y, !0), t.height = 240, t.showModal = !0;
|
|
128
|
+
}, F = () => {
|
|
129
|
+
c.value.getInstance().commitProxy("delete");
|
|
130
|
+
}, Y = (e) => [e], j = () => {
|
|
131
|
+
c.value.refreshData();
|
|
132
|
+
};
|
|
133
|
+
async function z({
|
|
134
|
+
row: e
|
|
135
|
+
}) {
|
|
136
|
+
await S(u.put(i, [e])), c.value.refreshData();
|
|
137
|
+
}
|
|
138
|
+
const H = async (e) => {
|
|
139
|
+
var l;
|
|
140
|
+
t.roleList = [], t.showUserRole = !0, m.value = !0;
|
|
141
|
+
const s = await u.get(i + "/getUserRole", {
|
|
142
|
+
userName: e.userName
|
|
143
|
+
});
|
|
144
|
+
m.value = !1, t.roleList = (l = s[0]) == null ? void 0 : l.sysRoles;
|
|
145
|
+
}, O = async (e) => {
|
|
146
|
+
await u.put(i + "/resetPwd", e), await ge.modal.alert(r("message.tip.initPassword", {
|
|
147
|
+
code: _
|
|
148
|
+
}));
|
|
149
|
+
}, Q = async (e) => {
|
|
150
|
+
var h;
|
|
151
|
+
t.roleList = [], t.showAuth = !0, m.value = !0, t.record = e;
|
|
152
|
+
const [s, l] = await S(u.get(i + "/getUserRole", {
|
|
153
|
+
userName: e.userName
|
|
154
|
+
}));
|
|
155
|
+
m.value = !1, s || (he(l) ? me(r("message.tip.emptyAuth")) : t.roleList = (h = l[0]) == null ? void 0 : h.sysMenuExts);
|
|
156
|
+
}, V = w(null), W = () => {
|
|
157
|
+
V.value.validate(async (e) => {
|
|
158
|
+
if (!e) {
|
|
159
|
+
const {
|
|
160
|
+
record: s,
|
|
161
|
+
dataStatus: l
|
|
162
|
+
} = t;
|
|
163
|
+
l === "add" ? await u.post(i, s) : await u.put(i, s), P();
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}, P = () => {
|
|
167
|
+
t.showModelView = !1;
|
|
168
|
+
}, G = (e) => {
|
|
169
|
+
e === "add" && T(), e === "del" && F();
|
|
170
|
+
}, J = () => {
|
|
171
|
+
u.get("/uums/unit", {
|
|
172
|
+
pageSize: 10
|
|
173
|
+
}).then(async (e) => {
|
|
174
|
+
v.value = {
|
|
175
|
+
unitId: e[0].id,
|
|
176
|
+
enabled: "1"
|
|
177
|
+
}, await ce(100), c.value.refreshData();
|
|
178
|
+
}).catch(() => {
|
|
179
|
+
fe("获取租户失败,刷新后重试");
|
|
180
|
+
});
|
|
181
|
+
}, K = () => {
|
|
182
|
+
var s;
|
|
183
|
+
_ = ((s = pe("SU.DEFAULT_PASSWORD")) == null ? void 0 : s.find((l) => l.dictCode === "default")).dictName;
|
|
184
|
+
};
|
|
185
|
+
return re(() => {
|
|
186
|
+
K(), J();
|
|
187
|
+
}), (e, s) => {
|
|
188
|
+
const l = a("ut-grid"), h = a("vxe-option"), X = a("vxe-select"), f = a("vxe-form-item"), k = a("ut-button"), Z = a("vxe-form"), N = a("vxe-modal"), b = a("vxe-column"), ee = a("vxe-table"), te = a("el-tree-v2"), se = a("ut-modal-form");
|
|
189
|
+
return g(), $("div", ve, [o(l, {
|
|
190
|
+
ref_key: "xgrid",
|
|
191
|
+
ref: c,
|
|
192
|
+
columns: E,
|
|
193
|
+
items: D,
|
|
194
|
+
url: i,
|
|
195
|
+
"auto-load": !1,
|
|
196
|
+
"default-params": v.value,
|
|
197
|
+
mode: "form",
|
|
198
|
+
onButtonClick: G
|
|
199
|
+
}, null, 8, ["default-params"]), o(N, {
|
|
200
|
+
modelValue: t.showModelView,
|
|
201
|
+
"onUpdate:modelValue": s[0] || (s[0] = (n) => t.showModelView = n),
|
|
202
|
+
title: "用户信息",
|
|
203
|
+
width: "300"
|
|
204
|
+
}, {
|
|
205
|
+
default: d(() => [o(Z, {
|
|
206
|
+
ref_key: "xForm",
|
|
207
|
+
ref: V,
|
|
208
|
+
data: t.record,
|
|
209
|
+
rules: M,
|
|
210
|
+
"title-align": "right"
|
|
211
|
+
}, {
|
|
212
|
+
default: d(() => [o(f, {
|
|
213
|
+
title: e.$t("message.unitName"),
|
|
214
|
+
field: "unitId",
|
|
215
|
+
span: "24"
|
|
216
|
+
}, {
|
|
217
|
+
default: d(({
|
|
218
|
+
data: n
|
|
219
|
+
}) => [o(X, {
|
|
220
|
+
modelValue: n.unitId,
|
|
221
|
+
"onUpdate:modelValue": (p) => n.unitId = p
|
|
222
|
+
}, {
|
|
223
|
+
default: d(() => [(g(!0), $(x, null, ne(de(q), (p) => (g(), C(h, {
|
|
224
|
+
key: p.id,
|
|
225
|
+
value: p.id,
|
|
226
|
+
label: p.unitName
|
|
227
|
+
}, null, 8, ["value", "label"]))), 128))]),
|
|
228
|
+
_: 2
|
|
229
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])]),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 8, ["title"]), o(f, {
|
|
232
|
+
title: e.$t("message.userCode"),
|
|
233
|
+
"item-render": {
|
|
234
|
+
name: "input",
|
|
235
|
+
attrs: {
|
|
236
|
+
disabled: t.dataStatus === "update"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
field: "userName",
|
|
240
|
+
span: "24"
|
|
241
|
+
}, null, 8, ["title", "item-render"]), o(f, {
|
|
242
|
+
title: e.$t("message.userName"),
|
|
243
|
+
field: "name",
|
|
244
|
+
span: "24",
|
|
245
|
+
"item-render": {
|
|
246
|
+
name: "input"
|
|
247
|
+
}
|
|
248
|
+
}, null, 8, ["title"]), t.dataStatus === "add" ? (g(), C(f, {
|
|
249
|
+
key: 0,
|
|
250
|
+
title: e.$t("message.userPwd"),
|
|
251
|
+
"item-render": {
|
|
252
|
+
name: "input"
|
|
253
|
+
},
|
|
254
|
+
field: "userPwd",
|
|
255
|
+
span: "24"
|
|
256
|
+
}, null, 8, ["title"])) : R("", !0), o(f, {
|
|
257
|
+
align: "right",
|
|
258
|
+
span: "24"
|
|
259
|
+
}, {
|
|
260
|
+
default: d(() => [o(k, {
|
|
261
|
+
content: "cancel",
|
|
262
|
+
icon: "ri-close-fill",
|
|
263
|
+
onClick: P
|
|
264
|
+
}), o(k, {
|
|
265
|
+
content: "confirm",
|
|
266
|
+
icon: "ri-save-3-fill",
|
|
267
|
+
status: "u-cyan",
|
|
268
|
+
onClick: W
|
|
269
|
+
})]),
|
|
270
|
+
_: 1
|
|
271
|
+
})]),
|
|
272
|
+
_: 1
|
|
273
|
+
}, 8, ["data"])]),
|
|
274
|
+
_: 1
|
|
275
|
+
}, 8, ["modelValue"]), o(N, {
|
|
276
|
+
modelValue: t.showUserRole,
|
|
277
|
+
"onUpdate:modelValue": s[1] || (s[1] = (n) => t.showUserRole = n),
|
|
278
|
+
loading: m.value,
|
|
279
|
+
title: e.$t("message.title.roleInfo"),
|
|
280
|
+
width: "600"
|
|
281
|
+
}, {
|
|
282
|
+
default: d(() => [o(ee, {
|
|
283
|
+
height: "300",
|
|
284
|
+
data: t.roleList,
|
|
285
|
+
border: ""
|
|
286
|
+
}, {
|
|
287
|
+
default: d(() => [o(b, {
|
|
288
|
+
type: "seq",
|
|
289
|
+
width: "60"
|
|
290
|
+
}), o(b, {
|
|
291
|
+
field: "roleName",
|
|
292
|
+
title: e.$t("message.udp.roleName")
|
|
293
|
+
}, null, 8, ["title"]), o(b, {
|
|
294
|
+
field: "roleDesc",
|
|
295
|
+
title: e.$t("message.udp.roleDesc")
|
|
296
|
+
}, null, 8, ["title"])]),
|
|
297
|
+
_: 1
|
|
298
|
+
}, 8, ["data"])]),
|
|
299
|
+
_: 1
|
|
300
|
+
}, 8, ["modelValue", "loading", "title"]), o(N, {
|
|
301
|
+
modelValue: t.showAuth,
|
|
302
|
+
"onUpdate:modelValue": s[2] || (s[2] = (n) => t.showAuth = n),
|
|
303
|
+
loading: m.value,
|
|
304
|
+
title: e.$t("message.title.authority", {
|
|
305
|
+
role: t.record.name || "88888"
|
|
306
|
+
}),
|
|
307
|
+
height: "620",
|
|
308
|
+
width: "560"
|
|
309
|
+
}, {
|
|
310
|
+
default: d(() => [o(te, {
|
|
311
|
+
ref: "xTree",
|
|
312
|
+
data: t.roleList,
|
|
313
|
+
props: {
|
|
314
|
+
children: "children",
|
|
315
|
+
label: "menuName"
|
|
316
|
+
},
|
|
317
|
+
height: 560,
|
|
318
|
+
"node-key": "id"
|
|
319
|
+
}, null, 8, ["data"])]),
|
|
320
|
+
_: 1
|
|
321
|
+
}, 8, ["modelValue", "loading", "title"]), t.showModal ? (g(), C(se, {
|
|
322
|
+
key: 0,
|
|
323
|
+
record: t.record,
|
|
324
|
+
items: t.items,
|
|
325
|
+
width: 360,
|
|
326
|
+
height: t.height,
|
|
327
|
+
method: t.record.id ? "put" : "post",
|
|
328
|
+
"data-process-method": Y,
|
|
329
|
+
title: e.$t("message.title.userInfo"),
|
|
330
|
+
"data-status": "update",
|
|
331
|
+
url: i,
|
|
332
|
+
onClose: s[3] || (s[3] = (n) => t.showModal = !1),
|
|
333
|
+
onConfirm: j
|
|
334
|
+
}, null, 8, ["record", "items", "height", "method", "title"])) : R("", !0)]);
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
export {
|
|
339
|
+
ke as _
|
|
340
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as S, reactive as k, ref as v, createVNode as o, resolveComponent as r, Fragment as m, createElementBlock as D, openBlock as A } from "vue";
|
|
2
2
|
import { useI18n as E } from "vue-i18n";
|
|
3
|
-
import { _ as I } from "./menuInfo.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as I } from "./menuInfo.vue_vue_type_style_index_0_lang-mtPuZDRn.js";
|
|
4
4
|
import { _ as N } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js";
|
|
5
5
|
import { clone as p } from "xe-utils";
|
|
6
6
|
import { t as M } from "./await-to-js.es5-BtRbN2QH.js";
|
|
7
7
|
import { VxeUI as R } from "vxe-pc-ui";
|
|
8
8
|
import { useRender as U } from "@utogether/utils";
|
|
9
|
-
import { w as B } from "./index-
|
|
9
|
+
import { w as B } from "./index-ZaDSQxcf.js";
|
|
10
10
|
const P = {
|
|
11
11
|
class: "page-content"
|
|
12
12
|
}, z = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as R, ref as i, reactive as x, onBeforeMount as B, resolveComponent as d, createElementBlock as U, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as A, mergeProps as E, toHandlers as P } from "vue";
|
|
2
2
|
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
-
import { w as V } from "./index-
|
|
3
|
+
import { w as V } from "./index-ZaDSQxcf.js";
|
|
4
4
|
const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
5
5
|
__name: "UserInfo",
|
|
6
6
|
props: {
|
|
@@ -3,7 +3,7 @@ import { useI18n as Q } from "vue-i18n";
|
|
|
3
3
|
import { t as I } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
import { VxeUI as W } from "vxe-pc-ui";
|
|
5
5
|
import { useRender as X, successMessage as k } from "@utogether/utils";
|
|
6
|
-
import { w as b, i as S } from "./index-
|
|
6
|
+
import { w as b, i as S } from "./index-ZaDSQxcf.js";
|
|
7
7
|
const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } }, _ = "/upfm/v1/lov", de = /* @__PURE__ */ U({
|
|
8
8
|
__name: "childView",
|
|
9
9
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as h, openBlock as _, createVNode as d, withCtx as c, withDirectives as W } from "vue";
|
|
2
2
|
import { t as u } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { useRender as P } from "@utogether/utils";
|
|
4
|
-
import { i as $, w as f } from "./index-
|
|
4
|
+
import { i as $, w as f } from "./index-ZaDSQxcf.js";
|
|
5
5
|
const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
|
|
6
6
|
__name: "childView",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as _, ref as d, createVNode as c, resolveComponent as i, createElementBlock as k, openBlock as m, createBlock as C, createCommentVNode as E } from "vue";
|
|
2
2
|
import { t as U } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { useRender as b } from "@utogether/utils";
|
|
4
|
-
import { w as q } from "./index-
|
|
4
|
+
import { w as q } from "./index-ZaDSQxcf.js";
|
|
5
5
|
const y = {
|
|
6
6
|
name: "CodeRule"
|
|
7
7
|
}, V = /* @__PURE__ */ _({
|
|
@@ -113,7 +113,7 @@ const y = {
|
|
|
113
113
|
async function h({
|
|
114
114
|
row: t
|
|
115
115
|
}) {
|
|
116
|
-
const [r] = await U(q().put(u, t));
|
|
116
|
+
const [r] = await U(q().put(u, [t]));
|
|
117
117
|
!r && s.value.refreshData();
|
|
118
118
|
}
|
|
119
119
|
return (t, r) => {
|
package/dist/core.es.js
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { N as a, J as t, C as r, E as o, G as u,
|
|
1
|
+
import { N as a, J as t, C as r, E as o, G as u, P as i, w as n, y as l, K as g, D as c, L as h, O as m, M as f, s as y, z as S, A, c as C, h as P, i as R } from "./index-ZaDSQxcf.js";
|
|
2
2
|
export {
|
|
3
3
|
a as constantRoutes,
|
|
4
4
|
t as default,
|
|
5
5
|
r as delCurrentRoute,
|
|
6
6
|
o as getBrower,
|
|
7
7
|
u as getPlatform,
|
|
8
|
-
i as
|
|
9
|
-
n as
|
|
10
|
-
l as
|
|
11
|
-
g as
|
|
8
|
+
i as getProcessMenu,
|
|
9
|
+
n as getServiceApi,
|
|
10
|
+
l as handleAliveRoute,
|
|
11
|
+
g as hasAuthority,
|
|
12
|
+
c as initDict,
|
|
12
13
|
h as lifeCycleEvent,
|
|
13
14
|
m as remainingRouters,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
f as routerBefore,
|
|
16
|
+
y as store,
|
|
17
|
+
S as useDataThemeChange,
|
|
18
|
+
A as useLayout,
|
|
19
|
+
C as useMultiTagsStore,
|
|
20
|
+
P as usePermissionStore,
|
|
20
21
|
R as useSystemStore
|
|
21
22
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, ref as d, createVNode as n, resolveComponent as o, Fragment as v, createElementBlock as T, openBlock as f, createBlock as I, createCommentVNode as R } from "vue";
|
|
2
2
|
import { VXETable as C } from "vxe-table";
|
|
3
3
|
import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
-
import { w as y } from "./index-
|
|
4
|
+
import { w as y } from "./index-ZaDSQxcf.js";
|
|
5
5
|
import { useRender as S, successMessage as D } from "@utogether/utils";
|
|
6
6
|
const E = {
|
|
7
7
|
name: "CronTask"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineComponent as e, createElementBlock as t, openBlock as a } from "vue";
|
|
2
|
+
const n = { name: "FlowTask" }, c = /* @__PURE__ */ e({
|
|
3
|
+
...n,
|
|
4
|
+
setup(o) {
|
|
5
|
+
return (s, d) => (a(), t("div", null, " dhasdhkasd kasdAsdasjldj打死了电话卡手机号多久啊是的 "));
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
c as default
|
|
10
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, ref as r, unref as a, onMounted as d, resolveDirective as p, withDirectives as v, createElementBlock as h, openBlock as g, createElementVNode as k, nextTick as x } from "vue";
|
|
2
2
|
import { useRoute as E } from "vue-router";
|
|
3
|
-
import { _ as R } from "./index-
|
|
3
|
+
import { _ as R } from "./index-ZaDSQxcf.js";
|
|
4
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
5
5
|
__name: "frameView",
|
|
6
6
|
setup(B) {
|