@steedos/standard-ui 2.7.0-beta.27 → 2.7.0-beta.28

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.
@@ -153,9 +153,12 @@ tab_items:
153
153
  admin_api_keys:
154
154
  group: development
155
155
  index: 42
156
- admin_logs:
156
+ admin_settings:
157
157
  group: advanced_settings
158
158
  index: 50
159
+ admin_logs:
160
+ group: advanced_settings
161
+ index: 52
159
162
  objects: []
160
163
  sort: 999999
161
164
  #url: /app/admin
@@ -2,7 +2,7 @@
2
2
  * @Author: baozhoutao@steedos.com
3
3
  * @Date: 2024-03-30 11:37:53
4
4
  * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2024-03-30 12:17:46
5
+ * @LastEditTime: 2024-04-15 10:43:38
6
6
  * @Description:
7
7
  */
8
8
  module.exports = {
@@ -14,7 +14,7 @@ module.exports = {
14
14
  text: `确定要停用${record.name}?${nodesSelect}`,
15
15
  html: true,
16
16
  showCancelButton: true,
17
- confirmButtonText: '启用',
17
+ confirmButtonText: '停用',
18
18
  cancelButtonText: TAPi18n.__('Cancel')
19
19
  }, function (option) {
20
20
  if (option) {
@@ -45,6 +45,9 @@ module.exports = {
45
45
  },
46
46
  disableVisible: function (object_name, record_id) {
47
47
  const record = Creator.odata.get(object_name, record_id);
48
+ if(record._id == record.code){
49
+ return false
50
+ }
48
51
  if(record.visible){
49
52
  return true;
50
53
  }
@@ -2,7 +2,7 @@
2
2
  * @Author: baozhoutao@steedos.com
3
3
  * @Date: 2024-03-30 11:37:53
4
4
  * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2024-03-30 12:18:00
5
+ * @LastEditTime: 2024-04-15 10:43:45
6
6
  * @Description:
7
7
  */
8
8
  module.exports = {
@@ -49,6 +49,9 @@ module.exports = {
49
49
  },
50
50
  enableVisible: function (object_name,record_id) {
51
51
  const record = Creator.odata.get(object_name,record_id);
52
+ if(record._id == record.code){
53
+ return false
54
+ }
52
55
  if(record.visible){
53
56
  return false;
54
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-ui",
3
- "version": "2.7.0-beta.27",
3
+ "version": "2.7.0-beta.28",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,5 +12,5 @@
12
12
  "description": "steedos package",
13
13
  "repository": {},
14
14
  "license": "MIT",
15
- "gitHead": "3ff30ac23eea83fafd51df11bf5d818e73c005ed"
15
+ "gitHead": "55756b53104b59b3b678fd58b564dabd8fed1272"
16
16
  }