1234567891011121314151617181920212223242526272829303132 |
- //保存
- function EvaluationTarget_Save() {
- $(document.forms[0]).submit();
- }
- //设置列颜色为红色
- function SetRedColumn(index, row, value) {
- return " <span style=\"color: red;\">" + value + "</span>";
- }
- //联动
- function queryEvaluationParticipateType(data) {
- var evaluationParticipateTypeID = $("#EvaluationParticipateTypeID").combogridX("getValue");
- if (evaluationParticipateTypeID == "" || evaluationParticipateTypeID == "-1" || evaluationParticipateTypeID == null) {
- $("#EvaluationTableID").combogridX("setValue", "-1");
- }
- var jsonString = "({'QueryParamsDatas':'EvaluationParticipateTypeDropdown|*|" + evaluationParticipateTypeID + "|@|'})";
- $("#EvaluationTableID").combogridX("reload", eval(jsonString));
- }
- function queryEvaluationTable(data) {
- var evaluationTableID = $("#EvaluationTableID").combogridX("getValue");
- if (evaluationTableID == "" || evaluationTableID == "-1" || evaluationTableID == null) {
- $("#EvaluationParticipateTypeID").combogridX("setValue", "-1");
- }
- else {
- $("#EvaluationParticipateTypeID").combogridX("setValue", data.EvaluationParticipateTypeID);
- }
- var evaluationParticipateTypeID = $("#EvaluationParticipateTypeID").combogridX("getValue");
- var jsonString = "({'QueryParamsDatas':'EvaluationParticipateTypeDropdown|*|" + evaluationParticipateTypeID + "|@|'})";
- $("#EvaluationTableID").combogridX("reload", eval(jsonString));
- }
|