@steedos/standard-ui 2.4.0-beta.37 → 2.4.0-beta.39

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.
@@ -85,6 +85,9 @@ tab_items:
85
85
  admin_workflow_notifications:
86
86
  group: 流程自动化
87
87
  index: 24
88
+ admin_workflow_outbound_messages:
89
+ group: 流程自动化
90
+ index: 25
88
91
  admin_roles:
89
92
  group: 审批王
90
93
  index: 25
@@ -35,5 +35,5 @@ label: 编辑
35
35
  type: amis_button
36
36
  visible: !!js/function |
37
37
  function (object_name, record_id, record_permissions, record) {
38
- return Creator.baseObject.actions.standard_edit.visible() && !record.is_system;
38
+ return Creator.baseObject.actions.standard_edit.visible(object_name, record_id, record_permissions) && !record.is_system;
39
39
  }
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: baozhoutao@hotoa.com
3
3
  * @Date: 2021-12-27 10:49:33
4
- * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2022-12-20 16:51:05
4
+ * @LastEditors: 廖大雪 2291335922@qq.com
5
+ * @LastEditTime: 2023-03-05 18:11:32
6
6
  * @Description:
7
7
  */
8
8
  module.exports = {
@@ -36,8 +36,9 @@ module.exports = {
36
36
  Creator.odata.update(object_name, record_id, newRecord);
37
37
  FlowRouter.reload();
38
38
  },
39
- resetVisible: function(object_name, record_id, record_permissions, record){
40
- if(Creator.baseObject.actions.standard_edit.visible()){
39
+ resetVisible: function(object_name, record_id, record_permissions, data){
40
+ const record = data && data.record;
41
+ if(Creator.baseObject.actions.standard_edit.visible(object_name, record_id, record_permissions)){
41
42
  return record.from_code_id;
42
43
  }
43
44
  },
@@ -0,0 +1,21 @@
1
+ name: admin_workflow_outbound_messages
2
+ desktop: true
3
+ icon: app
4
+ is_new_window: false
5
+ label: 出站消息
6
+ mobile: true
7
+ permissions:
8
+ - permission: 'on'
9
+ permission_set: admin
10
+ - permission: 'off'
11
+ permission_set: user
12
+ - permission: 'off'
13
+ permission_set: customer
14
+ - permission: 'off'
15
+ permission_set: supplier
16
+ - permission: 'off'
17
+ permission_set: organization_admin
18
+ - permission: 'off'
19
+ permission_set: workflow_admin
20
+ type: url
21
+ url: /app/admin/workflow_outbound_messages/grid/all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-ui",
3
- "version": "2.4.0-beta.37",
3
+ "version": "2.4.0-beta.39",
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": "3fe675c2fb030976c7e43729b754ce772c07d8e8"
15
+ "gitHead": "0925adf0cf3215fd5d068f50517be378a758c148"
16
16
  }