@utogether/udp-core 1.0.1-beta.27 → 1.0.1-beta.30
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/build/plugins.ts +37 -37
- package/dist/{403-A9aD_bZN.js → 403-DdjDWbkf.js} +1 -1
- package/dist/{404-DREd70aQ.js → 404-D9vF2gFz.js} +1 -1
- package/dist/{500-C5qVXkGt.js → 500-mVaDmUjL.js} +1 -1
- package/dist/{AuthorityInfo-CYO2IVau.js → AuthorityInfo-DOUJ_Zrj.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-V7e_KwWp.js → AuthorityInfo.vue_vue_type_style_index_0_lang-B12sAzqt.js} +1 -1
- package/dist/{Company-CaottHQO.js → Company-DY__kM9F.js} +3 -3
- package/dist/{CompanyPanel-B3hOiXqj.js → CompanyPanel-C5N8QcMA.js} +1 -1
- package/dist/{Department-CHkuRvJN.js → Department-DsuDZdy5.js} +3 -3
- package/dist/{DepartmentPanel-DieWfIxW.js → DepartmentPanel-CdwI7Rzu.js} +2 -2
- package/dist/{DesignPanel-REWXp3x4.js → DesignPanel-B50-g0TL.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Df0xc5XP.js → DesignPanel.vue_vue_type_style_index_0_lang-KV8JOZ6v.js} +2 -2
- package/dist/{DictView-DnpDHskG.js → DictView-Be2Z5Obk.js} +1 -1
- package/dist/{InvOrganization-DoIsDrAx.js → InvOrganization-Lui1q3Ou.js} +1 -1
- package/dist/{Org-C4P5Cwia.js → Org-qO5ExsPN.js} +1 -1
- package/dist/{Preview-d90pQdFJ.js → Preview-Dq4dfV2D.js} +1 -1
- package/dist/{ReportDefine-DNrp4lFP.js → ReportDefine-DH3FvbS1.js} +1 -1
- package/dist/{ReportDesign-Ch8x6_mW.js → ReportDesign-Bou01Jbr.js} +2 -2
- package/dist/{ReportQuery-C1yR0ULS.js → ReportQuery-BBkmPPSw.js} +1 -1
- package/dist/{ReportQueryFrom-BKwf61CL.js → ReportQueryFrom-BCY8lTJ7.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D2ddteNz.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CpktcM8J.js} +1 -1
- package/dist/{ReportTemplate-HLHli4Cc.js → ReportTemplate-C_yJXxQ-.js} +1 -1
- package/dist/{Role-4GbuIhk6.js → Role-CTatYsrC.js} +3 -3
- package/dist/{RoleAssign-FGrSCg5R.js → RoleAssign-Cqt3CelK.js} +3 -3
- package/dist/{RolePanel-Ce1eKsM8.js → RolePanel-C3JMpNu8.js} +1 -1
- package/dist/{RolePanel-BcCozGfv.js → RolePanel-brKRJIhD.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BiOcU5GE.js → RolePanel.vue_vue_type_script_setup_true_lang-DD8u9pq8.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CqER1M9Y.js → RolePanel.vue_vue_type_script_setup_true_lang-i6Gq4r5B.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BbgS5f79.js → ScrollPanel.vue_vue_type_style_index_0_lang-CiWKyjm3.js} +1 -1
- package/dist/{Staff-CBt_0rqg.js → Staff-Cd3twQ6Y.js} +3 -3
- package/dist/{StaffInfo-RCdWZr1r.js → StaffInfo-DJp0a0qd.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-Dm8Yin3r.js → StaffInfo.vue_vue_type_script_setup_true_lang-Dp2AhJ4I.js} +1 -1
- package/dist/{StaffPanel-2ka-H3IV.js → StaffPanel-B93hClzs.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B0u-PqTe.js → StaffPanel.vue_vue_type_script_setup_true_lang-CXjUzq7n.js} +2 -2
- package/dist/{SysUser-Cs7uN3HU.js → SysUser-BvI6vaqI.js} +2 -2
- package/dist/{SysUserPanel-Df3qGMep.js → SysUserPanel-C9V8X-Ek.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-ClwozbZE.js → SysUserPanel.vue_vue_type_script_setup_true_lang-bMqTui07.js} +1 -1
- package/dist/{SystemMenu-BMYVQd-E.js → SystemMenu-D4WME5d0.js} +2 -2
- package/dist/{UserInfo-DDk2iOqY.js → UserInfo-D-AfdfJs.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CEccCnDi.js → UserInfo.vue_vue_type_style_index_0_lang-C-JQYIxe.js} +1 -1
- package/dist/{childView-C7u4Budn.js → childView--WMSo-wH.js} +1 -1
- package/dist/{childView-DFPGu0W-.js → childView-1MTl6Kaj.js} +1 -1
- package/dist/childView.vue_vue_type_style_index_0_lang-B8Losc4Y.js +170 -0
- package/dist/{childView.vue_vue_type_style_index_0_lang-B3fNaibG.js → childView.vue_vue_type_style_index_0_lang-BAVKNIXs.js} +1 -1
- package/dist/{code-rule-BcaRQ1zV.js → code-rule-D-RqrQB6.js} +40 -37
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-DJQLZCsO.js → cron-task-D-X-KFZm.js} +1 -1
- package/dist/{frameView-uPEaJRC7.js → frameView-MAW_-GHJ.js} +1 -1
- package/dist/{index-D7BXpJPu.js → index-Bc9vCX7z.js} +45 -45
- package/dist/{layoutView-zw1-fplL.js → layoutView-De2QIEr2.js} +3 -3
- package/dist/{login-M-rLGYIn.js → login-rdZ0GPYc.js} +1 -1
- package/dist/{lov-view-BVfIna0M.js → lov-view-Ao7LMspL.js} +2 -2
- package/dist/{menuInfo-BTqoNOuZ.js → menuInfo-DmOcK6An.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CHco0XcS.js → menuInfo.vue_vue_type_style_index_0_lang-Ln-zFWV7.js} +1 -1
- package/dist/{pda-app-BzzynCVk.js → pda-app-DY63mQ2T.js} +1 -1
- package/dist/{resource-CJQV7_75.js → resource-B21uV58T.js} +1 -1
- package/dist/{su-welcome-BxQYF4Ou.js → su-welcome-DgjzJeDF.js} +22 -19
- package/dist/{sys-config-DNFqTmvL.js → sys-config-DOtK2I32.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/index.ts +49 -49
- package/package.json +3 -3
- package/src/components/SuScrollTree/ScrollPanel.vue +170 -170
- package/src/components/udp/content/index.vue +89 -0
- package/src/components/udp/form/form.vue +109 -109
- package/src/components/udp/grid/index.vue +524 -524
- package/src/components/udp/index.ts +2 -1
- package/src/components/udp/ut-stamp-badge/index.vue +272 -0
- package/src/components/udp/utils.ts +408 -408
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +94 -94
- package/src/layout/components/lay-tag/index.vue +596 -596
- package/src/layout/hooks/useTag.ts +227 -227
- package/src/main.ts +1 -1
- package/src/plugins/i18n/module/u-workflow.ts +71 -71
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/plugins/vxe-table/render.tsx +945 -945
- package/src/router/index.ts +187 -187
- package/src/router/modules/flow.ts +35 -35
- package/src/router/utils.ts +420 -420
- package/src/store/modules/multiTags.ts +110 -110
- package/src/store/modules/permission.ts +113 -113
- package/src/style/button.scss +85 -85
- package/src/style/vxetable.scss +348 -348
- package/src/views/organization/department/DepartmentPanel.vue +269 -269
- package/src/views/system/menu/SystemMenu.vue +185 -185
- package/src/views/system/menu/menuInfo.vue +384 -384
- package/src/views/system/sysUser/SysUserPanel.vue +348 -348
- package/src/views/udev/coderule/code-rule.vue +17 -5
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +69 -109
- package/src/views/udev/lov/childView.vue +174 -174
- package/src/views/uhome/components/menu-favorite.vue +1 -1
- package/src/views/upms/interface/log-in.vue +100 -100
- package/src/views/upms/user/login-log.vue +54 -54
- package/src/views/utask/flow-task.vue +18 -18
- package/dist/childView.vue_vue_type_style_index_0_lang-BUMcbqzM.js +0 -187
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
export default { name: 'FlowTask' };
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<script setup lang="ts">
|
|
6
|
-
// import { useDetail } from './hooks';
|
|
7
|
-
|
|
8
|
-
// const { initToDetail, getParameter } = useDetail();
|
|
9
|
-
// initToDetail('query');
|
|
10
|
-
</script>
|
|
11
|
-
|
|
12
|
-
<template>
|
|
13
|
-
<div>
|
|
14
|
-
<!-- {{ getParameter.id }} - 详情页内容在此(query传参)
|
|
15
|
-
<p>当前页面参数为:{{ getParameter }}</p> -->
|
|
16
|
-
dhasdhkasd kasdAsdasjldj打死了电话卡手机号多久啊是的
|
|
17
|
-
</div>
|
|
18
|
-
</template>
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
export default { name: 'FlowTask' };
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
// import { useDetail } from './hooks';
|
|
7
|
+
|
|
8
|
+
// const { initToDetail, getParameter } = useDetail();
|
|
9
|
+
// initToDetail('query');
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<div>
|
|
14
|
+
<!-- {{ getParameter.id }} - 详情页内容在此(query传参)
|
|
15
|
+
<p>当前页面参数为:{{ getParameter }}</p> -->
|
|
16
|
+
dhasdhkasd kasdAsdasjldj打死了电话卡手机号多久啊是的
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import { defineComponent as U, ref as u, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as w, createVNode as t, withCtx as d, createElementVNode as N, createBlock as G, createCommentVNode as K, createTextVNode as P, toDisplayString as $ } from "vue";
|
|
2
|
-
import { useI18n as Q } from "vue-i18n";
|
|
3
|
-
import { t as I } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
-
import { VxeUI as W } from "vxe-pc-ui";
|
|
5
|
-
import { useRender as X, successMessage as k } from "@utogether/utils";
|
|
6
|
-
import { w as b, i as S } from "./index-D7BXpJPu.js";
|
|
7
|
-
const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } }, _ = "/upfm/v1/lov", de = /* @__PURE__ */ U({
|
|
8
|
-
__name: "childView",
|
|
9
|
-
props: {
|
|
10
|
-
record: { default: () => ({}) },
|
|
11
|
-
show: { type: Boolean, default: !1 }
|
|
12
|
-
},
|
|
13
|
-
emits: ["onClose"],
|
|
14
|
-
setup(V, { emit: D }) {
|
|
15
|
-
const v = V, T = X(), { t: q } = Q(), h = u([]), m = u(!1), s = u(!1), a = u({}), p = u({}), i = u("add"), O = [
|
|
16
|
-
{ field: "dictCode", title: "message.udp.dictCode", required: !0 },
|
|
17
|
-
{ field: "dictName", title: "message.udp.dictName", required: !0 },
|
|
18
|
-
{ field: "dictDesc", title: "message.remark" },
|
|
19
|
-
{
|
|
20
|
-
field: "enabled",
|
|
21
|
-
itemRender: T.renderSwitch({ openValue: "1", closeValue: "0", defaultValue: "1" })
|
|
22
|
-
// itemRender: renderHook.renderDict({ code: 'SU.ENABLE', defaultValue: '1' })
|
|
23
|
-
// formatter: ['formatDict', 'SU.ENABLE']
|
|
24
|
-
}
|
|
25
|
-
], R = () => {
|
|
26
|
-
s.value = !0, i.value = "add", a.value = {
|
|
27
|
-
dictCode: "",
|
|
28
|
-
dictName: "",
|
|
29
|
-
dictDesc: "",
|
|
30
|
-
enabled: "1"
|
|
31
|
-
}, p.value = v.record;
|
|
32
|
-
}, x = (e) => {
|
|
33
|
-
s.value = !0, i.value = "child", a.value = {
|
|
34
|
-
dictCode: "",
|
|
35
|
-
dictName: "",
|
|
36
|
-
dictDesc: "",
|
|
37
|
-
enabled: "1"
|
|
38
|
-
}, p.value = JSON.parse(JSON.stringify(e));
|
|
39
|
-
}, B = async (e) => {
|
|
40
|
-
await W.modal.confirm(q("message.delRecord")) === "confirm" && (await b().delete(_, [e]), k(), f());
|
|
41
|
-
}, J = async (e) => {
|
|
42
|
-
s.value = !0, i.value = "edit", p.value = v.record, a.value = JSON.parse(JSON.stringify(e));
|
|
43
|
-
}, z = async () => {
|
|
44
|
-
const e = {
|
|
45
|
-
...a.value,
|
|
46
|
-
orgId: S().getOrgId,
|
|
47
|
-
organizationId: S().getOrganizationId,
|
|
48
|
-
parentId: a.value.parentId || p.value.id
|
|
49
|
-
};
|
|
50
|
-
let o = "post";
|
|
51
|
-
["add", "child"].includes(i.value) ? o = "post" : o = "put", m.value = !0;
|
|
52
|
-
const [r, y] = await I(b()[o](_, [e]));
|
|
53
|
-
m.value = !1, r || (i.value === "edit" ? s.value = !1 : a.value = { enabled: "1" }, k(), f());
|
|
54
|
-
}, f = async () => {
|
|
55
|
-
const e = {
|
|
56
|
-
parentId: v.record.id
|
|
57
|
-
};
|
|
58
|
-
m.value = !0;
|
|
59
|
-
const [o, r] = await I(b().get(_ + "/children", e));
|
|
60
|
-
m.value = !1, o || (h.value = r.list);
|
|
61
|
-
}, A = D;
|
|
62
|
-
function E() {
|
|
63
|
-
A("onClose");
|
|
64
|
-
}
|
|
65
|
-
return F(() => {
|
|
66
|
-
f();
|
|
67
|
-
}), (e, o) => {
|
|
68
|
-
const r = n("vxe-button"), y = n("vxe-toolbar"), c = n("vxe-table-column"), g = n("ut-button"), M = n("vxe-table"), H = n("ut-modal-form"), L = n("el-drawer");
|
|
69
|
-
return w(), j("div", Y, [
|
|
70
|
-
t(L, {
|
|
71
|
-
"model-value": e.show,
|
|
72
|
-
"before-close": E,
|
|
73
|
-
title: e.$t("message.title.dictList", { name: e.record.dictName }),
|
|
74
|
-
direction: "rtl",
|
|
75
|
-
"destroy-on-close": "",
|
|
76
|
-
size: "76%"
|
|
77
|
-
}, {
|
|
78
|
-
default: d(() => [
|
|
79
|
-
N("div", Z, [
|
|
80
|
-
t(y, null, {
|
|
81
|
-
buttons: d(() => [
|
|
82
|
-
t(r, {
|
|
83
|
-
status: "primary",
|
|
84
|
-
icon: "vxe-icon-add",
|
|
85
|
-
onClick: R
|
|
86
|
-
}, {
|
|
87
|
-
default: d(() => [
|
|
88
|
-
P($(e.$t("message.btn.add")), 1)
|
|
89
|
-
]),
|
|
90
|
-
_: 1
|
|
91
|
-
})
|
|
92
|
-
]),
|
|
93
|
-
tools: d(() => [
|
|
94
|
-
t(r, {
|
|
95
|
-
icon: "vxe-icon-refresh",
|
|
96
|
-
onClick: f
|
|
97
|
-
})
|
|
98
|
-
]),
|
|
99
|
-
_: 1
|
|
100
|
-
}),
|
|
101
|
-
t(M, {
|
|
102
|
-
border: "",
|
|
103
|
-
"row-id": "id",
|
|
104
|
-
data: h.value,
|
|
105
|
-
loading: m.value,
|
|
106
|
-
"tree-config": { childrenField: "children", expandAll: !0 }
|
|
107
|
-
}, {
|
|
108
|
-
default: d(() => [
|
|
109
|
-
t(c, {
|
|
110
|
-
type: "seq",
|
|
111
|
-
width: "130",
|
|
112
|
-
title: e.$t("message.seqNo"),
|
|
113
|
-
"tree-node": ""
|
|
114
|
-
}, null, 8, ["title"]),
|
|
115
|
-
t(c, {
|
|
116
|
-
field: "dictCode",
|
|
117
|
-
title: e.$t("message.udp.dictCode")
|
|
118
|
-
}, null, 8, ["title"]),
|
|
119
|
-
t(c, {
|
|
120
|
-
field: "dictName",
|
|
121
|
-
title: e.$t("message.udp.dictName")
|
|
122
|
-
}, null, 8, ["title"]),
|
|
123
|
-
t(c, {
|
|
124
|
-
field: "dictDesc",
|
|
125
|
-
title: e.$t("message.remark")
|
|
126
|
-
}, null, 8, ["title"]),
|
|
127
|
-
t(c, {
|
|
128
|
-
field: "enabled",
|
|
129
|
-
title: e.$t("message.enabled"),
|
|
130
|
-
width: "100"
|
|
131
|
-
}, {
|
|
132
|
-
default: d(({ row: l }) => [
|
|
133
|
-
N("span", null, $(l.enabled === "1" ? e.$t("message.enabled") : e.$t("message.disabled")), 1)
|
|
134
|
-
]),
|
|
135
|
-
_: 1
|
|
136
|
-
}, 8, ["title"]),
|
|
137
|
-
t(c, {
|
|
138
|
-
field: "",
|
|
139
|
-
title: e.$t("message.operate"),
|
|
140
|
-
width: "200"
|
|
141
|
-
}, {
|
|
142
|
-
default: d(({ row: l }) => [
|
|
143
|
-
t(g, {
|
|
144
|
-
status: "primary",
|
|
145
|
-
content: "edit",
|
|
146
|
-
onTap: (C) => J(l)
|
|
147
|
-
}, null, 8, ["onTap"]),
|
|
148
|
-
t(g, {
|
|
149
|
-
status: "warning",
|
|
150
|
-
content: "delete",
|
|
151
|
-
onTap: (C) => B(l)
|
|
152
|
-
}, null, 8, ["onTap"]),
|
|
153
|
-
t(g, {
|
|
154
|
-
status: "success",
|
|
155
|
-
content: "add",
|
|
156
|
-
disabled: l.enabled !== "1",
|
|
157
|
-
onTap: (C) => x(l)
|
|
158
|
-
}, null, 8, ["disabled", "onTap"])
|
|
159
|
-
]),
|
|
160
|
-
_: 1
|
|
161
|
-
}, 8, ["title"])
|
|
162
|
-
]),
|
|
163
|
-
_: 1
|
|
164
|
-
}, 8, ["data", "loading"])
|
|
165
|
-
]),
|
|
166
|
-
s.value ? (w(), G(H, {
|
|
167
|
-
key: 0,
|
|
168
|
-
ref: "xmodal",
|
|
169
|
-
record: a.value,
|
|
170
|
-
items: O,
|
|
171
|
-
width: "400",
|
|
172
|
-
height: "280",
|
|
173
|
-
"data-status": i.value,
|
|
174
|
-
title: e.$t("message.title.dictInfo", { name: e.record.dictName }),
|
|
175
|
-
onClose: o[0] || (o[0] = (l) => s.value = !1),
|
|
176
|
-
onConfirm: z
|
|
177
|
-
}, null, 8, ["record", "data-status", "title"])) : K("", !0)
|
|
178
|
-
]),
|
|
179
|
-
_: 1
|
|
180
|
-
}, 8, ["model-value", "title"])
|
|
181
|
-
]);
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
export {
|
|
186
|
-
de as _
|
|
187
|
-
};
|