1
yusijie
2024-10-28 2ad9e8d66d1632d8ca0a80fff647cf9c808735d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//#region 获取模块页面标题
function get_PageTitle(HModuleType) {
    var HPageTitle = "";
 
    $.ajax({
        type: "GET",
        async: false,
        url: GetWEBURL() + "/Web/GetModuleName", //方法所在页面和方法名
        data: { "HModuleType": HModuleType },
        success: function (result) {
            if (result.count == 1) {
                var data = result.data[0];
                HPageTitle = data.HName;
            }
        }, error: function () {
            layer.alert("接口请求失败!", { icon: 5 });
        }
    });
 
    return HPageTitle;
}