Web/ReportMgr/TransgBuildDailyReport_New.js

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/// <reference path="../Js/common.js" />
var a_This = null;
var a_Entity = null;
var a_AjaxFun = null;
var a_User = null;
var m_DataLjx = null;
var m_IsBigCheckDept = false;
var m_gNameId = null;

// page_load
$(function () {
    a_Entity = WebApp.LxAjaxEntityHelpper;
    a_This = WebApp.ReportMgr.TransgBuildDailyReport_New;
    a_AjaxFun = WebApp.LxAjaxFunction;

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

    $(".datePicker").datepicker(jqueryui.DateOption);

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

    $("#txtRptItemName").change(function () {
        var strName = $("#txtRptItemName").val();
        var result = window.showModalDialog("TransgressBuildNameList.aspx?TransPerson=" + encodeURIComponent(strName), null, "dialogHeight:500px;dialogWidth:800px;help:no;scroll:no");
        if (result) {
            $("#txtRptItemName").val(result.Title);
            $("#imgClearName").css("display", "");
            m_gNameId = result.ID;
        }
        else {
            $("#imgClearName").css("display", "none");
        }
    });
    $("#imgClearName").click(function () {
        $("#txtRptItemName").val("");
        m_gNameId = null;
    });

    // 绑定事件_end

    //创建网格树
    var _data;
    _data = WebApp.LxEasyUITreeNode.GetWgLjxTreeData("StreetScene", strDeptCode, true).value;
    if (_data) {
        _data.unshift({ id: "", text: "—请选择网格—", align: "center" });
    }

    using("combotree", function () {
        $("#txtWg").combotree({
            data: _data
        });
    });

});
后面还有 140 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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