fix: 修复数据权限

This commit is contained in:
xieyonghong 2023-03-28 16:46:25 +08:00
parent eb21e64cc1
commit 28e850551b
1 changed files with 41 additions and 23 deletions

View File

@ -307,6 +307,7 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
assetType: 'notifyTemplate',
supportDataAccess: true supportDataAccess: true
}, },
], ],
@ -970,8 +971,9 @@ export default [
], ],
}, },
], ],
accessSupport: { text: "不支持", value: "unsupported" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: false supportDataAccess: true,
assetType: 'deviceGateway'
}, },
{ {
code: 'link/Protocol', code: 'link/Protocol',
@ -1042,8 +1044,9 @@ export default [
], ],
}, },
], ],
accessSupport: { text: "不支持", value: "unsupported" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: false supportDataAccess: true,
assetType: 'protocol'
}, },
{ {
code: 'Log', code: 'Log',
@ -1144,8 +1147,9 @@ export default [
], ],
}, },
], ],
accessSupport: { text: "不支持", value: "unsupported" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: false supportDataAccess: true,
assetType: 'network'
}, },
{ {
code: 'link/Certificate', code: 'link/Certificate',
@ -1201,7 +1205,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'certificate'
}, },
{ {
code: 'media/Stream', code: 'media/Stream',
@ -1547,7 +1552,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'dataCollectChannel'
}, },
{ {
code: 'DataCollect/Collector', code: 'DataCollect/Collector',
@ -1680,7 +1686,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'ataCollectCollector'
}, },
], ],
}, },
@ -1851,7 +1858,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'alarmConfig'
}, },
{ {
code: 'rule-engine/Alarm/Log', code: 'rule-engine/Alarm/Log',
@ -1995,8 +2003,9 @@ export default [
], ],
}, },
], ],
accessSupport: { text: "不支持", value: "unsupported" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: false supportDataAccess: true,
assetType: 'dueros'
}, },
{ {
code: 'Northbound/AliCloud', code: 'Northbound/AliCloud',
@ -2234,7 +2243,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'ruleInstance'
}, },
{ {
code: 'rule-engine/Scene', code: 'rule-engine/Scene',
@ -2386,7 +2396,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'scene'
}, },
], ],
}, },
@ -2907,7 +2918,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'gbCascade'
}, },
], ],
}, },
@ -3052,7 +3064,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'user'
}, },
{ {
code: 'system/Department', code: 'system/Department',
@ -3250,7 +3263,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'organization'
}, },
{ {
code: 'system/Role', code: 'system/Role',
@ -3327,7 +3341,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'role'
}, },
{ {
code: 'system/Menu', code: 'system/Menu',
@ -3641,7 +3656,8 @@ export default [
}, },
], ],
accessSupport: { text: "支持", value: "support" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: true supportDataAccess: true,
assetType: 'datasource'
}, },
{ {
code: 'system/Platforms/Setting', code: 'system/Platforms/Setting',
@ -4043,8 +4059,9 @@ export default [
], ],
}, },
], ],
accessSupport: { text: "不支持", value: "unsupported" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: false supportDataAccess: true,
assetType: 'networkCard'
}, },
{ {
path: '5Hpl-ZjAG', path: '5Hpl-ZjAG',
@ -4161,8 +4178,9 @@ export default [
], ],
}, },
], ],
accessSupport: { text: "不支持", value: "unsupported" }, accessSupport: { text: "支持", value: "support" },
supportDataAccess: false supportDataAccess: true,
assetType: 'networkCardPlatform'
}, },
{ {
path: '5Hpl-cL34', path: '5Hpl-cL34',