|
@@ -12,7 +12,7 @@ class ConfigurationNodeApi { |
|
@@ -12,7 +12,7 @@ class ConfigurationNodeApi { |
12
|
* @param {'CONFIGURE' | 'CONTENT' | 'NODE'} levelType - 组态资源类型
|
12
|
* @param {'CONFIGURE' | 'CONTENT' | 'NODE'} levelType - 组态资源类型
|
13
|
* @param {string} levelId - 组态资源ID
|
13
|
* @param {string} levelId - 组态资源ID
|
14
|
*/
|
14
|
*/
|
15
|
- static getConfigurationInfo( levelType, levelId) {
|
15
|
+ static getConfigurationInfo(levelType, levelId) {
|
16
|
var configurationId = urlParams['configurationId']
|
16
|
var configurationId = urlParams['configurationId']
|
17
|
return defHttp.get(`/yt/configuration/node/${configurationId}/${levelType}/${levelId}`)
|
17
|
return defHttp.get(`/yt/configuration/node/${configurationId}/${levelType}/${levelId}`)
|
18
|
}
|
18
|
}
|
|
@@ -22,7 +22,7 @@ class ConfigurationNodeApi { |
|
@@ -22,7 +22,7 @@ class ConfigurationNodeApi { |
22
|
* @returns
|
22
|
* @returns
|
23
|
*/
|
23
|
*/
|
24
|
static getOrgTree() {
|
24
|
static getOrgTree() {
|
25
|
- return defHttp.get('/yt/organization/me/list')
|
25
|
+ return defHttp.get(`/yt/organization/me/list${ORGANIZATION_ID ? `?organizationId=${ORGANIZATION_ID}` : ''}`)
|
26
|
}
|
26
|
}
|
27
|
|
27
|
|
28
|
/**
|
28
|
/**
|