@steedos/standard-permission 3.0.0-beta.22 → 3.0.0-beta.23
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.
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "service",
|
|
3
|
+
"body": [
|
|
4
|
+
{
|
|
5
|
+
"type": "steedos-object-form",
|
|
6
|
+
"label": "对象表单",
|
|
7
|
+
"objectApiName": "restriction_rules",
|
|
8
|
+
"recordId": "${recordId}",
|
|
9
|
+
"className": "",
|
|
10
|
+
"enableTabs": false,
|
|
11
|
+
"mode": "edit",
|
|
12
|
+
"layout": "normal",
|
|
13
|
+
"tabsMode": "",
|
|
14
|
+
"onEvent": {
|
|
15
|
+
"inited": {
|
|
16
|
+
"actions": [
|
|
17
|
+
{
|
|
18
|
+
"actionType": "custom",
|
|
19
|
+
"script": "event.data.formulaVariables = SteedosUI.getFormulaVariables();"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"actionType": "setValue",
|
|
23
|
+
"args": {
|
|
24
|
+
"value": {
|
|
25
|
+
"formulaVariables": "${event.data.formulaVariables}"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"componentId": "page_restriction_rules_form"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"fieldsExtend": {
|
|
34
|
+
"entry_criteria": {
|
|
35
|
+
"amis": {
|
|
36
|
+
"type": "input-formula",
|
|
37
|
+
"evalMode": false,
|
|
38
|
+
"variableMode": "tabs",
|
|
39
|
+
"variables": "${formulaVariables}",
|
|
40
|
+
"visibleOn": "${formulaVariables}"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"data": {},
|
|
47
|
+
"id": "page_restriction_rules_form",
|
|
48
|
+
"name": "page_restriction_rules_form",
|
|
49
|
+
"dsType": "api"
|
|
50
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
name: restriction_rules_form
|
|
2
|
+
is_active: true
|
|
3
|
+
label: 限制规则表单
|
|
4
|
+
locked: false
|
|
5
|
+
object_name: restriction_rules
|
|
6
|
+
pageAssignments:
|
|
7
|
+
- type: orgDefault
|
|
8
|
+
page: restriction_rules_form
|
|
9
|
+
desktop: true
|
|
10
|
+
mobile: true
|
|
11
|
+
render_engine: amis
|
|
12
|
+
type: form
|
|
13
|
+
widgets: []
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "service",
|
|
3
|
+
"body": [
|
|
4
|
+
{
|
|
5
|
+
"type": "steedos-object-form",
|
|
6
|
+
"label": "对象表单",
|
|
7
|
+
"objectApiName": "share_rules",
|
|
8
|
+
"recordId": "${recordId}",
|
|
9
|
+
"className": "",
|
|
10
|
+
"enableTabs": false,
|
|
11
|
+
"mode": "edit",
|
|
12
|
+
"layout": "normal",
|
|
13
|
+
"tabsMode": "",
|
|
14
|
+
"onEvent": {
|
|
15
|
+
"inited": {
|
|
16
|
+
"actions": [
|
|
17
|
+
{
|
|
18
|
+
"actionType": "custom",
|
|
19
|
+
"script": "event.data.formulaVariables = SteedosUI.getFormulaVariables();"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"actionType": "setValue",
|
|
23
|
+
"args": {
|
|
24
|
+
"value": {
|
|
25
|
+
"formulaVariables": "${event.data.formulaVariables}"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"componentId": "page_share_rules_form"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"fieldsExtend": {
|
|
34
|
+
"entry_criteria": {
|
|
35
|
+
"amis": {
|
|
36
|
+
"type": "input-formula",
|
|
37
|
+
"evalMode": false,
|
|
38
|
+
"variableMode": "tabs",
|
|
39
|
+
"variables": "${formulaVariables}",
|
|
40
|
+
"visibleOn": "${formulaVariables}"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"data": {},
|
|
47
|
+
"id": "page_share_rules_form",
|
|
48
|
+
"name": "page_share_rules_form",
|
|
49
|
+
"dsType": "api"
|
|
50
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-permission",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.23",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"repository": {},
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "3ce2ca43f1e0a5188d8f3ac573f13d43d2907b6e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"clone": "^2.1.2"
|
|
18
18
|
}
|