@steedos/service-pages 2.4.0-beta.16 → 2.4.0-beta.19
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.
|
@@ -739,11 +739,11 @@
|
|
|
739
739
|
body: [
|
|
740
740
|
{
|
|
741
741
|
"type": "wrapper",
|
|
742
|
-
"className": "bg-white sticky p-0 top-0 z-40 w-full flex-none backdrop-blur transition-colors duration-500 lg:z-50 sm:shadow border-b-[3px] border-sky-500 border-solid",
|
|
742
|
+
"className": "bg-white sticky p-0 top-0 z-40 w-full flex-none backdrop-blur transition-colors duration-500 lg:z-50 sm:shadow border-b-[3px] border-sky-500 border-solid steedos-header-container",
|
|
743
743
|
body: [
|
|
744
744
|
{
|
|
745
745
|
"type": "wrapper",
|
|
746
|
-
"className": 'flex w-full px-4 h-[50px] p-0 justify-between items-center',
|
|
746
|
+
"className": 'flex w-full px-4 h-[50px] p-0 justify-between items-center steedos-header-container-line-one',
|
|
747
747
|
"body": [
|
|
748
748
|
{
|
|
749
749
|
type: "wrapper",
|
|
@@ -819,7 +819,7 @@
|
|
|
819
819
|
{
|
|
820
820
|
"type": "grid",
|
|
821
821
|
"hiddenOn": "${isMobile}",
|
|
822
|
-
"className": 'steedos-context-bar flex h-10 leading-5 pl-4 mb-[-3px]',
|
|
822
|
+
"className": 'steedos-context-bar flex flex-nowrap h-10 leading-5 pl-4 mb-[-3px] steedos-header-container-line-two',
|
|
823
823
|
"columns": [
|
|
824
824
|
{
|
|
825
825
|
"columnClassName": "items-center flex pb-0",
|
|
@@ -835,7 +835,7 @@
|
|
|
835
835
|
},
|
|
836
836
|
{
|
|
837
837
|
hiddenOn: "${app.showSidebar === true}",
|
|
838
|
-
"columnClassName": "flex ",
|
|
838
|
+
"columnClassName": "flex overflow-hidden",
|
|
839
839
|
"body": [
|
|
840
840
|
{
|
|
841
841
|
"type": "steedos-app-menu",
|
|
@@ -4,9 +4,9 @@ type: lookup
|
|
|
4
4
|
sort_no: 135
|
|
5
5
|
reference_to: objects
|
|
6
6
|
reference_to_field: name
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
return
|
|
7
|
+
filtersFunction: !!js/function |
|
|
8
|
+
function(filters, values){
|
|
9
|
+
return ['name', '!=', 'cfs_instances_filerecord']
|
|
10
10
|
}
|
|
11
11
|
filterable: true
|
|
12
12
|
required: "{{'record' == formData.type || 'list' == formData.type || 'form' == formData.type ? true: false}}"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: baozhoutao@steedos.com
|
|
3
3
|
* @Date: 2022-05-23 10:02:16
|
|
4
4
|
* @LastEditors: baozhoutao@steedos.com
|
|
5
|
-
* @LastEditTime:
|
|
5
|
+
* @LastEditTime: 2023-02-06 10:50:08
|
|
6
6
|
* @Description:
|
|
7
7
|
*/
|
|
8
8
|
const auth = require('@steedos/auth');
|
|
@@ -24,6 +24,22 @@ module.exports = {
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
+
// 默认添加 全组织 全设备授权
|
|
28
|
+
if(page.type != 'app'){
|
|
29
|
+
await objectql.getObject('page_assignments').insert({
|
|
30
|
+
type: "orgDefault",
|
|
31
|
+
page: id,
|
|
32
|
+
desktop: true,
|
|
33
|
+
mobile: true,
|
|
34
|
+
space: page.space,
|
|
35
|
+
owner: page.owner,
|
|
36
|
+
created_by: page.created_by,
|
|
37
|
+
modified_by: page.modified_by,
|
|
38
|
+
company_id: page.company_id,
|
|
39
|
+
company_ids: page.company_ids
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
|
|
27
43
|
// const actions = broker.registry.getActionList({
|
|
28
44
|
// onlyLocal: false
|
|
29
45
|
// });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-pages",
|
|
3
|
-
"version": "2.4.0-beta.
|
|
3
|
+
"version": "2.4.0-beta.19",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "0a5d60be217f234f44dfd83ba5886c6e1bcea082",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"ejs": "^3.1.8"
|
|
14
14
|
}
|