{
  "codeName" : "Usr04086806EditView_Form",
  "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/Book.json"
    }
  },
  "defaultLabelWidth" : 130,
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSFORMS/Usr04086806EditView_Form.json",
  "getGetDraftFromPSControlAction" : {
    "modelref" : true,
    "id" : "loaddraftfrom",
    "actionName" : "GETDRAFTFROM",
    "actionType" : "DEACTION",
    "dataAccessAction" : "CREATE",
    "name" : "loaddraftfrom",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.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/Book.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/Book.json"
    }
  },
  "hookEventNames" : [ "ONCLICK", "ONLOADSUCCESS", "ONBEFORELOAD", "ONCHANGE" ],
  "logicName" : "表单脚本_表单",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
  },
  "getPSControlLogics" : [ {
    "eventNames" : "onClick",
    "itemName" : "formitem1",
    "logicTag" : "form",
    "logicType" : "SCRIPT",
    "name" : "logic",
    "scriptCode" : "console.log('表单逻辑')"
  }, {
    "eventNames" : "onLoadSuccess",
    "logicTag" : "form",
    "logicType" : "SCRIPT",
    "name" : "logic3",
    "scriptCode" : "console.log('加载成功')"
  }, {
    "eventNames" : "onBeforeLoad",
    "logicTag" : "form",
    "logicType" : "SCRIPT",
    "name" : "logic5",
    "scriptCode" : "console.log('加载之前')"
  }, {
    "eventNames" : "onChange",
    "itemName" : "formitem2",
    "logicTag" : "form",
    "logicType" : "SCRIPT",
    "name" : "logic6",
    "scriptCode" : "console.log('值变更事件')"
  }, {
    "eventNames" : "onClick",
    "logicTag" : "form",
    "logicType" : "SCRIPT",
    "name" : "test1",
    "scriptCode" : "console.log('定时器触发----');",
    "timer" : 5000,
    "triggerType" : "TIMER"
  }, {
    "eventNames" : "onClick",
    "logicTag" : "form",
    "logicType" : "SCRIPT",
    "name" : "test2",
    "scriptCode" : "console.log('自定义逻辑----');",
    "triggerType" : "CUSTOM"
  } ],
  "getPSDEFormItemUpdates" : [ {
    "codeName" : "formitemupdate",
    "name" : "formitemupdate",
    "scriptCode" : "console.log('表单项更新')",
    "customCode" : true
  } ],
  "getPSDEFormItemVRs" : [ {
    "checkMode" : 3,
    "name" : "表单项值规则",
    "getPSDEFormItemName" : "formitem4",
    "getPSSysValueRule" : {
      "codeName" : "UsrValueRule0403052669",
      "dynaModelFilePath" : "PSSYSVALUERULES/UsrValueRule0403052669.json",
      "name" : "值规则测试",
      "ruleInfo" : "aa",
      "ruleType" : "SCRIPT",
      "scriptCode" : "console.log('值规则脚本')",
      "uniqueTag" : "UsrValueRule0403052669",
      "enableBackend" : true,
      "enableFront" : true
    },
    "valueRuleType" : "SYSVALUERULE"
  } ],
  "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" : "BOOKID",
      "codeName" : "BookId"
    }
  }, {
    "id" : "srfmajortext",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "BOOKNAME",
      "codeName" : "BookName"
    }
  }, {
    "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" : "formitem",
    "dataType" : 25
  }, {
    "id" : "formitem1",
    "dataType" : 25
  }, {
    "id" : "formitem2",
    "dataType" : 25
  }, {
    "id" : "formitem3",
    "dataType" : 25
  }, {
    "id" : "formitem4",
    "dataType" : 25
  }, {
    "id" : "field",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    }
  }, {
    "id" : "bookid",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "BOOKID",
      "codeName" : "BookId"
    }
  } ],
  "getPSDEFormPages" : [ {
    "caption" : "基本信息",
    "codeName" : "formpage1",
    "detailStyle" : "DEFAULT",
    "detailType" : "FORMPAGE",
    "name" : "formpage1",
    "getPSDEFormDetails" : [ {
      "caption" : "表单项更新",
      "codeName" : "formitem",
      "dataType" : 25,
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMITEM",
      "enableCond" : 3,
      "ignoreInput" : 0,
      "labelPos" : "LEFT",
      "labelWidth" : 130,
      "name" : "formitem",
      "noPrivDisplayMode" : 1,
      "getPSDEFormItemUpdate" : {
        "modelref" : true,
        "id" : "formitemupdate"
      },
      "getPSEditor" : {
        "editorType" : "TEXTBOX",
        "name" : "formitem"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "allowEmpty" : true,
      "showCaption" : true
    }, {
      "caption" : "表单逻辑",
      "codeName" : "formitem1",
      "dataType" : 25,
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMITEM",
      "enableCond" : 3,
      "ignoreInput" : 0,
      "labelPos" : "LEFT",
      "labelWidth" : 130,
      "name" : "formitem1",
      "noPrivDisplayMode" : 1,
      "getPSEditor" : {
        "editorType" : "TEXTBOX",
        "name" : "formitem1"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "allowEmpty" : true,
      "showCaption" : true
    }, {
      "caption" : "表单注入属性",
      "codeName" : "formitem2",
      "dataType" : 25,
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMITEM",
      "enableCond" : 3,
      "ignoreInput" : 0,
      "labelPos" : "LEFT",
      "labelWidth" : 130,
      "name" : "formitem2",
      "noPrivDisplayMode" : 1,
      "getPSControlAttributes" : [ {
        "attrName" : "name",
        "attrValue" : "console.log('表单注入属性')",
        "name" : "logic2"
      } ],
      "getPSControlLogics" : [ {
        "itemName" : "formitem2",
        "logicTag" : "form",
        "logicType" : "SCRIPT",
        "name" : "logic7",
        "scriptCode" : "console.log('项显示逻辑')",
        "triggerType" : "ITEMVISIBLE"
      } ],
      "getPSEditor" : {
        "editorType" : "TEXTBOX",
        "name" : "formitem2"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "allowEmpty" : true,
      "showCaption" : true
    }, {
      "caption" : "表单事件",
      "codeName" : "formitem3",
      "dataType" : 25,
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMITEM",
      "enableCond" : 3,
      "ignoreInput" : 0,
      "labelPos" : "LEFT",
      "labelWidth" : 130,
      "name" : "formitem3",
      "noPrivDisplayMode" : 1,
      "getPSDEFDGroupLogics" : [ {
        "groupOP" : "AND",
        "logicCat" : "SCRIPTCODE_BLUR",
        "logicType" : "GROUP",
        "getPSDEFDLogics" : [ {
          "logicType" : "SINGLE",
          "value" : "console.log('111111---失去焦点')"
        } ],
        "notMode" : false
      }, {
        "groupOP" : "AND",
        "logicCat" : "SCRIPTCODE_CHANGE",
        "logicType" : "GROUP",
        "getPSDEFDLogics" : [ {
          "logicType" : "SINGLE",
          "value" : "console.log('111111---值变更')"
        } ],
        "notMode" : false
      }, {
        "groupOP" : "AND",
        "logicCat" : "SCRIPTCODE_CLICK",
        "logicType" : "GROUP",
        "getPSDEFDLogics" : [ {
          "logicType" : "SINGLE",
          "value" : "console.log('111111---点击')"
        } ],
        "notMode" : false
      }, {
        "groupOP" : "AND",
        "logicCat" : "SCRIPTCODE_FOCUS",
        "logicType" : "GROUP",
        "getPSDEFDLogics" : [ {
          "logicType" : "SINGLE",
          "value" : "console.log('111111---获取焦点')"
        } ],
        "notMode" : false
      } ],
      "getPSEditor" : {
        "editorType" : "TEXTBOX",
        "name" : "formitem3"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "allowEmpty" : true,
      "showCaption" : true
    }, {
      "caption" : "表单值规则",
      "codeName" : "formitem4",
      "dataType" : 25,
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMITEM",
      "enableCond" : 3,
      "ignoreInput" : 0,
      "labelPos" : "LEFT",
      "labelWidth" : 130,
      "name" : "formitem4",
      "noPrivDisplayMode" : 1,
      "getPSEditor" : {
        "editorType" : "TEXTBOX",
        "name" : "formitem4"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "allowEmpty" : true,
      "showCaption" : true
    }, {
      "caption" : "属性",
      "codeName" : "field",
      "dataType" : 25,
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMITEM",
      "enableCond" : 3,
      "ignoreInput" : 0,
      "itemHeight" : 200.0,
      "labelPos" : "LEFT",
      "labelWidth" : 130,
      "name" : "field",
      "noPrivDisplayMode" : 1,
      "getPSAppDEField" : {
        "name" : "FIELD",
        "codeName" : "Field"
      },
      "getPSControlLogics" : [ {
        "itemName" : "field",
        "logicTag" : "form",
        "logicType" : "SCRIPT",
        "name" : "logic13",
        "scriptCode" : "console.log('项显示逻辑')",
        "triggerType" : "ITEMVISIBLE"
      } ],
      "getPSEditor" : {
        "editorHeight" : 200.0,
        "editorParams" : {
          "HEIGHT" : "200"
        },
        "editorType" : "TEXTAREA_10",
        "maxLength" : 2000,
        "name" : "field",
        "showMaxLength" : true
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "allowEmpty" : false,
      "showCaption" : true
    }, {
      "caption" : "书标识",
      "codeName" : "bookid",
      "dataType" : 25,
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMITEM",
      "enableCond" : 3,
      "ignoreInput" : 0,
      "labelPos" : "LEFT",
      "labelWidth" : 130,
      "name" : "bookid",
      "noPrivDisplayMode" : 1,
      "getPSAppDEField" : {
        "name" : "BOOKID",
        "codeName" : "BookId"
      },
      "getPSEditor" : {
        "editorType" : "HIDDEN",
        "name" : "bookid"
      },
      "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/Book.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/Book.json"
    }
  },
  "noTabHeader" : true,
  "modelid" : "08A78704-FF74-4AF9-ABE1-E8DAA1ED7A7E",
  "modeltype" : "PSDEFORM_EDITFORM"
}