{
  "aggMode" : "NONE",
  "codeName" : "Main",
  "columnEnableFilter" : 2,
  "columnEnableLink" : 2,
  "controlType" : "GRID",
  "dynaModelFilePath" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student/PSGRIDS/Main.json",
  "getFetchPSControlAction" : {
    "modelref" : true,
    "id" : "fetch",
    "actionType" : "DEDATASET",
    "name" : "fetch",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
    }
  },
  "groupMode" : "NONE",
  "logicName" : "主表格",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
  },
  "getPSDEGridColumns" : [ {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "姓名",
    "codeName" : "name",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "name",
    "excelCaption" : "姓名",
    "getLinkPSAppView" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPDEVIEWS/studentEditView.json",
      "viewType" : "DEEDITVIEW"
    },
    "linkValueItem" : "name",
    "name" : "name",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "NAME",
      "codeName" : "Name"
    },
    "getPSControlAttributes" : [ {
      "attrName" : "readonly",
      "attrValue" : "data.studentname.indexOf('张三') !== -1",
      "name" : "logic1"
    }, {
      "attrName" : "disabled",
      "attrValue" : "data.studentname.indexOf('李四') !== -1",
      "name" : "logic2"
    } ],
    "width" : 150,
    "widthUnit" : "PX",
    "enableLinkView" : true,
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "年龄",
    "codeName" : "age",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "age",
    "excelCaption" : "年龄",
    "name" : "age",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/common__Student_age.json"
    },
    "getPSAppDEField" : {
      "name" : "AGE",
      "codeName" : "Age"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "年龄（动态代码表）",
    "codeName" : "defgridcolumn1",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "age",
    "excelCaption" : "年龄（动态代码表）",
    "name" : "defgridcolumn1",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/common__Student_age_dynamic.json"
    },
    "getPSAppDEField" : {
      "name" : "AGE",
      "codeName" : "Age"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "单位",
    "codeName" : "department",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "department",
    "excelCaption" : "单位",
    "name" : "department",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/common__UsrCodeList0807000730.json"
    },
    "getPSAppDEField" : {
      "name" : "DEPARTMENT",
      "codeName" : "Department"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "地址",
    "codeName" : "address",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "address",
    "excelCaption" : "地址",
    "name" : "address",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/common__UsrCodeList0129249258.json"
    },
    "getPSAppDEField" : {
      "name" : "ADDRESS",
      "codeName" : "Address"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "学生标识",
    "codeName" : "studentid",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "studentid",
    "excelCaption" : "学生标识",
    "getLinkPSAppView" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPDEVIEWS/studentEditView.json",
      "viewType" : "DEEDITVIEW"
    },
    "linkValueItem" : "studentid",
    "name" : "studentid",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/ModelRepository__UsrCodeList0411260431.json"
    },
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    },
    "width" : 180,
    "widthUnit" : "PX",
    "enableLinkView" : true,
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "建立人",
    "codeName" : "createman",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "createman",
    "excelCaption" : "建立人",
    "name" : "createman",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/SysOperator.json"
    },
    "getPSAppDEField" : {
      "name" : "CREATEMAN",
      "codeName" : "CreateMan"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "属性",
    "codeName" : "field",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "field",
    "excelCaption" : "属性",
    "name" : "field",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "更新人",
    "codeName" : "updateman",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "updateman",
    "excelCaption" : "更新人",
    "name" : "updateman",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/SysOperator.json"
    },
    "getPSAppDEField" : {
      "name" : "UPDATEMAN",
      "codeName" : "UpdateMan"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "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" : 100,
    "widthUnit" : "PX",
    "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" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "建立时间",
    "codeName" : "createdate",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "createdate",
    "excelCaption" : "建立时间",
    "name" : "createdate",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "CREATEDATE",
      "codeName" : "CreateDate"
    },
    "valueFormat" : "YYYY-MM-DD HH:mm:ss",
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "上级学生职位",
    "codeName" : "pstudentid",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "pstudentid",
    "excelCaption" : "上级学生职位",
    "name" : "pstudentid",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "PSTUDENTID",
      "codeName" : "Pstudentid"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "组织机构标识",
    "codeName" : "orgid",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "orgid",
    "excelCaption" : "组织机构标识",
    "name" : "orgid",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "ORGID",
      "codeName" : "OrgId"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "更新时间",
    "codeName" : "updatedate",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "updatedate",
    "excelCaption" : "更新时间",
    "name" : "updatedate",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "UPDATEDATE",
      "codeName" : "UpdateDate"
    },
    "valueFormat" : "YYYY-MM-DD HH:mm:ss",
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "组织部门标识",
    "codeName" : "deptid",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "deptid",
    "excelCaption" : "组织部门标识",
    "name" : "deptid",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "DEPTID",
      "codeName" : "DeptId"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "学生名称",
    "codeName" : "studentname",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "studentname",
    "excelCaption" : "学生名称",
    "name" : "studentname",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "STUDENTNAME",
      "codeName" : "StudentName"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "职级",
    "codeName" : "rank",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "rank",
    "excelCaption" : "职级",
    "name" : "rank",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/Test__Rank.json"
    },
    "getPSAppDEField" : {
      "name" : "RANK",
      "codeName" : "Rank"
    },
    "width" : 100,
    "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" : "department",
    "getPSAppDEField" : {
      "name" : "DEPARTMENT",
      "codeName" : "Department"
    }
  }, {
    "dataType" : 25,
    "name" : "address",
    "getPSAppDEField" : {
      "name" : "ADDRESS",
      "codeName" : "Address"
    }
  }, {
    "dataType" : 25,
    "name" : "studentid",
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    }
  }, {
    "dataType" : 25,
    "name" : "createman",
    "getPSAppDEField" : {
      "name" : "CREATEMAN",
      "codeName" : "CreateMan"
    }
  }, {
    "dataType" : 25,
    "name" : "field",
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    }
  }, {
    "dataType" : 25,
    "name" : "updateman",
    "getPSAppDEField" : {
      "name" : "UPDATEMAN",
      "codeName" : "UpdateMan"
    }
  }, {
    "format" : "YYYY-MM-DD HH:mm:ss",
    "dataType" : 5,
    "name" : "end",
    "getPSAppDEField" : {
      "name" : "END",
      "codeName" : "End"
    }
  }, {
    "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" : "createdate",
    "getPSAppDEField" : {
      "name" : "CREATEDATE",
      "codeName" : "CreateDate"
    }
  }, {
    "dataType" : 25,
    "name" : "pstudentid",
    "getPSAppDEField" : {
      "name" : "PSTUDENTID",
      "codeName" : "Pstudentid"
    }
  }, {
    "dataType" : 25,
    "name" : "orgid",
    "getPSAppDEField" : {
      "name" : "ORGID",
      "codeName" : "OrgId"
    }
  }, {
    "format" : "YYYY-MM-DD HH:mm:ss",
    "dataType" : 5,
    "name" : "updatedate",
    "getPSAppDEField" : {
      "name" : "UPDATEDATE",
      "codeName" : "UpdateDate"
    }
  }, {
    "dataType" : 25,
    "name" : "deptid",
    "getPSAppDEField" : {
      "name" : "DEPTID",
      "codeName" : "DeptId"
    }
  }, {
    "dataType" : 25,
    "name" : "studentname",
    "getPSAppDEField" : {
      "name" : "STUDENTNAME",
      "codeName" : "StudentName"
    }
  }, {
    "dataType" : 25,
    "name" : "rank",
    "getPSAppDEField" : {
      "name" : "RANK",
      "codeName" : "Rank"
    }
  }, {
    "dataType" : 25,
    "name" : "srfkey",
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    }
  }, {
    "dataType" : 25,
    "name" : "srfdataaccaction",
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    },
    "dataAccessAction" : true
  }, {
    "dataType" : 25,
    "name" : "srfmajortext",
    "getPSAppDEField" : {
      "name" : "STUDENTNAME",
      "codeName" : "StudentName"
    }
  } ],
  "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" : "address",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "address",
    "getPSAppDEField" : {
      "name" : "ADDRESS",
      "codeName" : "Address"
    },
    "getPSEditor" : {
      "editorType" : "CHECKBOX",
      "name" : "address"
    },
    "allowEmpty" : true
  }, {
    "caption" : "学生标识",
    "codeName" : "studentid",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "studentid",
    "getPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    },
    "getPSEditor" : {
      "editorType" : "CHECKBOXLIST",
      "name" : "studentid",
      "getPSAppCodeList" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/TemplatePublish/PSAPPCODELISTS/ModelRepository__UsrCodeList0411260431.json"
      }
    },
    "allowEmpty" : true,
    "needCodeListConfig" : true
  }, {
    "caption" : "学生名称",
    "codeName" : "studentname",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "studentname",
    "getPSAppDEField" : {
      "name" : "STUDENTNAME",
      "codeName" : "StudentName"
    },
    "getPSEditor" : {
      "editorType" : "TEXTBOX",
      "maxLength" : 200,
      "name" : "studentname"
    },
    "allowEmpty" : 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/TemplatePublish/PSAPPDATAENTITIES/Student.json"
    }
  },
  "sortMode" : "REMOTE",
  "hasWFDataItems" : false,
  "enableColFilter" : false,
  "enableCustomized" : true,
  "enableGroup" : false,
  "enablePagingBar" : true,
  "enableRowEdit" : false,
  "enableRowEditOrder" : false,
  "enableRowNew" : false,
  "forceFit" : false,
  "hideHeader" : false,
  "noSort" : false,
  "singleSelect" : false,
  "modelid" : "7b274ffd3d6bd73ac39b79b9d869f6a4",
  "modeltype" : "PSDEGRID"
}