import { PSSysViewPanelLogic } from '@ibizstudio/api'; import { VueLifeCycleProcessing } from '@ibizstudio/dynamic-design'; import { Component } from 'vue-property-decorator'; import { PanelMaterialBase } from '../panel-material-base'; /** * 面板引擎素材项 * * @export * @class PanelLogic * @extends {Vue} */ @Component({}) @VueLifeCycleProcessing() export class PanelLogic extends PanelMaterialBase { generateOption() { return { group: { name: this.ctx.tag + '-logic', }, }; } componentCreated() { this.list.push({ text: '实体界面逻辑', tooltip: '实体界面逻辑', iconcls: 'iconfont icon-code', data: new PSSysViewPanelLogic({ dstlogictype: 'DEUILOGIC', logictype: 'TIMER' }), }); this.list.push({ text: '系统预置界面逻辑', tooltip: '系统预置界面逻辑', iconcls: 'iconfont icon-code', data: new PSSysViewPanelLogic({ dstlogictype: 'SYSVIEWLOGIC', logictype: 'TIMER' }), }); this.list.push({ text: '前端扩展框架', tooltip: '前端扩展框架', iconcls: 'iconfont icon-code', data: new PSSysViewPanelLogic({ dstlogictype: 'PFPLUGIN', logictype: 'CUSTOM' }), }); } }