From 2a38d170987fcf543aabef8668f3f13fb264e5e8 Mon Sep 17 00:00:00 2001 From: lan <lan@DESKTOP-MG88OFJ> Date: 星期四, 30 五月 2024 10:23:12 +0800 Subject: [PATCH] 采购报表 采购入库统计表,采购价格分析表,采购订单执行汇总表,采购订单/业务订单统计表,到货及时率报表 ,器具寿命趋势分析报表 --- WebTM/layuiadmin/PageTitle.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/WebTM/layuiadmin/PageTitle.js b/WebTM/layuiadmin/PageTitle.js index 9ec8148..fec07c5 100644 --- a/WebTM/layuiadmin/PageTitle.js +++ b/WebTM/layuiadmin/PageTitle.js @@ -1,19 +1,21 @@ 锘�//#region 鑾峰彇妯″潡椤甸潰鏍囬 function get_PageTitle(HModuleType) { + var HPageTitle = ""; + $.ajax({ type: "GET", async: false, url: GetWEBURL() + "Web/GetModuleName", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� data: { "HModuleType": HModuleType }, success: function (result) { - var data = result.data[0]; if (result.count == 1) { - return data.HName; - } else { - return ""; + var data = result.data[0]; + HPageTitle = data.HName; } }, error: function () { layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); } }); + + return HPageTitle; } \ No newline at end of file -- Gitblit v1.9.1