diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktopTop.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktopTop.cshtml
index fc3f7fb2b..2f013b45c 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktopTop.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktopTop.cshtml
@@ -681,44 +681,45 @@
-
+ }
+ } return false
+ })
+ }
+ })
+ }); g.find(".lr-desktop-list .menu").on("click", function () { var i = $(this).parents(".lr-desktop-list"); var j = i.attr("data-Id"); top.learun.frameTab.open({ F_ModuleId: j, F_FullName: d[j].F_Name, F_UrlAddress: d[j].F_Url }); return false })
+ }
+ } var b = {}; function a(h) { if (h.length > 0) { $("#lr_desktop_chart").lrscroll(); var g = $("#lr_desktop_chart>.lr-scroll-box"); $.each(h, function (j, k) { var i = '
'; g.append(i); b[k.F_Id] = echarts.init(document.getElementById(k.F_Id)); top.learun.httpAsync("GET", top.$.rootUrl + "/LR_Desktop/DTChart/GetSqlData", { Id: k.F_Id }, function (l) { if (l) { var o = $("#" + l.Id).attr("data-type"); var m = []; var p = []; $.each(l.value, function (q, r) { m.push(r.name); p.push(r.value) }); var n = {}; switch (o) { case "0": n.tooltip = { trigger: "item", formatter: "{a}
{b} : {c} ({d}%)" }; n.legend = { bottom: "bottom", data: m }; n.series = [{ name: "占比", type: "pie", radius: "75%", center: ["50%", "50%"], label: { normal: { formatter: "{b}:{c}: ({d}%)", textStyle: { fontWeight: "normal", fontSize: 12, color: "#333" } } }, data: l.value, itemStyle: { emphasis: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0, 0, 0, 0.5)" } } }]; n.color = ["#df4d4b", "#304552", "#52bbc8", "rgb(224,134,105)", "#8dd5b4", "#5eb57d", "#d78d2f"]; break; case "1": n.tooltip = { trigger: "axis" }; n.grid = { bottom: "8%", containLabel: true }; n.xAxis = { type: "category", boundaryGap: false, data: m }; n.yAxis = { type: "value" }; n.series = [{ type: "line", data: p }]; break; case "2": n.tooltip = { trigger: "axis" }; n.grid = { bottom: "8%", containLabel: true }; n.xAxis = { type: "category", boundaryGap: false, data: m }; n.yAxis = { type: "value" }; n.series = [{ type: "bar", data: p }]; break }b[l.Id].setOption(n) } }) }); window.onresize = function (i) { $.each(b, function (j, k) { k.resize(i) }) } } } top.learun.clientdata.getAsync("desktop", { callback: function (g) { console.log(g); e(g.target || []); c(g.list || []); a(g.chart || []) } })
+});
+