index.js
613 Bytes
class ConfigurationNodeApi {
/**
* @description 获取组态信息
* @param {'CONFIGURE' | 'CONTENT' | 'NODE'} levelType - 组态资源类型
* @param {string} levelId - 组态资源ID
*/
static getConfigurationInfo = async (levelType, levelId) => {
return await defHttp.get(`/yt/configuration/node/${levelType}/${levelId}`)
}
/**
* @description 编辑数据交互
*/
static updateConfigurationNodeEvent() {
}
/**
* @description 获取组织节点树
* @returns
*/
static getOrgTree = async () => {
return await defHttp.get('/yt/organization/me/list')
}
}