@das-fed/ui 7.1.0-dev.24 → 7.1.0-dev.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 +5 -5
- package/packages/business-components/ai-panel/i18n/index.d.ts +62 -0
- package/packages/business-components/ai-panel/{index-C2MGj67k.js → index-C04Wttd4.js} +1 -1
- package/packages/business-components/ai-panel/index-C04Wttd4.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-BdJrICEt.js → index-CKFBXTtX.js} +684 -676
- package/packages/business-components/ai-panel/index-CKFBXTtX.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/area-phone-select/i18n/index.d.ts +1 -0
- package/packages/business-components/area-phone-select/index.js +1 -1
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +3 -3
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/i18n/index.d.ts +18 -0
- package/packages/business-components/change-pwd/index.js +53 -50
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
- package/packages/business-components/currency-page/index.js +7 -5
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +254 -0
- package/packages/business-components/device-panel/index.js +1802 -1768
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +21 -19
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +30 -0
- package/packages/business-components/import-button/index.js +131 -127
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +6 -6
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/i18n/index.d.ts +13 -0
- package/packages/business-components/payment/index.js +53 -53
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +30 -0
- package/packages/business-components/process-configuration/index.js +75 -73
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +84 -0
- package/packages/business-components/process-form/index.js +84 -75
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +9 -0
- package/packages/business-components/process-log/index.js +99 -99
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
- package/packages/business-components/process-search-form/index.js +9 -9
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +8 -8
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/update-confirm-dialog/i18n/index.d.ts +5 -0
- package/packages/business-components/update-confirm-dialog/index.js +7 -5
- package/packages/business-components/update-confirm-dialog/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +25 -24
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +104 -0
- package/packages/business-components/urgent-panel/index.js +104 -96
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +18 -0
- package/packages/business-components/user-org-dialog/index.js +118 -117
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +20 -20
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -0
- package/packages/components/calendar/index.js +99 -99
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -0
- package/packages/components/cascader/index.js +1 -1
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -0
- package/packages/components/color-picker/index.js +1 -1
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
- package/packages/components/custom-search-item/index.js +1 -1
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +6 -0
- package/packages/components/date-picker/index.js +6 -6
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +27 -27
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
- package/packages/components/dimple-layout/index.js +10 -9
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -0
- package/packages/components/dropdown/index.js +9 -9
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +1 -1
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/hls-player/i18n/index.d.ts +2 -0
- package/packages/components/hls-player/index.js +2 -1
- package/packages/components/hls-player/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +7 -0
- package/packages/components/image-upload/index.js +19 -15
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +3 -3
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +2 -0
- package/packages/components/input-dialog-select/index.js +10 -10
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +2 -1
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +1 -1
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +6 -0
- package/packages/components/map/index.js +6 -2
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +1 -1
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +4 -4
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +17 -17
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +2 -2
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +3 -1
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -0
- package/packages/components/rich-editor/index.js +4 -0
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +7 -0
- package/packages/components/search-form/index.js +7 -7
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +4 -0
- package/packages/components/select/index.js +4 -3
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +4 -4
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +4 -4
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +3 -3
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +1 -1
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +20 -0
- package/packages/components/table/index.js +20 -18
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +31 -31
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +1 -1
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +1 -40
- package/packages/components/tree/index.js +290 -304
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-v2/i18n/index.d.ts +21 -0
- package/packages/components/tree-v2/index.js +11 -8
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +6 -0
- package/packages/components/upload/index.js +25 -24
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +37 -1
- package/packages/components/virtual-tree/index.js +62 -49
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/business-components/ai-panel/index-BdJrICEt.js.gz +0 -0
- package/packages/business-components/ai-panel/index-C2MGj67k.js.gz +0 -0
|
@@ -2,151 +2,181 @@ declare const _default: {
|
|
|
2
2
|
必填: {
|
|
3
3
|
'zh-CN': string;
|
|
4
4
|
en: string;
|
|
5
|
+
ar: string;
|
|
5
6
|
_appCode: string;
|
|
6
7
|
};
|
|
7
8
|
复制成功: {
|
|
8
9
|
'zh-CN': string;
|
|
9
10
|
en: string;
|
|
11
|
+
ar: string;
|
|
10
12
|
_appCode: string;
|
|
11
13
|
};
|
|
12
14
|
删除成功: {
|
|
13
15
|
'zh-CN': string;
|
|
14
16
|
en: string;
|
|
17
|
+
ar: string;
|
|
15
18
|
_appCode: string;
|
|
16
19
|
};
|
|
17
20
|
添加: {
|
|
18
21
|
'zh-CN': string;
|
|
19
22
|
en: string;
|
|
23
|
+
ar: string;
|
|
20
24
|
_appCode: string;
|
|
21
25
|
};
|
|
22
26
|
流程名称: {
|
|
23
27
|
'zh-CN': string;
|
|
24
28
|
en: string;
|
|
29
|
+
ar: string;
|
|
25
30
|
_appCode: string;
|
|
26
31
|
};
|
|
27
32
|
流程: {
|
|
28
33
|
'zh-CN': string;
|
|
29
34
|
en: string;
|
|
35
|
+
ar: string;
|
|
30
36
|
_appCode: string;
|
|
31
37
|
};
|
|
32
38
|
流程描述: {
|
|
33
39
|
'zh-CN': string;
|
|
34
40
|
en: string;
|
|
41
|
+
ar: string;
|
|
35
42
|
_appCode: string;
|
|
36
43
|
};
|
|
37
44
|
状态: {
|
|
38
45
|
'zh-CN': string;
|
|
39
46
|
en: string;
|
|
47
|
+
ar: string;
|
|
40
48
|
_appCode: string;
|
|
41
49
|
};
|
|
42
50
|
版本号: {
|
|
43
51
|
'zh-CN': string;
|
|
44
52
|
en: string;
|
|
53
|
+
ar: string;
|
|
45
54
|
_appCode: string;
|
|
46
55
|
};
|
|
47
56
|
取消: {
|
|
48
57
|
'zh-CN': string;
|
|
49
58
|
en: string;
|
|
59
|
+
ar: string;
|
|
50
60
|
_appCode: string;
|
|
51
61
|
};
|
|
52
62
|
确定: {
|
|
53
63
|
'zh-CN': string;
|
|
54
64
|
en: string;
|
|
65
|
+
ar: string;
|
|
55
66
|
_appCode: string;
|
|
56
67
|
};
|
|
57
68
|
复制流程: {
|
|
58
69
|
'zh-CN': string;
|
|
59
70
|
en: string;
|
|
71
|
+
ar: string;
|
|
60
72
|
_appCode: string;
|
|
61
73
|
};
|
|
62
74
|
原流程名称: {
|
|
63
75
|
'zh-CN': string;
|
|
64
76
|
en: string;
|
|
77
|
+
ar: string;
|
|
65
78
|
_appCode: string;
|
|
66
79
|
};
|
|
67
80
|
原流程别名: {
|
|
68
81
|
'zh-CN': string;
|
|
69
82
|
en: string;
|
|
83
|
+
ar: string;
|
|
70
84
|
_appCode: string;
|
|
71
85
|
};
|
|
72
86
|
新流程名称: {
|
|
73
87
|
'zh-CN': string;
|
|
74
88
|
en: string;
|
|
89
|
+
ar: string;
|
|
75
90
|
_appCode: string;
|
|
76
91
|
};
|
|
77
92
|
新流程别名: {
|
|
78
93
|
'zh-CN': string;
|
|
79
94
|
en: string;
|
|
95
|
+
ar: string;
|
|
80
96
|
_appCode: string;
|
|
81
97
|
};
|
|
82
98
|
并且无法恢复: {
|
|
83
99
|
'zh-CN': string;
|
|
84
100
|
en: string;
|
|
101
|
+
ar: string;
|
|
85
102
|
_appCode: string;
|
|
86
103
|
};
|
|
87
104
|
选择流程: {
|
|
88
105
|
'zh-CN': string;
|
|
89
106
|
en: string;
|
|
107
|
+
ar: string;
|
|
90
108
|
_appCode: string;
|
|
91
109
|
};
|
|
92
110
|
项目: {
|
|
93
111
|
'zh-CN': string;
|
|
94
112
|
en: string;
|
|
113
|
+
ar: string;
|
|
95
114
|
_appCode: string;
|
|
96
115
|
};
|
|
97
116
|
编辑: {
|
|
98
117
|
'zh-CN': string;
|
|
99
118
|
en: string;
|
|
119
|
+
ar: string;
|
|
100
120
|
_appCode: string;
|
|
101
121
|
};
|
|
102
122
|
复制: {
|
|
103
123
|
'zh-CN': string;
|
|
104
124
|
en: string;
|
|
125
|
+
ar: string;
|
|
105
126
|
_appCode: string;
|
|
106
127
|
};
|
|
107
128
|
删除: {
|
|
108
129
|
'zh-CN': string;
|
|
109
130
|
en: string;
|
|
131
|
+
ar: string;
|
|
110
132
|
_appCode: string;
|
|
111
133
|
};
|
|
112
134
|
已发布: {
|
|
113
135
|
'zh-CN': string;
|
|
114
136
|
en: string;
|
|
137
|
+
ar: string;
|
|
115
138
|
_appCode: string;
|
|
116
139
|
};
|
|
117
140
|
未发布: {
|
|
118
141
|
'zh-CN': string;
|
|
119
142
|
en: string;
|
|
143
|
+
ar: string;
|
|
120
144
|
_appCode: string;
|
|
121
145
|
};
|
|
122
146
|
禁用: {
|
|
123
147
|
'zh-CN': string;
|
|
124
148
|
en: string;
|
|
149
|
+
ar: string;
|
|
125
150
|
_appCode: string;
|
|
126
151
|
};
|
|
127
152
|
禁止实例: {
|
|
128
153
|
'zh-CN': string;
|
|
129
154
|
en: string;
|
|
155
|
+
ar: string;
|
|
130
156
|
_appCode: string;
|
|
131
157
|
};
|
|
132
158
|
请选择流程: {
|
|
133
159
|
'zh-CN': string;
|
|
134
160
|
en: string;
|
|
161
|
+
ar: string;
|
|
135
162
|
_appCode: string;
|
|
136
163
|
};
|
|
137
164
|
'dasui-process-configuration-key1': {
|
|
138
165
|
'zh-CN': string;
|
|
139
166
|
en: string;
|
|
167
|
+
ar: string;
|
|
140
168
|
_appCode: string;
|
|
141
169
|
};
|
|
142
170
|
流程key: {
|
|
143
171
|
'zh-CN': string;
|
|
144
172
|
en: string;
|
|
173
|
+
ar: string;
|
|
145
174
|
_appCode: string;
|
|
146
175
|
};
|
|
147
176
|
'\u5220\u9664\u6D41\u7A0B\u5B9A\u4E49\uFF0C\u5BF9\u5E94\u7684\u5B9E\u4F8B\u548C\u4EFB\u52A1\u4F1A\u4E00\u8D77\u5220\u9664\uFF0C': {
|
|
148
177
|
'zh-CN': string;
|
|
149
178
|
en: string;
|
|
179
|
+
ar: string;
|
|
150
180
|
_appCode: string;
|
|
151
181
|
};
|
|
152
182
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-configuration/style.css';
|
|
2
2
|
import { withInstall as fe } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as
|
|
3
|
+
import { ref as s, watch as H, defineComponent as me, computed as O, onUnmounted as ye, onDeactivated as ve, createElementBlock as q, openBlock as F, Fragment as Ce, createElementVNode as u, createCommentVNode as L, createVNode as l, unref as e, withCtx as r, createTextVNode as y, toDisplayString as p, isRef as W, withDirectives as ge } from "vue";
|
|
4
4
|
import { DasTable as we, DasTableColumn as K } from "@das-fed/ui/packages/components/table/index";
|
|
5
5
|
import { DasDialog as A } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
6
|
import { DasButton as N } from "@das-fed/ui/packages/components/button/index";
|
|
@@ -13,7 +13,7 @@ import { t as o, setI18nRule as _e } from "@das-fed/web/packages/i18n/index";
|
|
|
13
13
|
import { getProjectInfo as v } from "@das-fed/utils/common-info/index";
|
|
14
14
|
import { createService as Q } from "@das-fed/utils/api-services/src/create-service";
|
|
15
15
|
const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/instance/${X}`), De = E.post("/listJson"), Ne = E.post("/saveCopy"), xe = he.get("/getInstanceCountByDefKeys"), Ie = E.delete("/removeByDefIds"), ze = (f) => {
|
|
16
|
-
const m = v().id ? v().id : "371344636432453", n = v().name ? v().name : o("AIoT项目"), d =
|
|
16
|
+
const m = v().id ? v().id : "371344636432453", n = v().name ? v().name : o("AIoT项目"), d = s(!1), C = s(!1), x = s({
|
|
17
17
|
defId: "",
|
|
18
18
|
// 流程id
|
|
19
19
|
defKey: "",
|
|
@@ -24,14 +24,14 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
24
24
|
// 所属项目名称
|
|
25
25
|
typeName: n
|
|
26
26
|
// 所属项目id
|
|
27
|
-
}), h =
|
|
27
|
+
}), h = s({
|
|
28
28
|
defId: "",
|
|
29
29
|
// 流程id
|
|
30
30
|
defKey: "",
|
|
31
31
|
// 流程别名
|
|
32
32
|
name: ""
|
|
33
33
|
// 流程名称
|
|
34
|
-
}), w =
|
|
34
|
+
}), w = s({
|
|
35
35
|
name: [{ required: !0, message: o("必填"), trigger: "blur" }],
|
|
36
36
|
defKey: [{ required: !0, message: o("必填"), trigger: "blur" }]
|
|
37
37
|
});
|
|
@@ -66,7 +66,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
66
66
|
cancelCopy: async () => C.value = !1
|
|
67
67
|
};
|
|
68
68
|
}, Ve = () => {
|
|
69
|
-
const f = v().id ? v().id : "371344636432453", m =
|
|
69
|
+
const f = v().id ? v().id : "371344636432453", m = s(!1), n = s([]);
|
|
70
70
|
return { deleteDialogShow: m, instanceCount: n, reqCount: async (h) => {
|
|
71
71
|
const w = {
|
|
72
72
|
defKeys: h,
|
|
@@ -81,7 +81,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
81
81
|
}, [b, I] = await Ie(w).run();
|
|
82
82
|
b || (m.value = !1, B.success(o("删除成功")));
|
|
83
83
|
}, cancelDelete: () => m.value = !1 };
|
|
84
|
-
}, Ke = { class: "das-process-configuration" }, Se = { class: "table-box" }, Pe = { class: "table-top" },
|
|
84
|
+
}, Ke = { class: "das-process-configuration" }, Se = { class: "table-box" }, Pe = { class: "table-top" }, $e = { class: "operate" }, Te = { class: "table-content" }, Re = { 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 = {
|
|
@@ -101,7 +101,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
101
101
|
setup(f, { emit: m }) {
|
|
102
102
|
const n = f, d = m, C = O(() => n.title || o("选择流程")), x = window.location.origin, h = v().id ? v().id : "371344636432453";
|
|
103
103
|
v().name ? v().name : o("AIoT项目");
|
|
104
|
-
const w =
|
|
104
|
+
const w = s(""), b = s(""), I = s(), S = O(() => n.modelValue ? n.modelValue : !1), c = s([]), g = s(!1), k = s(0), { copyDialogShow: z, copyFormData: _, detailFormData: D, rules: Y, saveCopyProcess: Z, cancelCopy: ee, copyDialogLoading: ae } = ze(I), { deleteDialogShow: P, instanceCount: $, reqCount: oe, deleteDefItem: te, cancelDelete: le } = Ve(), ne = O(() => n.operation ?? [
|
|
105
105
|
{
|
|
106
106
|
label: o("编辑"),
|
|
107
107
|
value: "edit"
|
|
@@ -120,23 +120,23 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
120
120
|
// 隐藏
|
|
121
121
|
hide: !0
|
|
122
122
|
}
|
|
123
|
-
]),
|
|
123
|
+
]), re = s([
|
|
124
124
|
{ text: o("已发布"), value: "deploy", type: "info" },
|
|
125
125
|
{ text: o("未发布"), value: "draft" },
|
|
126
126
|
{ text: o("禁用"), value: "forbidden", type: "danger" },
|
|
127
127
|
{ text: o("禁止实例"), value: "forbidden_instance", type: "warning" }
|
|
128
|
-
]),
|
|
129
|
-
const a =
|
|
128
|
+
]), se = (i) => {
|
|
129
|
+
const a = re.value.find((t) => t.value === i);
|
|
130
130
|
return a == null ? void 0 : a.text;
|
|
131
|
-
}, V =
|
|
132
|
-
|
|
131
|
+
}, V = s(n.defKey), T = s(), ie = (i, a, t) => {
|
|
132
|
+
T.value = a;
|
|
133
133
|
}, J = async (i, a) => {
|
|
134
134
|
if (i === "edit") {
|
|
135
135
|
const t = JSON.stringify(a);
|
|
136
136
|
window.open(`${x}/mvue/flowDesign?business=${n.bussinessName}&operate=edit&detail=${t}`);
|
|
137
137
|
}
|
|
138
138
|
i === "copy" && (z.value = !0, _.value.defId = a.defId, _.value.typeId = a.typeId, _.value.defKey = "", _.value.name = "", D.value.defId = a.defId, D.value.defKey = a.defKey, D.value.name = a.name), i === "delete" && (w.value = a.id, b.value = a.name, await oe(a.defKey), P.value = !0), d("operationClick", i, a);
|
|
139
|
-
},
|
|
139
|
+
}, R = async () => {
|
|
140
140
|
k.value++, k.value === 1 && (g.value = !0);
|
|
141
141
|
const i = {
|
|
142
142
|
pageBean: { page: 1, pageSize: 1e4, total: 2 },
|
|
@@ -153,9 +153,9 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
153
153
|
}, de = () => {
|
|
154
154
|
window.open(`${x}/mvue/flowDesign?business=${n.bussinessName}&operate=add`);
|
|
155
155
|
}, ue = async () => {
|
|
156
|
-
await Z(
|
|
156
|
+
await Z(R);
|
|
157
157
|
}, pe = async () => {
|
|
158
|
-
await te(w.value), await
|
|
158
|
+
await te(w.value), await R();
|
|
159
159
|
}, M = () => {
|
|
160
160
|
c.value.map((a) => a.defKey).includes(n.defKey) ? d("cancelDialog", !1) : d("cancelDialog", !0), d("update:modelValue", !1);
|
|
161
161
|
}, ce = () => {
|
|
@@ -163,14 +163,14 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
163
163
|
B.warning(o("请选择流程"));
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
|
-
d("processInfo",
|
|
166
|
+
d("processInfo", T.value), d("update:modelValue", !1);
|
|
167
167
|
};
|
|
168
|
-
let j =
|
|
168
|
+
let j = s(0);
|
|
169
169
|
return H(
|
|
170
170
|
() => n.modelValue,
|
|
171
171
|
async (i, a) => {
|
|
172
|
-
i && (await
|
|
173
|
-
|
|
172
|
+
i && (await R(), c.value.length > 0 && (n.defKey ? (V.value = n.defKey, T.value = c.value.find((t) => t.defKey === n.defKey)) : (V.value = c.value[0].defKey, T.value = c.value[0])), j.value = window.setInterval(() => {
|
|
173
|
+
R();
|
|
174
174
|
}, 1500)), i || (k.value = 0, window.clearInterval(j.value));
|
|
175
175
|
}
|
|
176
176
|
), ye(() => {
|
|
@@ -192,10 +192,10 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
192
192
|
"body-style": { "background-color": "#f2f2f2", padding: "10px" },
|
|
193
193
|
onClose: M
|
|
194
194
|
}, {
|
|
195
|
-
footer:
|
|
195
|
+
footer: r(() => [
|
|
196
196
|
u("div", null, [
|
|
197
197
|
l(e(N), { onClick: M }, {
|
|
198
|
-
default:
|
|
198
|
+
default: r(() => [
|
|
199
199
|
y(
|
|
200
200
|
p(e(o)("取消")),
|
|
201
201
|
1
|
|
@@ -210,7 +210,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
210
210
|
style: { "margin-left": "12px" },
|
|
211
211
|
onClick: ce
|
|
212
212
|
}, {
|
|
213
|
-
default:
|
|
213
|
+
default: r(() => [
|
|
214
214
|
y(
|
|
215
215
|
p(e(o)("确定")),
|
|
216
216
|
1
|
|
@@ -222,19 +222,19 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
222
222
|
})
|
|
223
223
|
])
|
|
224
224
|
]),
|
|
225
|
-
default:
|
|
225
|
+
default: r(() => [
|
|
226
226
|
l(e(G), { spinning: g.value }, {
|
|
227
|
-
default:
|
|
227
|
+
default: r(() => [
|
|
228
228
|
u("div", Se, [
|
|
229
229
|
u("div", Pe, [
|
|
230
|
-
u("div",
|
|
230
|
+
u("div", $e, [
|
|
231
231
|
l(e(N), {
|
|
232
232
|
btnType: "primary-text",
|
|
233
233
|
size: "large",
|
|
234
234
|
block: "",
|
|
235
235
|
onClick: de
|
|
236
236
|
}, {
|
|
237
|
-
default:
|
|
237
|
+
default: r(() => [
|
|
238
238
|
y(
|
|
239
239
|
p(e(o)("添加")),
|
|
240
240
|
1
|
|
@@ -246,7 +246,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
246
246
|
})
|
|
247
247
|
])
|
|
248
248
|
]),
|
|
249
|
-
u("div",
|
|
249
|
+
u("div", Te, [
|
|
250
250
|
l(e(we), {
|
|
251
251
|
ref: "addTable",
|
|
252
252
|
"max-height": "100%",
|
|
@@ -262,7 +262,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
262
262
|
"onUpdate:currentRodioSelection": a[1] || (a[1] = (t) => V.value = t),
|
|
263
263
|
onRadioChange: ie
|
|
264
264
|
}, {
|
|
265
|
-
default:
|
|
265
|
+
default: r(() => [
|
|
266
266
|
l(e(K), {
|
|
267
267
|
label: e(o)("流程名称"),
|
|
268
268
|
"content-type": "link",
|
|
@@ -281,9 +281,9 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
281
281
|
label: e(o)("状态"),
|
|
282
282
|
prop: "status"
|
|
283
283
|
}, {
|
|
284
|
-
default:
|
|
284
|
+
default: r(({ row: t, $index: Je }) => [
|
|
285
285
|
y(
|
|
286
|
-
p(
|
|
286
|
+
p(se(t.status)),
|
|
287
287
|
1
|
|
288
288
|
/* TEXT */
|
|
289
289
|
)
|
|
@@ -318,10 +318,10 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
318
318
|
size: "small",
|
|
319
319
|
"body-style": { padding: "25px 60px", "box-sizing": "border-box" }
|
|
320
320
|
}, {
|
|
321
|
-
footer:
|
|
321
|
+
footer: r(() => [
|
|
322
322
|
u("div", null, [
|
|
323
323
|
l(e(N), { onClick: e(ee) }, {
|
|
324
|
-
default:
|
|
324
|
+
default: r(() => [
|
|
325
325
|
y(
|
|
326
326
|
p(e(o)("取消")),
|
|
327
327
|
1
|
|
@@ -336,7 +336,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
336
336
|
style: { "margin-left": "12px" },
|
|
337
337
|
onClick: ue
|
|
338
338
|
}, {
|
|
339
|
-
default:
|
|
339
|
+
default: r(() => [
|
|
340
340
|
y(
|
|
341
341
|
p(e(o)("确定")),
|
|
342
342
|
1
|
|
@@ -348,10 +348,10 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
348
348
|
})
|
|
349
349
|
])
|
|
350
350
|
]),
|
|
351
|
-
default:
|
|
351
|
+
default: r(() => [
|
|
352
352
|
l(e(G), { spinning: e(ae) }, {
|
|
353
|
-
default:
|
|
354
|
-
u("div",
|
|
353
|
+
default: r(() => [
|
|
354
|
+
u("div", Re, [
|
|
355
355
|
l(e(be), {
|
|
356
356
|
alignType: "horizontal",
|
|
357
357
|
contentWidth: "230",
|
|
@@ -361,7 +361,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
361
361
|
ref: I,
|
|
362
362
|
rules: e(Y)
|
|
363
363
|
}, {
|
|
364
|
-
default:
|
|
364
|
+
default: r(() => [
|
|
365
365
|
l(e(U), {
|
|
366
366
|
label: e(o)("原流程名称"),
|
|
367
367
|
maxlength: "20",
|
|
@@ -416,10 +416,10 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
416
416
|
height: "400px",
|
|
417
417
|
feedType: "primary"
|
|
418
418
|
}, {
|
|
419
|
-
footer:
|
|
419
|
+
footer: r(() => [
|
|
420
420
|
u("div", null, [
|
|
421
421
|
l(e(N), { onClick: e(le) }, {
|
|
422
|
-
default:
|
|
422
|
+
default: r(() => [
|
|
423
423
|
y(
|
|
424
424
|
p(e(o)("取消")),
|
|
425
425
|
1
|
|
@@ -434,7 +434,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
434
434
|
style: { "margin-left": "12px" },
|
|
435
435
|
onClick: pe
|
|
436
436
|
}, {
|
|
437
|
-
default:
|
|
437
|
+
default: r(() => [
|
|
438
438
|
y(
|
|
439
439
|
p(e(o)("确定")),
|
|
440
440
|
1
|
|
@@ -446,7 +446,7 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
446
446
|
})
|
|
447
447
|
])
|
|
448
448
|
]),
|
|
449
|
-
default:
|
|
449
|
+
default: r(() => [
|
|
450
450
|
u("div", qe, [
|
|
451
451
|
y(
|
|
452
452
|
p(e(o)("删除流程定义,对应的实例和任务会一起删除,")),
|
|
@@ -474,21 +474,21 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
474
474
|
/* CACHED */
|
|
475
475
|
)),
|
|
476
476
|
ge((F(), q("div", Fe, [
|
|
477
|
-
e(
|
|
477
|
+
e($).length === 0 ? (F(), q(
|
|
478
478
|
"div",
|
|
479
479
|
Le,
|
|
480
480
|
p(e(o)("dasui-process-configuration-key1", b.value, 0, 0)),
|
|
481
481
|
1
|
|
482
482
|
/* TEXT */
|
|
483
483
|
)) : L("v-if", !0),
|
|
484
|
-
e(
|
|
484
|
+
e($).length > 0 ? (F(), q(
|
|
485
485
|
"div",
|
|
486
486
|
Ue,
|
|
487
487
|
p(e(o)(
|
|
488
488
|
"dasui-process-configuration-key1",
|
|
489
489
|
b.value,
|
|
490
|
-
e(
|
|
491
|
-
e(
|
|
490
|
+
e($)[0].totalCount,
|
|
491
|
+
e($)[0].runningCount
|
|
492
492
|
)),
|
|
493
493
|
1
|
|
494
494
|
/* TEXT */
|
|
@@ -512,42 +512,44 @@ const X = "v1", E = Q(`/workflow/flow/def/${X}`), he = Q(`/workflow/runtime/inst
|
|
|
512
512
|
n[d] = C;
|
|
513
513
|
return n;
|
|
514
514
|
}, Ae = /* @__PURE__ */ Oe(Be, [["__scopeId", "data-v-266f7def"]]), Ee = {
|
|
515
|
-
必填: { "zh-CN": "必填", en: "Required", _appCode: "framework" },
|
|
516
|
-
复制成功: { "zh-CN": "复制成功", en: "Copied Successfully", _appCode: "framework" },
|
|
517
|
-
删除成功: { "zh-CN": "删除成功", en: "Deleted Successfully", _appCode: "framework" },
|
|
518
|
-
添加: { "zh-CN": "添加", en: "Add", _appCode: "framework" },
|
|
519
|
-
流程名称: { "zh-CN": "流程名称", en: "Process Name", _appCode: "framework" },
|
|
520
|
-
流程: { "zh-CN": "流程", en: "Process", _appCode: "framework" },
|
|
521
|
-
流程描述: { "zh-CN": "流程描述", en: "Process Description", _appCode: "framework" },
|
|
522
|
-
状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
|
|
523
|
-
版本号: { "zh-CN": "版本号", en: "Version Number", _appCode: "framework" },
|
|
524
|
-
取消: { "zh-CN": "取消", en: "Cancel", _appCode: "framework" },
|
|
525
|
-
确定: { "zh-CN": "确定", en: "OK", _appCode: "framework" },
|
|
526
|
-
复制流程: { "zh-CN": "复制流程", en: "Copy Process", _appCode: "framework" },
|
|
527
|
-
原流程名称: { "zh-CN": "原流程名称", en: "Original Process Name", _appCode: "framework" },
|
|
528
|
-
原流程别名: { "zh-CN": "原流程别名", en: "Original Process Alias", _appCode: "framework" },
|
|
529
|
-
新流程名称: { "zh-CN": "新流程名称", en: "New Process Name", _appCode: "framework" },
|
|
530
|
-
新流程别名: { "zh-CN": "新流程别名", en: "New Process Alias", _appCode: "framework" },
|
|
531
|
-
并且无法恢复: { "zh-CN": "并且无法恢复", en: "And cannot be recovered", _appCode: "framework" },
|
|
532
|
-
选择流程: { "zh-CN": "选择流程", en: "Select Process", _appCode: "framework" },
|
|
533
|
-
项目: { "zh-CN": "项目", en: "Project", _appCode: "framework" },
|
|
534
|
-
编辑: { "zh-CN": "编辑", en: "Edit", _appCode: "framework" },
|
|
535
|
-
复制: { "zh-CN": "复制", en: "Copy", _appCode: "framework" },
|
|
536
|
-
删除: { "zh-CN": "删除", en: "Delete", _appCode: "framework" },
|
|
537
|
-
已发布: { "zh-CN": "已发布", en: "Published", _appCode: "framework" },
|
|
538
|
-
未发布: { "zh-CN": "未发布", en: "Unpublished", _appCode: "framework" },
|
|
539
|
-
禁用: { "zh-CN": "禁用", en: "Disable", _appCode: "framework" },
|
|
540
|
-
禁止实例: { "zh-CN": "禁止实例", en: "Disable Instance", _appCode: "framework" },
|
|
541
|
-
请选择流程: { "zh-CN": "请选择流程", en: "Please select a process", _appCode: "framework" },
|
|
515
|
+
必填: { "zh-CN": "必填", en: "Required", ar: "مطلوب", _appCode: "framework" },
|
|
516
|
+
复制成功: { "zh-CN": "复制成功", en: "Copied Successfully", ar: "تم النسخ بنجاح", _appCode: "framework" },
|
|
517
|
+
删除成功: { "zh-CN": "删除成功", en: "Deleted Successfully", ar: "تم الحذف بنجاح", _appCode: "framework" },
|
|
518
|
+
添加: { "zh-CN": "添加", en: "Add", ar: "إضافة", _appCode: "framework" },
|
|
519
|
+
流程名称: { "zh-CN": "流程名称", en: "Process Name", ar: "اسم العملية", _appCode: "framework" },
|
|
520
|
+
流程: { "zh-CN": "流程", en: "Process", ar: "عملية", _appCode: "framework" },
|
|
521
|
+
流程描述: { "zh-CN": "流程描述", en: "Process Description", ar: "وصف العملية", _appCode: "framework" },
|
|
522
|
+
状态: { "zh-CN": "状态", en: "Status", ar: "الحالة", _appCode: "framework" },
|
|
523
|
+
版本号: { "zh-CN": "版本号", en: "Version Number", ar: "رقم الإصدار", _appCode: "framework" },
|
|
524
|
+
取消: { "zh-CN": "取消", en: "Cancel", ar: "إلغاء", _appCode: "framework" },
|
|
525
|
+
确定: { "zh-CN": "确定", en: "OK", ar: "موافق", _appCode: "framework" },
|
|
526
|
+
复制流程: { "zh-CN": "复制流程", en: "Copy Process", ar: "نسخ العملية", _appCode: "framework" },
|
|
527
|
+
原流程名称: { "zh-CN": "原流程名称", en: "Original Process Name", ar: "اسم العملية الأصلي", _appCode: "framework" },
|
|
528
|
+
原流程别名: { "zh-CN": "原流程别名", en: "Original Process Alias", ar: "الاسم المستعار الأصلي للعملية", _appCode: "framework" },
|
|
529
|
+
新流程名称: { "zh-CN": "新流程名称", en: "New Process Name", ar: "اسم العملية الجديد", _appCode: "framework" },
|
|
530
|
+
新流程别名: { "zh-CN": "新流程别名", en: "New Process Alias", ar: "الاسم المستعار الجديد للعملية", _appCode: "framework" },
|
|
531
|
+
并且无法恢复: { "zh-CN": "并且无法恢复", en: "And cannot be recovered", ar: "ولا يمكن استعادته", _appCode: "framework" },
|
|
532
|
+
选择流程: { "zh-CN": "选择流程", en: "Select Process", ar: "اختيار العملية", _appCode: "framework" },
|
|
533
|
+
项目: { "zh-CN": "项目", en: "Project", ar: "مشروع", _appCode: "framework" },
|
|
534
|
+
编辑: { "zh-CN": "编辑", en: "Edit", ar: "تحرير", _appCode: "framework" },
|
|
535
|
+
复制: { "zh-CN": "复制", en: "Copy", ar: "نسخ", _appCode: "framework" },
|
|
536
|
+
删除: { "zh-CN": "删除", en: "Delete", ar: "حذف", _appCode: "framework" },
|
|
537
|
+
已发布: { "zh-CN": "已发布", en: "Published", ar: "تم النشر", _appCode: "framework" },
|
|
538
|
+
未发布: { "zh-CN": "未发布", en: "Unpublished", ar: "لم يتم النشر", _appCode: "framework" },
|
|
539
|
+
禁用: { "zh-CN": "禁用", en: "Disable", ar: "تعطيل", _appCode: "framework" },
|
|
540
|
+
禁止实例: { "zh-CN": "禁止实例", en: "Disable Instance", ar: "تعطيل النسخة", _appCode: "framework" },
|
|
541
|
+
请选择流程: { "zh-CN": "请选择流程", en: "Please select a process", ar: "الرجاء اختيار عملية", _appCode: "framework" },
|
|
542
542
|
"dasui-process-configuration-key1": {
|
|
543
543
|
"zh-CN": "$0(共有实例:$1个,其中运行中的实例:$2个)",
|
|
544
544
|
en: "$0(total instances: $1, running instances: $2)",
|
|
545
|
+
ar: "$0(إجمالي النسخ: $1، النسخ قيد التشغيل: $2)",
|
|
545
546
|
_appCode: "framework"
|
|
546
547
|
},
|
|
547
|
-
流程key: { "zh-CN": "流程key", en: "Process Key", _appCode: "framework" },
|
|
548
|
+
流程key: { "zh-CN": "流程key", en: "Process Key", ar: "مفتاح العملية", _appCode: "framework" },
|
|
548
549
|
"删除流程定义,对应的实例和任务会一起删除,": {
|
|
549
550
|
"zh-CN": "删除流程定义,对应的实例和任务会一起删除,",
|
|
550
551
|
en: "Deleting the process definition will also delete the corresponding instances and tasks,",
|
|
552
|
+
ar: "سيؤدي حذف تعريف العملية أيضًا إلى حذف النسخ والمهام المقابلة،",
|
|
551
553
|
_appCode: "framework"
|
|
552
554
|
}
|
|
553
555
|
};
|
|
Binary file
|