package com.yem.em.ass.asscomponent.list;

import kd.bos.form.IFormView;
import kd.bos.form.plugin.TemplateTreePlugin;
import kd.bos.list.IListView;
import kd.bos.list.ITreeListView;

/**
 * @author zhouc
 * @date 2023/11/1 22:16
 * @className AssComponentListEdit
 * @description 总成图册部件列表插件
 */
public class AssComponentListEdit extends TemplateTreePlugin {
    /**
     * 设置左树显示编码名称
     */
    public void initialize() {
        super.initialize();
//        IFormView view = this.getView();
//        IListView listView = (IListView)this.getView();
//        ITreeListView treeListView = listView.getTreeListView();

        this.getTreeModel().setTextFormat("{code} {name}");
    }
}
