{
  "aggMode" : "NONE",
  "codeName" : "StudentMain",
  "columnEnableFilter" : 2,
  "columnEnableLink" : 2,
  "controlType" : "GRID",
  "getCreatePSControlAction" : {
    "actionName" : "Create",
    "actionType" : "DEACTION",
    "dataAccessAction" : "CREATE",
    "name" : "create",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Create"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
    }
  },
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSGRIDS/StudentMain.json",
  "getFetchPSControlAction" : {
    "modelref" : true,
    "id" : "fetch",
    "actionType" : "DEDATASET",
    "name" : "fetch",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
    }
  },
  "getGetDraftPSControlAction" : {
    "actionName" : "GetDraft",
    "actionType" : "DEACTION",
    "dataAccessAction" : "CREATE",
    "name" : "loaddraft",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "GetDraft"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
    }
  },
  "getGetPSControlAction" : {
    "actionName" : "Get",
    "actionType" : "DEACTION",
    "dataAccessAction" : "READ",
    "name" : "load",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Get"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
    }
  },
  "groupMode" : "NONE",
  "logicName" : "学生主表格",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
  },
  "getPSDEGridColumns" : [ {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "姓名",
    "codeName" : "name",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "name",
    "excelCaption" : "姓名",
    "getFilterPSEditor" : {
      "editorType" : "TEXTBOX",
      "name" : "n_name_like"
    },
    "name" : "name",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "NAME",
      "codeName" : "Name"
    },
    "getPSSysImage" : {
      "glyph" : "xf0f1@FontAwesome",
      "cssClass" : "fa fa-stethoscope"
    },
    "width" : 200,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "年龄",
    "codeName" : "age",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "age",
    "excelCaption" : "年龄",
    "name" : "age",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "AGE",
      "codeName" : "Age"
    },
    "width" : 200,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "职级",
    "codeName" : "rank",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "rank",
    "excelCaption" : "职级",
    "getFilterPSEditor" : {
      "editorType" : "DROPDOWNLIST",
      "name" : "n_rank_eq",
      "getPSAppCodeList" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__Rank.json"
      },
      "singleSelect" : true
    },
    "name" : "rank",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__Rank.json"
    },
    "getPSAppDEField" : {
      "name" : "RANK",
      "codeName" : "Rank"
    },
    "width" : 200,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "开始时间",
    "codeName" : "start",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "start",
    "excelCaption" : "开始时间",
    "name" : "start",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "START",
      "codeName" : "Start"
    },
    "valueFormat" : "YYYY-MM-DD HH:mm:ss",
    "width" : 200,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "结束时间",
    "codeName" : "end",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "end",
    "excelCaption" : "结束时间",
    "name" : "end",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "END",
      "codeName" : "End"
    },
    "valueFormat" : "YYYY-MM-DD HH:mm:ss",
    "width" : 200,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "单位",
    "codeName" : "department",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "department",
    "excelCaption" : "单位",
    "getFilterPSEditor" : {
      "editorType" : "DROPDOWNLIST",
      "name" : "n_department_eq",
      "getPSAppCodeList" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/common__UsrCodeList0807000730.json"
      },
      "singleSelect" : true
    },
    "name" : "department",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/common__UsrCodeList0807000730.json"
    },
    "getPSAppDEField" : {
      "name" : "DEPARTMENT",
      "codeName" : "Department"
    },
    "width" : 200,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "地址",
    "codeName" : "address",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "address",
    "excelCaption" : "地址",
    "name" : "address",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "ADDRESS",
      "codeName" : "Address"
    },
    "width" : 200,
    "widthUnit" : "PX",
    "enableSort" : true
  } ],
  "getPSDEGridDataItems" : [ {
    "dataType" : 25,
    "name" : "name",
    "getPSAppDEField" : {
      "name" : "NAME",
      "codeName" : "Name"
    }
  }, {
    "dataType" : 9,
    "name" : "age",
    "getPSAppDEField" : {
      "name" : "AGE",
      "codeName" : "Age"
    }
  }, {
    "dataType" : 25,
    "name" : "rank",
    "getPSAppDEField" : {
      "name" : "RANK",
      "codeName" : "Rank"
    }
  }, {
    "format" : "YYYY-MM-DD HH:mm:ss",
    "dataType" : 5,
    "name" : "start",
    "getPSAppDEField" : {
      "name" : "START",
      "codeName" : "Start"
    }
  }, {
    "format" : "YYYY-MM-DD HH:mm:ss",
    "dataType" : 5,
    "name" : "end",
    "getPSAppDEField" : {
      "name" : "END",
      "codeName" : "End"
    }
  }, {
    "dataType" : 25,
    "name" : "department",
    "getPSAppDEField" : {
      "name" : "DEPARTMENT",
      "codeName" : "Department"
    }
  }, {
    "dataType" : 25,
    "name" : "address",
    "getPSAppDEField" : {
      "name" : "ADDRESS",
      "codeName" : "Address"
    }
  }, {
    "dataType" : 25,
    "name" : "srfkey",
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    }
  }, {
    "dataType" : 25,
    "name" : "srfdataaccaction",
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    },
    "dataAccessAction" : true
  }, {
    "dataType" : 25,
    "name" : "pstudentid",
    "getPSAppDEField" : {
      "name" : "PSTUDENTID",
      "codeName" : "Pstudentid"
    }
  }, {
    "dataType" : 25,
    "name" : "srfmajortext",
    "getPSAppDEField" : {
      "name" : "STUDENTNAME",
      "codeName" : "StudentName"
    }
  } ],
  "getPSDEGridEditItemVRs" : [ {
    "checkMode" : 3,
    "name" : "编辑项值规则",
    "getPSDEGridEditItemName" : "name",
    "getPSSysValueRule" : {
      "codeName" : "ValueRule20",
      "dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
      "name" : "脚本值规则测试",
      "ruleInfo" : "脚本校验",
      "ruleType" : "SCRIPT",
      "scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
      "uniqueTag" : "ValueRule20",
      "enableBackend" : true,
      "enableFront" : true
    },
    "valueRuleType" : "SYSVALUERULE"
  } ],
  "getPSDEGridEditItems" : [ {
    "caption" : "姓名",
    "codeName" : "name",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "name",
    "getPSAppDEField" : {
      "name" : "NAME",
      "codeName" : "Name"
    },
    "getPSEditor" : {
      "editorType" : "TEXTBOX",
      "maxLength" : 100,
      "name" : "name"
    },
    "allowEmpty" : false
  }, {
    "caption" : "职级",
    "codeName" : "rank",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "rank",
    "getPSAppDEField" : {
      "name" : "RANK",
      "codeName" : "Rank"
    },
    "getPSEditor" : {
      "editorType" : "DROPDOWNLIST",
      "name" : "rank",
      "getPSAppCodeList" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__Rank.json"
      },
      "singleSelect" : true
    },
    "allowEmpty" : true,
    "needCodeListConfig" : true
  }, {
    "caption" : "开始时间",
    "codeName" : "start",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "start",
    "getPSAppDEField" : {
      "name" : "START",
      "codeName" : "Start"
    },
    "getPSEditor" : {
      "dateTimeFormat" : "YYYY-MM-DD",
      "editorParams" : {
        "TIMEFMT" : "YYYY-MM-DD"
      },
      "editorType" : "DATEPICKEREX_NOTIME",
      "name" : "start"
    },
    "allowEmpty" : true
  }, {
    "caption" : "结束时间",
    "codeName" : "end",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "end",
    "getPSAppDEField" : {
      "name" : "END",
      "codeName" : "End"
    },
    "getPSEditor" : {
      "dateTimeFormat" : "YYYY-MM-DD",
      "editorParams" : {
        "TIMEFMT" : "YYYY-MM-DD"
      },
      "editorType" : "DATEPICKEREX_NOTIME",
      "name" : "end"
    },
    "allowEmpty" : true
  }, {
    "caption" : "单位",
    "codeName" : "department",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "department",
    "getPSAppDEField" : {
      "name" : "DEPARTMENT",
      "codeName" : "Department"
    },
    "getPSEditor" : {
      "editorType" : "DROPDOWNLIST",
      "name" : "department",
      "getPSAppCodeList" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/common__UsrCodeList0807000730.json"
      },
      "singleSelect" : true
    },
    "allowEmpty" : true,
    "needCodeListConfig" : true
  }, {
    "caption" : "学生标识",
    "codeName" : "srfkey",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "srfkey",
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    },
    "getPSEditor" : {
      "editorType" : "HIDDEN",
      "name" : "srfkey"
    },
    "allowEmpty" : true
  } ],
  "pagingMode" : 1,
  "pagingSize" : 20,
  "getRemovePSControlAction" : {
    "actionName" : "Remove",
    "actionType" : "DEACTION",
    "dataAccessAction" : "DELETE",
    "name" : "remove",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Remove"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
    }
  },
  "sortMode" : "LOCAL",
  "getUpdatePSControlAction" : {
    "actionName" : "Update",
    "actionType" : "DEACTION",
    "dataAccessAction" : "UPDATE",
    "name" : "update",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Update"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
    }
  },
  "hasWFDataItems" : false,
  "enableColFilter" : false,
  "enableCustomized" : true,
  "enableGroup" : false,
  "enablePagingBar" : true,
  "enableRowEdit" : true,
  "enableRowEditOrder" : false,
  "enableRowNew" : true,
  "forceFit" : false,
  "hideHeader" : false,
  "noSort" : false,
  "singleSelect" : false,
  "modelid" : "D97E0AE0-91E8-4C44-9CB4-EEF2349811A6",
  "modeltype" : "PSDEGRID"
}