Web/ReportMgr/CommonRptCheck.js

(完整代码) 1KB

/// <reference path="Js/common.js" />
var a_This = null;
var a_Entity = null;
var a_AjaxFun = null;
// page_load
$(function () {
    a_Entity = WebApp.LxAjaxEntityHelpper;
    a_This = WebApp.ReportMgr.CommonRptCheck;
    a_AjaxFun = WebApp.LxAjaxFunction;

    using("linkbutton", function () {
        $(".btn").linkbutton();
    });

    // 绑定事件_begin
    $("#btnOk").click(CheckRpt);
    $("#btnCancel").click(function () {
        window.close();
    });

    setTimeout("loadData();", 500);
    // 绑定事件_end
});

function loadData() {
    var result = a_This.getCheckPs()
    if (result.error != null) {
        showAjaxError(result.error);
        return;
    }
    $("#labCheckMan").text(result.value);
}
// 确定
function CheckRpt() {
     //3表示通过 4表示未通过
    var CheckResult = ($("[name='Check']:checked").val() == 3 ? 3 : 4);
    var result = a_AjaxFun.CommonCheck(strDateCode, strDeptCode, CheckResult, strRptModule);
    if (result.error != null) {
        showAjaxError(result.error);
        return;
    }
    else {
        alert("审核成功!");
        window.close();
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。