ソースを参照

打卡状态优化显示

大厂分支
zhichao lei 4年前
コミット
eff5499361
1個のファイルの変更11行の追加3行の削除
  1. +11
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ADR_Record/Index.js

+ 11
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ADR_Record/Index.js ファイルの表示

@@ -135,15 +135,23 @@ var bootstrap = function ($, learun) {
}
});
} },
{ label: "考勤时间", name: "ADTime", width: 100, align: "left" },
{ label: "打卡时间", name: "ClockTime", width: 100, align: "left" },
{ label: "考勤时间", name: "ADTime", width: 150, align: "left" },
{ label: "打卡时间", name: "ClockTime", width: 150, align: "left" },
{
label: "打卡结果", name: "ClockStatus", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'ADStatus',
callback: function (_data) {
callback(_data.text);
//callback(_data.text);
if (_data.text) {
if (_data.text == "正常") {
callback('<span class=\"label label-success\">'+_data.text+'</span>');
} else {
callback('<span class=\"label label-warning\">'+_data.text+'</span>');
}
}
}
});
} },


読み込み中…
キャンセル
保存