Browse Source

【修改】首页‘我的桌面’,标题后面显示的时间,只显示日期;

金隅分支
dyy 3 years ago
parent
commit
0d6ff08ea3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktop/Index.js

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktop/Index.js View File

@@ -79,12 +79,12 @@
top.learun.httpAsync("GET", top.$.rootUrl + "/LR_Desktop/DTList/GetSqlData", {
Id: k.F_Id
},
function(m) {
function (m) {
if(m) {
var l = g.find('[data-value="' + m.Id + '"]');
$.each(m.value,
function(p, q) {
var o = ' <div class="lr-msg-line"> <a href="#" style="text-decoration: none;" >' + q.f_title + "</a> <label>" + q.f_time + "</label> </div>";
var o = ' <div class="lr-msg-line"> <a href="#" style="text-decoration: none;" >' + q.f_title + "</a> <label>" + (q.f_time != '' && q.f_time != undefined && q.f_time != null ? q.f_time.slice(0, 10) : '') + "</label> </div>";
var n = $(o);
n.find("a")[0].item = q;
l.append(n)


Loading…
Cancel
Save