@das-fed/upf-ui 6.4.0-dev.279 → 6.4.0-dev.280
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/front-end/i18n/front-end-page/dasui_en-US.js +1 -1
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +1 -1
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +1 -1
- package/package.json +3 -3
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +8 -8
- package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +2 -2
- package/packages/business-components/process-configuration/index.js +130 -124
- 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-form/src/hooks/useForm.d.ts +8 -8
- package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -2
- package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +2 -2
- package/packages/components/button/index.js +1 -1
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/button/style.css +1 -1
- package/packages/components/button/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +9 -9
- package/packages/components/checkbox/index.js +1 -1
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/src/Index.vue.d.ts +1 -1
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/date-picker/index.d.ts +12 -12
- package/packages/components/date-picker/index.js +647 -793
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/type.d.ts +10 -22
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.d.ts +3 -3
- package/packages/components/dialog/src/Index.vue.d.ts +1 -1
- package/packages/components/form/index.d.ts +14 -14
- package/packages/components/form/index.js +38 -44
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/src/Index.vue.d.ts +2 -2
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +466 -471
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/src/type.d.ts +0 -3
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/input/index.js +890 -905
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -3
- package/packages/components/input/src/type.d.ts +1 -1
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/menu-aside/index.d.ts +5 -5
- package/packages/components/menu-aside/src/Index.vue.d.ts +2 -2
- package/packages/components/radio/index.d.ts +9 -9
- package/packages/components/radio/src/Index.vue.d.ts +1 -1
- package/packages/components/search-form/index.js +816 -815
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.d.ts +3 -3
- package/packages/components/select/index.js +275 -287
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/Select.vue.d.ts +1 -1
- package/packages/components/select/src/type.d.ts +4 -4
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/spin/index.js +30 -32
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/tabs/index.d.ts +17 -17
- package/packages/components/tabs/src/Tabs.vue.d.ts +6 -6
- package/packages/components/tooltip/index.d.ts +9 -9
- package/packages/components/tooltip/src/index.vue.d.ts +1 -1
- package/packages/components/tree-select/src/App.vue.d.ts +6 -6
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +6 -6
- package/packages/components/tree-v2/index.js +1392 -1407
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/src/hook/use-upload.d.ts +1 -1
- package/packages/components/virtual-tree/index.js +18 -20
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/date-picker/src/time-zone-shortcut.d.ts +0 -8
|
@@ -726,12 +726,12 @@ export default {
|
|
|
726
726
|
"用户": "用户",
|
|
727
727
|
"预订上午": "预订上午",
|
|
728
728
|
"的会议室": "的会议室",
|
|
729
|
+
"数据趋势": "数据趋势",
|
|
729
730
|
"数字": "数字",
|
|
730
731
|
"小写字母": "小写字母",
|
|
731
732
|
"大写字母": "大写字母",
|
|
732
733
|
"符号": "符号",
|
|
733
734
|
"修改密码成功": "修改密码成功",
|
|
734
|
-
"数据趋势": "数据趋势",
|
|
735
735
|
"引用": "引用",
|
|
736
736
|
"篇资料作为参考": "篇资料作为参考",
|
|
737
737
|
"思考中": "思考中",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/upf-ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.280",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"vue-tsc": "^2.0.29"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@das-fed/upf-cli": "6.4.0-dev.
|
|
59
|
-
"@das-fed/upf-utils": "6.4.0-dev.
|
|
58
|
+
"@das-fed/upf-cli": "6.4.0-dev.280",
|
|
59
|
+
"@das-fed/upf-utils": "6.4.0-dev.280",
|
|
60
60
|
"@types/markdown-it": "^14.1.2",
|
|
61
61
|
"@wangeditor-next/editor": "5.6.31",
|
|
62
62
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -37,8 +37,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
37
37
|
$emit: (event: string, ...args: any[]) => void;
|
|
38
38
|
$el: any;
|
|
39
39
|
$options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, {
|
|
40
|
-
validate: (callback
|
|
41
|
-
validateField: (prop: string
|
|
40
|
+
validate: (callback: any) => Promise<void>;
|
|
41
|
+
validateField: (prop: string, callback: any) => Promise<void>;
|
|
42
42
|
resetField: () => void;
|
|
43
43
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
44
44
|
size: "small" | "default" | "large";
|
|
@@ -89,8 +89,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
89
89
|
isSearchForm: boolean;
|
|
90
90
|
autoMarginRight: boolean;
|
|
91
91
|
}> & Omit<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, "validate" | "validateField" | "resetField" | ("size" | "alignItems" | "marginBottom" | "marginRight" | "errorMode" | "labelLength" | "contentWidth" | "labelPosition" | "alignType" | "rules" | "labelMarginRight" | "isSearchForm" | "autoMarginRight")> & import("vue").ShallowUnwrapRef<{
|
|
92
|
-
validate: (callback
|
|
93
|
-
validateField: (prop: string
|
|
92
|
+
validate: (callback: any) => Promise<void>;
|
|
93
|
+
validateField: (prop: string, callback: any) => Promise<void>;
|
|
94
94
|
resetField: () => void;
|
|
95
95
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
96
96
|
$slots: {
|
|
@@ -131,8 +131,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
131
131
|
$emit: (event: string, ...args: any[]) => void;
|
|
132
132
|
$el: any;
|
|
133
133
|
$options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, {
|
|
134
|
-
validate: (callback
|
|
135
|
-
validateField: (prop: string
|
|
134
|
+
validate: (callback: any) => Promise<void>;
|
|
135
|
+
validateField: (prop: string, callback: any) => Promise<void>;
|
|
136
136
|
resetField: () => void;
|
|
137
137
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
138
138
|
size: "small" | "default" | "large";
|
|
@@ -183,8 +183,8 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
183
183
|
isSearchForm: boolean;
|
|
184
184
|
autoMarginRight: boolean;
|
|
185
185
|
}> & Omit<Readonly<import("../../../../components/form/src/type").Props> & Readonly<{}>, "validate" | "validateField" | "resetField" | ("size" | "alignItems" | "marginBottom" | "marginRight" | "errorMode" | "labelLength" | "contentWidth" | "labelPosition" | "alignType" | "rules" | "labelMarginRight" | "isSearchForm" | "autoMarginRight")> & import("vue").ShallowUnwrapRef<{
|
|
186
|
-
validate: (callback
|
|
187
|
-
validateField: (prop: string
|
|
186
|
+
validate: (callback: any) => Promise<void>;
|
|
187
|
+
validateField: (prop: string, callback: any) => Promise<void>;
|
|
188
188
|
resetField: () => void;
|
|
189
189
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
190
190
|
$slots: {
|
|
@@ -21,11 +21,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
21
21
|
onResizing?: ((rect: rectType) => any) | undefined;
|
|
22
22
|
onResizestop?: ((rect: rectType) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
+
x: number;
|
|
24
25
|
y: number;
|
|
26
|
+
aspectRatio: boolean;
|
|
25
27
|
h: number | string;
|
|
26
28
|
w: number | string;
|
|
27
|
-
x: number;
|
|
28
|
-
aspectRatio: boolean;
|
|
29
29
|
isActive: boolean;
|
|
30
30
|
axis: string;
|
|
31
31
|
preventActiveBehavior: boolean;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { withInstall as
|
|
2
|
-
import { ref as r, watch as
|
|
3
|
-
import { DasTable as
|
|
1
|
+
import { withInstall as fe } from "@das-fed/upf-utils/with-install/index";
|
|
2
|
+
import { ref as r, watch as H, defineComponent as me, computed as U, onUnmounted as ye, onDeactivated as ve, openBlock as R, createElementBlock as j, Fragment as Ce, createElementVNode as u, createVNode as l, unref as e, withCtx as s, createTextVNode as y, toDisplayString as p, createCommentVNode as q, isRef as W, withDirectives as ge } from "vue";
|
|
3
|
+
import { DasTable as he, DasTableColumn as V } from "@das-fed/upf-ui/packages/components/table/index";
|
|
4
4
|
import { DasDialog as B } from "@das-fed/upf-ui/packages/components/dialog/index";
|
|
5
5
|
import { DasButton as D } from "@das-fed/upf-ui/packages/components/button/index";
|
|
6
6
|
import { DasMessage as L } from "@das-fed/upf-ui/packages/components/message/index";
|
|
7
|
-
import { DasForm as
|
|
7
|
+
import { DasForm as we } from "@das-fed/upf-ui/packages/components/form/index";
|
|
8
8
|
import { DasFormItem as F } from "@das-fed/upf-ui/packages/components/form-item/index";
|
|
9
|
-
import { DasSpin as
|
|
9
|
+
import { DasSpin as G } from "@das-fed/upf-ui/packages/components/spin/index";
|
|
10
10
|
import { vOverlay as be } from "@das-fed/upf-ui/packages/components/overlay/index";
|
|
11
11
|
import { t as o, setI18nRule as ke } from "@das-fed/upf-web/packages/i18n/index";
|
|
12
12
|
import { getProjectInfo as v } from "@das-fed/upf-utils/common-info/index";
|
|
13
|
-
import { createService as
|
|
13
|
+
import { createService as Q } from "@das-fed/upf-utils/api-services/src/create-service"
|
|
14
14
|
import '@das-fed/upf-ui/packages/business-components/process-configuration/style.css';
|
|
15
15
|
;
|
|
16
|
-
const
|
|
16
|
+
const X = "v1", A = Q(`/workflow/flow/def/${X}`), ze = Q(`/workflow/runtime/instance/${X}`), _e = A.post("/listJson"), De = A.post("/saveCopy"), Ne = ze.get("/getInstanceCountByDefKeys"), Oe = A.delete("/removeByDefIds"), xe = (f) => {
|
|
17
17
|
const m = v().id ? v().id : "371344636432453", n = v().name ? v().name : o("AIoT项目"), d = r(!1), C = r(!1), N = r({
|
|
18
18
|
defId: "",
|
|
19
19
|
// 流程id
|
|
@@ -32,7 +32,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
32
32
|
// 流程别名
|
|
33
33
|
name: ""
|
|
34
34
|
// 流程名称
|
|
35
|
-
}),
|
|
35
|
+
}), h = r({
|
|
36
36
|
name: [{ required: !0, message: o("必填"), trigger: "blur" }],
|
|
37
37
|
defKey: [{ required: !0, message: o("必填"), trigger: "blur" }]
|
|
38
38
|
});
|
|
@@ -40,12 +40,12 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
40
40
|
copyDialogShow: C,
|
|
41
41
|
copyFormData: N,
|
|
42
42
|
detailFormData: z,
|
|
43
|
-
rules:
|
|
43
|
+
rules: h,
|
|
44
44
|
copyDialogLoading: d,
|
|
45
45
|
saveCopyProcess: async (K) => {
|
|
46
46
|
var c;
|
|
47
|
-
(c = f.value) == null || c.validate(async (
|
|
48
|
-
if (
|
|
47
|
+
(c = f.value) == null || c.validate(async (g) => {
|
|
48
|
+
if (g) {
|
|
49
49
|
d.value = !0;
|
|
50
50
|
const [b, x] = await De(N.value, {
|
|
51
51
|
params: { destinationProject: m, project: m }
|
|
@@ -56,11 +56,11 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
56
56
|
}
|
|
57
57
|
d.value = !1, L.success(o("复制成功")), C.value = !1, K();
|
|
58
58
|
}
|
|
59
|
-
}),
|
|
59
|
+
}), H(
|
|
60
60
|
() => C.value,
|
|
61
|
-
(
|
|
61
|
+
(g) => {
|
|
62
62
|
var b;
|
|
63
|
-
|
|
63
|
+
g || (b = f.value) == null || b.resetFields();
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
},
|
|
@@ -69,18 +69,18 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
69
69
|
}, Ie = () => {
|
|
70
70
|
const f = v().id ? v().id : "371344636432453", m = r(!1), n = r([]);
|
|
71
71
|
return { deleteDialogShow: m, instanceCount: n, reqCount: async (z) => {
|
|
72
|
-
const
|
|
72
|
+
const h = {
|
|
73
73
|
defKeys: z,
|
|
74
74
|
projectId: f
|
|
75
|
-
}, [
|
|
75
|
+
}, [w, O] = await Ne(h).run();
|
|
76
76
|
n.value = O;
|
|
77
77
|
}, deleteDefItem: async (z) => {
|
|
78
|
-
const
|
|
78
|
+
const h = {
|
|
79
79
|
cascade: !0,
|
|
80
80
|
ids: z,
|
|
81
81
|
project: f
|
|
82
|
-
}, [
|
|
83
|
-
|
|
82
|
+
}, [w, O] = await Oe(h).run();
|
|
83
|
+
w || (m.value = !1, L.success(o("删除成功")));
|
|
84
84
|
}, cancelDelete: () => m.value = !1 };
|
|
85
85
|
}, Ve = { class: "das-process-configuration" }, Ke = { class: "table-box" }, Me = { class: "table-top" }, Se = { class: "operate" }, Pe = { class: "table-content" }, $e = { class: "form-content" }, Te = { class: "delete-dialog" }, Re = { class: "delete-text" }, je = { class: "delete-info-box" }, qe = {
|
|
86
86
|
key: 0,
|
|
@@ -88,7 +88,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
88
88
|
}, Fe = {
|
|
89
89
|
key: 1,
|
|
90
90
|
class: "delete-info-text"
|
|
91
|
-
}, Le = /* @__PURE__ */
|
|
91
|
+
}, Le = /* @__PURE__ */ me({
|
|
92
92
|
__name: "index",
|
|
93
93
|
props: {
|
|
94
94
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -102,7 +102,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
102
102
|
setup(f, { emit: m }) {
|
|
103
103
|
const n = f, d = m, C = U(() => n.title || o("选择流程")), N = window.location.origin, z = v().id ? v().id : "371344636432453";
|
|
104
104
|
v().name ? v().name : o("AIoT项目");
|
|
105
|
-
const
|
|
105
|
+
const h = r(""), w = r(""), O = r(), K = U(() => n.modelValue ? n.modelValue : !1), c = r([]), g = r(!1), b = r(0), { copyDialogShow: x, copyFormData: k, detailFormData: _, rules: Y, saveCopyProcess: Z, cancelCopy: ee, copyDialogLoading: ae } = xe(O), { deleteDialogShow: M, instanceCount: S, reqCount: oe, deleteDefItem: te, cancelDelete: le } = Ie(), ne = U(() => n.operation ?? [
|
|
106
106
|
{
|
|
107
107
|
label: o("编辑"),
|
|
108
108
|
value: "edit"
|
|
@@ -121,24 +121,24 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
121
121
|
// 隐藏
|
|
122
122
|
// hide: true,
|
|
123
123
|
}
|
|
124
|
-
]),
|
|
124
|
+
]), se = r([
|
|
125
125
|
{ text: o("已发布"), value: "deploy", type: "info" },
|
|
126
126
|
{ text: o("未发布"), value: "draft" },
|
|
127
127
|
{ text: o("禁用"), value: "forbidden", type: "danger" },
|
|
128
128
|
{ text: o("禁止实例"), value: "forbidden_instance", type: "warning" }
|
|
129
|
-
]),
|
|
130
|
-
const a =
|
|
129
|
+
]), re = (i) => {
|
|
130
|
+
const a = se.value.find((t) => t.value === i);
|
|
131
131
|
return a == null ? void 0 : a.text;
|
|
132
|
-
}, I = r(n.defKey), P = r(),
|
|
132
|
+
}, I = r(n.defKey), P = r(), ie = (i, a, t) => {
|
|
133
133
|
P.value = a;
|
|
134
134
|
}, E = async (i, a) => {
|
|
135
135
|
if (i === "edit") {
|
|
136
136
|
const t = JSON.stringify(a);
|
|
137
137
|
window.open(`${N}/mvue/flowDesign?business=${n.bussinessName}&operate=edit&detail=${t}`);
|
|
138
138
|
}
|
|
139
|
-
i === "copy" && (x.value = !0, k.value.defId = a.defId, k.value.typeId = a.typeId, k.value.defKey = "", k.value.name = "", _.value.defId = a.defId, _.value.defKey = a.defKey, _.value.name = a.name), i === "delete" && (
|
|
139
|
+
i === "copy" && (x.value = !0, k.value.defId = a.defId, k.value.typeId = a.typeId, k.value.defKey = "", k.value.name = "", _.value.defId = a.defId, _.value.defKey = a.defKey, _.value.name = a.name), i === "delete" && (h.value = a.id, w.value = a.name, await oe(a.defKey), M.value = !0), d("operationClick", i, a);
|
|
140
140
|
}, $ = async () => {
|
|
141
|
-
b.value++, b.value === 1 && (
|
|
141
|
+
b.value++, b.value === 1 && (g.value = !0);
|
|
142
142
|
const i = {
|
|
143
143
|
pageBean: { page: 1, pageSize: 1e4, total: 2 },
|
|
144
144
|
sorter: [{ property: "createTime", direction: "DESC" }],
|
|
@@ -147,19 +147,19 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
147
147
|
]
|
|
148
148
|
}, [a, t] = await _e(i, { params: { project: z } }).run();
|
|
149
149
|
if (a) {
|
|
150
|
-
|
|
150
|
+
g.value = !1;
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
|
-
|
|
154
|
-
},
|
|
153
|
+
g.value = !1, c.value = t.rows;
|
|
154
|
+
}, de = () => {
|
|
155
155
|
window.open(`${N}/mvue/flowDesign?business=${n.bussinessName}&operate=add`);
|
|
156
|
-
}, de = async () => {
|
|
157
|
-
await Y($);
|
|
158
156
|
}, ue = async () => {
|
|
159
|
-
await
|
|
157
|
+
await Z($);
|
|
158
|
+
}, pe = async () => {
|
|
159
|
+
await te(h.value), await $();
|
|
160
160
|
}, J = () => {
|
|
161
161
|
c.value.map((a) => a.defKey).includes(n.defKey) ? d("cancelDialog", !1) : d("cancelDialog", !0), d("update:modelValue", !1);
|
|
162
|
-
},
|
|
162
|
+
}, ce = () => {
|
|
163
163
|
if (!c.value.map((a) => a.defKey).includes(I.value)) {
|
|
164
164
|
L.warning(o("请选择流程"));
|
|
165
165
|
return;
|
|
@@ -167,26 +167,26 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
167
167
|
d("processInfo", P.value), d("update:modelValue", !1);
|
|
168
168
|
};
|
|
169
169
|
let T = r(0);
|
|
170
|
-
return
|
|
170
|
+
return H(
|
|
171
171
|
() => n.modelValue,
|
|
172
172
|
async (i, a) => {
|
|
173
173
|
i && (await $(), c.value.length > 0 && (n.defKey ? (I.value = n.defKey, P.value = c.value.find((t) => t.defKey === n.defKey)) : (I.value = c.value[0].defKey, P.value = c.value[0])), T.value = window.setInterval(() => {
|
|
174
174
|
$();
|
|
175
175
|
}, 1500)), i || (b.value = 0, window.clearInterval(T.value));
|
|
176
176
|
}
|
|
177
|
-
),
|
|
177
|
+
), ye(() => {
|
|
178
178
|
window.clearInterval(T.value);
|
|
179
|
-
}),
|
|
179
|
+
}), ve(() => {
|
|
180
180
|
window.clearInterval(T.value);
|
|
181
181
|
}), (i, a) => (R(), j(
|
|
182
|
-
|
|
182
|
+
Ce,
|
|
183
183
|
null,
|
|
184
184
|
[
|
|
185
185
|
u("div", Ve, [
|
|
186
186
|
l(e(B), {
|
|
187
187
|
modelValue: K.value,
|
|
188
188
|
"onUpdate:modelValue": a[2] || (a[2] = (t) => K.value = t),
|
|
189
|
-
loading:
|
|
189
|
+
loading: g.value,
|
|
190
190
|
title: C.value,
|
|
191
191
|
width: "1170px",
|
|
192
192
|
height: "689px",
|
|
@@ -209,7 +209,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
209
209
|
l(e(D), {
|
|
210
210
|
btnType: "primary",
|
|
211
211
|
style: { "margin-left": "12px" },
|
|
212
|
-
onClick:
|
|
212
|
+
onClick: ce
|
|
213
213
|
}, {
|
|
214
214
|
default: s(() => [
|
|
215
215
|
y(
|
|
@@ -224,82 +224,88 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
224
224
|
])
|
|
225
225
|
]),
|
|
226
226
|
default: s(() => [
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
u("div",
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
l(e(V), {
|
|
266
|
-
label: e(o)("流程名称"),
|
|
267
|
-
"content-type": "link",
|
|
268
|
-
onClickLink: a[0] || (a[0] = (t) => E("edit", t)),
|
|
269
|
-
prop: "name"
|
|
270
|
-
}, null, 8, ["label"]),
|
|
271
|
-
l(e(V), {
|
|
272
|
-
label: e(o)("流程key"),
|
|
273
|
-
prop: "defKey"
|
|
274
|
-
}, null, 8, ["label"]),
|
|
275
|
-
l(e(V), {
|
|
276
|
-
label: e(o)("流程描述"),
|
|
277
|
-
prop: "desc"
|
|
278
|
-
}, null, 8, ["label"]),
|
|
279
|
-
l(e(V), {
|
|
280
|
-
label: e(o)("状态"),
|
|
281
|
-
prop: "status"
|
|
227
|
+
l(e(G), { spinning: g.value }, {
|
|
228
|
+
default: s(() => [
|
|
229
|
+
u("div", Ke, [
|
|
230
|
+
u("div", Me, [
|
|
231
|
+
u("div", Se, [
|
|
232
|
+
l(e(D), {
|
|
233
|
+
btnType: "primary-text",
|
|
234
|
+
size: "large",
|
|
235
|
+
block: "",
|
|
236
|
+
onClick: de
|
|
237
|
+
}, {
|
|
238
|
+
default: s(() => [
|
|
239
|
+
y(
|
|
240
|
+
p(e(o)("添加")),
|
|
241
|
+
1
|
|
242
|
+
/* TEXT */
|
|
243
|
+
)
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
/* STABLE */
|
|
247
|
+
})
|
|
248
|
+
])
|
|
249
|
+
]),
|
|
250
|
+
u("div", Pe, [
|
|
251
|
+
l(e(he), {
|
|
252
|
+
ref: "addTable",
|
|
253
|
+
"max-height": "100%",
|
|
254
|
+
"radio-selection": "",
|
|
255
|
+
hideSelectionText: !1,
|
|
256
|
+
operation: ne.value,
|
|
257
|
+
simpleEmpty: "",
|
|
258
|
+
"outer-border": "",
|
|
259
|
+
"row-key": "defKey",
|
|
260
|
+
data: c.value,
|
|
261
|
+
onOperationClick: E,
|
|
262
|
+
currentRodioSelection: I.value,
|
|
263
|
+
"onUpdate:currentRodioSelection": a[1] || (a[1] = (t) => I.value = t),
|
|
264
|
+
onRadioChange: ie
|
|
282
265
|
}, {
|
|
283
|
-
default: s((
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
266
|
+
default: s(() => [
|
|
267
|
+
l(e(V), {
|
|
268
|
+
label: e(o)("流程名称"),
|
|
269
|
+
"content-type": "link",
|
|
270
|
+
onClickLink: a[0] || (a[0] = (t) => E("edit", t)),
|
|
271
|
+
prop: "name"
|
|
272
|
+
}, null, 8, ["label"]),
|
|
273
|
+
l(e(V), {
|
|
274
|
+
label: e(o)("流程key"),
|
|
275
|
+
prop: "defKey"
|
|
276
|
+
}, null, 8, ["label"]),
|
|
277
|
+
l(e(V), {
|
|
278
|
+
label: e(o)("流程描述"),
|
|
279
|
+
prop: "desc"
|
|
280
|
+
}, null, 8, ["label"]),
|
|
281
|
+
l(e(V), {
|
|
282
|
+
label: e(o)("状态"),
|
|
283
|
+
prop: "status"
|
|
284
|
+
}, {
|
|
285
|
+
default: s(({ row: t, $index: Ee }) => [
|
|
286
|
+
y(
|
|
287
|
+
p(re(t.status)),
|
|
288
|
+
1
|
|
289
|
+
/* TEXT */
|
|
290
|
+
)
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
/* STABLE */
|
|
294
|
+
}, 8, ["label"]),
|
|
295
|
+
l(e(V), {
|
|
296
|
+
label: e(o)("版本号"),
|
|
297
|
+
prop: "version"
|
|
298
|
+
}, null, 8, ["label"])
|
|
289
299
|
]),
|
|
290
300
|
_: 1
|
|
291
301
|
/* STABLE */
|
|
292
|
-
}, 8, ["
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
/* STABLE */
|
|
300
|
-
}, 8, ["operation", "data", "currentRodioSelection"])
|
|
301
|
-
])
|
|
302
|
-
])
|
|
302
|
+
}, 8, ["operation", "data", "currentRodioSelection"])
|
|
303
|
+
])
|
|
304
|
+
])
|
|
305
|
+
]),
|
|
306
|
+
_: 1
|
|
307
|
+
/* STABLE */
|
|
308
|
+
}, 8, ["spinning"])
|
|
303
309
|
]),
|
|
304
310
|
_: 1
|
|
305
311
|
/* STABLE */
|
|
@@ -315,7 +321,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
315
321
|
}, {
|
|
316
322
|
footer: s(() => [
|
|
317
323
|
u("div", null, [
|
|
318
|
-
l(e(D), { onClick: e(
|
|
324
|
+
l(e(D), { onClick: e(ee) }, {
|
|
319
325
|
default: s(() => [
|
|
320
326
|
y(
|
|
321
327
|
p(e(o)("取消")),
|
|
@@ -329,7 +335,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
329
335
|
l(e(D), {
|
|
330
336
|
btnType: "primary",
|
|
331
337
|
style: { "margin-left": "12px" },
|
|
332
|
-
onClick:
|
|
338
|
+
onClick: ue
|
|
333
339
|
}, {
|
|
334
340
|
default: s(() => [
|
|
335
341
|
y(
|
|
@@ -344,17 +350,17 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
344
350
|
])
|
|
345
351
|
]),
|
|
346
352
|
default: s(() => [
|
|
347
|
-
l(e(
|
|
353
|
+
l(e(G), { spinning: e(ae) }, {
|
|
348
354
|
default: s(() => [
|
|
349
355
|
u("div", $e, [
|
|
350
|
-
l(e(
|
|
356
|
+
l(e(we), {
|
|
351
357
|
alignType: "horizontal",
|
|
352
358
|
contentWidth: "230",
|
|
353
359
|
marginBottom: "30px",
|
|
354
360
|
marginRight: "26px",
|
|
355
361
|
ref_key: "editForm",
|
|
356
362
|
ref: O,
|
|
357
|
-
rules: e(
|
|
363
|
+
rules: e(Y)
|
|
358
364
|
}, {
|
|
359
365
|
default: s(() => [
|
|
360
366
|
l(e(F), {
|
|
@@ -413,7 +419,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
413
419
|
}, {
|
|
414
420
|
footer: s(() => [
|
|
415
421
|
u("div", null, [
|
|
416
|
-
l(e(D), { onClick: e(
|
|
422
|
+
l(e(D), { onClick: e(le) }, {
|
|
417
423
|
default: s(() => [
|
|
418
424
|
y(
|
|
419
425
|
p(e(o)("取消")),
|
|
@@ -427,7 +433,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
427
433
|
l(e(D), {
|
|
428
434
|
btnType: "primary",
|
|
429
435
|
style: { "margin-left": "12px" },
|
|
430
|
-
onClick:
|
|
436
|
+
onClick: pe
|
|
431
437
|
}, {
|
|
432
438
|
default: s(() => [
|
|
433
439
|
y(
|
|
@@ -468,11 +474,11 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
468
474
|
-1
|
|
469
475
|
/* CACHED */
|
|
470
476
|
)),
|
|
471
|
-
|
|
477
|
+
ge((R(), j("div", je, [
|
|
472
478
|
e(S).length === 0 ? (R(), j(
|
|
473
479
|
"div",
|
|
474
480
|
qe,
|
|
475
|
-
p(e(o)("dasui-process-configuration-key1",
|
|
481
|
+
p(e(o)("dasui-process-configuration-key1", w.value, 0, 0)),
|
|
476
482
|
1
|
|
477
483
|
/* TEXT */
|
|
478
484
|
)) : q("v-if", !0),
|
|
@@ -481,7 +487,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
481
487
|
Fe,
|
|
482
488
|
p(e(o)(
|
|
483
489
|
"dasui-process-configuration-key1",
|
|
484
|
-
|
|
490
|
+
w.value,
|
|
485
491
|
e(S)[0].totalCount,
|
|
486
492
|
e(S)[0].runningCount
|
|
487
493
|
)),
|
|
@@ -506,7 +512,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
506
512
|
for (const [d, C] of m)
|
|
507
513
|
n[d] = C;
|
|
508
514
|
return n;
|
|
509
|
-
}, Be = /* @__PURE__ */ Ue(Le, [["__scopeId", "data-v-
|
|
515
|
+
}, Be = /* @__PURE__ */ Ue(Le, [["__scopeId", "data-v-dd8b298e"]]), Ae = {
|
|
510
516
|
必填: { "zh-CN": "必填", en: "Required", "zh-MO": "必填", _appCode: "framework" },
|
|
511
517
|
复制成功: { "zh-CN": "复制成功", en: "Copied Successfully", "zh-MO": "複製成功", _appCode: "framework" },
|
|
512
518
|
删除成功: { "zh-CN": "删除成功", en: "Deleted Successfully", "zh-MO": "刪除成功", _appCode: "framework" },
|
|
@@ -549,7 +555,7 @@ const Q = "v1", A = H(`/workflow/flow/def/${Q}`), ze = H(`/workflow/runtime/inst
|
|
|
549
555
|
}
|
|
550
556
|
};
|
|
551
557
|
ke(Ae);
|
|
552
|
-
const na =
|
|
558
|
+
const na = fe(Be);
|
|
553
559
|
export {
|
|
554
560
|
na as DasProcessConfiguration,
|
|
555
561
|
na as default
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-process-configuration .table-top[data-v-
|
|
1
|
+
.das-process-configuration .table-top[data-v-dd8b298e]{display:flex;justify-content:flex-end}.das-process-configuration .table-top .operate[data-v-dd8b298e]{display:flex;position:absolute;top:10px}.das-process-configuration .table-box[data-v-dd8b298e]{height:100%;background-color:#fff;padding:0 50px 12px;display:flex;flex-direction:column}.das-process-configuration .table-box .table-content[data-v-dd8b298e]{flex:1;overflow:hidden}.das-process-configuration .table-box .table-content[data-v-dd8b298e] .das-ui-table .pagination-container{padding:12px 8px}.delete-dialog[data-v-dd8b298e] .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-dd8b298e] .das-ui-dialog.feedback .split-line{width:100%;border-top:1px solid #d9d9d9;margin:6px 0}.delete-dialog[data-v-dd8b298e] .das-ui-dialog.feedback .delete-info-box{height:79px}.delete-dialog[data-v-dd8b298e] .das-ui-dialog.feedback .delete-info-text{font-size:14px;color:#999;letter-spacing:0;line-height:21px;font-weight:400}
|
|
Binary file
|