@steedos/standard-object-database 2.6.7-beta.11 → 2.6.7-beta.13
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,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author: baozhoutao@steedos.com
|
|
3
3
|
* @Date: 2022-03-28 09:35:34
|
|
4
|
-
* @LastEditors:
|
|
5
|
-
* @LastEditTime:
|
|
4
|
+
* @LastEditors: liaodaxue
|
|
5
|
+
* @LastEditTime: 2024-02-18 14:56:30
|
|
6
6
|
* @Description:
|
|
7
7
|
*/
|
|
8
8
|
module.exports = {
|
|
@@ -86,7 +86,7 @@ module.exports = {
|
|
|
86
86
|
data._filters_function = data.filters;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
Steedos.Page.Form.StandardNew.render(Session.get("app_id"), 'object_listviews', t("creator_list_copy_list_view"), data, {});
|
|
89
|
+
Steedos.Page.Form.StandardNew.render(Session.get("app_id"), 'object_listviews', t("creator_list_copy_list_view"), { defaultData:data }, {});
|
|
90
90
|
},
|
|
91
91
|
copyVisible: function(object_name, record_id, record_permissions, data){
|
|
92
92
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.6.7-beta.
|
|
3
|
+
"version": "2.6.7-beta.13",
|
|
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.7-beta.
|
|
15
|
+
"@steedos/standard-objects": "2.6.7-beta.13"
|
|
16
16
|
},
|
|
17
17
|
"repository": {},
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "132379687831b8dc8886848bc6f6cb3a4c3c014c"
|
|
20
20
|
}
|
package/package.service.js
CHANGED
|
@@ -116,7 +116,7 @@ module.exports = {
|
|
|
116
116
|
}
|
|
117
117
|
if(data.is_system){
|
|
118
118
|
// 'label' 先禁止编辑label , 目前由于i18n的问题导致 label无效.
|
|
119
|
-
data = _.pick(data, ['defaultValue', 'group', 'rows', 'sort_no', 'is_wide', 'index', 'sortable', 'searchable', 'filterable', 'visible_on', 'inlineHelpText', 'description', 'amis', 'required', 'unique', 'readonly', 'hidden', 'deleted_lookup_record_behavior', 'disable_thousands']);
|
|
119
|
+
data = _.pick(data, ['defaultValue', 'group', 'rows', 'sort_no', 'is_wide', 'index', 'sortable', 'searchable', 'filterable', 'visible_on', 'inlineHelpText', 'description', 'amis', 'required', 'unique', 'readonly', 'hidden', 'deleted_lookup_record_behavior', 'disable_thousands', 'autonumber_enable_modify']);
|
|
120
120
|
}
|
|
121
121
|
return object.update(id, data, userSession)
|
|
122
122
|
},
|