//我的评价 var mnu = ""; //加载 $(function () { mnu = $.SystemGeneral.getUrlParam("MNU"); }); function reload() { $("#dgMyEvaluationList").cmsXDataTable("load", $.getDataGridParams("dgMyEvaluationList")); } //获取选中数据 function validChoose() { var d = []; $.each($("#dgMyEvaluationList").cmsXDataTable("getSelections"), function (index) { d.push(this.EvaluationAdviseID); }); return d; } //我的评价导出 function MyEvaluation_Export() { // var d = validChoose().join(',') // if (d != "") { // document.getElementById("EvaluationAdviseID").value = d; // } // else { // document.getElementById("EvaluationAdviseID").value = ""; // } $("#formQuery").submit(); } //学年 function SchoolYearDropdownList(data) { reload(); } //评价表 function QueryEvaluationTableDropdownList(data) { if (data.Value != "-1") { $("#EvaluationTypeDropdown").combobox("reload", CMS_SystemConfig.VirtualDirectoryPath + "/EvaluationRecord/EvaluationTypeDropdownListBanid?evaluationTableID=" + data.Value + ""); } else { $("#EvaluationTypeDropdown").combobox("reload", CMS_SystemConfig.VirtualDirectoryPath + "/EvaluationRecord/EvaluationTypeDropdownListBanid"); } reload(); } function QueryEvaluationTypeDropdownList(data) { reload(); } function QueryCollegeDropdownList(data) { $("#DepartmentDropdown").combobox("reload", "/Department/DepartmentDropdownListBanid?collegeID=" + data.Value + ""); reload(); } function SelectDepartmentDropdownList(data) { var url = CMS_SystemConfig.VirtualDirectoryPath + "/Staff/GetDepartmentStaffDataBind?bindType=PleaseSelect"; //"/Staff/GetDepartmentStaffDataBind?bindType=2"; var departmentID = $("#DepartmentDropdown").combobox("getValue"); if (departmentID != nonSelect) url += "&DepartmentDropdown=" + departmentID; // $("#StaffDropdown").combobox("reload", url); var jsonString = "({'QueryParamsDatas':'DepartmentDropdown|*|" + departmentID + "|@|'})"; $("#StaffDropdown").combogridX("reload", eval(jsonString)); //$("#StaffDropdown").combobox("reload", "/Staff/GetDepartmentStaffDataBind?DepartmentDropdown=" + data.Value + ""); reload(); } function QueryStaffDropdownList(data) { reload(); }