@steedos/standard-object-database 2.6.2-beta.20 → 2.6.2-beta.22
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.
|
@@ -64,7 +64,7 @@ fields:
|
|
|
64
64
|
}
|
|
65
65
|
group: general_information
|
|
66
66
|
buttons:
|
|
67
|
-
type:
|
|
67
|
+
type: table
|
|
68
68
|
blackbox: true
|
|
69
69
|
is_wide: true
|
|
70
70
|
depend_on:
|
|
@@ -76,6 +76,31 @@ fields:
|
|
|
76
76
|
reference_to_field: name
|
|
77
77
|
depend_on:
|
|
78
78
|
- object_name
|
|
79
|
+
amis:
|
|
80
|
+
{
|
|
81
|
+
"autoComplete":
|
|
82
|
+
{
|
|
83
|
+
"method": "get",
|
|
84
|
+
"url": "${context.rootUrl}/service/api/amis-metadata-objects/objects/${object_name}/actions/options",
|
|
85
|
+
"sendOn": "!!this.object_name",
|
|
86
|
+
"headers":
|
|
87
|
+
{
|
|
88
|
+
"Authorization": "Bearer ${context.tenantId},${context.authToken}",
|
|
89
|
+
},
|
|
90
|
+
"cache": 120000,
|
|
91
|
+
},
|
|
92
|
+
"source":
|
|
93
|
+
{
|
|
94
|
+
"method": "get",
|
|
95
|
+
"url": "${context.rootUrl}/service/api/amis-metadata-objects/objects/${object_name}/actions/options",
|
|
96
|
+
"sendOn": "!!this.object_name",
|
|
97
|
+
"headers":
|
|
98
|
+
{
|
|
99
|
+
"Authorization": "Bearer ${context.tenantId},${context.authToken}",
|
|
100
|
+
},
|
|
101
|
+
"cache": 120000,
|
|
102
|
+
},
|
|
103
|
+
}
|
|
79
104
|
buttons.$.visible_on:
|
|
80
105
|
label: Visible on
|
|
81
106
|
type: textarea
|
|
@@ -85,10 +110,13 @@ fields:
|
|
|
85
110
|
blackbox: true
|
|
86
111
|
is_wide: true
|
|
87
112
|
hidden: false
|
|
113
|
+
label: 字段分组
|
|
88
114
|
field_groups.$.group_name:
|
|
89
115
|
type: text
|
|
116
|
+
label: 名称
|
|
90
117
|
field_groups.$.visible_on:
|
|
91
118
|
type: text
|
|
119
|
+
label: 显示条件
|
|
92
120
|
fields:
|
|
93
121
|
type: grid
|
|
94
122
|
is_wide: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.6.2-beta.
|
|
3
|
+
"version": "2.6.2-beta.22",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@steedos-widgets/amis-lib": "^1.0.22",
|
|
15
|
-
"@steedos/standard-objects": "2.6.2-beta.
|
|
15
|
+
"@steedos/standard-objects": "2.6.2-beta.22"
|
|
16
16
|
},
|
|
17
17
|
"repository": {},
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "2452cd3e2c0ce31a23761cab35ca44528aed7524"
|
|
20
20
|
}
|