/** * @class ConfigurationConfig * @classdesc 构型配置开发组件,采用卡片风格,展示机型信息和构型信息。 * @extends HTMLElement */ class ConfigurationConfig extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); this.currentView = 'planes'; // 'planes' 或 'configurations' 或 'editor' this.selectedPlane = null; this.selectedConfiguration = null; this.userAccessLevel = 0; // 添加用户权限级别属性 /** * 初始化DOM结构,采用卡片风格,展示机型信息和构型信息。 */ this.shadowRoot.innerHTML = `