xiejun
2023-08-12 4187374bbae66190e7eca6f42cc5e61cfae1637f
Source/UBCS/ubcs-codeApply/src/main/java/com/vci/ubcs/codeapply/RMDataReferTempDialog.java
@@ -25,7 +25,8 @@
public class RMDataReferTempDialog extends VCIJDialog {
   private CodeApplyFor410MainPanel owner;
   private CodeClassifyTemplateAttrVO codeClassifyTemplateAttr;
   //private CodeClassifyTemplateAttrVO codeClassifyTemplateAttr;
   private String referConfig="";
   private RMDataReferTempDialogActionListener actionListener = new RMDataReferTempDialogActionListener(this);
   private VCIJButton btnOk = VCISwingUtil.createVCIJButton("ok", "确定", "确定", "accept.png", actionListener);
   private VCIJButton btnCancel = VCISwingUtil.createVCIJButton("cancel", "取消", "取消", "cancel.png", actionListener);
@@ -35,10 +36,10 @@
   private VCIBaseTree leftTree = null;
   private VCIBaseTreeModel leftTreeModel = null;
   private KeyValue keyValue;
   public RMDataReferTempDialog(CodeApplyFor410MainPanel owner, CodeClassifyTemplateAttrVO codeClassifyTemplateAttr) {
   public RMDataReferTempDialog(CodeApplyFor410MainPanel owner, String  referConfig) {
      //super(true);
      this.owner = owner;
      this.codeClassifyTemplateAttr = codeClassifyTemplateAttr;
      this.referConfig = referConfig;
      init();
      setTitle("引用模板-属性选择");
      //initDialogSize(rmDataAddDialog.getWidth(), rmDataAddDialog.getHeight());
@@ -69,8 +70,8 @@
   private VCIJPanel createRMDataMainPanel(){
      VCIJPanel rmDataTablePanel = new VCIJPanel(new BorderLayout());
      uiFormRefer=new UIFormRefer();
      if(StringUtils.isNotBlank(codeClassifyTemplateAttr.getReferConfig())){
         uiFormRefer = JSONObject.toJavaObject(JSONObject.parseObject(codeClassifyTemplateAttr.getReferConfig().toString()), UIFormRefer.class);
      if(StringUtils.isNotBlank(referConfig)){
         uiFormRefer = JSONObject.toJavaObject(JSONObject.parseObject(referConfig.toString()), UIFormRefer.class);
      }
      if(uiFormRefer !=null&&(uiFormRefer.getType().equals(CodeReferConfigTypeEnum.TREE.getValue())
            ||uiFormRefer.getType().equals(CodeReferConfigTypeEnum.ORGDEPARTMENTREFER.getValue()))){