{
  "accUserMode" : 2,
  "getCapPSLanguageRes" : {
    "lanResTag" : "DE.LNAME.TEST"
  },
  "caption" : "测试实体",
  "codeName" : "TESTGridView_VIewPanel",
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTGridView_VIewPanel.json",
  "gridRowActiveMode" : 2,
  "name" : "TESTGridView_VIewPanel",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
  },
  "getPSAppModule" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
  },
  "getPSDEViewCodeName" : "GridView_VIewPanel",
  "getPSDEViewId" : "67C9F816-E989-4BE2-B6BD-4AA2CEA353A7",
  "getPSViewLayoutPanel" : {
    "getAllPSPanelFields" : [ {
      "id" : "view_pagecaption"
    }, {
      "id" : "field_text_dynamic"
    }, {
      "id" : "field_image"
    }, {
      "id" : "field_carousel"
    }, {
      "id" : "field_qrcode"
    } ],
    "codeName" : "Usr0206746835",
    "controlType" : "VIEWLAYOUTPANEL",
    "hookEventNames" : [ "ONCLICK", "ONCHANGE" ],
    "layoutMode" : "FLEX",
    "logicName" : "GridView_VIewPanelDEGRIDVIEW",
    "memo" : "表格视图",
    "name" : "layoutpanel",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    },
    "getPSControlLogics" : [ {
      "eventNames" : "onClick",
      "logicTag" : "layoutpanel",
      "logicType" : "APPDEUILOGIC",
      "name" : "logic",
      "getPSAppDEUILogic" : {
        "modelref" : true,
        "id" : "UILogic1"
      },
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "triggerType" : "TIMER"
    }, {
      "eventNames" : "onChange",
      "itemName" : "field_qrcode",
      "logicTag" : "layoutpanel",
      "logicType" : "PFPLUGIN",
      "name" : "logic1"
    }, {
      "eventNames" : "onClick",
      "itemName" : "GRID",
      "logicTag" : "layoutpanel",
      "logicType" : "APPDEUIACTION",
      "name" : "logic2",
      "getPSAppDEUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.*.EDIT"
        },
        "caption" : "编辑",
        "codeName" : "Edit",
        "fullCodeName" : "Edit",
        "name" : "表格界面_编辑操作",
        "getPSSysImage" : {
          "glyph" : "xf044@FontAwesome",
          "cssClass" : "fa fa-edit"
        },
        "predefinedType" : "GRIDVIEW_EDITACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.*.EDIT"
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "Edit",
        "uIActionType" : "DEUIACTION"
      }
    }, {
      "eventNames" : "onClick",
      "logicTag" : "layoutpanel",
      "logicType" : "SCRIPT",
      "name" : "logic3",
      "scriptCode" : "console.log('脚本代码')",
      "triggerType" : "CUSTOM"
    } ],
    "getPSControlParam" : { },
    "getPSLayout" : {
      "layout" : "FLEX"
    },
    "getPSSysCss" : {
      "cssName" : "test"
    },
    "getRootPSPanelItems" : [ {
      "caption" : "分页部件",
      "itemStyle" : "DEFAULT",
      "itemType" : "TABPANEL",
      "name" : "tabpanel1",
      "getPSLayoutPos" : {
        "grow" : -1,
        "heightMode" : "FULL",
        "layout" : "FLEX",
        "widthMode" : "FULL"
      },
      "getPSPanelTabPages" : [ {
        "caption" : "部件控件",
        "itemStyle" : "DEFAULT",
        "itemType" : "TABPAGE",
        "name" : "tabpage3",
        "getPSLayout" : {
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "表格",
          "itemStyle" : "DEFAULT",
          "itemType" : "CTRLPOS",
          "name" : "grid",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "showCaption" : true
        }, {
          "caption" : "工具栏",
          "itemStyle" : "DEFAULT",
          "itemType" : "CTRLPOS",
          "name" : "toolbar",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "showCaption" : true
        } ],
        "showCaption" : true
      }, {
        "caption" : "面板成员",
        "itemStyle" : "DEFAULT",
        "itemType" : "TABPAGE",
        "name" : "tabpage4",
        "getPSLayout" : {
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "页面标题",
          "itemStyle" : "DEFAULT",
          "itemType" : "FIELD",
          "name" : "view_pagecaption",
          "getPSEditor" : {
            "editorType" : "SPAN",
            "name" : "view_pagecaption",
            "predefinedType" : "VIEW_PAGECAPTION",
            "renderMode" : "HEADING1",
            "enableLinkView" : false
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          }
        }, {
          "caption" : "文本(动态)",
          "itemStyle" : "DEFAULT",
          "itemType" : "FIELD",
          "name" : "field_text_dynamic",
          "getPSEditor" : {
            "editorType" : "SPAN",
            "name" : "field_text_dynamic",
            "predefinedType" : "FIELD_TEXT_DYNAMIC",
            "renderMode" : "TEXT_DYNAMIC",
            "enableLinkView" : false
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          }
        }, {
          "caption" : "图片(动态)",
          "itemStyle" : "DEFAULT",
          "itemType" : "FIELD",
          "name" : "field_image",
          "getPSEditor" : {
            "editorParams" : {
              "MAXCOUNT" : "1"
            },
            "editorType" : "PICTURE_ONE",
            "maxFileCount" : 1,
            "maxFileSize" : -1,
            "minFileCount" : 0,
            "name" : "field_image",
            "predefinedType" : "FIELD_IMAGE"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          }
        }, {
          "caption" : "轮播图(动态)",
          "itemStyle" : "DEFAULT",
          "itemType" : "FIELD",
          "name" : "field_carousel",
          "getPSEditor" : {
            "editorType" : "PICTURE",
            "maxFileCount" : -1,
            "maxFileSize" : -1,
            "minFileCount" : 0,
            "name" : "field_carousel",
            "predefinedType" : "FIELD_CAROUSEL"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          }
        }, {
          "caption" : "二维码",
          "itemStyle" : "DEFAULT",
          "itemType" : "FIELD",
          "name" : "field_qrcode",
          "getPSEditor" : {
            "editorParams" : {
              "MAXCOUNT" : "1"
            },
            "editorType" : "PICTURE_ONE",
            "maxFileCount" : 1,
            "maxFileSize" : -1,
            "minFileCount" : 0,
            "name" : "field_qrcode",
            "predefinedType" : "FIELD_QRCODE"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          }
        } ],
        "showCaption" : true
      }, {
        "caption" : "直接内容",
        "itemStyle" : "DEFAULT",
        "itemType" : "TABPAGE",
        "name" : "tabpage1",
        "getPSLayout" : {
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "分割线",
          "contentType" : "DIVIDER",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "divider1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "contentType" : "DIVIDER",
            "name" : "divider1",
            "predefinedType" : "DIVIDER"
          },
          "showCaption" : true
        }, {
          "caption" : "导航区占位",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "nav_pos1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "name" : "nav_pos1",
            "getPSRawItemParams" : [ {
              "key" : "REFCTRL",
              "name" : "panelitem",
              "value" : "LISTEXPBAR;GRIDEXPBAR"
            } ],
            "predefinedType" : "NAV_POS"
          },
          "showCaption" : true
        }, {
          "caption" : "提示信息",
          "contentType" : "INFO",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "info1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "contentType" : "INFO",
            "name" : "info1",
            "predefinedType" : "INFO"
          },
          "showCaption" : true
        }, {
          "caption" : "标签",
          "contentType" : "RAW",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "static_label1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "caption" : "标签",
            "contentType" : "RAW",
            "name" : "static_label1",
            "predefinedType" : "STATIC_LABEL",
            "renderMode" : "PARAGRAPH"
          },
          "rawContent" : "标签",
          "showCaption" : true
        }, {
          "caption" : "文本",
          "contentType" : "RAW",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "static_text1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "caption" : "文本内容",
            "contentType" : "RAW",
            "name" : "static_text1",
            "predefinedType" : "STATIC_TEXT",
            "renderMode" : "TEXT"
          },
          "rawContent" : "文本内容",
          "showCaption" : true
        }, {
          "caption" : "图片",
          "contentType" : "IMAGE",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "static_image1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "contentType" : "IMAGE",
            "name" : "static_image1",
            "predefinedType" : "STATIC_IMAGE"
          },
          "showCaption" : true
        }, {
          "caption" : "轮播图",
          "contentType" : "IMAGE",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "static_carousel1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "contentType" : "IMAGE",
            "name" : "static_carousel1",
            "getPSRawItemParams" : [ {
              "key" : "autoplay",
              "value" : "0"
            } ],
            "predefinedType" : "STATIC_CAROUSEL"
          },
          "showCaption" : true
        }, {
          "caption" : "视频播放",
          "contentType" : "RAW",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "static_videoplayer1",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "contentType" : "RAW",
            "name" : "static_videoplayer1",
            "predefinedType" : "STATIC_VIDEOPLAYER"
          },
          "showCaption" : true
        } ],
        "showCaption" : true
      }, {
        "caption" : "面板容器",
        "itemStyle" : "DEFAULT",
        "itemType" : "TABPAGE",
        "name" : "tabpage2",
        "getPSLayout" : {
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "栅格容器",
          "itemStyle" : "DEFAULT",
          "itemType" : "CONTAINER",
          "name" : "container_grid1",
          "getPSLayout" : {
            "layout" : "SIMPLEFLEX"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSPanelItems" : [ {
            "caption" : "面板容器",
            "itemStyle" : "DEFAULT",
            "itemType" : "CONTAINER",
            "name" : "container1",
            "getPSLayout" : {
              "childColMD" : 24,
              "columnCount" : 24,
              "layout" : "TABLE_24COL"
            },
            "getPSLayoutPos" : {
              "grow" : 4,
              "layout" : "SIMPLEFLEX"
            },
            "getPSPanelItems" : [ {
              "caption" : "单项数据容器",
              "dataRegionType" : "SINGLEDATA",
              "itemStyle" : "DEFAULT",
              "itemType" : "CONTAINER",
              "name" : "container_singledata1",
              "getPSLayout" : {
                "childColMD" : 24,
                "columnCount" : 24,
                "layout" : "TABLE_24COL"
              },
              "getPSLayoutPos" : {
                "colMD" : 24,
                "layout" : "TABLE_24COL"
              },
              "predefinedType" : "CONTAINER_SINGLEDATA"
            } ]
          }, {
            "caption" : "面板容器",
            "itemStyle" : "DEFAULT",
            "itemType" : "CONTAINER",
            "name" : "container2",
            "getPSLayout" : {
              "childColMD" : 24,
              "columnCount" : 24,
              "layout" : "TABLE_24COL"
            },
            "getPSLayoutPos" : {
              "grow" : 4,
              "layout" : "SIMPLEFLEX"
            },
            "getPSPanelItems" : [ {
              "caption" : "多项数据容器",
              "dataRegionType" : "MULTIDATA",
              "itemStyle" : "DEFAULT",
              "itemType" : "CONTAINER",
              "name" : "container_multidata1",
              "getPSLayout" : {
                "childColMD" : 24,
                "columnCount" : 24,
                "layout" : "TABLE_24COL"
              },
              "getPSLayoutPos" : {
                "colMD" : 24,
                "layout" : "TABLE_24COL"
              },
              "predefinedType" : "CONTAINER_MULTIDATA"
            } ]
          }, {
            "caption" : "面板容器",
            "itemStyle" : "DEFAULT",
            "itemType" : "CONTAINER",
            "name" : "container3",
            "getPSLayout" : {
              "childColMD" : 24,
              "columnCount" : 24,
              "layout" : "TABLE_24COL"
            },
            "getPSLayoutPos" : {
              "grow" : 4,
              "layout" : "SIMPLEFLEX"
            },
            "getPSPanelItems" : [ {
              "caption" : "滚动条容器",
              "itemStyle" : "DEFAULT",
              "itemType" : "CONTAINER",
              "name" : "container_scroll1",
              "getPSLayout" : {
                "layout" : "BORDER"
              },
              "getPSLayoutPos" : {
                "colMD" : 24,
                "layout" : "TABLE_24COL"
              },
              "getPSPanelItems" : [ {
                "caption" : "面板容器",
                "itemStyle" : "DEFAULT",
                "itemType" : "CONTAINER",
                "name" : "container_scroll_main1",
                "getPSLayout" : {
                  "layout" : "BORDER"
                },
                "getPSLayoutPos" : {
                  "layout" : "BORDER",
                  "layoutPos" : "CENTER"
                },
                "predefinedType" : "CONTAINER_SCROLL_MAIN",
                "showCaption" : true
              } ],
              "predefinedType" : "CONTAINER_SCROLL"
            } ]
          } ],
          "predefinedType" : "CONTAINER_GRID"
        }, {
          "caption" : "分组标题",
          "itemStyle" : "DEFAULT",
          "itemType" : "CONTAINER",
          "name" : "container_group1",
          "getPSLayout" : {
            "layout" : "FLEX"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSPanelItems" : [ {
            "caption" : "图片背景容器",
            "itemStyle" : "STYLE2",
            "itemType" : "CONTAINER",
            "name" : "container_image1",
            "getPSLayout" : {
              "layout" : "FLEX"
            },
            "getPSLayoutPos" : {
              "grow" : -1,
              "layout" : "FLEX"
            },
            "predefinedType" : "CONTAINER_IMAGE"
          } ],
          "predefinedType" : "CONTAINER_GROUP",
          "showCaption" : true
        } ],
        "showCaption" : true
      } ]
    } ],
    "layoutBodyOnly" : false,
    "layoutPanel" : true,
    "useDefaultLayout" : false,
    "viewProxyMode" : true,
    "modelid" : "A043A0D3-3692-4EA1-A44F-04BC6A5B5D7D",
    "modeltype" : "PSSYSVIEWLAYOUTPANEL",
    "getPSAppViewEngines" : [ {
      "engineCat" : "VIEW",
      "engineType" : "GridView",
      "name" : "engine"
    } ],
    "getPSAppViewLogics" : [ {
      "logicTrigger" : "TIMER",
      "logicType" : "APPDEUILOGIC",
      "name" : "VIEWLOGIC1",
      "getPSAppDEUILogic" : {
        "modelref" : true,
        "id" : "UILogic1"
      },
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "timer" : 666
    }, {
      "logicTrigger" : "CUSTOM",
      "logicType" : "SCRIPT",
      "name" : "VIEWLOGIC4",
      "scriptCode" : "ddddd"
    }, {
      "logicTrigger" : "CUSTOM",
      "logicType" : "APPUILOGIC",
      "name" : "newdata",
      "getPSAppUILogic" : {
        "actionAfterWizard" : "DEFAULT",
        "logicType" : "PREDEFINED",
        "name" : "新建数据",
        "getNewDataPSAppView" : {
          "getRefPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView.json",
            "viewType" : "DEEDITVIEW"
          }
        },
        "getPSAppUILogicRefViews" : [ {
          "getRefPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView.json",
            "viewType" : "DEEDITVIEW"
          }
        } ],
        "viewLogicType" : "APP_NEWDATA",
        "batchAddOnly" : false,
        "enableBatchAdd" : false,
        "enableWizardAdd" : false
      }
    }, {
      "logicTrigger" : "CUSTOM",
      "logicType" : "APPUILOGIC",
      "name" : "opendata",
      "getPSAppUILogic" : {
        "logicType" : "PREDEFINED",
        "name" : "打开数据",
        "getOpenDataPSAppView" : {
          "getRefPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView.json",
            "viewType" : "DEEDITVIEW"
          }
        },
        "getPSAppUILogicRefViews" : [ {
          "getRefPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView.json",
            "viewType" : "DEEDITVIEW"
          }
        } ],
        "viewLogicType" : "APP_OPENDATA",
        "editMode" : true
      }
    } ],
    "getPSAppViewRefs" : [ {
      "name" : "NEWDATA",
      "realTitle" : "测试实体编辑视图",
      "getRealTitlePSLanguageRes" : {
        "lanResTag" : "PAGE.TITLE.TEST.EDITVIEW"
      },
      "getRefPSAppView" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView.json",
        "viewType" : "DEEDITVIEW"
      }
    }, {
      "name" : "EDITDATA",
      "realTitle" : "测试实体编辑视图",
      "getRealTitlePSLanguageRes" : {
        "lanResTag" : "PAGE.TITLE.TEST.EDITVIEW"
      },
      "getRefPSAppView" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView.json",
        "viewType" : "DEEDITVIEW"
      }
    } ],
    "getPSControls" : [ {
      "controlType" : "SEARCHBAR",
      "name" : "searchbar",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "getPSControlParam" : {
        "id" : "searchbar"
      },
      "quickGroupCount" : -1,
      "quickSearchMode" : 1,
      "quickSearchWidth" : 0,
      "enableFilter" : false,
      "enableGroup" : false,
      "enableQuickSearch" : true,
      "mobileSearchBar" : false
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "DE.LNAME.TEST"
      },
      "caption" : "测试实体",
      "codeName" : "GridView_VIewPanelcaptionbar",
      "controlType" : "CAPTIONBAR",
      "name" : "captionbar",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "getPSControlParam" : { }
    } ]
  },
  "title" : "表格视图面板",
  "getTitlePSLanguageRes" : {
    "lanResTag" : "PAGE.TITLE.TEST.GRIDVIEW_VIEWPANEL"
  },
  "viewStyle" : "DEFAULT",
  "viewType" : "DEGRIDVIEW",
  "xDataControlName" : "grid",
  "xDataPSControl" : "视图[Test.TESTGridView_VIewPanel]无法获取部件[grid]",
  "enableDP" : true,
  "enableExport" : true,
  "enableFilter" : true,
  "enableImport" : true,
  "enableQuickSearch" : true,
  "enableRowEdit" : false,
  "enableSearch" : true,
  "rowEditDefault" : false,
  "modelid" : "6298072877960d034c4325e1cf91c7b0",
  "modeltype" : "PSAPPDEVIEW"
}