{
  "accUserMode" : 2,
  "caption" : "重复器表单",
  "codeName" : "bookUsr08126702EditView",
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr08126702EditView.json",
  "name" : "bookUsr08126702EditView",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
  },
  "getPSAppModule" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
  },
  "getPSDEViewCodeName" : "Usr08126702EditView",
  "getPSDEViewId" : "182871AB-0C16-4789-B7C8-A9E1CFEA75ED",
  "getPSViewLayoutPanel" : {
    "codeName" : "Usr0225119621",
    "controlType" : "VIEWLAYOUTPANEL",
    "layoutMode" : "FLEX",
    "logicName" : "Usr08126702EditView编辑视图布局面板",
    "name" : "layoutpanel",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
    },
    "getPSControlParam" : { },
    "getPSLayout" : {
      "layout" : "FLEX"
    },
    "getRootPSPanelItems" : [ {
      "caption" : "容器",
      "itemStyle" : "DEFAULT",
      "itemType" : "CONTAINER",
      "name" : "view_header",
      "getPSLayout" : {
        "align" : "space-between",
        "dir" : "row",
        "layout" : "FLEX",
        "vAlign" : "center"
      },
      "getPSLayoutPos" : {
        "grow" : -1,
        "layout" : "FLEX",
        "shrink" : 0
      },
      "getPSPanelItems" : [ {
        "caption" : "容器",
        "itemStyle" : "DEFAULT",
        "itemType" : "CONTAINER",
        "name" : "view_header_left",
        "getPSLayout" : {
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "heightMode" : "FULL",
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "容器",
          "itemStyle" : "DEFAULT",
          "itemType" : "CONTAINER",
          "name" : "view_captionbar",
          "getPSLayout" : {
            "align" : "center",
            "layout" : "FLEX"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "heightMode" : "FULL",
            "layout" : "FLEX"
          },
          "getPSPanelItems" : [ {
            "caption" : "页面标题",
            "itemStyle" : "DEFAULT",
            "itemType" : "CTRLPOS",
            "name" : "captionbar",
            "getPSLayoutPos" : {
              "grow" : -1,
              "layout" : "FLEX"
            },
            "showCaption" : true
          } ]
        } ]
      }, {
        "caption" : "容器",
        "itemStyle" : "DEFAULT",
        "itemType" : "CONTAINER",
        "name" : "view_header_right",
        "getPSLayout" : {
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "heightMode" : "FULL",
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "容器",
          "itemStyle" : "DEFAULT",
          "itemType" : "CONTAINER",
          "name" : "view_toolbar",
          "getPSLayout" : {
            "align" : "center",
            "layout" : "FLEX"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "heightMode" : "FULL",
            "layout" : "FLEX"
          },
          "getPSPanelItems" : [ {
            "caption" : "工具栏",
            "itemStyle" : "DEFAULT",
            "itemType" : "CTRLPOS",
            "name" : "toolbar",
            "getPSLayoutPos" : {
              "grow" : -1,
              "layout" : "FLEX"
            },
            "showCaption" : true
          } ]
        } ]
      } ],
      "predefinedType" : "VIEWHEADER"
    }, {
      "caption" : "单项数据容器",
      "dataRegionType" : "SINGLEDATA",
      "dataSourceType" : "DEACTION",
      "itemStyle" : "DEFAULT",
      "itemType" : "CONTAINER",
      "name" : "container_singledata",
      "getPSAppDEMethod" : {
        "modelref" : true,
        "id" : "Get"
      },
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
      },
      "getPSLayout" : {
        "layout" : "FLEX"
      },
      "getPSLayoutPos" : {
        "grow" : -1,
        "layout" : "FLEX"
      },
      "getPSPanelItems" : [ {
        "caption" : "文本",
        "contentType" : "RAW",
        "itemStyle" : "DEFAULT",
        "itemType" : "RAWITEM",
        "name" : "static_text9",
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSRawItem" : {
          "caption" : "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>HTML Template with Features</title>\n  <style>\n    /* 外部样式 */\n    button {\n      padding: 10px 20px;\n      background-color: #007BFF;\n      color: white;\n      border: none;\n      border-radius: 5px;\n      cursor: pointer;\n      transition: background-color 0.3s ease;\n    }\n\n    button:hover {\n      background-color: #0056b3;\n    }\n\n    .book-info {\n      border: 1px solid #ccc;\n      width: 300px;\n      height: auto;\n      padding: 20px;\n      margin-top: 20px;\n      border-radius: 5px;\n      animation: fadeIn 1s ease;\n    }\n\n    @keyframes fadeIn {\n      from {\n        opacity: 0;\n      }\n\n      to {\n        opacity: 1;\n      }\n    }\n  </style>\n</head>\n\n<body>\n  <!-- 按钮，带有点击事件 -->\n  <button id=\"myButton\">test</button>\n  <button id=\"myButton2\">log</button>\n  <!-- 书籍信息容器 -->\n  <div id=\"bookInfo\" class=\"book-info\">\n    <div>名称：{{data.bookname}}</div>\n    <div>更新时间：{{data.updatedate}}</div>\n  </div>\n  <div>\n    <div>123</div>\n    <div>456</div>\n    <div>789</div>\n  </div>\n  <script>\n    // 模拟数据\n    const curdata = {\n      test: 'test1',\n      bookname: 'name外部值为-{{data.bookname}}',\n      updatedate: '{{data.updatedate}}'\n    };\n    // 处理按钮点击事件\n    function handleClick() {\n      // 获取书籍信息元素\n      const bookInfo = document.getElementById('bookInfo');\n      if (bookInfo) {\n        // 移除元素\n        bookInfo.remove();\n      }\n    }\n    // 处理按钮点击事件\n    function handleClick2() {\n      console.log('打印{data.bookname}', '测试内容{data.bookname}');\n      console.log('内部data数据', curdata);\n      console.log('修改外部数据');\n      data.bookname = '测试书籍名称';\n    }\n    document.getElementById('myButton').addEventListener('click', handleClick);\n    document.getElementById('myButton2').addEventListener('click', handleClick2);\n  </script>\n</body>\n\n</html>",
          "contentType" : "RAW",
          "name" : "static_text9",
          "predefinedType" : "HTML_PREVIEW",
          "renderMode" : "TEXT"
        },
        "rawContent" : "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>HTML Template with Features</title>\n  <style>\n    /* 外部样式 */\n    button {\n      padding: 10px 20px;\n      background-color: #007BFF;\n      color: white;\n      border: none;\n      border-radius: 5px;\n      cursor: pointer;\n      transition: background-color 0.3s ease;\n    }\n\n    button:hover {\n      background-color: #0056b3;\n    }\n\n    .book-info {\n      border: 1px solid #ccc;\n      width: 300px;\n      height: auto;\n      padding: 20px;\n      margin-top: 20px;\n      border-radius: 5px;\n      animation: fadeIn 1s ease;\n    }\n\n    @keyframes fadeIn {\n      from {\n        opacity: 0;\n      }\n\n      to {\n        opacity: 1;\n      }\n    }\n  </style>\n</head>\n\n<body>\n  <!-- 按钮，带有点击事件 -->\n  <button id=\"myButton\">test</button>\n  <button id=\"myButton2\">log</button>\n  <!-- 书籍信息容器 -->\n  <div id=\"bookInfo\" class=\"book-info\">\n    <div>名称：{{data.bookname}}</div>\n    <div>更新时间：{{data.updatedate}}</div>\n  </div>\n  <div>\n    <div>123</div>\n    <div>456</div>\n    <div>789</div>\n  </div>\n  <script>\n    // 模拟数据\n    const curdata = {\n      test: 'test1',\n      bookname: 'name外部值为-{{data.bookname}}',\n      updatedate: '{{data.updatedate}}'\n    };\n    // 处理按钮点击事件\n    function handleClick() {\n      // 获取书籍信息元素\n      const bookInfo = document.getElementById('bookInfo');\n      if (bookInfo) {\n        // 移除元素\n        bookInfo.remove();\n      }\n    }\n    // 处理按钮点击事件\n    function handleClick2() {\n      console.log('打印{data.bookname}', '测试内容{data.bookname}');\n      console.log('内部data数据', curdata);\n      console.log('修改外部数据');\n      data.bookname = '测试书籍名称';\n    }\n    document.getElementById('myButton').addEventListener('click', handleClick);\n    document.getElementById('myButton2').addEventListener('click', handleClick2);\n  </script>\n</body>\n\n</html>",
        "showCaption" : true
      } ],
      "predefinedType" : "CONTAINER_SINGLEDATA"
    }, {
      "caption" : "容器",
      "itemStyle" : "DEFAULT",
      "itemType" : "CONTAINER",
      "name" : "view_content",
      "getPSLayout" : {
        "layout" : "FLEX"
      },
      "getPSLayoutPos" : {
        "grow" : 1,
        "layout" : "FLEX"
      },
      "getPSPanelItems" : [ {
        "caption" : "表单",
        "itemStyle" : "DEFAULT",
        "itemType" : "CTRLPOS",
        "name" : "form",
        "getPSLayoutPos" : {
          "grow" : 1,
          "layout" : "FLEX"
        },
        "showCaption" : true
      } ],
      "predefinedType" : "VIEWCONTENT"
    } ],
    "layoutBodyOnly" : false,
    "layoutPanel" : true,
    "useDefaultLayout" : false,
    "viewProxyMode" : true,
    "modelid" : "419DDF1F-53E7-45BD-B652-010CC207C639",
    "modeltype" : "PSSYSVIEWLAYOUTPANEL",
    "getPSAppViewEngines" : [ {
      "engineCat" : "VIEW",
      "engineType" : "EditView",
      "name" : "engine"
    } ],
    "getPSControls" : [ {
      "codeName" : "Usr08126702EditViewtoolbar",
      "controlType" : "TOOLBAR",
      "logicName" : "重复器表单_工具栏",
      "name" : "toolbar",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
      },
      "getPSControlParam" : {
        "id" : "TOOLBAR"
      },
      "getPSDEToolbarItems" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
        },
        "caption" : "保存并关闭",
        "groupExtractMode" : "ITEM",
        "itemType" : "DEUIACTION",
        "name" : "deuiaction1",
        "noPrivDisplayMode" : 2,
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "toolbar_deuiaction1"
        },
        "getPSSysImage" : {
          "cssClass" : "sx-tb-saveandclose"
        },
        "getPSUIAction" : {
          "getCapPSLanguageRes" : {
            "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
          },
          "caption" : "保存并关闭",
          "codeName" : "SaveAndExit",
          "fullCodeName" : "SaveAndExit",
          "name" : "编辑界面_保存并退出操作",
          "getPSSysImage" : {
            "cssClass" : "sx-tb-saveandclose"
          },
          "predefinedType" : "EDITVIEW_SAVEANDEXITACTION",
          "timeout" : 60000,
          "getTooltipPSLanguageRes" : {
            "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE"
          },
          "uIActionMode" : "SYS",
          "uIActionTag" : "SaveAndExit",
          "uIActionType" : "DEUIACTION"
        },
        "tooltip" : "保存并关闭",
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE"
        },
        "showCaption" : true,
        "showIcon" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.*.SAVE"
        },
        "caption" : "保存",
        "groupExtractMode" : "ITEM",
        "itemType" : "DEUIACTION",
        "name" : "deuiaction2",
        "noPrivDisplayMode" : 2,
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "toolbar_deuiaction2"
        },
        "getPSSysImage" : {
          "glyph" : "xf0c7@FontAwesome",
          "cssClass" : "fa fa-save"
        },
        "getPSUIAction" : {
          "getCapPSLanguageRes" : {
            "lanResTag" : "TBB.TEXT.*.SAVE"
          },
          "caption" : "保存",
          "codeName" : "Save",
          "fullCodeName" : "Save",
          "name" : "编辑界面_保存操作",
          "getPSSysImage" : {
            "glyph" : "xf0c7@FontAwesome",
            "cssClass" : "fa fa-save"
          },
          "predefinedType" : "EDITVIEW_SAVEACTION",
          "timeout" : 60000,
          "getTooltipPSLanguageRes" : {
            "lanResTag" : "TBB.TOOLTIP.*.SAVE"
          },
          "uIActionMode" : "SYS",
          "uIActionTag" : "Save",
          "uIActionType" : "DEUIACTION"
        },
        "tooltip" : "保存",
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.*.SAVE"
        },
        "showCaption" : true,
        "showIcon" : true
      } ],
      "xDataControlName" : "form",
      "modelid" : "A400501F-7B1A-49BD-B497-D538DDA96BC0",
      "modeltype" : "PSDETOOLBAR"
    }, {
      "codeName" : "Usr08126702EditViewdatainfobar",
      "controlType" : "DATAINFOBAR",
      "name" : "datainfobar",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
      },
      "getPSControlParam" : {
        "id" : "datainfobar"
      }
    }, {
      "caption" : "重复器表单",
      "codeName" : "Usr08126702EditViewcaptionbar",
      "controlType" : "CAPTIONBAR",
      "name" : "captionbar",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
      },
      "getPSControlParam" : { }
    } ]
  },
  "title" : "重复器表单",
  "viewStyle" : "DEFAULT",
  "viewType" : "DEEDITVIEW",
  "xDataControlName" : "form",
  "xDataPSControl" : "视图[Test.bookUsr08126702EditView]无法获取部件[form]",
  "enableDP" : true,
  "showDataInfoBar" : true,
  "modelid" : "9db036eece74938c06f4193fc8ddf656",
  "modeltype" : "PSAPPDEVIEW"
}