@steedos/service-core-objects 3.0.0-beta.10 → 3.0.0-beta.100
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/main/default/client/{topic.client.js → css.client.js} +2 -1
- package/main/default/client/socket.client.js +118 -0
- package/main/default/objectTranslations/base.en/base.en.objectTranslation.yml +6 -0
- package/main/default/objectTranslations/base.zh-CN/base.zh-CN.objectTranslation.yml +6 -0
- package/main/default/objectTranslations/cms_files.en/cms_files.en.objectTranslation.yml +7 -1
- package/main/default/objectTranslations/cms_files.zh-CN/cms_files.zh-CN.objectTranslation.yml +7 -1
- package/main/default/objectTranslations/company.en/company.en.objectTranslation.yml +5 -0
- package/main/default/objectTranslations/company.zh-CN/company.zh-CN.objectTranslation.yml +5 -0
- package/main/default/objectTranslations/datasources.zh-CN/datasources.zh-CN.objectTranslation.yml +1 -1
- package/main/default/objectTranslations/instances.en/instances.en.objectTranslation.yml +56 -0
- package/main/default/objectTranslations/instances.zh-CN/instances.zh-CN.objectTranslation.yml +53 -0
- package/main/default/objectTranslations/license.en/license.en.objectTranslation.yml +1 -1
- package/main/default/objectTranslations/object_actions.en/object_actions.en.objectTranslation.yml +5 -0
- package/main/default/objectTranslations/object_actions.zh-CN/object_actions.zh-CN.objectTranslation.yml +6 -1
- package/main/default/objectTranslations/object_fields.en/object_fields.en.objectTranslation.yml +1 -5
- package/main/default/objectTranslations/object_fields.zh-CN/object_fields.zh-CN.objectTranslation.yml +3 -3
- package/main/default/objectTranslations/object_functions.zh-CN/object_functions.zh-CN.objectTranslation.yml +1 -1
- package/main/default/objectTranslations/object_layouts.zh-CN/object_layouts.zh-CN.objectTranslation.yml +1 -1
- package/main/default/objectTranslations/object_listviews.en/object_listviews.en.objectTranslation.yml +3 -1
- package/main/default/objectTranslations/object_listviews.zh-CN/object_listviews.zh-CN.objectTranslation.yml +5 -3
- package/main/default/objectTranslations/object_triggers.en/object_triggers.en.objectTranslation.yml +9 -0
- package/main/default/objectTranslations/object_triggers.zh-CN/object_triggers.zh-CN.objectTranslation.yml +9 -0
- package/main/default/objectTranslations/object_validation_rules.en/object_validation_rules.en.objectTranslation.yml +3 -3
- package/main/default/objectTranslations/object_webhooks.en/object_webhooks.en.objectTranslation.yml +12 -6
- package/main/default/objectTranslations/object_webhooks.zh-CN/object_webhooks.zh-CN.objectTranslation.yml +12 -6
- package/main/default/objectTranslations/objects.en/objects.en.objectTranslation.yml +43 -18
- package/main/default/objectTranslations/objects.zh-CN/objects.zh-CN.objectTranslation.yml +59 -25
- package/main/default/objectTranslations/operation_logs.en/operation_logs.en.objectTranslation.yml +66 -0
- package/main/default/objectTranslations/operation_logs.zh-CN/operation_logs.zh-CN.objectTranslation.yml +66 -0
- package/main/default/objectTranslations/settings.en/settings.en.objectTranslation.yml +9 -0
- package/main/default/objectTranslations/settings.zh-CN/settings.zh-CN.objectTranslation.yml +9 -0
- package/main/default/objectTranslations/space_users.en/space_users.en.objectTranslation.yml +17 -0
- package/main/default/objectTranslations/space_users.zh-CN/space_users.zh-CN.objectTranslation.yml +17 -1
- package/main/default/objects/_base/base.client.js +11 -10
- package/main/default/objects/_base/base.object.js +279 -105
- package/main/default/objects/_base/base.object.yml +8 -0
- package/main/default/objects/announcements.object.yml +68 -0
- package/main/default/objects/api_keys/buttons/copy.button.yml +1 -1
- package/main/default/objects/apps/apps.object.yml +25 -69
- package/main/default/objects/apps/buttons/disable.button.js +9 -7
- package/main/default/objects/apps/buttons/enable.button.js +9 -7
- package/main/default/objects/audit_records.object.yml +1 -1
- package/main/default/objects/cms_files/buttons/download.button.yml +1 -1
- package/main/default/objects/cms_files/cms_files.object.yml +6 -5
- package/main/default/objects/company/buttons/updateOrgs.button.yml +3 -6
- package/main/default/objects/favorites.object.yml +65 -0
- package/main/default/objects/keyvalue/keyvalue.object.yml +1 -0
- package/main/default/objects/logs/logs.object.yml +1 -0
- package/main/default/objects/object_actions/buttons/showDesign.button.js +5 -1
- package/main/default/objects/object_actions/fields/is_system.field.yml +1 -1
- package/main/default/objects/object_fields/buttons/recomputeFormulaValues.button.js +6 -2
- package/main/default/objects/object_fields/buttons/recomputeSummaryValues.button.js +6 -2
- package/main/default/objects/object_fields/buttons/standard_new.button.js +1 -1
- package/main/default/objects/object_fields/fields/_name.field.yml +1 -0
- package/main/default/objects/object_fields/fields/auto_fill_mapping.$.to.field.yml +28 -13
- package/main/default/objects/object_fields/fields/name.field.yml +1 -0
- package/main/default/objects/object_fields/fields/options.field.yml +1 -0
- package/main/default/objects/object_fields/fields/summary_filters.$.field.field.yml +16 -9
- package/main/default/objects/object_fields/fields/summary_filters.$.operation.field.yml +26 -29
- package/main/default/objects/object_fields/listviews/all.listview.yml +3 -1
- package/main/default/objects/object_fields/listviews/customize.listview.yml +3 -1
- package/main/default/objects/object_functions/fields/script.field.yml +1 -1
- package/main/default/objects/object_listviews/buttons/customize.button.js +36 -30
- package/main/default/objects/object_listviews/buttons/showDesign.button.js +6 -6
- package/main/default/objects/object_listviews/fields/adaptor.field.yml +2 -2
- package/main/default/objects/object_listviews/fields/crudDataFilter.field.yml +10 -0
- package/main/default/objects/object_listviews/fields/enable_amis_schema.field.yml +1 -0
- package/main/default/objects/object_listviews/fields/extra_columns.field.yml +18 -0
- package/main/default/objects/object_listviews/fields/requestAdaptor.field.yml +2 -2
- package/main/default/objects/object_listviews/object_listviews.object.yml +1 -1
- package/main/default/objects/object_triggers/fields/handler.field.yml +1 -1
- package/main/default/objects/object_webhooks/fields/fields.field.yml +1 -1
- package/main/default/objects/object_webhooks/object_webhooks.object.yml +1 -0
- package/main/default/objects/objects/buttons/custom.button.js +6 -35
- package/main/default/objects/objects/buttons/custom.button.yml +81 -1
- package/main/default/objects/objects/buttons/delete_object.button.yml +5 -4
- package/main/default/objects/objects/buttons/design_fields_layout.button.js +5 -2
- package/main/default/objects/objects/buttons/design_fields_layout.button.yml +1 -1
- package/main/default/objects/objects/buttons/reset.button.yml +6 -5
- package/main/default/objects/objects/buttons/show_object.button.js +2 -29
- package/main/default/objects/objects/fields/compactLayouts.field.yml +2 -2
- package/main/default/objects/objects/fields/enable_audit.field.yml +5 -0
- package/main/default/objects/objects/fields/enable_chatter.field.yml +5 -4
- package/main/default/objects/objects/fields/enable_dataloader.field.yml +0 -1
- package/main/default/objects/objects/fields/enable_enhanced_lookup.field.yml +0 -4
- package/main/default/objects/objects/fields/enable_events.field.yml +2 -2
- package/main/default/objects/objects/fields/enable_files.field.yml +1 -1
- package/main/default/objects/objects/fields/enable_form_tabs.field.yml +1 -2
- package/main/default/objects/objects/fields/enable_inline_edit.field.yml +1 -1
- package/main/default/objects/objects/fields/enable_instances.field.yml +2 -2
- package/main/default/objects/objects/fields/enable_lock_detail.field.yml +0 -1
- package/main/default/objects/objects/fields/enable_notes.field.yml +2 -2
- package/main/default/objects/objects/fields/enable_tasks.field.yml +1 -1
- package/main/default/objects/objects/fields/enable_tree.field.yml +0 -1
- package/main/default/objects/objects/fields/field_groups.field.yml +1 -1
- package/main/default/objects/objects/fields/in_development.field.yml +0 -1
- package/main/default/objects/objects/fields/is_deleted.field.yml +1 -0
- package/main/default/objects/objects/fields/name.field.yml +1 -4
- package/main/default/objects/objects/fields/table_name.field.yml +0 -1
- package/main/default/objects/objects/listviews/all.listview.yml +4 -1
- package/main/default/objects/objects/listviews/customize.listview.yml +3 -1
- package/main/default/objects/objects/listviews/deleted.listview.yml +3 -1
- package/main/default/objects/objects/listviews/metadata.listview.yml +3 -1
- package/main/default/objects/objects/listviews/system.listview.yml +3 -1
- package/main/default/objects/objects/objects.object.yml +1 -1
- package/main/default/objects/permission_set.object.yml +0 -4
- package/main/default/objects/queue_import.object.yml +16 -1
- package/main/default/objects/roles.object.yml +1 -5
- package/main/default/objects/space_users/buttons/clear_login_tokens.button.yml +3 -6
- package/main/default/objects/space_users/buttons/disable.button.yml +3 -7
- package/main/default/objects/space_users/buttons/enable.button.yml +3 -7
- package/main/default/objects/space_users/buttons/lockout.button.yml +3 -7
- package/main/default/objects/space_users/buttons/standard_edit.button.js +0 -1
- package/main/default/objects/space_users/buttons/unlock.button.yml +3 -7
- package/main/default/objects/space_users/fields/locale.field.yml +2 -1
- package/main/default/pages/apps_form.page.amis.json +333 -0
- package/main/default/pages/apps_form.page.yml +12 -0
- package/main/default/pages/cms_files_preview.page.amis.json +22 -3
- package/main/default/pages/object_detail.page.amis.json +17 -11
- package/main/default/pages/object_fields_form.page.amis.json +1 -12
- package/main/default/pages/object_form.page.amis.json +1 -1
- package/main/default/pages/object_validation_rules_form.page.amis.json +38 -0
- package/main/default/pages/object_validation_rules_form.page.yml +13 -0
- package/main/default/pages/object_webhooks_form.page.amis.json +1 -1
- package/main/default/pages/organizations.page.amis.json +0 -4
- package/main/default/pages/space_users_list.page.amis.json +129 -17
- package/main/default/routes/amis_button_design.ejs +4 -1
- package/main/default/routes/amis_button_design.router.js +4 -3
- package/main/default/routes/importRecords.router.js +87 -0
- package/main/default/routes/notifications.router.js +113 -0
- package/main/default/routes/object_fields_design.ejs +23 -9
- package/main/default/routes/object_fields_design.router.js +5 -4
- package/main/default/services/app-design.service.js +2 -1
- package/main/default/services/notifications.service.js +190 -0
- package/main/default/services/users.service.js +1 -1
- package/main/default/tabs/{admin_process_delegation_rules.tab.yml → admin_bull_dashboard.tab.yml} +9 -12
- package/main/default/translations/en.translation.yml +3 -2
- package/main/default/translations/zh-CN.translation.yml +3 -2
- package/main/default/triggers/objects_set_default_object_properties_trigger.trigger.yml +9 -6
- package/main/default/triggers/queue_import.trigger.js +16 -0
- package/package.json +4 -3
- package/package.service.js +3 -2
- package/public/platform.css +62 -0
- package/public/topic.css +17 -37
- package/main/default/objectTranslations/flow_positions.en/flow_positions.en.objectTranslation.yml +0 -19
- package/main/default/objectTranslations/flow_positions.zh-CN/flow_positions.zh-CN.objectTranslation.yml +0 -19
- package/main/default/objectTranslations/flow_roles.en/flow_roles.en.objectTranslation.yml +0 -11
- package/main/default/objectTranslations/flow_roles.zh-CN/flow_roles.zh-CN.objectTranslation.yml +0 -14
- package/main/default/objectTranslations/flows.en/flows.en.objectTranslation.yml +0 -317
- package/main/default/objectTranslations/flows.zh-CN/flows.zh-CN.objectTranslation.yml +0 -314
- package/main/default/objects/apps/buttons/amis_edit.button.yml +0 -39
- package/main/default/objects/apps/buttons/amis_new.button.yml +0 -43
- package/main/default/objects/flows/flows.object.yml +0 -1089
- package/main/default/objects/object_actions/buttons/customize.button.js +0 -33
- package/main/default/objects/object_actions/buttons/customize.button.yml +0 -3
- package/main/default/objects/object_listviews/buttons/copy.button.js +0 -58
- package/main/default/objects/object_listviews/buttons/copy.button.yml +0 -3
- package/main/default/objects/object_listviews/buttons/customize.button.yml +0 -3
- package/main/default/objects/objects/buttons/design_field_layout.button.js +0 -28
- package/main/default/objects/objects/buttons/design_field_layout.button.yml +0 -5
- package/main/default/objects/process_definition.object.yml +0 -323
- package/main/default/objects/space_users/fields/zoom.field.yml +0 -16
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
var today = new Date();
|
|
2
2
|
var v = today.getFullYear().toString() + (today.getMonth() + 1).toString().padStart(2, '0') + today.getDate().toString().padStart(2, '0');
|
|
3
3
|
|
|
4
|
-
loadCss(Steedos.absoluteUrl('/
|
|
4
|
+
loadCss(Steedos.absoluteUrl('/platform.css?v='+v));
|
|
5
|
+
// loadCss(Steedos.absoluteUrl('/topic.css?v='+v));
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2
|
+
const SocketCommands = {
|
|
3
|
+
subscribe: "subscribe",
|
|
4
|
+
unsubscribe:"unsubscribe"
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
const SocketEvents = {
|
|
8
|
+
metadataChange: 's:metadata:change',
|
|
9
|
+
notificationChange: 's:notification-change'
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const SocketRoomParts = {
|
|
13
|
+
space: 'space',
|
|
14
|
+
me: 'me',
|
|
15
|
+
notificationChange: 'notification-change'
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// 连接到服务器
|
|
19
|
+
const socket = window.io("/", {
|
|
20
|
+
path: "/socket.io"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// 监听连接事件
|
|
24
|
+
socket.on("connect", () => {});
|
|
25
|
+
|
|
26
|
+
socket.on("connection-init", ()=>{
|
|
27
|
+
console.log('emit', SocketCommands.subscribe, SocketRoomParts.space);
|
|
28
|
+
socket.emit(SocketCommands.subscribe, {
|
|
29
|
+
roomParts: SocketRoomParts.space
|
|
30
|
+
});
|
|
31
|
+
console.log('emit', SocketCommands.subscribe, SocketRoomParts.me);
|
|
32
|
+
socket.emit(SocketCommands.subscribe, {
|
|
33
|
+
roomParts: SocketRoomParts.me,
|
|
34
|
+
individual: true
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
console.log('emit', SocketCommands.subscribe, SocketRoomParts.notificationChange);
|
|
38
|
+
socket.emit(SocketCommands.subscribe, {
|
|
39
|
+
roomParts: SocketRoomParts.notificationChange,
|
|
40
|
+
individual: true
|
|
41
|
+
});
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
// 监听自定义事件(根据服务器提供的接口)
|
|
45
|
+
const debounceTimers = new Map();
|
|
46
|
+
|
|
47
|
+
socket.on(SocketEvents.metadataChange, (data) => {
|
|
48
|
+
// 生成唯一 key 的逻辑
|
|
49
|
+
const getKey = () => {
|
|
50
|
+
if (data.type === 'object_fields' || data.type === 'object_listviews') {
|
|
51
|
+
return `objects-${data.objectName}`;
|
|
52
|
+
}
|
|
53
|
+
return `${data.type}-${data.name}`;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
// 处理函数
|
|
57
|
+
const handleRequest = () => {
|
|
58
|
+
if (data.type === 'apps') {
|
|
59
|
+
window.$(`.btn-reload-global-header-${data.name}`).trigger('click');
|
|
60
|
+
window.$(`.btn-reload-app-menu-${data.name}`).trigger('click');
|
|
61
|
+
setTimeout(() => {
|
|
62
|
+
window.$(".btn-reload-app-dashboard").trigger('click');
|
|
63
|
+
}, 1000);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
let objectName = '';
|
|
68
|
+
if(data.type === 'objects'){
|
|
69
|
+
objectName = data.name;
|
|
70
|
+
}else if(data.type === 'object_actions'){
|
|
71
|
+
objectName = data.objectName;
|
|
72
|
+
}else if(data.type === 'object_fields'){
|
|
73
|
+
objectName = data.objectName;
|
|
74
|
+
}else if(data.type === 'object_listviews'){
|
|
75
|
+
objectName = data.objectName;
|
|
76
|
+
}
|
|
77
|
+
const shouldReloadView = () => {
|
|
78
|
+
return window.location.pathname.endsWith(`/${objectName}`) || window.location.pathname.includes(`/${objectName}/view`);
|
|
79
|
+
};
|
|
80
|
+
window.getUISchema(objectName, true).then(() => {
|
|
81
|
+
if (shouldReloadView()) {
|
|
82
|
+
window.navigate(window.location.pathname, {
|
|
83
|
+
state: { reloadKey: Date.now() }
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
if (data.type === 'apps') {
|
|
90
|
+
// apps 类型不防抖,直接执行
|
|
91
|
+
handleRequest();
|
|
92
|
+
} else {
|
|
93
|
+
const key = getKey();
|
|
94
|
+
clearTimeout(debounceTimers.get(key)); // 清除之前的定时器
|
|
95
|
+
debounceTimers.set(key, setTimeout(handleRequest, 200)); // 设置新的定时器
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
socket.on(SocketEvents.notificationChange, (data)=>{
|
|
100
|
+
if(data.message){
|
|
101
|
+
window.SteedosUI.notification.info({
|
|
102
|
+
message: data.message.name,
|
|
103
|
+
description: data.message.body
|
|
104
|
+
})
|
|
105
|
+
}
|
|
106
|
+
window.$('.btn-reload-global-header-notifications').trigger('click');
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
socket.on("connect_error", (err) => {
|
|
110
|
+
console.log("连接错误:", err);
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
// 断开连接时
|
|
114
|
+
socket.on("disconnect", () => {
|
|
115
|
+
console.log("Disconnected from server");
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
window.socket = socket;
|
|
@@ -2,6 +2,10 @@ name: base
|
|
|
2
2
|
label:
|
|
3
3
|
description:
|
|
4
4
|
fields:
|
|
5
|
+
external_id:
|
|
6
|
+
label: External Id
|
|
7
|
+
help:
|
|
8
|
+
description:
|
|
5
9
|
owner:
|
|
6
10
|
label: Owner
|
|
7
11
|
help:
|
|
@@ -163,5 +167,7 @@ actions:
|
|
|
163
167
|
label: Export Excel
|
|
164
168
|
standard_print:
|
|
165
169
|
label: Print
|
|
170
|
+
standard_customize:
|
|
171
|
+
label: Customize
|
|
166
172
|
groups:
|
|
167
173
|
system_information: System Information
|
|
@@ -2,6 +2,10 @@ name: base
|
|
|
2
2
|
label: base
|
|
3
3
|
description:
|
|
4
4
|
fields:
|
|
5
|
+
external_id:
|
|
6
|
+
label: 外部ID
|
|
7
|
+
help:
|
|
8
|
+
description:
|
|
5
9
|
owner:
|
|
6
10
|
label: 所有者
|
|
7
11
|
help:
|
|
@@ -163,5 +167,7 @@ actions:
|
|
|
163
167
|
label: 导出
|
|
164
168
|
standard_print:
|
|
165
169
|
label: 打印
|
|
170
|
+
standard_customize:
|
|
171
|
+
label: 自定义
|
|
166
172
|
groups:
|
|
167
173
|
system_information: 系统信息
|
|
@@ -35,7 +35,7 @@ listviews:
|
|
|
35
35
|
label: all
|
|
36
36
|
actions:
|
|
37
37
|
standard_new:
|
|
38
|
-
label:
|
|
38
|
+
label: Upload
|
|
39
39
|
standard_open_view:
|
|
40
40
|
label: Open View
|
|
41
41
|
online_preview:
|
|
@@ -48,3 +48,9 @@ actions:
|
|
|
48
48
|
label: Download
|
|
49
49
|
new_version:
|
|
50
50
|
label: Upgrade
|
|
51
|
+
CustomLabels:
|
|
52
|
+
cms_files_upload_success: Uploaded successfully
|
|
53
|
+
cms_files_pagedetail_tab_preview: Preview
|
|
54
|
+
cms_files_pagedetail_tab_detail: Details
|
|
55
|
+
cms_files_pagedetail_tab_historical_versions: Historical Versions
|
|
56
|
+
cms_files_pagedetail_tab_chatter: Comments
|
package/main/default/objectTranslations/cms_files.zh-CN/cms_files.zh-CN.objectTranslation.yml
CHANGED
|
@@ -35,7 +35,7 @@ listviews:
|
|
|
35
35
|
label: 所有
|
|
36
36
|
actions:
|
|
37
37
|
standard_new:
|
|
38
|
-
label:
|
|
38
|
+
label: 上传
|
|
39
39
|
standard_open_view:
|
|
40
40
|
label: 查看
|
|
41
41
|
online_preview:
|
|
@@ -48,3 +48,9 @@ actions:
|
|
|
48
48
|
label: 下载
|
|
49
49
|
new_version:
|
|
50
50
|
label: 上传新版本
|
|
51
|
+
CustomLabels:
|
|
52
|
+
cms_files_upload_success: 上传成功
|
|
53
|
+
cms_files_pagedetail_tab_preview: 预览
|
|
54
|
+
cms_files_pagedetail_tab_detail: 详细
|
|
55
|
+
cms_files_pagedetail_tab_historical_versions: 历史版本
|
|
56
|
+
cms_files_pagedetail_tab_chatter: 评论
|
|
@@ -48,3 +48,8 @@ listviews:
|
|
|
48
48
|
actions:
|
|
49
49
|
updateOrgs:
|
|
50
50
|
label: Update The Whole Company
|
|
51
|
+
CustomLabels:
|
|
52
|
+
company_actions_updateOrgs_confirmText_prefix: Update the company「
|
|
53
|
+
company_actions_updateOrgs_confirmText_suffix: 」info?
|
|
54
|
+
company_actions_updateOrgs_success: The company has updated successfully
|
|
55
|
+
company_actions_updateOrgs_failed: The company failed to update. Please try again later
|
|
@@ -48,3 +48,8 @@ listviews:
|
|
|
48
48
|
actions:
|
|
49
49
|
updateOrgs:
|
|
50
50
|
label: 更新组织
|
|
51
|
+
CustomLabels:
|
|
52
|
+
company_actions_updateOrgs_confirmText_prefix: 更新「
|
|
53
|
+
company_actions_updateOrgs_confirmText_suffix: 」组织信息?
|
|
54
|
+
company_actions_updateOrgs_success: 更新组织信息成功
|
|
55
|
+
company_actions_updateOrgs_failed: 更新组织信息失败,请稍后再试
|
|
@@ -150,6 +150,62 @@ listviews:
|
|
|
150
150
|
label: Outbox
|
|
151
151
|
draft:
|
|
152
152
|
label: Draft
|
|
153
|
+
pending:
|
|
154
|
+
label: In Progress
|
|
155
|
+
completed:
|
|
156
|
+
label: Finished
|
|
157
|
+
monitor:
|
|
158
|
+
label: Monitor
|
|
153
159
|
actions:
|
|
154
160
|
view_instance:
|
|
155
161
|
label: View Instance
|
|
162
|
+
instance_terminate:
|
|
163
|
+
label: Cancel Request
|
|
164
|
+
instance_save:
|
|
165
|
+
label: Save
|
|
166
|
+
instance_related:
|
|
167
|
+
label: Linked requests
|
|
168
|
+
instance_distribute:
|
|
169
|
+
label: Distribute
|
|
170
|
+
instance_submit:
|
|
171
|
+
label: Submit
|
|
172
|
+
instance_forward:
|
|
173
|
+
label: Request Forward
|
|
174
|
+
instance_cc:
|
|
175
|
+
label: Carbon Copy
|
|
176
|
+
instance_relocate:
|
|
177
|
+
label: Relocate
|
|
178
|
+
instance_new:
|
|
179
|
+
label: New Request
|
|
180
|
+
instance_delete:
|
|
181
|
+
label: Delete
|
|
182
|
+
instance_delete_many:
|
|
183
|
+
label: Delete
|
|
184
|
+
CustomLabels:
|
|
185
|
+
instance_action_new_dialog_title: Please select the process
|
|
186
|
+
instance_action_new_dialog_msg_success: Created successfully!
|
|
187
|
+
instance_action_new_dialog_msg_failed: Created failed!
|
|
188
|
+
instance_action_delete_many_msg_not_select: Please select at least one record
|
|
189
|
+
instance_action_instance_save_msg_success: Temporary storage successful
|
|
190
|
+
instance_action_instance_save_msg_failed: Temporary storage failed
|
|
191
|
+
instance_action_instance_distribute_dialog_sub_title: Distribute the currently selected file to the new process and continue to execute the approval operation
|
|
192
|
+
instance_action_instance_distribute_dialog_field_process: Process name
|
|
193
|
+
instance_action_instance_distribute_dialog_field_users: Distribute to
|
|
194
|
+
instance_action_instance_distribute_dialog_field_description: Description
|
|
195
|
+
instance_action_instance_distribute_dialog_field_to_self: Distribute it to yourself too
|
|
196
|
+
instance_action_instance_distribute_dialog_field_to_attachment: Save the original form as an attachment
|
|
197
|
+
instance_action_instance_distribute_dialog_field_related: Automatically create associated files
|
|
198
|
+
instance_action_instance_cc_dialog_title_prefix: "Current Step:"
|
|
199
|
+
instance_action_instance_cc_dialog_field_users: Carbon Copy To
|
|
200
|
+
instance_action_instance_cc_dialog_field_description: Carbon Copy Description
|
|
201
|
+
instance_action_instance_cc_dialog_sub_title: Forward the currently selected file to the new process and continue to execute the approval operation.
|
|
202
|
+
instance_action_terminate_dialog_title: Cancel Request
|
|
203
|
+
instance_action_terminate_dialog_content: Please fill in the reasons for canceling the application
|
|
204
|
+
instance_action_terminate_dialog_msg_success: The cancellation application has been successful!
|
|
205
|
+
instance_action_terminate_dialog_msg_failed: The cancellation application failed.
|
|
206
|
+
instance_action_instance_relocate_dialog_title: Relocate
|
|
207
|
+
instance_action_instance_relocate_dialog_title_prefix: "Current Step:"
|
|
208
|
+
instance_action_instance_relocate_dialog_field_reason: Please fill in the reasons for the Relocating
|
|
209
|
+
instance_action_relocate_dialog_msg_success: Relocated successful
|
|
210
|
+
instance_action_relocate_dialog_msg_failed: Relocated failed
|
|
211
|
+
|
package/main/default/objectTranslations/instances.zh-CN/instances.zh-CN.objectTranslation.yml
CHANGED
|
@@ -150,6 +150,59 @@ listviews:
|
|
|
150
150
|
label: 已办文件
|
|
151
151
|
draft:
|
|
152
152
|
label: 草稿
|
|
153
|
+
pending:
|
|
154
|
+
label: 进行中
|
|
155
|
+
completed:
|
|
156
|
+
label: 已完成
|
|
157
|
+
monitor:
|
|
158
|
+
label: 监控箱
|
|
153
159
|
actions:
|
|
154
160
|
view_instance:
|
|
155
161
|
label: 查看审批单
|
|
162
|
+
instance_terminate:
|
|
163
|
+
label: 取消申请
|
|
164
|
+
instance_save:
|
|
165
|
+
label: 保存
|
|
166
|
+
instance_related:
|
|
167
|
+
label: 关联文件
|
|
168
|
+
instance_distribute:
|
|
169
|
+
label: 分发
|
|
170
|
+
instance_submit:
|
|
171
|
+
label: 发送
|
|
172
|
+
instance_forward:
|
|
173
|
+
label: 转发
|
|
174
|
+
instance_cc:
|
|
175
|
+
label: 传阅
|
|
176
|
+
instance_relocate:
|
|
177
|
+
label: 重定位
|
|
178
|
+
instance_new:
|
|
179
|
+
label: 新建
|
|
180
|
+
instance_delete_many:
|
|
181
|
+
label: 删除
|
|
182
|
+
CustomLabels:
|
|
183
|
+
instance_action_new_dialog_title: 请选择流程
|
|
184
|
+
instance_action_new_dialog_msg_success: 创建成功!
|
|
185
|
+
instance_action_new_dialog_msg_failed: 创建失败!
|
|
186
|
+
instance_action_delete_many_msg_not_select: 请至少选择一条记录
|
|
187
|
+
instance_action_instance_save_msg_success: 暂存成功
|
|
188
|
+
instance_action_instance_save_msg_failed: 暂存失败
|
|
189
|
+
instance_action_instance_distribute_dialog_sub_title: 将当前选中的文件分发到新的流程,继续执行审批操作
|
|
190
|
+
instance_action_instance_distribute_dialog_field_process: 流程名称
|
|
191
|
+
instance_action_instance_distribute_dialog_field_users: 分发对象
|
|
192
|
+
instance_action_instance_distribute_dialog_field_description: 备注
|
|
193
|
+
instance_action_instance_distribute_dialog_field_to_self: 同时分发给自己
|
|
194
|
+
instance_action_instance_distribute_dialog_field_to_attachment: 将原表单存储为附件
|
|
195
|
+
instance_action_instance_distribute_dialog_field_related: 自动创建关联文件
|
|
196
|
+
instance_action_instance_cc_dialog_title_prefix: 当前步骤:
|
|
197
|
+
instance_action_instance_cc_dialog_field_users: 传阅对象
|
|
198
|
+
instance_action_instance_cc_dialog_field_description: 传阅说明
|
|
199
|
+
instance_action_instance_cc_dialog_sub_title: 将当前选中的文件转发到新的流程,继续执行审批操作
|
|
200
|
+
instance_action_terminate_dialog_title: 取消申请
|
|
201
|
+
instance_action_terminate_dialog_content: 请填写取消申请的理由
|
|
202
|
+
instance_action_terminate_dialog_msg_success: 取消申请成功!
|
|
203
|
+
instance_action_terminate_dialog_msg_failed: 取消申请失败
|
|
204
|
+
instance_action_instance_relocate_dialog_title: 重定位
|
|
205
|
+
instance_action_instance_relocate_dialog_title_prefix: 当前步骤:
|
|
206
|
+
instance_action_instance_relocate_dialog_field_reason: 请填写重定位的理由
|
|
207
|
+
instance_action_relocate_dialog_msg_success: 重定位成功
|
|
208
|
+
instance_action_relocate_dialog_msg_failed: 重定位失败
|
package/main/default/objectTranslations/object_actions.en/object_actions.en.objectTranslation.yml
CHANGED
|
@@ -66,11 +66,16 @@ fields:
|
|
|
66
66
|
label: Execute Script
|
|
67
67
|
help:
|
|
68
68
|
description:
|
|
69
|
+
is_system:
|
|
70
|
+
label: System
|
|
69
71
|
listviews:
|
|
70
72
|
all:
|
|
71
73
|
label: All
|
|
72
74
|
customize:
|
|
73
75
|
label: Customize
|
|
76
|
+
actions:
|
|
77
|
+
showDesign:
|
|
78
|
+
label: Show Design
|
|
74
79
|
CustomLabels:
|
|
75
80
|
_object_actions_none_todo: >-
|
|
76
81
|
The action instance is not configured, please configure it in the code.<a
|
|
@@ -16,7 +16,7 @@ fields:
|
|
|
16
16
|
description:
|
|
17
17
|
name:
|
|
18
18
|
label: API 名称
|
|
19
|
-
help: API
|
|
19
|
+
help: API 名称只能包含小写字母、数字
|
|
20
20
|
description:
|
|
21
21
|
is_enable:
|
|
22
22
|
label: 启用
|
|
@@ -63,11 +63,16 @@ fields:
|
|
|
63
63
|
label: 执行的脚本
|
|
64
64
|
help:
|
|
65
65
|
description:
|
|
66
|
+
is_system:
|
|
67
|
+
label: 系统
|
|
66
68
|
listviews:
|
|
67
69
|
all:
|
|
68
70
|
label: 所有
|
|
69
71
|
customize:
|
|
70
72
|
label: 自定义
|
|
73
|
+
actions:
|
|
74
|
+
showDesign:
|
|
75
|
+
label: 设计器
|
|
71
76
|
CustomLabels:
|
|
72
77
|
_object_actions_none_todo: >-
|
|
73
78
|
未配置操作按钮实例,请在代码中配置。<a target='_blank'
|
package/main/default/objectTranslations/object_fields.en/object_fields.en.objectTranslation.yml
CHANGED
|
@@ -16,11 +16,7 @@ fields:
|
|
|
16
16
|
description:
|
|
17
17
|
name:
|
|
18
18
|
label: API Name
|
|
19
|
-
help:
|
|
20
|
-
Can only contain lowercase letters and numbers, must start with a letter,
|
|
21
|
-
cannot end with an underscore character or contain two consecutive
|
|
22
|
-
underscore characters
|
|
23
|
-
description:
|
|
19
|
+
help:
|
|
24
20
|
type:
|
|
25
21
|
label: Type
|
|
26
22
|
help:
|
|
@@ -4,8 +4,8 @@ description:
|
|
|
4
4
|
fields:
|
|
5
5
|
_name:
|
|
6
6
|
label: 字段名
|
|
7
|
-
help:
|
|
8
|
-
description:
|
|
7
|
+
help:
|
|
8
|
+
description: 数据库中的字段名,只能包含小写字母、数字
|
|
9
9
|
amis:
|
|
10
10
|
label: Amis 配置
|
|
11
11
|
help: 使用 amis 配置字段显示样式
|
|
@@ -241,7 +241,7 @@ fields:
|
|
|
241
241
|
description:
|
|
242
242
|
name:
|
|
243
243
|
label: API 名称
|
|
244
|
-
help: API
|
|
244
|
+
help: API 名称只能包含小写字母、数字
|
|
245
245
|
description:
|
|
246
246
|
object:
|
|
247
247
|
label: 所属对象
|
|
@@ -189,6 +189,9 @@ fields:
|
|
|
189
189
|
label: Adaptor
|
|
190
190
|
help: "Function signature: (payload, response, api)=>payload"
|
|
191
191
|
description:
|
|
192
|
+
extra_columns:
|
|
193
|
+
label: Extra Columns
|
|
194
|
+
description: Query only through the interface, not displayed in the list.
|
|
192
195
|
groups:
|
|
193
196
|
advanced: Advanced
|
|
194
197
|
share_rules: Share Rules
|
|
@@ -196,7 +199,6 @@ groups:
|
|
|
196
199
|
sort: Sort
|
|
197
200
|
filters: Filters
|
|
198
201
|
search_term: Search Term
|
|
199
|
-
data_interface: Data Interface
|
|
200
202
|
listviews:
|
|
201
203
|
all:
|
|
202
204
|
label: All List View
|
|
@@ -8,7 +8,7 @@ fields:
|
|
|
8
8
|
description:
|
|
9
9
|
name:
|
|
10
10
|
label: API 名称
|
|
11
|
-
help: API
|
|
11
|
+
help: API 名称只能包含小写字母、数字
|
|
12
12
|
description:
|
|
13
13
|
object_name:
|
|
14
14
|
label: 对象
|
|
@@ -184,14 +184,16 @@ fields:
|
|
|
184
184
|
label: 接收适配器
|
|
185
185
|
help: "函数签名: (payload, response, api) => payload"
|
|
186
186
|
description:
|
|
187
|
+
extra_columns:
|
|
188
|
+
label: 其他字段
|
|
189
|
+
description: 仅通过接口查询, 在列表中不显示
|
|
187
190
|
groups:
|
|
188
191
|
advanced: 高级
|
|
189
|
-
share_rules:
|
|
192
|
+
share_rules: 共享
|
|
190
193
|
show_columns: 显示列
|
|
191
194
|
sort: 排序
|
|
192
195
|
filters: 过滤
|
|
193
196
|
search_term: 搜索项
|
|
194
|
-
data_interface: 数据接口
|
|
195
197
|
listviews:
|
|
196
198
|
all:
|
|
197
199
|
label: 全部
|
|
@@ -17,17 +17,17 @@ fields:
|
|
|
17
17
|
(false).
|
|
18
18
|
description:
|
|
19
19
|
description:
|
|
20
|
-
label:
|
|
20
|
+
label: Description
|
|
21
21
|
help:
|
|
22
22
|
description:
|
|
23
23
|
error_condition_formula:
|
|
24
|
-
label:
|
|
24
|
+
label: Error Condition Formula
|
|
25
25
|
help: >-
|
|
26
26
|
The formula defined in the validation rule. If the formula returns a value
|
|
27
27
|
of true, an error message is displayed.
|
|
28
28
|
description:
|
|
29
29
|
error_message:
|
|
30
|
-
label:
|
|
30
|
+
label: Error Message
|
|
31
31
|
help: >-
|
|
32
32
|
The message that appears if the validation rule fails. The message must be
|
|
33
33
|
255 characters or less.
|
package/main/default/objectTranslations/object_webhooks.en/object_webhooks.en.objectTranslation.yml
CHANGED
|
@@ -10,21 +10,27 @@ fields:
|
|
|
10
10
|
label: Object
|
|
11
11
|
help:
|
|
12
12
|
description:
|
|
13
|
-
|
|
14
|
-
label:
|
|
13
|
+
event:
|
|
14
|
+
label: When to trigger
|
|
15
15
|
help:
|
|
16
16
|
options:
|
|
17
|
-
- label:
|
|
17
|
+
- label: The record has been created.
|
|
18
18
|
value: create
|
|
19
|
-
- label:
|
|
19
|
+
- label: The record has been updated.
|
|
20
20
|
value: update
|
|
21
|
-
- label:
|
|
21
|
+
- label: The record has been created or updated
|
|
22
|
+
value: createAndUpdate
|
|
23
|
+
- label: The record has been deleted.
|
|
22
24
|
value: delete
|
|
23
25
|
description:
|
|
26
|
+
condition:
|
|
27
|
+
label: Admission conditions
|
|
28
|
+
help: Specify access conditions to reduce the number of triggered executions. Minimizing the number of unnecessary executions will help save resources. If you create something that will be triggered when the record is updated, we recommend defining the admission conditions first. Then, for when to run for the updated record, select the option "Only when the updated record meets the condition requirements".
|
|
29
|
+
description:
|
|
24
30
|
fields:
|
|
25
31
|
label: Fields
|
|
26
32
|
help:
|
|
27
|
-
description:
|
|
33
|
+
description: If not configured, push all fields
|
|
28
34
|
payload_url:
|
|
29
35
|
label: Payload URL
|
|
30
36
|
help:
|
|
@@ -10,21 +10,27 @@ fields:
|
|
|
10
10
|
label: 对象
|
|
11
11
|
help:
|
|
12
12
|
description:
|
|
13
|
-
|
|
14
|
-
label:
|
|
13
|
+
event:
|
|
14
|
+
label: 何时触发
|
|
15
15
|
help:
|
|
16
16
|
options:
|
|
17
|
-
- label:
|
|
17
|
+
- label: 记录已创建
|
|
18
18
|
value: create
|
|
19
|
-
- label:
|
|
19
|
+
- label: 记录已更新
|
|
20
20
|
value: update
|
|
21
|
-
- label:
|
|
21
|
+
- label: 记录已创建或已更新
|
|
22
|
+
value: createAndUpdate
|
|
23
|
+
- label: 记录已删除
|
|
22
24
|
value: delete
|
|
23
25
|
description:
|
|
26
|
+
condition:
|
|
27
|
+
label: 准入条件
|
|
28
|
+
help: 指定准入条件,减少触发执行次数。最大限度地减少非必要执行次数,这将有助于节省资源。如果您创建将在记录更新时触发,我们建议先定义准入条件。然后,对于何时为更新的记录运行,选择仅在更新记录满足条件要求时选项。
|
|
29
|
+
description:
|
|
24
30
|
fields:
|
|
25
31
|
label: 推送字段
|
|
26
32
|
help:
|
|
27
|
-
description:
|
|
33
|
+
description: 如果未配置, 则推送所有字段
|
|
28
34
|
payload_url:
|
|
29
35
|
label: URL
|
|
30
36
|
help:
|