{
  "accUserMode" : 2,
  "getCapPSLanguageRes" : {
    "lanResTag" : "DE.LNAME.SYS_TODO"
  },
  "caption" : "待办",
  "codeName" : "SysTodoEditView",
  "dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPDEVIEWS/SysTodoEditView.json",
  "funcViewMode" : "EDITVIEW",
  "memo" : "系统自动添加",
  "name" : "SysTodoEditView",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
  },
  "getPSAppModule" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Mob/PSAPPMODULES/Test.json"
  },
  "getPSAppViewEngines" : [ {
    "engineCat" : "VIEW",
    "engineType" : "EditView",
    "name" : "engine"
  } ],
  "getPSControls" : [ {
    "codeName" : "EditViewtoolbar",
    "controlType" : "TOOLBAR",
    "logicName" : "工具栏模板（默认编辑界面）",
    "name" : "toolbar",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
    },
    "getPSControlParam" : {
      "id" : "TOOLBAR"
    },
    "getPSDEToolbarItems" : [ {
      "actionLevel" : 200,
      "borderStyle" : "NONE",
      "caption" : "最小化",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem3",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem3"
      },
      "getPSSysImage" : {
        "cssClass" : "ribbon"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "caption" : "最小化",
        "codeName" : "ShortCut",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "ShortCut",
        "name" : "最小化",
        "getPSSysImage" : {
          "glyph" : "xf1d9@FontAwesome",
          "cssClass" : "fa fa-send-o"
        },
        "uIActionMode" : "FRONT",
        "uIActionTag" : "ShortCut",
        "uIActionType" : "DEUIACTION",
        "globalUIAction" : true
      },
      "tooltip" : "0123465",
      "uIActionTarget" : "NONE",
      "width" : 500.0,
      "showCaption" : true,
      "showIcon" : true
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDNEW"
      },
      "caption" : "保存并新建",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem4",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem4"
      },
      "getPSSysImage" : {
        "cssClass" : "sx-tb-saveandnew"
      },
      "getPSUIAction" : {
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDNEW"
        },
        "caption" : "保存并新建",
        "codeName" : "SaveAndNew",
        "fullCodeName" : "SaveAndNew",
        "name" : "编辑界面_保存并新建操作",
        "getPSSysImage" : {
          "cssClass" : "sx-tb-saveandnew"
        },
        "predefinedType" : "EDITVIEW_SAVEANDNEWACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW"
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "SaveAndNew",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "保存并新建",
      "getTooltipPSLanguageRes" : {
        "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW"
      },
      "showCaption" : true,
      "showIcon" : false
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
      },
      "caption" : "保存并关闭",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem5",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem5"
      },
      "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"
      },
      "width" : 300.0,
      "showCaption" : true,
      "showIcon" : true
    }, {
      "itemType" : "SEPERATOR",
      "name" : "tbitem6"
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.EDITVIEW.REMOVEANDCLOSE"
      },
      "caption" : "删除并关闭",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem7",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem7"
      },
      "getPSSysImage" : {
        "glyph" : "xf00d@FontAwesome",
        "cssClass" : "fa fa-remove"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.EDITVIEW.REMOVEANDCLOSE"
        },
        "caption" : "删除并关闭",
        "codeName" : "RemoveAndExit",
        "fullCodeName" : "RemoveAndExit",
        "name" : "编辑界面_删除并退出操作",
        "getPSSysImage" : {
          "glyph" : "xf00d@FontAwesome",
          "cssClass" : "fa fa-remove"
        },
        "predefinedType" : "EDITVIEW_REMOVEANDEXITACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.EDITVIEW.REMOVEANDCLOSE"
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "RemoveAndExit",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "删除并关闭",
      "getTooltipPSLanguageRes" : {
        "lanResTag" : "TBB.TOOLTIP.EDITVIEW.REMOVEANDCLOSE"
      },
      "uIActionTarget" : "SINGLEKEY",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "itemType" : "SEPERATOR",
      "name" : "tbitem8"
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.*.NEW"
      },
      "caption" : "新建",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem12",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem12"
      },
      "getPSSysImage" : {
        "glyph" : "xf0f6@FontAwesome",
        "cssClass" : "fa fa-file-text-o"
      },
      "getPSUIAction" : {
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.*.NEW"
        },
        "caption" : "新建",
        "codeName" : "New",
        "fullCodeName" : "New",
        "name" : "编辑界面_新建操作",
        "getPSSysImage" : {
          "glyph" : "xf0f6@FontAwesome",
          "cssClass" : "fa fa-file-text-o"
        },
        "predefinedType" : "EDITVIEW_NEWACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.*.NEW"
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "New",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "新建",
      "getTooltipPSLanguageRes" : {
        "lanResTag" : "TBB.TOOLTIP.*.NEW"
      },
      "showCaption" : true,
      "showIcon" : true
    }, {
      "itemType" : "SEPERATOR",
      "name" : "tbitem13"
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.*.COPY"
      },
      "caption" : "拷贝",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem14",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem14"
      },
      "getPSSysImage" : {
        "glyph" : "xf0c5@FontAwesome",
        "cssClass" : "fa fa-copy"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.*.COPY"
        },
        "caption" : "拷贝",
        "codeName" : "Copy",
        "fullCodeName" : "Copy",
        "name" : "编辑界面_拷贝操作",
        "getPSSysImage" : {
          "glyph" : "xf0c5@FontAwesome",
          "cssClass" : "fa fa-copy"
        },
        "predefinedType" : "EDITVIEW_COPYACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.*.COPY"
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "Copy",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "拷贝",
      "getTooltipPSLanguageRes" : {
        "lanResTag" : "TBB.TOOLTIP.*.COPY"
      },
      "uIActionTarget" : "SINGLEKEY",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "itemType" : "SEPERATOR",
      "name" : "tbitem16"
    }, {
      "borderStyle" : "NONE",
      "buttonStyle" : "WARNING",
      "caption" : "第一个记录",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem23",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem23"
      },
      "getPSSysImage" : {
        "glyph" : "xf049@FontAwesome",
        "cssClass" : "fa fa-fast-backward"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "caption" : "第一个记录",
        "codeName" : "FirstRecord",
        "fullCodeName" : "FirstRecord",
        "name" : "编辑界面_第一个记录",
        "getPSSysImage" : {
          "glyph" : "xf049@FontAwesome",
          "cssClass" : "fa fa-fast-backward"
        },
        "predefinedType" : "EDITVIEW_FIRSTRECORDACTION",
        "timeout" : 60000,
        "uIActionMode" : "SYS",
        "uIActionTag" : "FirstRecord",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "第一个记录",
      "uIActionTarget" : "SINGLEKEY",
      "showCaption" : false,
      "showIcon" : true
    }, {
      "borderStyle" : "SOLID",
      "buttonStyle" : "SUCCESS",
      "caption" : "上一个记录",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem24",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem24"
      },
      "getPSSysImage" : {
        "glyph" : "xf048@FontAwesome",
        "cssClass" : "fa fa-step-backward"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "caption" : "上一个记录",
        "codeName" : "PrevRecord",
        "fullCodeName" : "PrevRecord",
        "name" : "编辑界面_上一个记录",
        "getPSSysImage" : {
          "glyph" : "xf048@FontAwesome",
          "cssClass" : "fa fa-step-backward"
        },
        "predefinedType" : "EDITVIEW_PREVRECORDACTION",
        "timeout" : 60000,
        "uIActionMode" : "SYS",
        "uIActionTag" : "PrevRecord",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "上一个记录",
      "uIActionTarget" : "SINGLEKEY",
      "showCaption" : false,
      "showIcon" : true
    }, {
      "borderStyle" : "DOTTED",
      "buttonStyle" : "STYLE4",
      "caption" : "下一个记录",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem25",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem25"
      },
      "getPSSysImage" : {
        "glyph" : "xf051@FontAwesome",
        "cssClass" : "fa fa-step-forward"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "caption" : "下一个记录",
        "codeName" : "NextRecord",
        "fullCodeName" : "NextRecord",
        "name" : "编辑界面_下一个记录",
        "getPSSysImage" : {
          "glyph" : "xf051@FontAwesome",
          "cssClass" : "fa fa-step-forward"
        },
        "predefinedType" : "EDITVIEW_NEXTRECORDACTION",
        "timeout" : 60000,
        "uIActionMode" : "SYS",
        "uIActionTag" : "NextRecord",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "下一个记录",
      "uIActionTarget" : "SINGLEKEY",
      "showCaption" : false,
      "showIcon" : true
    }, {
      "borderStyle" : "DASHED",
      "buttonStyle" : "STYLE3",
      "caption" : "最后一个记录",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem26",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem26"
      },
      "getPSSysImage" : {
        "glyph" : "xf050@FontAwesome",
        "cssClass" : "fa fa-fast-forward"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "caption" : "最后一个记录",
        "codeName" : "LastRecord",
        "fullCodeName" : "LastRecord",
        "name" : "编辑界面_最后一个记录",
        "getPSSysImage" : {
          "glyph" : "xf050@FontAwesome",
          "cssClass" : "fa fa-fast-forward"
        },
        "predefinedType" : "EDITVIEW_LASTRECORDACTION",
        "timeout" : 60000,
        "uIActionMode" : "SYS",
        "uIActionTag" : "LastRecord",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "最后一个记录",
      "uIActionTarget" : "SINGLEKEY",
      "showCaption" : false,
      "showIcon" : true
    }, {
      "itemType" : "SEPERATOR",
      "name" : "tbitem21"
    }, {
      "borderStyle" : "DOUBLE",
      "buttonStyle" : "SUCCESS",
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.*.HELP"
      },
      "caption" : "帮助",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "tbitem22",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_tbitem22"
      },
      "getPSSysImage" : {
        "glyph" : "xf128@FontAwesome",
        "cssClass" : "fa fa-question"
      },
      "getPSUIAction" : {
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.*.HELP"
        },
        "caption" : "帮助",
        "codeName" : "Help",
        "fullCodeName" : "Help",
        "name" : "编辑界面_帮助操作",
        "getPSSysImage" : {
          "glyph" : "xf128@FontAwesome",
          "cssClass" : "fa fa-question"
        },
        "predefinedType" : "EDITVIEW_HELPACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.*.HELP"
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "Help",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "帮助",
      "getTooltipPSLanguageRes" : {
        "lanResTag" : "TBB.TOOLTIP.*.HELP"
      },
      "showCaption" : true,
      "showIcon" : true
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.EDITVIEW.CLOSE"
      },
      "caption" : "退出",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction1",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction1"
      },
      "getPSSysImage" : {
        "glyph" : "xf06e@FontAwesome",
        "cssClass" : "fa fa-eye"
      },
      "getPSUIAction" : {
        "getCapPSLanguageRes" : {
          "lanResTag" : "TBB.TEXT.EDITVIEW.CLOSE"
        },
        "caption" : "关闭",
        "codeName" : "Exit",
        "fullCodeName" : "Exit",
        "name" : "编辑界面_退出操作",
        "getPSSysImage" : {
          "glyph" : "xf08b@FontAwesome",
          "cssClass" : "fa fa-sign-out"
        },
        "predefinedType" : "EDITVIEW_EXITACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "lanResTag" : "TBB.TOOLTIP.EDITVIEW.CLOSE"
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "Exit",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "退出",
      "getTooltipPSLanguageRes" : {
        "lanResTag" : "TBB.TOOLTIP.EDITVIEW.CLOSE"
      },
      "showCaption" : true,
      "showIcon" : true
    }, {
      "caption" : "表单全部启用",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction2",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction2"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "caption" : "表单全部启用",
        "codeName" : "FormEnabledAll",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "FormEnabledAll",
        "name" : "表单全部启用",
        "scriptCode" : "console.log('全部启用');\r\nconst form = view.ctx.controllersMap.get('form');\r\nif (form) {\r\n  Object.keys(form.details).map(key => {\r\n    const detail = form.details[key];\r\n    const { detailType } = detail.model;\r\n    detail.state.disabled = false;\r\n    if (detail.model.editor) {\r\n      const { valueType } = detail.model.editor;\r\n      // 清空弹框内录入的表单项数据 SIMPLE：简单值、 SIMPLES：简单值数组、 OBJECT：对象（Object）、 OBJECTS：对象数组（Object[]）\r\n      if (detailType === 'FORMITEM') {\r\n        switch (valueType) {\r\n          case 'SIMPLE':\r\n            return detail.setDataValue('test');\r\n          case 'SIMPLES':\r\n            return detail.setDataValue('1,2,3');\r\n          case 'OBJECT':\r\n            return detail.setDataValue({});\r\n          case 'OBJECTS':\r\n            return detail.setDataValue([]);\r\n          default:\r\n            return null;\r\n        }\r\n      }\r\n    }\r\n    return null;\r\n  });\r\n}",
        "uIActionMode" : "FRONT",
        "uIActionTag" : "FormEnabledAll",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "表单全部启用",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "caption" : "表单全部禁用",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction3",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction3"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "caption" : "表单全部禁用",
        "codeName" : "FormDisabledAll",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "FormDisabledAll",
        "name" : "表单全部禁用",
        "scriptCode" : "console.log('全部启用');const form = view.ctx.controllersMap.get('form');\r\nif (form) {\r\n  Object.keys(form.details).map(key => {\r\n    const detail = form.details[key];\r\n    const { detailType } = detail.model;\r\n    detail.state.disabled = true;\r\n    if (detail.model.editor) {\r\n      const { valueType } = detail.model.editor;\r\n      // 清空弹框内录入的表单项数据 SIMPLE：简单值、 SIMPLES：简单值数组、 OBJECT：对象（Object）、 OBJECTS：对象数组（Object[]）\r\n      if (detailType === 'FORMITEM') {\r\n        switch (valueType) {\r\n          case 'SIMPLE':\r\n            return detail.setDataValue('test');\r\n          case 'SIMPLES':\r\n            return detail.setDataValue('1,2,3');\r\n          case 'OBJECT':\r\n            return detail.setDataValue({});\r\n          case 'OBJECTS':\r\n            return detail.setDataValue([]);\r\n          default:\r\n            return null;\r\n        }\r\n      }\r\n    }\r\n    return null;\r\n  });\r\n}",
        "uIActionMode" : "FRONT",
        "uIActionTag" : "FormDisabledAll",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "表单全部禁用",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "TBB.TEXT.*.SAVE"
      },
      "caption" : "保存",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction4",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction4"
      },
      "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
    }, {
      "caption" : "树选择编辑",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction6",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction6"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "caption" : "树选择编辑",
        "codeName" : "TreePickerEdit",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "TreePickerEdit",
        "name" : "树选择编辑",
        "scriptCode" : "console.log('树选择编辑');\r\nconst form = view.ctx.controllersMap.get('form');\r\nif (form) {\r\n    const treePicker = form.details['field24'];\r\n    if (treePicker && treePicker.state) treePicker.state.readonly = false;\r\n}",
        "uIActionMode" : "FRONT",
        "uIActionTag" : "TreePickerEdit",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "树选择编辑",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "buttonStyle" : "SUCCESS",
      "caption" : "树选择取消",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction5",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction5"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "buttonStyle" : "SUCCESS",
        "caption" : "树选择取消",
        "codeName" : "TreePickerCancel",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "TreePickerCancel",
        "name" : "树选择取消_成功样式",
        "scriptCode" : "console.log('树选择取消');\r\nconst form = view.ctx.controllersMap.get('form');\r\nif (form) {\r\n    const treePicker = form.details['field24'];\r\n    if (treePicker && treePicker.state) treePicker.state.readonly = true;\r\n}",
        "uIActionMode" : "FRONT",
        "uIActionTag" : "TreePickerCancel",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "树选择取消",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "buttonStyle" : "DEFAULT",
      "caption" : "指定打印",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction7",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction7"
      },
      "getPSSysImage" : {
        "glyph" : "xf02f@FontAwesome",
        "cssClass" : "fa fa-print"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "buttonStyle" : "DEFAULT",
        "caption" : "指定打印",
        "codeName" : "SpecifyPrint",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "SpecifyPrint",
        "name" : "SpecifyPrint_默认样式",
        "getPSSysPFPlugin" : {
          "pluginType" : "DEUIACTION",
          "pluginCode" : "SPECIFY_PRINT"
        },
        "uIActionMode" : "FRONT",
        "uIActionTag" : "SpecifyPrint",
        "uIActionType" : "DEUIACTION",
        "valueItem" : "field2"
      },
      "tooltip" : "指定打印",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "buttonStyle" : "INFO",
      "caption" : "指定导出excel",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction8",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction8"
      },
      "getPSSysImage" : {
        "glyph" : "xf1c3@FontAwesome",
        "cssClass" : "fa fa-file-excel-o"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "buttonStyle" : "INFO",
        "caption" : "指定导出excel",
        "codeName" : "SpecifyExportExcel",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "SpecifyExportExcel",
        "name" : "SpecifyExportExcel_信息样式",
        "getPSSysPFPlugin" : {
          "pluginType" : "DEUIACTION",
          "pluginCode" : "SPECIFY_PRINT"
        },
        "uIActionMode" : "FRONT",
        "uIActionTag" : "SpecifyExportExcel",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "指定导出excel",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "buttonStyle" : "PRIMARY",
      "caption" : "指定导出word",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction9",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction9"
      },
      "getPSSysImage" : {
        "glyph" : "xf1c2@FontAwesome",
        "cssClass" : "fa fa-file-word-o"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "buttonStyle" : "PRIMARY",
        "caption" : "指定导出word",
        "codeName" : "SpecifyExportWord",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "SpecifyExportWord",
        "name" : "SpecifyExportWord_主要样式",
        "getPSSysPFPlugin" : {
          "pluginType" : "DEUIACTION",
          "pluginCode" : "SPECIFY_PRINT"
        },
        "uIActionMode" : "FRONT",
        "uIActionTag" : "SpecifyExportWord",
        "uIActionType" : "DEUIACTION",
        "valueItem" : "field2"
      },
      "tooltip" : "指定导出word",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "buttonStyle" : "INVERSE",
      "caption" : "指定导出PDF",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction10",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "toolbar_deuiaction10"
      },
      "getPSSysImage" : {
        "glyph" : "xf1c1@FontAwesome",
        "cssClass" : "fa fa-file-pdf-o"
      },
      "getPSUIAction" : {
        "actionTarget" : "NONE",
        "buttonStyle" : "INVERSE",
        "caption" : "指定导出PDF",
        "codeName" : "SpecifyExportPDF",
        "frontProcessType" : "OTHER",
        "fullCodeName" : "SpecifyExportPDF",
        "name" : "SpecifyExportPDF_反向样式",
        "getPSSysPFPlugin" : {
          "pluginType" : "DEUIACTION",
          "pluginCode" : "SPECIFY_EXPORT_PDF"
        },
        "uIActionMode" : "FRONT",
        "uIActionTag" : "SpecifyExportPDF",
        "uIActionType" : "DEUIACTION",
        "valueItem" : "field2"
      },
      "tooltip" : "指定导出PDF",
      "uIActionTarget" : "NONE",
      "showCaption" : true,
      "showIcon" : true
    } ],
    "xDataControlName" : "form",
    "modelid" : "a4eb00b17f8652bdf677cb4ed5231e63",
    "modeltype" : "PSDETOOLBAR"
  }, {
    "codeName" : "Main",
    "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/Mob/PSAPPDATAENTITIES/SysTodo.json"
      }
    },
    "defaultLabelWidth" : 130,
    "dynaModelFilePath" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo/PSFORMS/Main.json",
    "getGetDraftFromPSControlAction" : {
      "modelref" : true,
      "id" : "loaddraftfrom",
      "actionName" : "GETDRAFTFROM",
      "actionType" : "DEACTION",
      "dataAccessAction" : "CREATE",
      "name" : "loaddraftfrom",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
      }
    },
    "getGetDraftPSControlAction" : {
      "modelref" : true,
      "id" : "loaddraft",
      "actionName" : "GetDraft",
      "actionType" : "DEACTION",
      "dataAccessAction" : "CREATE",
      "name" : "loaddraft",
      "getPSAppDEMethod" : {
        "modelref" : true,
        "id" : "GetDraft"
      },
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
      }
    },
    "getGetPSControlAction" : {
      "modelref" : true,
      "id" : "load",
      "actionName" : "Get",
      "actionType" : "DEACTION",
      "dataAccessAction" : "READ",
      "name" : "load",
      "getPSAppDEMethod" : {
        "modelref" : true,
        "id" : "Get"
      },
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
      }
    },
    "logicName" : "主编辑表单",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
    },
    "getPSControlHandler" : {
      "getPSHandlerActions" : [ {
        "actionName" : "GetDraft",
        "actionType" : "DEACTION",
        "dataAccessAction" : "CREATE",
        "name" : "loaddraft",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "GetDraft"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
        }
      }, {
        "actionName" : "GETDRAFTFROM",
        "actionType" : "DEACTION",
        "dataAccessAction" : "CREATE",
        "name" : "loaddraftfrom",
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
        }
      }, {
        "actionName" : "Get",
        "actionType" : "DEACTION",
        "dataAccessAction" : "READ",
        "name" : "load",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Get"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
        }
      }, {
        "actionName" : "Create",
        "actionType" : "DEACTION",
        "dataAccessAction" : "CREATE",
        "name" : "create",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Create"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
        }
      }, {
        "actionName" : "Update",
        "actionType" : "DEACTION",
        "dataAccessAction" : "UPDATE",
        "name" : "update",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Update"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
        }
      }, {
        "actionName" : "Remove",
        "actionType" : "DEACTION",
        "dataAccessAction" : "DELETE",
        "name" : "remove",
        "getPSAppDEMethod" : {
          "modelref" : true,
          "id" : "Remove"
        },
        "getPSAppDataEntity" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.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" : "TODOID",
        "codeName" : "TodoId"
      }
    }, {
      "id" : "srfmajortext",
      "hidden" : true,
      "dataType" : 25,
      "getPSAppDEField" : {
        "name" : "TITLE",
        "codeName" : "Title"
      }
    }, {
      "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" : "todoid",
      "hidden" : true,
      "dataType" : 25,
      "getPSAppDEField" : {
        "name" : "TODOID",
        "codeName" : "TodoId"
      }
    } ],
    "getPSDEFormPages" : [ {
      "getCapPSLanguageRes" : {
        "lanResTag" : "CONTROL.DEFORM.SYS_TODO.MAIN.FORMPAGE.FORMPAGE1"
      },
      "caption" : "基本信息",
      "codeName" : "formpage1",
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMPAGE",
      "name" : "formpage1",
      "getPSDEFormDetails" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.SYS_TODO.MAIN.GROUPPANEL.GROUP1"
        },
        "caption" : "待办基本信息",
        "codeName" : "group1",
        "detailStyle" : "DEFAULT",
        "detailType" : "GROUPPANEL",
        "name" : "group1",
        "getPSDEFormDetails" : [ {
          "codeName" : "formitem",
          "dataType" : 25,
          "detailStyle" : "DEFAULT",
          "detailType" : "FORMITEM",
          "enableCond" : 3,
          "ignoreInput" : 0,
          "labelPos" : "LEFT",
          "labelWidth" : 130,
          "name" : "formitem",
          "noPrivDisplayMode" : 1,
          "getPSEditor" : {
            "editorParams" : {
              "foo2" : "bar2",
              "foo" : "bar1"
            },
            "editorType" : "RAW",
            "name" : "formitem"
          },
          "getPSLayoutPos" : {
            "colMD" : 24,
            "layout" : "TABLE_24COL"
          },
          "allowEmpty" : true,
          "showCaption" : true
        }, {
          "codeName" : "formitem1",
          "dataType" : 25,
          "detailStyle" : "DEFAULT",
          "detailType" : "FORMITEM",
          "enableCond" : 3,
          "ignoreInput" : 0,
          "labelPos" : "LEFT",
          "labelWidth" : 130,
          "name" : "formitem1",
          "noPrivDisplayMode" : 1,
          "getPSEditor" : {
            "cssStyle" : "test",
            "dynaClass" : "test",
            "editorType" : "TEXTBOX",
            "name" : "formitem1"
          },
          "getPSLayoutPos" : {
            "colMD" : 24,
            "layout" : "TABLE_24COL"
          },
          "allowEmpty" : true,
          "showCaption" : true
        } ],
        "getPSLayout" : {
          "childColMD" : 24,
          "columnCount" : 24,
          "layout" : "TABLE_24COL"
        },
        "getPSLayoutPos" : {
          "colMD" : 24,
          "layout" : "TABLE_24COL"
        },
        "infoGroupMode" : false,
        "showCaption" : true
      }, {
        "caption" : "待办标识",
        "codeName" : "todoid",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "todoid",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "TODOID",
          "codeName" : "TodoId"
        },
        "getPSEditor" : {
          "editorType" : "HIDDEN",
          "name" : "todoid"
        },
        "getPSLayoutPos" : {
          "colMD" : 24,
          "layout" : "TABLE_24COL"
        },
        "allowEmpty" : true,
        "hidden" : true
      } ],
      "getPSLayout" : {
        "childColMD" : 24,
        "columnCount" : 24,
        "layout" : "TABLE_24COL"
      },
      "infoGroupMode" : false
    }, {
      "getCapPSLanguageRes" : {
        "lanResTag" : "CONTROL.DEFORM.SYS_TODO.MAIN.FORMPAGE.FORMPAGE2"
      },
      "caption" : "其它",
      "codeName" : "formpage2",
      "detailStyle" : "DEFAULT",
      "detailType" : "FORMPAGE",
      "name" : "formpage2",
      "getPSDEFormDetails" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.SYS_TODO.MAIN.GROUPPANEL.GROUP2"
        },
        "caption" : "操作信息",
        "codeName" : "group2",
        "detailStyle" : "DEFAULT",
        "detailType" : "GROUPPANEL",
        "name" : "group2",
        "getPSLayout" : {
          "childColMD" : 24,
          "columnCount" : 24,
          "layout" : "TABLE_24COL"
        },
        "getPSLayoutPos" : {
          "colMD" : 24,
          "layout" : "TABLE_24COL"
        },
        "infoGroupMode" : false,
        "showCaption" : 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/Mob/PSAPPDATAENTITIES/SysTodo.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/Mob/PSAPPDATAENTITIES/SysTodo.json"
      }
    },
    "noTabHeader" : false,
    "name" : "form",
    "modelid" : "727483efe6791401cccbac721571e23f",
    "modeltype" : "PSDEFORM_EDITFORM"
  }, {
    "codeName" : "EditViewdatainfobar",
    "controlType" : "DATAINFOBAR",
    "name" : "datainfobar",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
    },
    "getPSControlParam" : {
      "id" : "datainfobar"
    }
  }, {
    "getCapPSLanguageRes" : {
      "lanResTag" : "DE.LNAME.SYS_TODO"
    },
    "caption" : "待办",
    "codeName" : "EditViewcaptionbar",
    "controlType" : "CAPTIONBAR",
    "name" : "captionbar",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
    },
    "getPSControlParam" : { }
  } ],
  "getPSDEViewCodeName" : "EditView",
  "getPSDEViewId" : "4cac022a1a82c85b0e8d92606926eab0",
  "getPSViewLayoutPanel" : {
    "codeName" : "Layoutpanel",
    "controlStyle" : "APPDEEDITVIEW",
    "controlType" : "VIEWLAYOUTPANEL",
    "name" : "layoutpanel",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Mob/PSAPPDATAENTITIES/SysTodo.json"
    },
    "getPSControlParam" : { },
    "layoutBodyOnly" : true,
    "layoutPanel" : true,
    "useDefaultLayout" : true
  },
  "title" : "待办编辑视图",
  "getTitlePSLanguageRes" : {
    "lanResTag" : "PAGE.TITLE.SYS_TODO.EDITVIEW"
  },
  "viewStyle" : "DEFAULT",
  "viewType" : "DEEDITVIEW",
  "xDataControlName" : "form",
  "enableDP" : true,
  "showDataInfoBar" : true,
  "modelid" : "d9b7688d3b1bc40c47ec5f91b50cc00c",
  "modeltype" : "PSAPPDEVIEW"
}