WebSite/Scripts/JS/System/SetInfo.js

(开头部分) 14KB

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

var userID = "";
var srvID = "";
var ifrm;
var _frmData = {
    id: '',
    srvid: ''
};
$(function () {
    $('[data-toggle="popover"]').popover();
    GetGSHY();
    GetList("2DDEF2AA-2E8C-4705-9F9E-8C2C71117063", "sheng");
    $("#sheng").change(function () {
        GetList($(this).val(), "shi");
        $('#ComAddr').val('');
        if ($(this).find("option:selected").text()!="请选择") {
            $('#ComAddr').val( $(this).find("option:selected").text());
        }
        
    });
    $("#shi").change(function () {
        GetList($(this).val(), "qu");
        if ($(this).find("option:selected").text() != "请选择") {
            $('#ComAddr').val($('#sheng').find("option:selected").text() + $(this).find("option:selected").text());
        }
    });
    $("#qu").change(function () {
        if ($(this).find("option:selected").text() != "请选择") {
            $('#ComAddr').val($('#sheng').find("option:selected").text() + $("#shi").find("option:selected").text() + $(this).find("option:selected").text());
        }
    });
    $("#ComYm").focus(function () {
        $("#urlerror").hide();
    })
});

function GetList(contry, id) {
    $.ajax({
        dataType: 'json',
        type: "get",
        url: "../../Handlers/CustomerInformation/PublicManagement/PublicMg.aspx?Method=loadZone",
        async: false,
        data: {
            contry: contry
        },
        success: function (jsons) {
            var droplist = $("#" + id + "");
            $("#" + id + " option[value!='']").remove();
            for (i = 0; i < jsons.length; i++) {
                $option = $("<option></option>");
                $option.attr("value", jsons[i].ID);
                $option.text(jsons[i].Name);
                droplist.append($option)
            }
        },
        error: function () {
            layer.msg("网络错误,不能加载地区信息!", 2, 5)
        }
    })
}
function resize_r() {
后面还有 300 行代码,购买后查看完整代码

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

AI 解读 AI

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

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