@das-fed/ui 6.4.0-hot.23 → 6.4.0-hot.25
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 +7 -7
- package/packages/business-components/device-panel/index.js +37397 -37395
- 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 +60 -60
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/export-button/style.css +1 -1
- package/packages/business-components/import-button/hooks/file.d.ts +1 -0
- package/packages/business-components/import-button/hooks/useImport.d.ts +1 -0
- package/packages/business-components/import-button/index.js +239 -235
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/model-table-dialog/index.js +37 -37
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/process-configuration/index.js +176 -176
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/style.css +1 -1
- package/packages/business-components/process-configuration/style.css.gz +0 -0
- package/packages/business-components/process-log/index.js +252 -252
- 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/urgent-panel/index.js +1319 -1322
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/urgentMonitorPanel.vue.d.ts +8 -3
- package/packages/business-components/urgent-panel/style.css +1 -1
- package/packages/business-components/urgent-panel/style.css.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +3 -3
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
- package/packages/business-components/video-dialog/index.js +301 -273
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/calendar/index.js +56 -56
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/color-picker/index.js +41 -41
- 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/date-picker/index.js +444 -444
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dimple-layout/index.js +2299 -2293
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +26 -25
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/input/index.js +73 -73
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/loading/index.js +66 -65
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/index.js +358 -355
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/map/src/hooks/use-map.d.ts +1 -2
- package/packages/components/map/style.css +1 -1
- package/packages/components/message/index.js +20 -19
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/index.js +22 -21
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/progress/index.js +80 -80
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/select/index.js +102 -102
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/spin/index.js +31 -30
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/index.js +2419 -2418
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tooltip/index.js +23 -22
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +1428 -1427
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +9 -11
- package/packages/components/tree-select/index.js +274 -274
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +64 -64
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +4 -12
|
@@ -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
|
|
4
|
-
import { DasTable as
|
|
5
|
-
import { DasDialog as
|
|
6
|
-
import { DasButton as
|
|
7
|
-
import { DasMessage as
|
|
8
|
-
import { DasForm as
|
|
9
|
-
import { DasFormItem as
|
|
10
|
-
import { DasSpin as
|
|
11
|
-
import { vOverlay 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 M, onUnmounted as ve, onDeactivated as ye, openBlock as B, createElementBlock as U, Fragment as ge, createElementVNode as u, createVNode as o, unref as e, withCtx as s, createTextVNode as v, toDisplayString as c, createCommentVNode as $, isRef as W, withDirectives as be } from "vue";
|
|
4
|
+
import { DasTable as De, DasTableColumn as T } from "@das-fed/ui/packages/components/table/index";
|
|
5
|
+
import { DasDialog as O } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
|
+
import { DasButton as K } from "@das-fed/ui/packages/components/button/index";
|
|
7
|
+
import { DasMessage as z } from "@das-fed/ui/packages/components/message/index";
|
|
8
|
+
import { DasForm as we } from "@das-fed/ui/packages/components/form/index";
|
|
9
|
+
import { DasFormItem as P } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
|
+
import { DasSpin as G } from "@das-fed/ui/packages/components/spin/index";
|
|
11
|
+
import { vOverlay as Ce } from "@das-fed/ui/packages/components/overlay/index";
|
|
12
12
|
import { t as a } from "@das-fed/web/packages/i18n/index";
|
|
13
|
-
import { getProjectInfo as
|
|
14
|
-
import { createService as
|
|
15
|
-
const
|
|
16
|
-
const
|
|
13
|
+
import { getProjectInfo as y } from "@das-fed/utils/common-info/index";
|
|
14
|
+
import { createService as Q } from "@das-fed/utils/api-services/src/create-service";
|
|
15
|
+
const X = "v1", A = Q(`/workflow/flow/def/${X}`), xe = Q(`/workflow/runtime/instance/${X}`), Ie = A.post("/listJson"), Ve = A.post("/saveCopy"), Ke = xe.get("/getInstanceCountByDefKeys"), ke = A.delete("/removeByDefIds"), _e = (p) => {
|
|
16
|
+
const m = y().id ? y().id : "371344636432453", n = y().name ? y().name : a("AIoT项目"), r = i(!1), g = i(!1), k = i({
|
|
17
17
|
defId: "",
|
|
18
18
|
// 流程id
|
|
19
19
|
defKey: "",
|
|
@@ -24,7 +24,7 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
24
24
|
// 所属项目名称
|
|
25
25
|
typeName: n
|
|
26
26
|
// 所属项目id
|
|
27
|
-
}),
|
|
27
|
+
}), I = i({
|
|
28
28
|
defId: "",
|
|
29
29
|
// 流程id
|
|
30
30
|
defKey: "",
|
|
@@ -36,71 +36,71 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
36
36
|
defKey: [{ required: !0, message: a("必填"), trigger: "blur" }]
|
|
37
37
|
});
|
|
38
38
|
return {
|
|
39
|
-
copyDialogShow:
|
|
40
|
-
copyFormData:
|
|
41
|
-
detailFormData:
|
|
39
|
+
copyDialogShow: g,
|
|
40
|
+
copyFormData: k,
|
|
41
|
+
detailFormData: I,
|
|
42
42
|
rules: D,
|
|
43
43
|
copyDialogLoading: r,
|
|
44
|
-
saveCopyProcess: async (
|
|
45
|
-
var
|
|
46
|
-
(
|
|
47
|
-
if (
|
|
44
|
+
saveCopyProcess: async (N) => {
|
|
45
|
+
var f;
|
|
46
|
+
(f = p.value) == null || f.validate(async (b) => {
|
|
47
|
+
if (b) {
|
|
48
48
|
r.value = !0;
|
|
49
|
-
const [
|
|
50
|
-
params: { destinationProject:
|
|
49
|
+
const [C, h] = await Ve(k.value, {
|
|
50
|
+
params: { destinationProject: m, project: m }
|
|
51
51
|
}).run();
|
|
52
|
-
if (
|
|
53
|
-
r.value = !1,
|
|
52
|
+
if (C) {
|
|
53
|
+
r.value = !1, z.error(h.message);
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
|
-
r.value = !1,
|
|
56
|
+
r.value = !1, z.success(a("复制成功")), g.value = !1, N();
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
59
|
-
() =>
|
|
60
|
-
(
|
|
61
|
-
var
|
|
62
|
-
|
|
58
|
+
}), H(
|
|
59
|
+
() => g.value,
|
|
60
|
+
(b) => {
|
|
61
|
+
var C;
|
|
62
|
+
b || (C = p.value) == null || C.resetField();
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
65
|
},
|
|
66
|
-
cancelCopy: async () =>
|
|
66
|
+
cancelCopy: async () => g.value = !1
|
|
67
67
|
};
|
|
68
|
-
},
|
|
69
|
-
const
|
|
70
|
-
return { deleteDialogShow:
|
|
68
|
+
}, he = () => {
|
|
69
|
+
const p = y().id ? y().id : "371344636432453", m = i(!1), n = i([]);
|
|
70
|
+
return { deleteDialogShow: m, instanceCount: n, reqCount: async (I) => {
|
|
71
71
|
const D = {
|
|
72
|
-
defKeys:
|
|
73
|
-
projectId:
|
|
74
|
-
}, [
|
|
72
|
+
defKeys: I,
|
|
73
|
+
projectId: p
|
|
74
|
+
}, [w, _] = await Ke(D).run();
|
|
75
75
|
n.value = _;
|
|
76
|
-
}, deleteDefItem: async (
|
|
76
|
+
}, deleteDefItem: async (I) => {
|
|
77
77
|
const D = {
|
|
78
78
|
cascade: !0,
|
|
79
|
-
ids:
|
|
80
|
-
project:
|
|
81
|
-
}, [
|
|
82
|
-
|
|
83
|
-
}, cancelDelete: () =>
|
|
84
|
-
},
|
|
79
|
+
ids: I,
|
|
80
|
+
project: p
|
|
81
|
+
}, [w, _] = await ke(D).run();
|
|
82
|
+
w || (m.value = !1, z.success("删除成功"));
|
|
83
|
+
}, cancelDelete: () => m.value = !1 };
|
|
84
|
+
}, Se = { class: "das-process-configuration" }, Te = { class: "table-box" }, Ne = { class: "table-top" }, Re = { class: "operate" }, Fe = { class: "table-content" }, Le = { class: "form-content" }, je = { class: "delete-dialog" }, qe = { class: "delete-text" }, Be = { class: "delete-info-box" }, Ue = {
|
|
85
85
|
key: 0,
|
|
86
86
|
class: "delete-info-text"
|
|
87
|
-
},
|
|
87
|
+
}, $e = {
|
|
88
88
|
key: 1,
|
|
89
89
|
class: "delete-info-text"
|
|
90
|
-
},
|
|
90
|
+
}, Pe = /* @__PURE__ */ me({
|
|
91
91
|
__name: "index",
|
|
92
92
|
props: {
|
|
93
93
|
modelValue: { type: Boolean, default: !1 },
|
|
94
|
-
title: { default:
|
|
94
|
+
title: { default: "" },
|
|
95
95
|
bussinessName: { default: "contract" },
|
|
96
96
|
defKey: { default: "" },
|
|
97
97
|
defId: { default: "" }
|
|
98
98
|
},
|
|
99
99
|
emits: ["update:modelValue", "processInfo", "cancelDialog"],
|
|
100
|
-
setup(
|
|
101
|
-
const n =
|
|
102
|
-
|
|
103
|
-
const
|
|
100
|
+
setup(p, { emit: m }) {
|
|
101
|
+
const n = p, r = m, g = M(() => n.title || a("选择流程")), k = window.location.origin, I = y().id ? y().id : "371344636432453";
|
|
102
|
+
y().name ? y().name : a("AIoT项目");
|
|
103
|
+
const D = i(""), w = i(""), _ = i(), N = M(() => n.modelValue ? n.modelValue : !1), f = i([]), b = i(!1), C = i(0), { copyDialogShow: h, copyFormData: x, detailFormData: V, rules: Y, saveCopyProcess: Z, cancelCopy: ee, copyDialogLoading: te } = _e(_), { deleteDialogShow: R, instanceCount: F, reqCount: ae, deleteDefItem: le, cancelDelete: oe } = he(), ne = i([
|
|
104
104
|
{
|
|
105
105
|
label: a("编辑"),
|
|
106
106
|
value: "edit"
|
|
@@ -119,83 +119,83 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
119
119
|
// 隐藏
|
|
120
120
|
// hide: true,
|
|
121
121
|
}
|
|
122
|
-
]),
|
|
122
|
+
]), se = i([
|
|
123
123
|
{ text: a("已发布"), value: "deploy", type: "info" },
|
|
124
124
|
{ text: a("未发布"), value: "draft" },
|
|
125
125
|
{ text: a("禁用"), value: "forbidden", type: "danger" },
|
|
126
126
|
{ text: a("禁止实例"), value: "forbidden_instance", type: "warning" }
|
|
127
|
-
]),
|
|
128
|
-
const t =
|
|
127
|
+
]), ie = (d) => {
|
|
128
|
+
const t = se.value.find((l) => l.value === d);
|
|
129
129
|
return t == null ? void 0 : t.text;
|
|
130
|
-
}, S = i(n.defKey),
|
|
131
|
-
|
|
132
|
-
},
|
|
130
|
+
}, S = i(n.defKey), L = i(), de = (d, t, l) => {
|
|
131
|
+
L.value = t;
|
|
132
|
+
}, E = async (d, t) => {
|
|
133
133
|
if (d === "edit") {
|
|
134
134
|
const l = JSON.stringify(t);
|
|
135
|
-
window.open(`${
|
|
135
|
+
window.open(`${k}/mvue/flowDesign?business=${n.bussinessName}&operate=edit&detail=${l}`);
|
|
136
136
|
}
|
|
137
|
-
d === "copy" && (
|
|
138
|
-
},
|
|
139
|
-
|
|
137
|
+
d === "copy" && (h.value = !0, x.value.defId = t.defId, x.value.typeId = t.typeId, x.value.defKey = "", x.value.name = "", V.value.defId = t.defId, V.value.defKey = t.defKey, V.value.name = t.name), d === "delete" && (D.value = t.id, w.value = t.name, await ae(t.defKey), R.value = !0);
|
|
138
|
+
}, j = async () => {
|
|
139
|
+
C.value++, C.value === 1 && (b.value = !0);
|
|
140
140
|
const d = {
|
|
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(d, { params: { project: I } }).run();
|
|
147
147
|
if (t) {
|
|
148
|
-
|
|
148
|
+
b.value = !1;
|
|
149
149
|
return;
|
|
150
150
|
}
|
|
151
|
-
|
|
152
|
-
},
|
|
153
|
-
window.open(`${
|
|
154
|
-
},
|
|
155
|
-
await
|
|
156
|
-
},
|
|
157
|
-
await
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
},
|
|
161
|
-
if (!
|
|
162
|
-
|
|
151
|
+
b.value = !1, f.value = l.rows;
|
|
152
|
+
}, re = () => {
|
|
153
|
+
window.open(`${k}/mvue/flowDesign?business=${n.bussinessName}&operate=add`);
|
|
154
|
+
}, ue = async () => {
|
|
155
|
+
await Z(j);
|
|
156
|
+
}, ce = async () => {
|
|
157
|
+
await le(D.value), await j();
|
|
158
|
+
}, J = () => {
|
|
159
|
+
f.value.map((t) => t.defKey).includes(n.defKey) ? r("cancelDialog", !1) : r("cancelDialog", !0), r("update:modelValue", !1);
|
|
160
|
+
}, fe = () => {
|
|
161
|
+
if (!f.value.map((t) => t.defKey).includes(S.value)) {
|
|
162
|
+
z.warning(a("请选择流程"));
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
165
|
-
r("processInfo",
|
|
165
|
+
r("processInfo", L.value), r("update:modelValue", !1);
|
|
166
166
|
};
|
|
167
|
-
let
|
|
168
|
-
return
|
|
167
|
+
let q = i(0);
|
|
168
|
+
return H(
|
|
169
169
|
() => n.modelValue,
|
|
170
170
|
async (d, t) => {
|
|
171
|
-
d && (await
|
|
172
|
-
|
|
173
|
-
}, 1500)), d || (
|
|
171
|
+
d && (await j(), f.value.length > 0 && (n.defKey ? (S.value = n.defKey, L.value = f.value.find((l) => l.defKey === n.defKey)) : (S.value = f.value[0].defKey, L.value = f.value[0])), q.value = window.setInterval(() => {
|
|
172
|
+
j();
|
|
173
|
+
}, 1500)), d || (C.value = 0, window.clearInterval(q.value));
|
|
174
174
|
}
|
|
175
|
-
),
|
|
176
|
-
window.clearInterval(
|
|
177
|
-
}),
|
|
178
|
-
window.clearInterval(
|
|
179
|
-
}), (d, t) => (
|
|
180
|
-
|
|
175
|
+
), ve(() => {
|
|
176
|
+
window.clearInterval(q.value);
|
|
177
|
+
}), ye(() => {
|
|
178
|
+
window.clearInterval(q.value);
|
|
179
|
+
}), (d, t) => (B(), U(
|
|
180
|
+
ge,
|
|
181
181
|
null,
|
|
182
182
|
[
|
|
183
|
-
u("div",
|
|
184
|
-
o(e(
|
|
185
|
-
modelValue:
|
|
186
|
-
"onUpdate:modelValue": t[2] || (t[2] = (l) =>
|
|
187
|
-
loading:
|
|
188
|
-
title:
|
|
183
|
+
u("div", Se, [
|
|
184
|
+
o(e(O), {
|
|
185
|
+
modelValue: N.value,
|
|
186
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => N.value = l),
|
|
187
|
+
loading: b.value,
|
|
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: J
|
|
193
193
|
}, {
|
|
194
194
|
footer: s(() => [
|
|
195
195
|
u("div", null, [
|
|
196
|
-
o(e(
|
|
196
|
+
o(e(K), { onClick: J }, {
|
|
197
197
|
default: s(() => [
|
|
198
|
-
|
|
198
|
+
v(
|
|
199
199
|
c(e(a)("取消")),
|
|
200
200
|
1
|
|
201
201
|
/* TEXT */
|
|
@@ -204,13 +204,13 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
204
204
|
_: 1
|
|
205
205
|
/* STABLE */
|
|
206
206
|
}),
|
|
207
|
-
o(e(
|
|
207
|
+
o(e(K), {
|
|
208
208
|
btnType: "primary",
|
|
209
209
|
style: { "margin-left": "12px" },
|
|
210
|
-
onClick:
|
|
210
|
+
onClick: fe
|
|
211
211
|
}, {
|
|
212
212
|
default: s(() => [
|
|
213
|
-
|
|
213
|
+
v(
|
|
214
214
|
c(e(a)("确定")),
|
|
215
215
|
1
|
|
216
216
|
/* TEXT */
|
|
@@ -222,19 +222,19 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
222
222
|
])
|
|
223
223
|
]),
|
|
224
224
|
default: s(() => [
|
|
225
|
-
o(e(
|
|
225
|
+
o(e(G), { spinning: b.value }, {
|
|
226
226
|
default: s(() => [
|
|
227
|
-
u("div",
|
|
228
|
-
u("div",
|
|
229
|
-
u("div",
|
|
230
|
-
o(e(
|
|
227
|
+
u("div", Te, [
|
|
228
|
+
u("div", Ne, [
|
|
229
|
+
u("div", Re, [
|
|
230
|
+
o(e(K), {
|
|
231
231
|
btnType: "primary-text",
|
|
232
232
|
size: "large",
|
|
233
233
|
block: "",
|
|
234
|
-
onClick:
|
|
234
|
+
onClick: re
|
|
235
235
|
}, {
|
|
236
236
|
default: s(() => [
|
|
237
|
-
|
|
237
|
+
v(
|
|
238
238
|
c(e(a)("添加")),
|
|
239
239
|
1
|
|
240
240
|
/* TEXT */
|
|
@@ -245,27 +245,27 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
245
245
|
})
|
|
246
246
|
])
|
|
247
247
|
]),
|
|
248
|
-
u("div",
|
|
249
|
-
o(e(
|
|
248
|
+
u("div", Fe, [
|
|
249
|
+
o(e(De), {
|
|
250
250
|
ref: "addTable",
|
|
251
251
|
"max-height": "100%",
|
|
252
252
|
"radio-selection": "",
|
|
253
253
|
hideSelectionText: !1,
|
|
254
|
-
operation:
|
|
254
|
+
operation: ne.value,
|
|
255
255
|
simpleEmpty: "",
|
|
256
256
|
"outer-border": "",
|
|
257
257
|
"row-key": "defKey",
|
|
258
|
-
data:
|
|
259
|
-
onOperationClick:
|
|
258
|
+
data: f.value,
|
|
259
|
+
onOperationClick: E,
|
|
260
260
|
currentRodioSelection: S.value,
|
|
261
261
|
"onUpdate:currentRodioSelection": t[1] || (t[1] = (l) => S.value = l),
|
|
262
|
-
onRadioChange:
|
|
262
|
+
onRadioChange: de
|
|
263
263
|
}, {
|
|
264
264
|
default: s(() => [
|
|
265
265
|
o(e(T), {
|
|
266
266
|
label: e(a)("流程名称"),
|
|
267
267
|
"content-type": "link",
|
|
268
|
-
onClickLink: t[0] || (t[0] = (l) =>
|
|
268
|
+
onClickLink: t[0] || (t[0] = (l) => E("edit", l)),
|
|
269
269
|
prop: "name"
|
|
270
270
|
}, null, 8, ["label"]),
|
|
271
271
|
o(e(T), {
|
|
@@ -280,9 +280,9 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
280
280
|
label: e(a)("状态"),
|
|
281
281
|
prop: "status"
|
|
282
282
|
}, {
|
|
283
|
-
default: s(({ row: l, $index:
|
|
284
|
-
|
|
285
|
-
c(
|
|
283
|
+
default: s(({ row: l, $index: Ae }) => [
|
|
284
|
+
v(
|
|
285
|
+
c(ie(l.status)),
|
|
286
286
|
1
|
|
287
287
|
/* TEXT */
|
|
288
288
|
)
|
|
@@ -309,19 +309,19 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
309
309
|
/* STABLE */
|
|
310
310
|
}, 8, ["modelValue", "loading", "title"])
|
|
311
311
|
]),
|
|
312
|
-
|
|
313
|
-
o(e(
|
|
314
|
-
modelValue: e(
|
|
315
|
-
"onUpdate:modelValue": t[7] || (t[7] = (l) =>
|
|
312
|
+
$(" 复制弹窗 "),
|
|
313
|
+
o(e(O), {
|
|
314
|
+
modelValue: e(h),
|
|
315
|
+
"onUpdate:modelValue": t[7] || (t[7] = (l) => W(h) ? h.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(K), { onClick: e(ee) }, {
|
|
323
323
|
default: s(() => [
|
|
324
|
-
|
|
324
|
+
v(
|
|
325
325
|
c(e(a)("取消")),
|
|
326
326
|
1
|
|
327
327
|
/* TEXT */
|
|
@@ -330,13 +330,13 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
330
330
|
_: 1
|
|
331
331
|
/* STABLE */
|
|
332
332
|
}, 8, ["onClick"]),
|
|
333
|
-
o(e(
|
|
333
|
+
o(e(K), {
|
|
334
334
|
btnType: "primary",
|
|
335
335
|
style: { "margin-left": "12px" },
|
|
336
|
-
onClick:
|
|
336
|
+
onClick: ue
|
|
337
337
|
}, {
|
|
338
338
|
default: s(() => [
|
|
339
|
-
|
|
339
|
+
v(
|
|
340
340
|
c(e(a)("确定")),
|
|
341
341
|
1
|
|
342
342
|
/* TEXT */
|
|
@@ -348,49 +348,49 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
348
348
|
])
|
|
349
349
|
]),
|
|
350
350
|
default: s(() => [
|
|
351
|
-
o(e(
|
|
351
|
+
o(e(G), { spinning: e(te) }, {
|
|
352
352
|
default: s(() => [
|
|
353
|
-
u("div",
|
|
354
|
-
o(e(
|
|
353
|
+
u("div", Le, [
|
|
354
|
+
o(e(we), {
|
|
355
355
|
alignType: "horizontal",
|
|
356
356
|
contentWidth: "230",
|
|
357
357
|
marginBottom: "30px",
|
|
358
358
|
marginRight: "26px",
|
|
359
359
|
ref_key: "editForm",
|
|
360
|
-
ref:
|
|
361
|
-
rules: e(
|
|
360
|
+
ref: _,
|
|
361
|
+
rules: e(Y)
|
|
362
362
|
}, {
|
|
363
363
|
default: s(() => [
|
|
364
|
-
o(e(
|
|
364
|
+
o(e(P), {
|
|
365
365
|
label: e(a)("原流程名称"),
|
|
366
366
|
maxlength: "20",
|
|
367
|
-
modelValue: e(
|
|
368
|
-
"onUpdate:modelValue": t[3] || (t[3] = (l) => e(
|
|
367
|
+
modelValue: e(V).name,
|
|
368
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => e(V).name = l),
|
|
369
369
|
disabled: ""
|
|
370
370
|
}, null, 8, ["label", "modelValue"]),
|
|
371
|
-
o(e(
|
|
371
|
+
o(e(P), {
|
|
372
372
|
label: e(a)("原流程别名"),
|
|
373
373
|
maxlength: "20",
|
|
374
|
-
modelValue: e(
|
|
375
|
-
"onUpdate:modelValue": t[4] || (t[4] = (l) => e(
|
|
374
|
+
modelValue: e(V).defKey,
|
|
375
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => e(V).defKey = l),
|
|
376
376
|
disabled: "",
|
|
377
377
|
marginRight: "0"
|
|
378
378
|
}, null, 8, ["label", "modelValue"]),
|
|
379
|
-
o(e(
|
|
379
|
+
o(e(P), {
|
|
380
380
|
label: e(a)("新流程名称"),
|
|
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(x).name,
|
|
385
|
+
"onUpdate:modelValue": t[5] || (t[5] = (l) => e(x).name = l)
|
|
386
386
|
}, null, 8, ["label", "modelValue"]),
|
|
387
|
-
o(e(
|
|
387
|
+
o(e(P), {
|
|
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(x).defKey,
|
|
393
|
+
"onUpdate:modelValue": t[6] || (t[6] = (l) => e(x).defKey = l),
|
|
394
394
|
marginRight: "0"
|
|
395
395
|
}, null, 8, ["label", "modelValue"])
|
|
396
396
|
]),
|
|
@@ -406,20 +406,20 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
406
406
|
_: 1
|
|
407
407
|
/* STABLE */
|
|
408
408
|
}, 8, ["modelValue", "title"]),
|
|
409
|
-
|
|
410
|
-
u("div",
|
|
411
|
-
o(e(
|
|
412
|
-
modelValue: e(
|
|
413
|
-
"onUpdate:modelValue": t[8] || (t[8] = (l) =>
|
|
409
|
+
$(" 删除弹窗 "),
|
|
410
|
+
u("div", je, [
|
|
411
|
+
o(e(O), {
|
|
412
|
+
modelValue: e(R),
|
|
413
|
+
"onUpdate:modelValue": t[8] || (t[8] = (l) => W(R) ? R.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(K), { onClick: e(oe) }, {
|
|
421
421
|
default: s(() => [
|
|
422
|
-
|
|
422
|
+
v(
|
|
423
423
|
c(e(a)("取消")),
|
|
424
424
|
1
|
|
425
425
|
/* TEXT */
|
|
@@ -428,13 +428,13 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
428
428
|
_: 1
|
|
429
429
|
/* STABLE */
|
|
430
430
|
}, 8, ["onClick"]),
|
|
431
|
-
o(e(
|
|
431
|
+
o(e(K), {
|
|
432
432
|
btnType: "primary",
|
|
433
433
|
style: { "margin-left": "12px" },
|
|
434
|
-
onClick:
|
|
434
|
+
onClick: ce
|
|
435
435
|
}, {
|
|
436
436
|
default: s(() => [
|
|
437
|
-
|
|
437
|
+
v(
|
|
438
438
|
c(e(a)("确定")),
|
|
439
439
|
1
|
|
440
440
|
/* TEXT */
|
|
@@ -446,8 +446,8 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
446
446
|
])
|
|
447
447
|
]),
|
|
448
448
|
default: s(() => [
|
|
449
|
-
u("div",
|
|
450
|
-
|
|
449
|
+
u("div", qe, [
|
|
450
|
+
v(
|
|
451
451
|
c(e(a)("删除流程定义,对应的实例和任务会一起删除,")),
|
|
452
452
|
1
|
|
453
453
|
/* TEXT */
|
|
@@ -459,7 +459,7 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
459
459
|
-1
|
|
460
460
|
/* HOISTED */
|
|
461
461
|
)),
|
|
462
|
-
|
|
462
|
+
v(
|
|
463
463
|
c(e(a)("并且无法恢复")),
|
|
464
464
|
1
|
|
465
465
|
/* TEXT */
|
|
@@ -472,28 +472,28 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
472
472
|
-1
|
|
473
473
|
/* HOISTED */
|
|
474
474
|
)),
|
|
475
|
-
|
|
476
|
-
e(
|
|
475
|
+
be((B(), U("div", Be, [
|
|
476
|
+
e(F).length === 0 ? (B(), U(
|
|
477
477
|
"div",
|
|
478
|
-
|
|
479
|
-
c(e(a)("dasui-process-configuration-key1",
|
|
478
|
+
Ue,
|
|
479
|
+
c(e(a)("dasui-process-configuration-key1", w.value, 0, 0)),
|
|
480
480
|
1
|
|
481
481
|
/* TEXT */
|
|
482
|
-
)) :
|
|
483
|
-
e(
|
|
482
|
+
)) : $("v-if", !0),
|
|
483
|
+
e(F).length > 0 ? (B(), U(
|
|
484
484
|
"div",
|
|
485
|
-
|
|
485
|
+
$e,
|
|
486
486
|
c(e(a)(
|
|
487
487
|
"dasui-process-configuration-key1",
|
|
488
|
-
|
|
489
|
-
e(
|
|
490
|
-
e(
|
|
488
|
+
w.value,
|
|
489
|
+
e(F)[0].totalCount,
|
|
490
|
+
e(F)[0].runningCount
|
|
491
491
|
)),
|
|
492
492
|
1
|
|
493
493
|
/* TEXT */
|
|
494
|
-
)) :
|
|
494
|
+
)) : $("v-if", !0)
|
|
495
495
|
])), [
|
|
496
|
-
[e(
|
|
496
|
+
[e(Ce)]
|
|
497
497
|
])
|
|
498
498
|
]),
|
|
499
499
|
_: 1
|
|
@@ -505,13 +505,13 @@ const H = "v1", O = G(`/workflow/flow/def/${H}`), Ce = G(`/workflow/runtime/inst
|
|
|
505
505
|
/* STABLE_FRAGMENT */
|
|
506
506
|
));
|
|
507
507
|
}
|
|
508
|
-
}),
|
|
509
|
-
const n =
|
|
510
|
-
for (const [r,
|
|
511
|
-
n[r] =
|
|
508
|
+
}), ze = (p, m) => {
|
|
509
|
+
const n = p.__vccOpts || p;
|
|
510
|
+
for (const [r, g] of m)
|
|
511
|
+
n[r] = g;
|
|
512
512
|
return n;
|
|
513
|
-
},
|
|
513
|
+
}, Oe = /* @__PURE__ */ ze(Pe, [["__scopeId", "data-v-72423a61"]]), lt = pe(Oe);
|
|
514
514
|
export {
|
|
515
|
-
|
|
516
|
-
|
|
515
|
+
lt as DasProcessConfiguration,
|
|
516
|
+
lt as default
|
|
517
517
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-process-configuration .table-top[data-v-
|
|
1
|
+
.das-process-configuration .table-top[data-v-72423a61]{display:flex;justify-content:flex-end}.das-process-configuration .table-top .operate[data-v-72423a61]{display:flex;position:absolute;top:10px}.das-process-configuration .table-box[data-v-72423a61]{height:100%;background-color:#fff;padding:0 50px 12px;display:flex;flex-direction:column}.das-process-configuration .table-box .table-content[data-v-72423a61]{flex:1;overflow:hidden}.das-process-configuration .table-box .table-content[data-v-72423a61] .das-ui-table .pagination-container{padding:12px 8px}.delete-dialog[data-v-72423a61] .das-ui-dialog.feedback .delete-text{font-size:16px;color:#212121;letter-spacing:0;text-align:center;line-height:24px;font-weight:400}.delete-dialog[data-v-72423a61] .das-ui-dialog.feedback .split-line{width:100%;border-top:1px solid #d9d9d9;margin:6px 0}.delete-dialog[data-v-72423a61] .das-ui-dialog.feedback .delete-info-box{height:79px}.delete-dialog[data-v-72423a61] .das-ui-dialog.feedback .delete-info-text{font-size:14px;color:#999;letter-spacing:0;line-height:21px;font-weight:400}
|
|
Binary file
|