@das-fed/ui 6.4.0-dev.55.2 → 6.4.0-dev.55.4
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/package.json +5 -5
- package/packages/business-components/change-enterprises/index.js +2 -2
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +33 -33
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -4
- package/packages/business-components/currency-page/index.js +4 -4
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +4 -0
- package/packages/business-components/device-panel/index.js +6566 -6552
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +44 -44
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +101 -101
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.js +1 -1
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +82 -82
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +488 -488
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/index.js +1 -1
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +1 -1
- package/packages/business-components/process-search-form/index.js +442 -442
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +11 -11
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +108 -108
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/components/breadcrumb/index.d.ts +9 -3
- package/packages/components/breadcrumb/index.js +48 -45
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
- package/packages/components/breadcrumb/src/type.d.ts +1 -0
- package/packages/components/breadcrumb/style.css +1 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -46
- package/packages/components/calendar/index.js +33 -33
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -1
- package/packages/components/cascader/index.js +12 -14
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -1
- package/packages/components/color-picker/index.js +84 -83
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -1
- package/packages/components/custom-search-item/index.js +1 -3
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +3 -3
- package/packages/components/date-picker/index.js +519 -518
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -6
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -10
- package/packages/components/dimple-layout/index.js +8 -8
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -1
- package/packages/components/dropdown/index.js +1 -3
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +52 -52
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/index.js +11 -11
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/live-player/index.js +142 -142
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +4 -4
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/message/index.js +1 -1
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/pagination/index.js +132 -131
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.d.ts +3 -0
- package/packages/components/popover/index.js +24 -23
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -4
- package/packages/components/rich-editor/index.js +3138 -3128
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/index.js +156 -156
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +5 -5
- package/packages/components/select/index.js +2 -2
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
- package/packages/components/table/i18n/index.d.ts +12 -0
- package/packages/components/table/index.js +3302 -3233
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/type.d.ts +5 -1
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/index.js +23 -23
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/index.js +5 -5
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +216 -216
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/index.js +32 -32
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +6 -6
- package/packages/components/virtual-tree/index.js.gz +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-configuration/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { ref as i, watch as H, defineComponent as me, computed as
|
|
2
|
+
import { withInstall as pe } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { ref as i, watch as H, defineComponent as me, computed as J, onUnmounted as ve, onDeactivated as ye, openBlock as q, createElementBlock as F, Fragment as ge, createElementVNode as u, createVNode as o, unref as e, withCtx as s, createTextVNode as v, toDisplayString as c, createCommentVNode as L, isRef as M, withDirectives as Ce } from "vue";
|
|
4
4
|
import { DasTable as be, DasTableColumn as _ } from "@das-fed/ui/packages/components/table/index";
|
|
5
|
-
import { DasDialog as
|
|
6
|
-
import { DasButton as
|
|
7
|
-
import { DasMessage as
|
|
5
|
+
import { DasDialog as B } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
|
+
import { DasButton as x } from "@das-fed/ui/packages/components/button/index";
|
|
7
|
+
import { DasMessage as A } from "@das-fed/ui/packages/components/message/index";
|
|
8
8
|
import { DasForm as he } from "@das-fed/ui/packages/components/form/index";
|
|
9
9
|
import { DasFormItem as U } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
10
|
import { DasSpin as G } from "@das-fed/ui/packages/components/spin/index";
|
|
11
|
-
import { vOverlay as
|
|
12
|
-
import { t as a, setI18nRule as
|
|
11
|
+
import { vOverlay as De } from "@das-fed/ui/packages/components/overlay/index";
|
|
12
|
+
import { t as a, setI18nRule as Ne } from "@das-fed/web/packages/i18n/index";
|
|
13
13
|
import { getProjectInfo as y } from "@das-fed/utils/common-info/index";
|
|
14
14
|
import { createService as Q } from "@das-fed/utils/api-services/src/create-service";
|
|
15
|
-
const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/instance/${X}`),
|
|
16
|
-
const m = y().id ? y().id : "371344636432453", n = y().name ? y().name : a("AIoT项目"), d = i(!1), g = i(!1),
|
|
15
|
+
const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/instance/${X}`), Ie = O.post("/listJson"), xe = O.post("/saveCopy"), ze = we.get("/getInstanceCountByDefKeys"), ke = O.delete("/removeByDefIds"), Ve = (p) => {
|
|
16
|
+
const m = y().id ? y().id : "371344636432453", n = y().name ? y().name : a("AIoT项目"), d = i(!1), g = i(!1), z = i({
|
|
17
17
|
defId: "",
|
|
18
18
|
// 流程id
|
|
19
19
|
defKey: "",
|
|
@@ -37,57 +37,57 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
37
37
|
});
|
|
38
38
|
return {
|
|
39
39
|
copyDialogShow: g,
|
|
40
|
-
copyFormData:
|
|
40
|
+
copyFormData: z,
|
|
41
41
|
detailFormData: w,
|
|
42
42
|
rules: b,
|
|
43
43
|
copyDialogLoading: d,
|
|
44
|
-
saveCopyProcess: async (
|
|
45
|
-
var
|
|
46
|
-
(
|
|
44
|
+
saveCopyProcess: async (P) => {
|
|
45
|
+
var f;
|
|
46
|
+
(f = p.value) == null || f.validate(async (C) => {
|
|
47
47
|
if (C) {
|
|
48
48
|
d.value = !0;
|
|
49
|
-
const [
|
|
49
|
+
const [D, V] = await xe(z.value, {
|
|
50
50
|
params: { destinationProject: m, project: m }
|
|
51
51
|
}).run();
|
|
52
|
-
if (
|
|
53
|
-
d.value = !1,
|
|
52
|
+
if (D) {
|
|
53
|
+
d.value = !1, A.error(V.message);
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
|
-
d.value = !1,
|
|
56
|
+
d.value = !1, A.success(a("复制成功")), g.value = !1, P();
|
|
57
57
|
}
|
|
58
58
|
}), H(
|
|
59
59
|
() => g.value,
|
|
60
60
|
(C) => {
|
|
61
|
-
var
|
|
62
|
-
C || (
|
|
61
|
+
var D;
|
|
62
|
+
C || (D = p.value) == null || D.resetField();
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
65
|
},
|
|
66
66
|
cancelCopy: async () => g.value = !1
|
|
67
67
|
};
|
|
68
68
|
}, Ke = () => {
|
|
69
|
-
const
|
|
69
|
+
const p = y().id ? y().id : "371344636432453", m = i(!1), n = i([]);
|
|
70
70
|
return { deleteDialogShow: m, instanceCount: n, reqCount: async (w) => {
|
|
71
71
|
const b = {
|
|
72
72
|
defKeys: w,
|
|
73
|
-
projectId:
|
|
74
|
-
}, [h, k] = await
|
|
73
|
+
projectId: p
|
|
74
|
+
}, [h, k] = await ze(b).run();
|
|
75
75
|
n.value = k;
|
|
76
76
|
}, deleteDefItem: async (w) => {
|
|
77
77
|
const b = {
|
|
78
78
|
cascade: !0,
|
|
79
79
|
ids: w,
|
|
80
|
-
project:
|
|
80
|
+
project: p
|
|
81
81
|
}, [h, k] = await ke(b).run();
|
|
82
|
-
h || (m.value = !1,
|
|
82
|
+
h || (m.value = !1, A.success("删除成功"));
|
|
83
83
|
}, cancelDelete: () => m.value = !1 };
|
|
84
|
-
}, _e = { class: "das-process-configuration" },
|
|
84
|
+
}, _e = { class: "das-process-configuration" }, Pe = { class: "table-box" }, Se = { class: "table-top" }, Te = { class: "operate" }, Re = { class: "table-content" }, $e = { class: "form-content" }, je = { class: "delete-dialog" }, qe = { class: "delete-text" }, Fe = { class: "delete-info-box" }, Le = {
|
|
85
85
|
key: 0,
|
|
86
86
|
class: "delete-info-text"
|
|
87
87
|
}, Ue = {
|
|
88
88
|
key: 1,
|
|
89
89
|
class: "delete-info-text"
|
|
90
|
-
},
|
|
90
|
+
}, Ae = /* @__PURE__ */ me({
|
|
91
91
|
__name: "index",
|
|
92
92
|
props: {
|
|
93
93
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -97,10 +97,10 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
97
97
|
defId: { default: "" }
|
|
98
98
|
},
|
|
99
99
|
emits: ["update:modelValue", "processInfo", "cancelDialog"],
|
|
100
|
-
setup(
|
|
101
|
-
const n =
|
|
100
|
+
setup(p, { emit: m }) {
|
|
101
|
+
const n = p, d = m, g = J(() => n.title || a("选择流程")), z = window.location.origin, w = y().id ? y().id : "371344636432453";
|
|
102
102
|
y().name ? y().name : a("AIoT项目");
|
|
103
|
-
const b = i(""), h = i(""), k = i(),
|
|
103
|
+
const b = i(""), h = i(""), k = i(), P = J(() => n.modelValue ? n.modelValue : !1), f = i([]), C = i(!1), D = i(0), { copyDialogShow: V, copyFormData: N, detailFormData: I, rules: Y, saveCopyProcess: Z, cancelCopy: ee, copyDialogLoading: te } = Ve(k), { deleteDialogShow: S, instanceCount: T, reqCount: ae, deleteDefItem: le, cancelDelete: oe } = Ke(), ne = i([
|
|
104
104
|
{
|
|
105
105
|
label: a("编辑"),
|
|
106
106
|
value: "edit"
|
|
@@ -132,34 +132,34 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
132
132
|
}, E = async (r, t) => {
|
|
133
133
|
if (r === "edit") {
|
|
134
134
|
const l = JSON.stringify(t);
|
|
135
|
-
window.open(`${
|
|
135
|
+
window.open(`${z}/mvue/flowDesign?business=${n.bussinessName}&operate=edit&detail=${l}`);
|
|
136
136
|
}
|
|
137
|
-
r === "copy" && (V.value = !0,
|
|
137
|
+
r === "copy" && (V.value = !0, N.value.defId = t.defId, N.value.typeId = t.typeId, N.value.defKey = "", N.value.name = "", I.value.defId = t.defId, I.value.defKey = t.defKey, I.value.name = t.name), r === "delete" && (b.value = t.id, h.value = t.name, await ae(t.defKey), S.value = !0);
|
|
138
138
|
}, $ = async () => {
|
|
139
|
-
|
|
139
|
+
D.value++, D.value === 1 && (C.value = !0);
|
|
140
140
|
const r = {
|
|
141
141
|
pageBean: { page: 1, pageSize: 1e4, total: 2 },
|
|
142
142
|
sorter: [{ property: "createTime", direction: "DESC" }],
|
|
143
143
|
querys: [
|
|
144
144
|
{ group: "main", operation: "IN", property: "businessTypeId", relation: "AND", value: n.bussinessName }
|
|
145
145
|
]
|
|
146
|
-
}, [t, l] = await
|
|
146
|
+
}, [t, l] = await Ie(r, { params: { project: w } }).run();
|
|
147
147
|
if (t) {
|
|
148
148
|
C.value = !1;
|
|
149
149
|
return;
|
|
150
150
|
}
|
|
151
|
-
C.value = !1,
|
|
151
|
+
C.value = !1, f.value = l.rows;
|
|
152
152
|
}, de = () => {
|
|
153
|
-
window.open(`${
|
|
153
|
+
window.open(`${z}/mvue/flowDesign?business=${n.bussinessName}&operate=add`);
|
|
154
154
|
}, ue = async () => {
|
|
155
155
|
await Z($);
|
|
156
156
|
}, ce = async () => {
|
|
157
157
|
await le(b.value), await $();
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
},
|
|
161
|
-
if (!
|
|
162
|
-
|
|
158
|
+
}, W = () => {
|
|
159
|
+
f.value.map((t) => t.defKey).includes(n.defKey) ? d("cancelDialog", !1) : d("cancelDialog", !0), d("update:modelValue", !1);
|
|
160
|
+
}, fe = () => {
|
|
161
|
+
if (!f.value.map((t) => t.defKey).includes(K.value)) {
|
|
162
|
+
A.warning(a("请选择流程"));
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
165
165
|
d("processInfo", R.value), d("update:modelValue", !1);
|
|
@@ -168,9 +168,9 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
168
168
|
return H(
|
|
169
169
|
() => n.modelValue,
|
|
170
170
|
async (r, t) => {
|
|
171
|
-
r && (await $(),
|
|
171
|
+
r && (await $(), f.value.length > 0 && (n.defKey ? (K.value = n.defKey, R.value = f.value.find((l) => l.defKey === n.defKey)) : (K.value = f.value[0].defKey, R.value = f.value[0])), j.value = window.setInterval(() => {
|
|
172
172
|
$();
|
|
173
|
-
}, 1500)), r || (
|
|
173
|
+
}, 1500)), r || (D.value = 0, window.clearInterval(j.value));
|
|
174
174
|
}
|
|
175
175
|
), ve(() => {
|
|
176
176
|
window.clearInterval(j.value);
|
|
@@ -181,19 +181,19 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
181
181
|
null,
|
|
182
182
|
[
|
|
183
183
|
u("div", _e, [
|
|
184
|
-
o(e(
|
|
185
|
-
modelValue:
|
|
186
|
-
"onUpdate:modelValue": t[2] || (t[2] = (l) =>
|
|
184
|
+
o(e(B), {
|
|
185
|
+
modelValue: P.value,
|
|
186
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => P.value = l),
|
|
187
187
|
loading: C.value,
|
|
188
188
|
title: g.value,
|
|
189
189
|
width: "1170px",
|
|
190
190
|
height: "689px",
|
|
191
191
|
"body-style": { "background-color": "#f2f2f2", padding: "10px" },
|
|
192
|
-
onClose:
|
|
192
|
+
onClose: W
|
|
193
193
|
}, {
|
|
194
194
|
footer: s(() => [
|
|
195
195
|
u("div", null, [
|
|
196
|
-
o(e(
|
|
196
|
+
o(e(x), { onClick: W }, {
|
|
197
197
|
default: s(() => [
|
|
198
198
|
v(
|
|
199
199
|
c(e(a)("取消")),
|
|
@@ -204,10 +204,10 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
204
204
|
_: 1
|
|
205
205
|
/* STABLE */
|
|
206
206
|
}),
|
|
207
|
-
o(e(
|
|
207
|
+
o(e(x), {
|
|
208
208
|
btnType: "primary",
|
|
209
209
|
style: { "margin-left": "12px" },
|
|
210
|
-
onClick:
|
|
210
|
+
onClick: fe
|
|
211
211
|
}, {
|
|
212
212
|
default: s(() => [
|
|
213
213
|
v(
|
|
@@ -224,10 +224,10 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
224
224
|
default: s(() => [
|
|
225
225
|
o(e(G), { spinning: C.value }, {
|
|
226
226
|
default: s(() => [
|
|
227
|
-
u("div",
|
|
228
|
-
u("div",
|
|
227
|
+
u("div", Pe, [
|
|
228
|
+
u("div", Se, [
|
|
229
229
|
u("div", Te, [
|
|
230
|
-
o(e(
|
|
230
|
+
o(e(x), {
|
|
231
231
|
btnType: "primary-text",
|
|
232
232
|
size: "large",
|
|
233
233
|
block: "",
|
|
@@ -255,7 +255,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
255
255
|
simpleEmpty: "",
|
|
256
256
|
"outer-border": "",
|
|
257
257
|
"row-key": "defKey",
|
|
258
|
-
data:
|
|
258
|
+
data: f.value,
|
|
259
259
|
onOperationClick: E,
|
|
260
260
|
currentRodioSelection: K.value,
|
|
261
261
|
"onUpdate:currentRodioSelection": t[1] || (t[1] = (l) => K.value = l),
|
|
@@ -280,7 +280,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
280
280
|
label: e(a)("状态"),
|
|
281
281
|
prop: "status"
|
|
282
282
|
}, {
|
|
283
|
-
default: s(({ row: l, $index:
|
|
283
|
+
default: s(({ row: l, $index: We }) => [
|
|
284
284
|
v(
|
|
285
285
|
c(ie(l.status)),
|
|
286
286
|
1
|
|
@@ -310,16 +310,16 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
310
310
|
}, 8, ["modelValue", "loading", "title"])
|
|
311
311
|
]),
|
|
312
312
|
L(" 复制弹窗 "),
|
|
313
|
-
o(e(
|
|
313
|
+
o(e(B), {
|
|
314
314
|
modelValue: e(V),
|
|
315
|
-
"onUpdate:modelValue": t[7] || (t[7] = (l) =>
|
|
315
|
+
"onUpdate:modelValue": t[7] || (t[7] = (l) => M(V) ? V.value = l : null),
|
|
316
316
|
title: e(a)("复制流程"),
|
|
317
317
|
size: "small",
|
|
318
318
|
"body-style": { padding: "25px 60px", "box-sizing": "border-box" }
|
|
319
319
|
}, {
|
|
320
320
|
footer: s(() => [
|
|
321
321
|
u("div", null, [
|
|
322
|
-
o(e(
|
|
322
|
+
o(e(x), { onClick: e(ee) }, {
|
|
323
323
|
default: s(() => [
|
|
324
324
|
v(
|
|
325
325
|
c(e(a)("取消")),
|
|
@@ -330,7 +330,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
330
330
|
_: 1
|
|
331
331
|
/* STABLE */
|
|
332
332
|
}, 8, ["onClick"]),
|
|
333
|
-
o(e(
|
|
333
|
+
o(e(x), {
|
|
334
334
|
btnType: "primary",
|
|
335
335
|
style: { "margin-left": "12px" },
|
|
336
336
|
onClick: ue
|
|
@@ -364,15 +364,15 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
364
364
|
o(e(U), {
|
|
365
365
|
label: e(a)("原流程名称"),
|
|
366
366
|
maxlength: "20",
|
|
367
|
-
modelValue: e(
|
|
368
|
-
"onUpdate:modelValue": t[3] || (t[3] = (l) => e(
|
|
367
|
+
modelValue: e(I).name,
|
|
368
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => e(I).name = l),
|
|
369
369
|
disabled: ""
|
|
370
370
|
}, null, 8, ["label", "modelValue"]),
|
|
371
371
|
o(e(U), {
|
|
372
372
|
label: e(a)("原流程别名"),
|
|
373
373
|
maxlength: "20",
|
|
374
|
-
modelValue: e(
|
|
375
|
-
"onUpdate:modelValue": t[4] || (t[4] = (l) => e(
|
|
374
|
+
modelValue: e(I).defKey,
|
|
375
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => e(I).defKey = l),
|
|
376
376
|
disabled: "",
|
|
377
377
|
marginRight: "0"
|
|
378
378
|
}, null, 8, ["label", "modelValue"]),
|
|
@@ -381,16 +381,16 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
381
381
|
maxlength: "20",
|
|
382
382
|
required: "",
|
|
383
383
|
prop: "name",
|
|
384
|
-
modelValue: e(
|
|
385
|
-
"onUpdate:modelValue": t[5] || (t[5] = (l) => e(
|
|
384
|
+
modelValue: e(N).name,
|
|
385
|
+
"onUpdate:modelValue": t[5] || (t[5] = (l) => e(N).name = l)
|
|
386
386
|
}, null, 8, ["label", "modelValue"]),
|
|
387
387
|
o(e(U), {
|
|
388
388
|
label: e(a)("新流程别名"),
|
|
389
389
|
maxlength: "20",
|
|
390
390
|
required: "",
|
|
391
391
|
prop: "defKey",
|
|
392
|
-
modelValue: e(
|
|
393
|
-
"onUpdate:modelValue": t[6] || (t[6] = (l) => e(
|
|
392
|
+
modelValue: e(N).defKey,
|
|
393
|
+
"onUpdate:modelValue": t[6] || (t[6] = (l) => e(N).defKey = l),
|
|
394
394
|
marginRight: "0"
|
|
395
395
|
}, null, 8, ["label", "modelValue"])
|
|
396
396
|
]),
|
|
@@ -408,16 +408,16 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
408
408
|
}, 8, ["modelValue", "title"]),
|
|
409
409
|
L(" 删除弹窗 "),
|
|
410
410
|
u("div", je, [
|
|
411
|
-
o(e(
|
|
412
|
-
modelValue: e(
|
|
413
|
-
"onUpdate:modelValue": t[8] || (t[8] = (l) =>
|
|
411
|
+
o(e(B), {
|
|
412
|
+
modelValue: e(S),
|
|
413
|
+
"onUpdate:modelValue": t[8] || (t[8] = (l) => M(S) ? S.value = l : null),
|
|
414
414
|
type: "feedback",
|
|
415
415
|
height: "400px",
|
|
416
416
|
feedType: "primary"
|
|
417
417
|
}, {
|
|
418
418
|
footer: s(() => [
|
|
419
419
|
u("div", null, [
|
|
420
|
-
o(e(
|
|
420
|
+
o(e(x), { onClick: e(oe) }, {
|
|
421
421
|
default: s(() => [
|
|
422
422
|
v(
|
|
423
423
|
c(e(a)("取消")),
|
|
@@ -428,7 +428,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
428
428
|
_: 1
|
|
429
429
|
/* STABLE */
|
|
430
430
|
}, 8, ["onClick"]),
|
|
431
|
-
o(e(
|
|
431
|
+
o(e(x), {
|
|
432
432
|
btnType: "primary",
|
|
433
433
|
style: { "margin-left": "12px" },
|
|
434
434
|
onClick: ce
|
|
@@ -493,7 +493,7 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
493
493
|
/* TEXT */
|
|
494
494
|
)) : L("v-if", !0)
|
|
495
495
|
])), [
|
|
496
|
-
[e(
|
|
496
|
+
[e(De)]
|
|
497
497
|
])
|
|
498
498
|
]),
|
|
499
499
|
_: 1
|
|
@@ -505,12 +505,12 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
505
505
|
/* STABLE_FRAGMENT */
|
|
506
506
|
));
|
|
507
507
|
}
|
|
508
|
-
}),
|
|
509
|
-
const n =
|
|
508
|
+
}), Be = (p, m) => {
|
|
509
|
+
const n = p.__vccOpts || p;
|
|
510
510
|
for (const [d, g] of m)
|
|
511
511
|
n[d] = g;
|
|
512
512
|
return n;
|
|
513
|
-
}, Oe = /* @__PURE__ */ Ae
|
|
513
|
+
}, Oe = /* @__PURE__ */ Be(Ae, [["__scopeId", "data-v-db81dcd7"]]), Ee = {
|
|
514
514
|
必填: { "zh-CN": "必填", en: "Required" },
|
|
515
515
|
复制成功: { "zh-CN": "复制成功", en: "Copy Successful" },
|
|
516
516
|
添加: { "zh-CN": "添加", en: "Add" },
|
|
@@ -526,12 +526,12 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
526
526
|
原流程别名: { "zh-CN": "原流程别名", en: "Original Process Alias" },
|
|
527
527
|
新流程名称: { "zh-CN": "新流程名称", en: "New Process Name" },
|
|
528
528
|
新流程别名: { "zh-CN": "新流程别名", en: "New Process Alias" },
|
|
529
|
-
删除流程定义: { "zh-CN": "删除流程定义", en: "Delete
|
|
529
|
+
删除流程定义: { "zh-CN": "删除流程定义", en: "Delete Process Definition" },
|
|
530
530
|
对应的实例和任务会一起删除: {
|
|
531
531
|
"zh-CN": "对应的实例和任务会一起删除",
|
|
532
|
-
en: "Corresponding
|
|
532
|
+
en: "Corresponding Instances and Tasks Will be Deleted Together"
|
|
533
533
|
},
|
|
534
|
-
并且无法恢复: { "zh-CN": "并且无法恢复", en: "
|
|
534
|
+
并且无法恢复: { "zh-CN": "并且无法恢复", en: "And Cannot be Recovered" },
|
|
535
535
|
选择流程: { "zh-CN": "选择流程", en: "Select Process" },
|
|
536
536
|
项目: { "zh-CN": "项目", en: "Project" },
|
|
537
537
|
编辑: { "zh-CN": "编辑", en: "Edit" },
|
|
@@ -544,16 +544,16 @@ const X = "v1", O = Q(`/workflow/flow/def/${X}`), we = Q(`/workflow/runtime/inst
|
|
|
544
544
|
请选择流程: { "zh-CN": "请选择流程", en: "Please Select a Process" },
|
|
545
545
|
"dasui-process-configuration-key1": {
|
|
546
546
|
"zh-CN": "$0(共有实例:$1个,其中运行中的实例:$2个)",
|
|
547
|
-
en: "$0(Total
|
|
547
|
+
en: "$0(Total Instances: $1, Running Instances: $2)"
|
|
548
548
|
},
|
|
549
549
|
流程key: { "zh-CN": "流程key", en: "Process Key" },
|
|
550
550
|
"删除流程定义,对应的实例和任务会一起删除,": {
|
|
551
551
|
"zh-CN": "删除流程定义,对应的实例和任务会一起删除,",
|
|
552
|
-
en: "Deleting the
|
|
552
|
+
en: "Deleting the Process Definition Will Also Delete the Corresponding Instances and Tasks,"
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
|
-
|
|
556
|
-
const nt =
|
|
555
|
+
Ne(Ee);
|
|
556
|
+
const nt = pe(Oe);
|
|
557
557
|
export {
|
|
558
558
|
nt as DasProcessConfiguration,
|
|
559
559
|
nt as default
|
|
Binary file
|