@steedos/standard-process-approval 2.5.0-beta.8 → 2.5.0-beta.9
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/objectTranslations/process_instance_history.zh-CN/process_instance_history.zh-CN.objectTranslation.yml +38 -38
- package/main/default/objects/process_instance_history/pages/process_instance_detail.page.amis.json +148 -0
- package/main/default/objects/process_instance_history/pages/process_instance_detail.page.yml +12 -0
- package/package.json +3 -3
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
name: process_instance_history
|
|
2
|
-
label:
|
|
3
|
-
description:
|
|
2
|
+
label: 批准步骤
|
|
3
|
+
description:
|
|
4
4
|
fields:
|
|
5
5
|
name:
|
|
6
6
|
label: 步骤名称
|
|
7
|
-
help:
|
|
8
|
-
description:
|
|
7
|
+
help:
|
|
8
|
+
description:
|
|
9
9
|
created_by:
|
|
10
10
|
label: 提交人
|
|
11
|
-
help:
|
|
12
|
-
description:
|
|
11
|
+
help:
|
|
12
|
+
description:
|
|
13
13
|
process_instance:
|
|
14
|
-
label:
|
|
15
|
-
help:
|
|
16
|
-
description:
|
|
14
|
+
label:
|
|
15
|
+
help:
|
|
16
|
+
description:
|
|
17
17
|
process_instance_node:
|
|
18
|
-
label:
|
|
19
|
-
help:
|
|
20
|
-
description:
|
|
18
|
+
label:
|
|
19
|
+
help:
|
|
20
|
+
description:
|
|
21
21
|
step_status:
|
|
22
22
|
label: 状态
|
|
23
|
-
help:
|
|
23
|
+
help:
|
|
24
24
|
options:
|
|
25
25
|
- label: 已批准
|
|
26
26
|
value: approved
|
|
@@ -40,47 +40,47 @@ fields:
|
|
|
40
40
|
value: removed
|
|
41
41
|
- label: 已提交
|
|
42
42
|
value: started
|
|
43
|
-
description:
|
|
43
|
+
description:
|
|
44
44
|
original_actor:
|
|
45
45
|
label: 被分配人
|
|
46
|
-
help:
|
|
47
|
-
description:
|
|
46
|
+
help:
|
|
47
|
+
description:
|
|
48
48
|
actor:
|
|
49
49
|
label: 实际审批人
|
|
50
|
-
help:
|
|
51
|
-
description:
|
|
50
|
+
help:
|
|
51
|
+
description:
|
|
52
52
|
target_object:
|
|
53
53
|
label: 审批细节
|
|
54
|
-
help:
|
|
55
|
-
description:
|
|
54
|
+
help:
|
|
55
|
+
description:
|
|
56
56
|
comments:
|
|
57
57
|
label: 意见
|
|
58
|
-
help:
|
|
59
|
-
description:
|
|
58
|
+
help:
|
|
59
|
+
description:
|
|
60
60
|
step_node:
|
|
61
|
-
label:
|
|
62
|
-
help:
|
|
63
|
-
description:
|
|
61
|
+
label:
|
|
62
|
+
help:
|
|
63
|
+
description:
|
|
64
64
|
elapsed_time_in_days:
|
|
65
|
-
label:
|
|
66
|
-
help:
|
|
67
|
-
description:
|
|
65
|
+
label:
|
|
66
|
+
help:
|
|
67
|
+
description:
|
|
68
68
|
elapsed_time_in_hours:
|
|
69
|
-
label:
|
|
70
|
-
help:
|
|
71
|
-
description:
|
|
69
|
+
label:
|
|
70
|
+
help:
|
|
71
|
+
description:
|
|
72
72
|
elapsed_time_in_minutes:
|
|
73
|
-
label:
|
|
74
|
-
help:
|
|
75
|
-
description:
|
|
73
|
+
label:
|
|
74
|
+
help:
|
|
75
|
+
description:
|
|
76
76
|
modified:
|
|
77
77
|
label: 修改时间
|
|
78
|
-
help:
|
|
79
|
-
description:
|
|
78
|
+
help:
|
|
79
|
+
description:
|
|
80
80
|
modified_by:
|
|
81
81
|
label: 修改人
|
|
82
|
-
help:
|
|
83
|
-
description:
|
|
82
|
+
help:
|
|
83
|
+
description:
|
|
84
84
|
listviews:
|
|
85
85
|
all:
|
|
86
86
|
label: 所有
|
package/main/default/objects/process_instance_history/pages/process_instance_detail.page.amis.json
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "page",
|
|
3
|
+
"body": [
|
|
4
|
+
{
|
|
5
|
+
"type": "service",
|
|
6
|
+
"body": [
|
|
7
|
+
{
|
|
8
|
+
"type": "steedos-record-detail-header",
|
|
9
|
+
"label": "标题面板",
|
|
10
|
+
"objectApiName": "${objectName}",
|
|
11
|
+
"recordId": "${recordId}",
|
|
12
|
+
"onEvent": {
|
|
13
|
+
"recordLoaded": {
|
|
14
|
+
"actions": [
|
|
15
|
+
{
|
|
16
|
+
"actionType": "reload",
|
|
17
|
+
"data": {
|
|
18
|
+
"name": "${event.data.record.name}",
|
|
19
|
+
"record": "${event.data.record}",
|
|
20
|
+
"recordLoaded": true
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"actionType": "reload",
|
|
25
|
+
"componentId": "page_readonly_process_instance_history_header",
|
|
26
|
+
"data": {
|
|
27
|
+
"name": "${event.data.record.name}",
|
|
28
|
+
"record": "${event.data.record}",
|
|
29
|
+
"recordLoaded": true
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"id": "u:3142da7da301"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "tabs",
|
|
39
|
+
"id": "u:ab1b39f4011e",
|
|
40
|
+
"tabs": [
|
|
41
|
+
{
|
|
42
|
+
"title": "详情",
|
|
43
|
+
"body": [
|
|
44
|
+
{
|
|
45
|
+
"id": "u:731d4077557a",
|
|
46
|
+
"type": "group",
|
|
47
|
+
"body": [
|
|
48
|
+
{
|
|
49
|
+
"objectApiName": "${target_object.o}",
|
|
50
|
+
"type": "steedos-object-form",
|
|
51
|
+
"id": "u:d1f14744310b",
|
|
52
|
+
"label": "对象表单",
|
|
53
|
+
"recordId": "${target_object.ids[0]}",
|
|
54
|
+
"visableOn": "${!!target_object}",
|
|
55
|
+
"className": "antd-Form antd-Form--normal steedos-amis-form bg-white",
|
|
56
|
+
"mode": "read"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "steedos-object-form",
|
|
62
|
+
"id": "u:d1f14744310b",
|
|
63
|
+
"className": "antd-Form antd-Form--normal steedos-amis-form bg-white hidden",
|
|
64
|
+
"label": "对象表单",
|
|
65
|
+
"objectApiName": "${objectName}",
|
|
66
|
+
"recordId": "${recordId}"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"id": "u:78283d8a88a6",
|
|
70
|
+
"className": "px-0"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"title": "相关表",
|
|
74
|
+
"body": [
|
|
75
|
+
{
|
|
76
|
+
"type": "group",
|
|
77
|
+
"id": "u:731d4077557a",
|
|
78
|
+
"className": "px-0",
|
|
79
|
+
"body": [
|
|
80
|
+
{
|
|
81
|
+
"type": "steedos-object-related-lists",
|
|
82
|
+
"id": "u:f3101a683d9e",
|
|
83
|
+
"label": "所有相关表",
|
|
84
|
+
"recordId": "${target_object.ids[0]}",
|
|
85
|
+
"objectApiName": "${target_object.o}",
|
|
86
|
+
"visableOn": "${!!target_object}"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"id": "u:2828559659a3"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"title": "当前记录",
|
|
95
|
+
"body": [
|
|
96
|
+
{
|
|
97
|
+
"type": "steedos-object-form",
|
|
98
|
+
"id": "u:d1f14744310b",
|
|
99
|
+
"className": "antd-Form antd-Form--normal steedos-amis-form bg-white",
|
|
100
|
+
"label": "对象表单",
|
|
101
|
+
"objectApiName": "${objectName}",
|
|
102
|
+
"recordId": "${recordId}"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"id": "u:f3d64f216153",
|
|
106
|
+
"className": "px-0"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"className": "antd-Tabs antd-Tabs--line bg-white border-slate-300 p-4 sm:border sm:mt-3 sm:rounded sm:shadow",
|
|
110
|
+
"toolbarClassName": "",
|
|
111
|
+
"contentClassName": ""
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"data": {
|
|
115
|
+
"_master.objectName": "${objectName}",
|
|
116
|
+
"_master.recordId": "${recordId}"
|
|
117
|
+
},
|
|
118
|
+
"onEvent": {
|
|
119
|
+
"recordLoaded": {
|
|
120
|
+
"actions": [
|
|
121
|
+
{
|
|
122
|
+
"actionType": "reload",
|
|
123
|
+
"data": {
|
|
124
|
+
"name": "${record.name}",
|
|
125
|
+
"_master.record": "${record}",
|
|
126
|
+
"_master.objectName": "${objectName}",
|
|
127
|
+
"_master.recordId": "${recordId}"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"id": "u:be317b257920",
|
|
134
|
+
"messages": {}
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"regions": [
|
|
138
|
+
"body"
|
|
139
|
+
],
|
|
140
|
+
"data": {
|
|
141
|
+
"objectName": "process_instance_history",
|
|
142
|
+
"recordId": "oaPathAspPZbjjjpm",
|
|
143
|
+
"context": {}
|
|
144
|
+
},
|
|
145
|
+
"id": "page_process_instance_history_record_detail",
|
|
146
|
+
"name": "page_process_instance_history_record_detail",
|
|
147
|
+
"bodyClassName": ""
|
|
148
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
name: process_instance_detail
|
|
2
|
+
is_active: true
|
|
3
|
+
label: 批准过程记录详情页
|
|
4
|
+
object_name: process_instance_history
|
|
5
|
+
pageAssignments:
|
|
6
|
+
- type: orgDefault
|
|
7
|
+
page: process_instance_detail
|
|
8
|
+
desktop: true
|
|
9
|
+
mobile: true
|
|
10
|
+
render_engine: amis
|
|
11
|
+
type: record
|
|
12
|
+
widgets: []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-process-approval",
|
|
3
|
-
"version": "2.5.0-beta.
|
|
3
|
+
"version": "2.5.0-beta.9",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"steedos"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@steedos/process": "2.5.0-beta.
|
|
13
|
+
"@steedos/process": "2.5.0-beta.9"
|
|
14
14
|
},
|
|
15
15
|
"description": "steedos package",
|
|
16
16
|
"repository": {},
|
|
17
17
|
"license": "MIT",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "a2623b433dd42632dc54d23c51b718bd4d1a2fdc"
|
|
19
19
|
}
|