@steedos/standard-process-approval 2.6.4-beta.9 → 2.6.5

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "type": "page",
2
+ "type": "steedos-record-service",
3
3
  "body": [
4
4
  {
5
5
  "type": "service",
@@ -9,36 +9,11 @@
9
9
  "label": "标题面板",
10
10
  "objectApiName": "${objectName}",
11
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
- "expression": "${event.data.objectName == \"process_instance_history\"}"
23
- },
24
- {
25
- "actionType": "reload",
26
- "componentId": "page_readonly_process_instance_history_header",
27
- "data": {
28
- "name": "${event.data.record.name}",
29
- "record": "${event.data.record}",
30
- "recordLoaded": true
31
- },
32
- "expression": "${event.data.objectName == \"process_instance_history\"}"
33
- }
34
- ]
35
- }
36
- },
37
- "id": "u:3142da7da301"
12
+ "id": "u:229980175758"
38
13
  },
39
14
  {
40
15
  "type": "tabs",
41
- "id": "u:ab1b39f4011e",
16
+ "className": "sm:mt-3 bg-white sm:rounded sm:border border-gray-300 p-4",
42
17
  "tabs": [
43
18
  {
44
19
  "title": "详情",
@@ -58,14 +33,6 @@
58
33
  "mode": "read"
59
34
  }
60
35
  ]
61
- },
62
- {
63
- "type": "steedos-object-form",
64
- "id": "u:d1f14744310b",
65
- "className": "antd-Form antd-Form--normal steedos-amis-form bg-white hidden",
66
- "label": "对象表单",
67
- "objectApiName": "${objectName}",
68
- "recordId": "${recordId}"
69
36
  }
70
37
  ],
71
38
  "id": "u:78283d8a88a6",
@@ -92,26 +59,24 @@
92
59
  ],
93
60
  "id": "u:2828559659a3"
94
61
  },
95
- {
96
- "title": "当前记录",
97
- "body": [
98
- {
99
- "type": "steedos-object-form",
100
- "id": "u:d1f14744310b",
101
- "className": "antd-Form antd-Form--normal steedos-amis-form bg-white",
102
- "label": "对象表单",
103
- "objectApiName": "${objectName}",
104
- "recordId": "${recordId}"
105
- }
106
- ],
107
- "id": "u:f3d64f216153",
108
- "className": "px-0"
109
- }
62
+ {
63
+ "title": "当前记录",
64
+ "className": "px-0 py-4",
65
+ "body": [
66
+ {
67
+ "type": "steedos-object-form",
68
+ "label": "对象表单",
69
+ "objectApiName": "${objectName}",
70
+ "recordId": "${recordId}",
71
+ "appId": "${appId}",
72
+ "id": "u:417063b0c22f"
73
+ }
74
+ ],
75
+ "id": "u:5d4e7e3f6ecc"
76
+ }
110
77
  ],
111
- "className": "antd-Tabs antd-Tabs--line bg-white border-gray-300 p-4 sm:border sm:mt-3 sm:rounded sm:shadow",
112
- "toolbarClassName": "",
113
- "contentClassName": ""
114
- }
78
+ "id": "u:e1251a3f5a0f"
79
+ }
115
80
  ],
116
81
  "data": {
117
82
  "_master.objectName": "${objectName}",
@@ -137,14 +102,21 @@
137
102
  }
138
103
  ],
139
104
  "regions": [
140
- "body"
105
+ "body"
141
106
  ],
142
107
  "data": {
143
- "objectName": "process_instance_history",
144
- "recordId": "oaPathAspPZbjjjpm",
145
- "context": {}
108
+ "objectName": "process_instance_history",
109
+ "recordId": "sJjFfTionvxrwrdF8",
110
+ "context": {
111
+ "rootUrl": "http://127.0.0.1:5900",
112
+ "tenantId": "63ed8fb288feeecd0165843d",
113
+ "userId": "1852bcb9-a3cb-4d04-905b-1cd12e4cdb3b",
114
+ "authToken": "655db0535cc3e217056b8fcb0aa270b8618128df0daad0076f9b90c4041a537f4aef46ed54131dc642afeb"
115
+ }
146
116
  },
147
117
  "id": "page_process_instance_history_record_detail",
148
118
  "name": "page_process_instance_history_record_detail",
149
- "bodyClassName": ""
119
+ "objectApiName": "${objectName}",
120
+ "bodyClassName": "",
121
+ "className": "object-detail-page"
150
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-process-approval",
3
- "version": "2.6.4-beta.9",
3
+ "version": "2.6.5",
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.6.4-beta.9"
13
+ "@steedos/process": "2.6.5"
14
14
  },
15
15
  "description": "steedos package",
16
16
  "repository": {},
17
17
  "license": "MIT",
18
- "gitHead": "da7406d5127446b0e745b5c834d9646b5ab219e7"
18
+ "gitHead": "977b48666fda5a16f911d9b981da6b8b37a57e5c"
19
19
  }