{
  "codeName" : "TreeMajorState",
  "controlType" : "TREEVIEW",
  "getCreatePSControlAction" : {
    "modelref" : true,
    "id" : "create"
  },
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/TreeMajorState.json",
  "getFetchPSControlAction" : {
    "modelref" : true,
    "id" : "fetch"
  },
  "getGetPSControlAction" : {
    "modelref" : true,
    "id" : "load"
  },
  "hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
  "logicName" : "树主状态",
  "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdetreeviews/TreeMajorState",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
  },
  "getPSAppViewLogics" : [ {
    "eventArg" : "deuiaction1",
    "eventNames" : "CLICK",
    "logicTrigger" : "CTRLEVENT",
    "logicType" : "APPVIEWUIACTION",
    "name" : "bookdata_cm_deuiaction1_click",
    "getPSAppViewUIAction" : {
      "modelref" : true,
      "id" : "bookdata_cm_deuiaction1"
    },
    "getPSViewCtrlName" : "bookdata_cm"
  }, {
    "eventArg" : "deuiaction2",
    "eventNames" : "CLICK",
    "logicTrigger" : "CTRLEVENT",
    "logicType" : "APPVIEWUIACTION",
    "name" : "bookdata_cm_deuiaction2_click",
    "getPSAppViewUIAction" : {
      "modelref" : true,
      "id" : "bookdata_cm_deuiaction2"
    },
    "getPSViewCtrlName" : "bookdata_cm"
  }, {
    "eventArg" : "deuiaction3",
    "eventNames" : "CLICK",
    "logicTrigger" : "CTRLEVENT",
    "logicType" : "APPVIEWUIACTION",
    "name" : "bookdata_cm_deuiaction3_click",
    "getPSAppViewUIAction" : {
      "modelref" : true,
      "id" : "bookdata_cm_deuiaction3"
    },
    "getPSViewCtrlName" : "bookdata_cm"
  } ],
  "getPSAppViewUIActions" : [ {
    "name" : "bookdata_cm_deuiaction1",
    "getPSUIAction" : {
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
      },
      "modelref" : true,
      "id" : "Edit@IBIZBOOK"
    },
    "uIActionTarget" : "SINGLEKEY",
    "xDataControlName" : "tree"
  }, {
    "name" : "bookdata_cm_deuiaction2",
    "getPSUIAction" : {
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
      },
      "modelref" : true,
      "id" : "Delete@IBIZBOOK"
    },
    "uIActionTarget" : "SINGLEKEY",
    "xDataControlName" : "tree"
  }, {
    "name" : "bookdata_cm_deuiaction3",
    "getPSUIAction" : {
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
      },
      "modelref" : true,
      "id" : "openDocument@IBIZBOOK"
    },
    "uIActionTarget" : "SINGLEKEY",
    "xDataControlName" : "tree"
  } ],
  "getPSControlLogics" : [ {
    "eventNames" : "SELECTIONCHANGE;LOAD",
    "logicTag" : "tree",
    "logicType" : "APPVIEWENGINE",
    "name" : "engine_tree",
    "getPSAppViewEngine" : {
      "modelref" : true,
      "id" : "engine"
    }
  } ],
  "getPSControls" : [ {
    "codeName" : "TreeViewbookdata_cm",
    "controlType" : "CONTEXTMENU",
    "hookEventNames" : [ "CLICK" ],
    "logicName" : "上下文菜单（主状态）",
    "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdetoolbars/TreeViewbookdata_cm",
    "name" : "bookdata_cm",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
    },
    "getPSControlLogics" : [ {
      "eventArg" : "deuiaction1",
      "eventNames" : "CLICK",
      "logicTag" : "bookdata_cm",
      "logicType" : "APPVIEWLOGIC",
      "name" : "bookdata_cm_deuiaction1_click",
      "getPSAppViewLogic" : {
        "modelref" : true,
        "id" : "bookdata_cm_deuiaction1_click"
      }
    }, {
      "eventArg" : "deuiaction2",
      "eventNames" : "CLICK",
      "logicTag" : "bookdata_cm",
      "logicType" : "APPVIEWLOGIC",
      "name" : "bookdata_cm_deuiaction2_click",
      "getPSAppViewLogic" : {
        "modelref" : true,
        "id" : "bookdata_cm_deuiaction2_click"
      }
    }, {
      "eventArg" : "deuiaction3",
      "eventNames" : "CLICK",
      "logicTag" : "bookdata_cm",
      "logicType" : "APPVIEWLOGIC",
      "name" : "bookdata_cm_deuiaction3_click",
      "getPSAppViewLogic" : {
        "modelref" : true,
        "id" : "bookdata_cm_deuiaction3_click"
      }
    } ],
    "getPSControlParam" : {
      "id" : "bookdata_cm"
    },
    "getPSDEToolbarItems" : [ {
      "caption" : "编辑",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction1",
      "noPrivDisplayMode" : 1,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "bookdata_cm_deuiaction1"
      },
      "getPSSysImage" : {
        "glyph" : "xf044@FontAwesome",
        "cssClass" : "fa fa-edit"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "noPrivDisplayMode" : 1,
        "caption" : "编辑",
        "codeName" : "Edit",
        "dataAccessAction" : "EDIT",
        "getFrontPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3EditView.json",
          "viewType" : "DEEDITVIEW"
        },
        "frontProcessType" : "TOP",
        "fullCodeName" : "IBIZBOOK_Edit",
        "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Edit",
        "name" : "编辑",
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
        },
        "getPSDEOPPriv" : {
          "modelref" : true,
          "id" : "EDIT"
        },
        "getPSSysImage" : {
          "glyph" : "xf044@FontAwesome",
          "cssClass" : "fa fa-edit"
        },
        "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Edit",
        "timeout" : 60000,
        "uIActionMode" : "FRONT",
        "uIActionTag" : "Edit",
        "uIActionType" : "DEUIACTION",
        "id" : "Edit@IBIZBOOK"
      },
      "tooltip" : "编辑",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "caption" : "删除",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction2",
      "noPrivDisplayMode" : 1,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "bookdata_cm_deuiaction2"
      },
      "getPSSysImage" : {
        "glyph" : "xf00d@FontAwesome",
        "cssClass" : "fa fa-remove"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "noPrivDisplayMode" : 1,
        "caption" : "删除",
        "codeName" : "Delete",
        "dataAccessAction" : "DELETE",
        "fullCodeName" : "IBIZBOOK_Delete",
        "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Delete",
        "name" : "删除",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Remove"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
        },
        "getPSDEOPPriv" : {
          "modelref" : true,
          "id" : "DELETE"
        },
        "getPSSysImage" : {
          "glyph" : "xf00d@FontAwesome",
          "cssClass" : "fa fa-remove"
        },
        "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Delete",
        "timeout" : 60000,
        "uIActionMode" : "BACKEND",
        "uIActionTag" : "Delete",
        "uIActionType" : "DEUIACTION",
        "enableConfirm" : true,
        "id" : "Delete@IBIZBOOK"
      },
      "tooltip" : "删除",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "caption" : "打开文档",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction3",
      "noPrivDisplayMode" : 1,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "bookdata_cm_deuiaction3"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "noPrivDisplayMode" : 1,
        "caption" : "打开文档",
        "codeName" : "openDocument",
        "dataAccessAction" : "OPEN_DOCUMENT",
        "frontProcessType" : "OPENHTMLPAGE",
        "fullCodeName" : "IBIZBOOK_openDocument",
        "htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
        "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/openDocument",
        "name" : "打开文档",
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
        },
        "getPSDEOPPriv" : {
          "modelref" : true,
          "id" : "OPEN_DOCUMENT"
        },
        "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/openDocument",
        "timeout" : 60000,
        "uIActionMode" : "FRONT",
        "uIActionTag" : "openDocument",
        "uIActionType" : "DEUIACTION",
        "id" : "openDocument@IBIZBOOK"
      },
      "tooltip" : "打开文档",
      "showCaption" : true,
      "showIcon" : true
    } ],
    "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTreeView/psappviewctrls/bookdata_cm",
    "modelid" : "2aea7e23e295a0a32a7672dde221a8ea",
    "modeltype" : "PSDETOOLBAR"
  } ],
  "getPSDEDataImport" : {
    "modelref" : true,
    "id" : "DataImport"
  },
  "getPSDETreeNodeRSs" : [ {
    "getChildPSDETreeNode" : {
      "modelref" : true,
      "id" : "book"
    },
    "name" : "默认根节点 - 图书",
    "getParentPSDETreeNode" : {
      "modelref" : true,
      "id" : "ROOT"
    },
    "parentValueLevel" : 1,
    "searchMode" : 3
  }, {
    "getChildPSDETreeNode" : {
      "modelref" : true,
      "id" : "bookdata"
    },
    "name" : "图书 - 图书数据",
    "getParentPSDETreeNode" : {
      "modelref" : true,
      "id" : "book"
    },
    "parentValueLevel" : 1,
    "searchMode" : 3
  } ],
  "getPSDETreeNodes" : [ {
    "counterMode" : 0,
    "name" : "图书",
    "nodeType" : "book",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
    },
    "text" : "图书",
    "treeNodeType" : "STATIC",
    "hasPSDETreeNodeRSs" : true,
    "appendPNodeId" : false,
    "disableSelect" : false,
    "enableCheck" : false,
    "enableEditData" : false,
    "enableNewData" : false,
    "enableQuickCreate" : false,
    "enableQuickSearch" : false,
    "enableRemoveData" : false,
    "enableViewData" : false,
    "expandFirstOnly" : false,
    "expanded" : false,
    "rootNode" : false,
    "selectFirstOnly" : false,
    "selected" : false,
    "id" : "book"
  }, {
    "counterMode" : 0,
    "getIdPSAppDEField" : {
      "name" : "IBIZBOOKID",
      "codeName" : "IBIZBOOKId"
    },
    "maxSize" : -1,
    "name" : "图书数据",
    "nodeType" : "bookdata",
    "getPSAppDEDataSet" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
    },
    "getPSDEContextMenu" : {
      "codeName" : "TreeViewbookdata_cm",
      "controlType" : "CONTEXTMENU",
      "hookEventNames" : [ "CLICK" ],
      "logicName" : "上下文菜单（主状态）",
      "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdetoolbars/TreeViewbookdata_cm",
      "name" : "bookdata_cm",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
      },
      "getPSControlLogics" : [ {
        "eventArg" : "deuiaction1",
        "eventNames" : "CLICK",
        "logicTag" : "bookdata_cm",
        "logicType" : "APPVIEWLOGIC",
        "name" : "bookdata_cm_deuiaction1_click",
        "getPSAppViewLogic" : {
          "modelref" : true,
          "id" : "bookdata_cm_deuiaction1_click"
        }
      }, {
        "eventArg" : "deuiaction2",
        "eventNames" : "CLICK",
        "logicTag" : "bookdata_cm",
        "logicType" : "APPVIEWLOGIC",
        "name" : "bookdata_cm_deuiaction2_click",
        "getPSAppViewLogic" : {
          "modelref" : true,
          "id" : "bookdata_cm_deuiaction2_click"
        }
      }, {
        "eventArg" : "deuiaction3",
        "eventNames" : "CLICK",
        "logicTag" : "bookdata_cm",
        "logicType" : "APPVIEWLOGIC",
        "name" : "bookdata_cm_deuiaction3_click",
        "getPSAppViewLogic" : {
          "modelref" : true,
          "id" : "bookdata_cm_deuiaction3_click"
        }
      } ],
      "getPSControlParam" : {
        "id" : "bookdata_cm"
      },
      "getPSDEToolbarItems" : [ {
        "caption" : "编辑",
        "groupExtractMode" : "ITEM",
        "itemType" : "DEUIACTION",
        "name" : "deuiaction1",
        "noPrivDisplayMode" : 1,
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "bookdata_cm_deuiaction1"
        },
        "getPSSysImage" : {
          "glyph" : "xf044@FontAwesome",
          "cssClass" : "fa fa-edit"
        },
        "getPSUIAction" : {
          "actionTarget" : "SINGLEKEY",
          "noPrivDisplayMode" : 1,
          "caption" : "编辑",
          "codeName" : "Edit",
          "dataAccessAction" : "EDIT",
          "getFrontPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3EditView.json",
            "viewType" : "DEEDITVIEW"
          },
          "frontProcessType" : "TOP",
          "fullCodeName" : "IBIZBOOK_Edit",
          "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Edit",
          "name" : "编辑",
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
          },
          "getPSDEOPPriv" : {
            "modelref" : true,
            "id" : "EDIT"
          },
          "getPSSysImage" : {
            "glyph" : "xf044@FontAwesome",
            "cssClass" : "fa fa-edit"
          },
          "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Edit",
          "timeout" : 60000,
          "uIActionMode" : "FRONT",
          "uIActionTag" : "Edit",
          "uIActionType" : "DEUIACTION",
          "id" : "Edit@IBIZBOOK"
        },
        "tooltip" : "编辑",
        "showCaption" : true,
        "showIcon" : true
      }, {
        "caption" : "删除",
        "groupExtractMode" : "ITEM",
        "itemType" : "DEUIACTION",
        "name" : "deuiaction2",
        "noPrivDisplayMode" : 1,
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "bookdata_cm_deuiaction2"
        },
        "getPSSysImage" : {
          "glyph" : "xf00d@FontAwesome",
          "cssClass" : "fa fa-remove"
        },
        "getPSUIAction" : {
          "actionTarget" : "SINGLEKEY",
          "noPrivDisplayMode" : 1,
          "caption" : "删除",
          "codeName" : "Delete",
          "dataAccessAction" : "DELETE",
          "fullCodeName" : "IBIZBOOK_Delete",
          "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Delete",
          "name" : "删除",
          "getPSAppDEMethod" : {
            "modelref" : true,
            "id" : "Remove"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
          },
          "getPSDEOPPriv" : {
            "modelref" : true,
            "id" : "DELETE"
          },
          "getPSSysImage" : {
            "glyph" : "xf00d@FontAwesome",
            "cssClass" : "fa fa-remove"
          },
          "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/Delete",
          "timeout" : 60000,
          "uIActionMode" : "BACKEND",
          "uIActionTag" : "Delete",
          "uIActionType" : "DEUIACTION",
          "enableConfirm" : true,
          "id" : "Delete@IBIZBOOK"
        },
        "tooltip" : "删除",
        "showCaption" : true,
        "showIcon" : true
      }, {
        "caption" : "打开文档",
        "groupExtractMode" : "ITEM",
        "itemType" : "DEUIACTION",
        "name" : "deuiaction3",
        "noPrivDisplayMode" : 1,
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "bookdata_cm_deuiaction3"
        },
        "getPSUIAction" : {
          "actionTarget" : "SINGLEKEY",
          "noPrivDisplayMode" : 1,
          "caption" : "打开文档",
          "codeName" : "openDocument",
          "dataAccessAction" : "OPEN_DOCUMENT",
          "frontProcessType" : "OPENHTMLPAGE",
          "fullCodeName" : "IBIZBOOK_openDocument",
          "htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
          "mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/openDocument",
          "name" : "打开文档",
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
          },
          "getPSDEOPPriv" : {
            "modelref" : true,
            "id" : "OPEN_DOCUMENT"
          },
          "rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZBOOK/psappdeuiactions/openDocument",
          "timeout" : 60000,
          "uIActionMode" : "FRONT",
          "uIActionTag" : "openDocument",
          "uIActionType" : "DEUIACTION",
          "id" : "openDocument@IBIZBOOK"
        },
        "tooltip" : "打开文档",
        "showCaption" : true,
        "showIcon" : true
      } ],
      "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTreeView/psappviewctrls/bookdata_cm",
      "modelid" : "2aea7e23e295a0a32a7672dde221a8ea",
      "modeltype" : "PSDETOOLBAR"
    },
    "getTextPSAppDEField" : {
      "name" : "IBIZBOOKNAME",
      "codeName" : "IBIZBOOKName"
    },
    "treeNodeType" : "DE",
    "hasPSDETreeNodeRSs" : false,
    "appendPNodeId" : false,
    "disableSelect" : false,
    "enableCheck" : false,
    "enableEditData" : false,
    "enableNewData" : false,
    "enableQuickCreate" : false,
    "enableQuickSearch" : false,
    "enableRemoveData" : false,
    "enableViewData" : false,
    "expandFirstOnly" : false,
    "expanded" : false,
    "rootNode" : false,
    "selectFirstOnly" : false,
    "selected" : false,
    "id" : "bookdata"
  }, {
    "counterMode" : 0,
    "name" : "默认根节点",
    "nodeType" : "ROOT",
    "nodeValue" : "root",
    "text" : "默认根节点",
    "treeNodeType" : "STATIC",
    "hasPSDETreeNodeRSs" : true,
    "appendPNodeId" : false,
    "disableSelect" : false,
    "enableCheck" : false,
    "enableEditData" : false,
    "enableNewData" : false,
    "enableQuickCreate" : false,
    "enableQuickSearch" : false,
    "enableRemoveData" : false,
    "enableViewData" : false,
    "expandFirstOnly" : false,
    "expanded" : false,
    "rootNode" : true,
    "selectFirstOnly" : false,
    "selected" : false,
    "id" : "ROOT"
  } ],
  "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTreeView/psappviewctrls/tree",
  "getRemovePSControlAction" : {
    "modelref" : true,
    "id" : "remove"
  },
  "treeGridMode" : 0,
  "getUpdatePSControlAction" : {
    "modelref" : true,
    "id" : "update"
  },
  "enableRootSelect" : false,
  "outputIconDefault" : true,
  "rootVisible" : false,
  "modelid" : "4b91aec208febf41cde22fcd1e071187",
  "modeltype" : "PSDETREEVIEW"
}