Bläddra i källkod

值班安排补充字段

临城职教中职
liangkun 2 år sedan
förälder
incheckning
745b004b3e
2 ändrade filer med 8 tillägg och 3 borttagningar
  1. +7
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DutySchedule/Index.js

+ 7
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PersonnelManagement/DutySchedule/DutySchedule.js Visa fil

@@ -74,8 +74,13 @@
},
rowRender: function (_index, _item, _$item, $page) {// 渲染列表行数据
_$item.addClass('lr-list-item lr-list-item-multi');
_$item.append($('<p class="lr-ellipsis"><span>时间:</span></p>').dataFormatter({
value: _item.Date,
_$item.append($('<p class="lr-ellipsis"><span>开始时间:</span></p>').dataFormatter({
value: _item.StartTime,
type: 'datetime',
dateformat: 'yyyy-MM-dd'
}));
_$item.append($('<p class="lr-ellipsis"><span>结束时间:</span></p>').dataFormatter({
value: _item.EndTime,
type: 'datetime',
dateformat: 'yyyy-MM-dd'
}));


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DutySchedule/Index.js Visa fil

@@ -62,7 +62,7 @@ var bootstrap = function ($, learun) {
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/PersonnelManagement/DutySchedule/GetPageList',
headData: [
{ label: "值班开始时间", name: "StartTime", width: 200, align: "left" },


Laddar…
Avbryt
Spara