@steedos/service-core-objects 3.0.0-beta.108 → 3.0.0-beta.112

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.
@@ -444,7 +444,12 @@ module.exports = {
444
444
  standard_print: {
445
445
  label: "Print",
446
446
  visible: function (object_name, record_id, record_permissions, data) {
447
- return data.uiSchema && data.uiSchema.enable_print;
447
+ var uiSchema = data.uiSchema;
448
+ // 记录详细页面中如果有相关子记录,用RecordService组件显示子记录的话,子记录中打印按钮取的uiSchema是父记录的uiSchema,造成子记录详细界面也显示了打印按钮,这里判断下对象名称不一致时重新取uiSchema变量
449
+ if (!uiSchema || uiSchema.name !== object_name){
450
+ uiSchema = window.getUISchemaSync(object_name);
451
+ }
452
+ return uiSchema && uiSchema.enable_print;
448
453
  },
449
454
  on: "record_only",
450
455
  type: 'amis_button',
@@ -78,7 +78,7 @@
78
78
  "initiallyOpen": false,
79
79
  "extractValue": true,
80
80
  "onlyChildren": true,
81
- "treeContainerClassName": "no-border",
81
+ "treeContainerClassName": "no-border h-full",
82
82
  "showIcon": false,
83
83
  "enableNodePath": false,
84
84
  "autoCheckChildren": false,
@@ -182,7 +182,7 @@
182
182
  "hiddenOn": "${window:innerWidth < 768 && false}"
183
183
  }
184
184
  ],
185
- "className": "bg-gray-100",
185
+ "className": "",
186
186
  "style": {
187
187
  "border": 0,
188
188
  "border-radius": 0
@@ -276,6 +276,9 @@
276
276
  },
277
277
  ".space-users-list-custom-page.space-users-list-pc.space-users-list-sidebar-open .space-users-list-sidebar-wrapper": {
278
278
  "min-width": "220px"
279
+ },
280
+ ".space-users-list-custom-page.space-users-list-pc .space-users-list-sidebar-wrapper .antd-Form-item .antd-Tree": {
281
+ "max-height": "none"
279
282
  }
280
283
  }
281
284
  }
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: sunhaolin@hotoa.com
3
3
  * @Date: 2022-12-07 14:19:57
4
- * @LastEditors: 孙浩林 sunhaolin@steedos.com
5
- * @LastEditTime: 2025-02-18 16:58:48
4
+ * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
5
+ * @LastEditTime: 2025-10-14 10:16:10
6
6
  * @Description:
7
7
  */
8
8
  "use strict";
@@ -258,7 +258,7 @@ async function updatevaildate(suDoc, doc) {
258
258
  filters: [
259
259
  ['mobile', '=', tmpMobile]
260
260
  ]
261
- }))[0]
261
+ }))
262
262
 
263
263
  if (mobileUser && mobileUser._id !== suDoc.user) {
264
264
  throw new Error("space_users_error_phone_already_existed");
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@steedos/service-core-objects",
3
- "version": "3.0.0-beta.108",
3
+ "version": "3.0.0-beta.112",
4
4
  "main": "package.service.js",
5
- "private": false,
6
5
  "publishConfig": {
7
6
  "access": "public"
8
7
  },
@@ -10,12 +9,12 @@
10
9
  "steedos"
11
10
  ],
12
11
  "dependencies": {
13
- "@steedos/service-package-loader": "3.0.0-beta.108",
12
+ "@steedos/service-package-loader": "3.0.0-beta.112",
14
13
  "json2xls": "^0.1.2",
15
14
  "lodash": "^4.17.21"
16
15
  },
17
16
  "description": "steedos package",
18
17
  "repository": {},
19
18
  "license": "MIT",
20
- "gitHead": "e32e7c64ee17d2b2c18e280d28f6869d74747a17"
19
+ "gitHead": "742d399ecaca836729c200044deee3ef0988be14"
21
20
  }