{
  "accUserMode" : 2,
  "getCapPSLanguageRes" : {
    "lanResTag" : "DE.LNAME.TEST"
  },
  "caption" : "测试实体",
  "codeName" : "TESTOptionView",
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTOptionView.json",
  "name" : "TESTOptionView",
  "openMode" : "POPOVER",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
  },
  "getPSAppModule" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
  },
  "getPSDEViewCodeName" : "OptionView",
  "getPSDEViewId" : "CD06C116-15DE-453F-81BA-6168E46F159F",
  "getPSViewLayoutPanel" : {
    "codeName" : "Usr0313551910",
    "controlType" : "VIEWLAYOUTPANEL",
    "layoutMode" : "FLEX",
    "logicName" : "OptionView选项操作视图布局面",
    "name" : "layoutpanel",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    },
    "getPSControlParam" : { },
    "getPSLayout" : {
      "layout" : "FLEX"
    },
    "getRootPSPanelItems" : [ {
      "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"
    }, {
      "caption" : "容器",
      "itemStyle" : "DEFAULT",
      "itemType" : "CONTAINER",
      "name" : "view_footer",
      "getPSLayout" : {
        "dir" : "row-reverse",
        "layout" : "FLEX",
        "vAlign" : "center"
      },
      "getPSLayoutPos" : {
        "grow" : -1,
        "layout" : "FLEX",
        "shrink" : 0
      },
      "getPSPanelItems" : [ {
        "actionType" : "UIACTION",
        "buttonStyle" : "PRIMARY",
        "caption" : "确定",
        "itemStyle" : "PRIMARY",
        "itemType" : "BUTTON",
        "name" : "button_okaction",
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "layoutpanel_button_okaction"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSUIAction" : {
          "caption" : "确定",
          "codeName" : "Ok",
          "fullCodeName" : "Ok",
          "name" : "视图_确定",
          "predefinedType" : "VIEW_OKACTION",
          "timeout" : 60000,
          "uIActionMode" : "SYS",
          "uIActionTag" : "Ok",
          "uIActionType" : "DEUIACTION"
        },
        "tooltip" : "确定",
        "showCaption" : true
      }, {
        "actionType" : "UIACTION",
        "buttonStyle" : "INFO",
        "caption" : "取消",
        "itemStyle" : "INFO",
        "itemType" : "BUTTON",
        "name" : "button_cancelaction",
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "layoutpanel_button_cancelaction"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSUIAction" : {
          "caption" : "取消",
          "codeName" : "Cancel",
          "fullCodeName" : "Cancel",
          "name" : "视图_取消",
          "predefinedType" : "VIEW_CANCELACTION",
          "timeout" : 60000,
          "uIActionMode" : "SYS",
          "uIActionTag" : "Cancel",
          "uIActionType" : "DEUIACTION"
        },
        "tooltip" : "取消",
        "showCaption" : true
      } ]
    } ],
    "layoutBodyOnly" : true,
    "layoutPanel" : true,
    "useDefaultLayout" : false,
    "viewProxyMode" : true,
    "modelid" : "0C91CD8E-8C5D-4CF4-BFA7-D83C3C687B73",
    "modeltype" : "PSSYSVIEWLAYOUTPANEL",
    "getPSAppViewEngines" : [ {
      "engineCat" : "VIEW",
      "engineType" : "OptionView",
      "name" : "engine"
    } ],
    "getPSControls" : [ {
      "autoSaveMode" : 1,
      "codeName" : "NoTabForm",
      "controlType" : "FORM",
      "getCreatePSControlAction" : {
        "modelref" : true,
        "id" : "create",
        "actionName" : "Create",
        "actionType" : "DEACTION",
        "dataAccessAction" : "CREATE",
        "name" : "create",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Create"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      },
      "defaultLabelWidth" : 130,
      "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/NoTabForm.json",
      "getGetDraftFromPSControlAction" : {
        "modelref" : true,
        "id" : "loaddraftfrom",
        "actionName" : "GETDRAFTFROM",
        "actionType" : "DEACTION",
        "dataAccessAction" : "CREATE",
        "name" : "loaddraftfrom",
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      },
      "getGetDraftPSControlAction" : {
        "modelref" : true,
        "id" : "loaddraft",
        "actionName" : "GetDraft",
        "actionType" : "DEACTION",
        "dataAccessAction" : "CREATE",
        "name" : "loaddraft",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "GetDraft"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      },
      "getGetPSControlAction" : {
        "modelref" : true,
        "id" : "load",
        "actionName" : "Get",
        "actionType" : "DEACTION",
        "dataAccessAction" : "READ",
        "name" : "load",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Get"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      },
      "logicName" : "无分页表单",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "getPSControlHandler" : {
        "getPSHandlerActions" : [ {
          "actionName" : "GetDraft",
          "actionType" : "DEACTION",
          "dataAccessAction" : "CREATE",
          "name" : "loaddraft",
          "getPSAppDEMethod" : {
            "modelref" : true,
            "id" : "GetDraft"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
          }
        }, {
          "actionName" : "GETDRAFTFROM",
          "actionType" : "DEACTION",
          "dataAccessAction" : "CREATE",
          "name" : "loaddraftfrom",
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
          }
        }, {
          "actionName" : "Get",
          "actionType" : "DEACTION",
          "dataAccessAction" : "READ",
          "name" : "load",
          "getPSAppDEMethod" : {
            "modelref" : true,
            "id" : "Get"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
          }
        }, {
          "actionName" : "Create",
          "actionType" : "DEACTION",
          "dataAccessAction" : "CREATE",
          "name" : "create",
          "getPSAppDEMethod" : {
            "modelref" : true,
            "id" : "Create"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
          }
        }, {
          "actionName" : "Update",
          "actionType" : "DEACTION",
          "dataAccessAction" : "UPDATE",
          "name" : "update",
          "getPSAppDEMethod" : {
            "modelref" : true,
            "id" : "Update"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
          }
        }, {
          "actionName" : "Remove",
          "actionType" : "DEACTION",
          "dataAccessAction" : "DELETE",
          "name" : "remove",
          "getPSAppDEMethod" : {
            "modelref" : true,
            "id" : "Remove"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
          }
        } ],
        "enableDEFieldPrivilege" : false,
        "id" : "选项表单处理器"
      },
      "getPSControlParam" : {
        "autoLoad" : true,
        "showBusyIndicator" : true,
        "id" : "FORM"
      },
      "getPSDEFormItems" : [ {
        "id" : "srfupdatedate",
        "hidden" : true,
        "dataType" : 5,
        "getPSAppDEField" : {
          "name" : "UPDATEDATE",
          "codeName" : "UpdateDate"
        }
      }, {
        "id" : "srforikey",
        "hidden" : true,
        "dataType" : 25
      }, {
        "id" : "srfkey",
        "hidden" : true,
        "dataType" : 25,
        "getPSAppDEField" : {
          "name" : "TESTID",
          "codeName" : "TESTId"
        }
      }, {
        "id" : "srfmajortext",
        "hidden" : true,
        "dataType" : 25,
        "getPSAppDEField" : {
          "name" : "TESTNAME",
          "codeName" : "TESTName"
        }
      }, {
        "id" : "srftempmode",
        "hidden" : true,
        "dataType" : 25
      }, {
        "id" : "srfuf",
        "hidden" : true,
        "dataType" : 25
      }, {
        "id" : "srfdeid",
        "hidden" : true,
        "dataType" : 25
      }, {
        "id" : "srfsourcekey",
        "hidden" : true,
        "dataType" : 25
      }, {
        "id" : "testname",
        "dataType" : 25,
        "getPSAppDEField" : {
          "name" : "TESTNAME",
          "codeName" : "TESTName"
        }
      }, {
        "id" : "amount",
        "dataType" : 6,
        "getPSAppDEField" : {
          "name" : "AMOUNT",
          "codeName" : "Amount"
        }
      }, {
        "id" : "testid",
        "hidden" : true,
        "dataType" : 25,
        "getPSAppDEField" : {
          "name" : "TESTID",
          "codeName" : "TESTId"
        }
      } ],
      "getPSDEFormPages" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.TEST.NOTABFORM.FORMPAGE.FORMPAGE1"
        },
        "caption" : "基本信息",
        "codeName" : "formpage1",
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMPAGE",
        "name" : "formpage1",
        "getPSDEFormDetails" : [ {
          "getCapPSLanguageRes" : {
            "lanResTag" : "CONTROL.DEFORM.TEST.NOTABFORM.GROUPPANEL.GROUP1"
          },
          "caption" : "测试实体基本信息",
          "codeName" : "group1",
          "detailStyle" : "DEFAULT",
          "detailType" : "GROUPPANEL",
          "name" : "group1",
          "getPSDEFormDetails" : [ {
            "getCapPSLanguageRes" : {
              "lanResTag" : "DEF.LNAME.TESTNAME"
            },
            "caption" : "测试实体名称",
            "codeName" : "testname",
            "dataType" : 25,
            "detailStyle" : "DEFAULT",
            "detailType" : "FORMITEM",
            "enableCond" : 3,
            "ignoreInput" : 0,
            "labelPos" : "LEFT",
            "labelWidth" : 130,
            "name" : "testname",
            "noPrivDisplayMode" : 1,
            "getPSAppDEField" : {
              "name" : "TESTNAME",
              "codeName" : "TESTName"
            },
            "getPSEditor" : {
              "editorType" : "TEXTBOX",
              "maxLength" : 50,
              "minLength" : 3,
              "name" : "testname"
            },
            "getPSLayoutPos" : {
              "colMD" : 24,
              "layout" : "TABLE_24COL"
            },
            "allowEmpty" : true,
            "showCaption" : true
          }, {
            "getCapPSLanguageRes" : {
              "lanResTag" : "DEF.LNAME.AMOUNT"
            },
            "caption" : "金额",
            "codeName" : "amount",
            "dataType" : 6,
            "detailStyle" : "DEFAULT",
            "detailType" : "FORMITEM",
            "enableCond" : 3,
            "ignoreInput" : 0,
            "labelPos" : "LEFT",
            "labelWidth" : 130,
            "name" : "amount",
            "noPrivDisplayMode" : 1,
            "getPSAppDEField" : {
              "name" : "AMOUNT",
              "codeName" : "Amount"
            },
            "getPSEditor" : {
              "editorType" : "TEXTBOX",
              "maxValue" : 10000.0,
              "minValue" : 19.0,
              "name" : "amount",
              "precision" : 2
            },
            "getPSLayoutPos" : {
              "colMD" : 24,
              "layout" : "TABLE_24COL"
            },
            "unitName" : "元",
            "allowEmpty" : true,
            "enableUnitName" : true,
            "showCaption" : true
          } ],
          "getPSLayout" : {
            "childColMD" : 24,
            "columnCount" : 24,
            "layout" : "TABLE_24COL"
          },
          "getPSLayoutPos" : {
            "colMD" : 24,
            "layout" : "TABLE_24COL"
          },
          "infoGroupMode" : false,
          "showCaption" : false
        }, {
          "getCapPSLanguageRes" : {
            "lanResTag" : "DEF.LNAME.TESTID"
          },
          "caption" : "测试实体标识",
          "codeName" : "testid",
          "dataType" : 25,
          "detailStyle" : "DEFAULT",
          "detailType" : "FORMITEM",
          "enableCond" : 3,
          "ignoreInput" : 0,
          "labelPos" : "LEFT",
          "labelWidth" : 130,
          "name" : "testid",
          "noPrivDisplayMode" : 1,
          "getPSAppDEField" : {
            "name" : "TESTID",
            "codeName" : "TESTId"
          },
          "getPSEditor" : {
            "editorType" : "HIDDEN",
            "name" : "testid"
          },
          "getPSLayoutPos" : {
            "colMD" : 24,
            "layout" : "TABLE_24COL"
          },
          "allowEmpty" : true,
          "hidden" : true
        } ],
        "getPSLayout" : {
          "childColMD" : 24,
          "columnCount" : 24,
          "layout" : "TABLE_24COL"
        },
        "infoGroupMode" : false
      } ],
      "getPSLayout" : {
        "childColMD" : 24,
        "columnCount" : 24,
        "layout" : "TABLE_24COL"
      },
      "getRemovePSControlAction" : {
        "modelref" : true,
        "id" : "remove",
        "actionName" : "Remove",
        "actionType" : "DEACTION",
        "dataAccessAction" : "DELETE",
        "name" : "remove",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Remove"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      },
      "tabHeaderPos" : "TOP",
      "getUpdatePSControlAction" : {
        "modelref" : true,
        "id" : "update",
        "actionName" : "Update",
        "actionType" : "DEACTION",
        "dataAccessAction" : "UPDATE",
        "name" : "update",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Update"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
        }
      },
      "enableAutoSave" : true,
      "noTabHeader" : true,
      "name" : "form",
      "modelid" : "56A42EE5-6CFD-40FA-BCEA-B89C487C2A74",
      "modeltype" : "PSDEFORM_EDITFORM"
    }, {
      "codeName" : "OptionViewdatainfobar",
      "controlType" : "DATAINFOBAR",
      "name" : "datainfobar",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "getPSControlParam" : {
        "id" : "datainfobar"
      }
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "DE.LNAME.TEST"
      },
      "caption" : "测试实体",
      "codeName" : "OptionViewcaptionbar",
      "controlType" : "CAPTIONBAR",
      "name" : "captionbar",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
      },
      "getPSControlParam" : { }
    } ]
  },
  "title" : "测试实体选项操作视图",
  "getTitlePSLanguageRes" : {
    "lanResTag" : "PAGE.TITLE.TEST.OPTIONVIEW"
  },
  "viewStyle" : "DEFAULT",
  "viewType" : "DEOPTVIEW",
  "width" : 400,
  "xDataControlName" : "form",
  "enableDP" : true,
  "showDataInfoBar" : true,
  "modelid" : "4800c801dc989ce2e52232f5432e26b9",
  "modeltype" : "PSAPPDEVIEW"
}