提交 eb18d379 编写于 作者: 蔡祥熠

Merge branch 'hotfix/attendance' into 'master'

Merge of hotfix/attendance 修复考勤可能的错误 to master

See merge request o2oa/o2oa!1227
......@@ -12,7 +12,7 @@
"title" : MWF.xApplication.Attendance.LP.employeeName,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.empName.split('@')[0] }",
"item" : "function(d){ return (d.empName || '').split('@')[0] }",
"name" : "empName",
"width" : "9%"
},
......@@ -20,7 +20,7 @@
"title" : MWF.xApplication.Attendance.LP.department,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.unitName.split('@')[0] }",
"item" : "function(d){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "9%"
},
......
......@@ -27,7 +27,7 @@
"title" : MWF.xApplication.Attendance.LP.uploadPerson,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.creatorUid.split('@')[0] }",
"item" : "function(d){ return (d.creatorUid || '').split('@')[0] }",
"name" : "creatorUid",
"width" : "20%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.name,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.empName.split('@')[0] }",
"item" : "function(d){ return (d.empName || '').split('@')[0] }",
"name" : "empName",
"width" : "20%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.name,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.empName.split('@')[0] }",
"item" : "function( d ){ return (d.empName || '').split('@')[0] }",
"name" : "empName",
"width" : "6%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.unit,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.unitName.split('@')[0] }",
"item" : "function( d ){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "10%"
},
......@@ -11,7 +11,7 @@
"title" : MWF.xApplication.Attendance.LP.name,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.employeeName.split('@')[0] }",
"item" : "function( d ){ return (d.employeeName || '').split('@')[0] }",
"name" : "employeeName",
"width" : "10%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.name,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.empName.split('@')[0] }",
"item" : "function( d ){ return ( d.empName || '').split('@')[0] }",
"name" : "empName",
"width" : "6%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.unit,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.unitName.split('@')[0] }",
"item" : "function( d ){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "10%"
},
......@@ -11,7 +11,7 @@
"title" : MWF.xApplication.Attendance.LP.name,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.employeeName.split('@')[0] }",
"item" : "function( d ){ return (d.employeeName || '').split('@')[0] }",
"name" : "employeeName",
"width" : "10%"
},
......
......@@ -3,7 +3,7 @@
"title": MWF.xApplication.Attendance.LP.name,
"headStyles": "normalThNode",
"contentStyles": "normalTdNode",
"item": "function( d ){ return d.o2User.split('@')[0] }",
"item": "function( d ){ return ( d.o2User || '').split('@')[0] }",
"name": "o2User",
"width": "20%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.person,
"headStyles": "normalThNode",
"contentStyles": "normalTdNode",
"item": "function( d ){ return d.o2User.split('@')[0] }",
"item": "function( d ){ return ( d.o2User || '' ).split('@')[0] }",
"name": "o2User",
"width": "9%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.person,
"headStyles": "normalThNode",
"contentStyles": "normalTdNode",
"item": "function( d ){ return d.o2User.split('@')[0] }",
"item": "function( d ){ return ( d.o2User || '' ).split('@')[0] }",
"name": "o2User",
"width": "9%"
},
......
......@@ -11,7 +11,7 @@
"title" : MWF.xApplication.Attendance.LP.permission.personName,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.adminName.split('@')[0] }",
"item" : "function(d){ return (d.adminName || '').split('@')[0] }",
"name" : "adminName",
"width" : "30%"
},
......@@ -19,7 +19,7 @@
"title" : MWF.xApplication.Attendance.LP.permission.unit,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.unitName.split('@')[0] }",
"item" : "function(d){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "30%"
},
......
......@@ -11,7 +11,7 @@
"title" : MWF.xApplication.Attendance.LP.topUnitName,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.topUnitName.split('@')[0] }",
"item" : "function(d){ return (d.topUnitName || '').split('@')[0] }",
"name" : "topUnitName",
"width" : "20%"
},
......@@ -19,7 +19,7 @@
"title" : MWF.xApplication.Attendance.LP.unitName,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.unitName.split('@')[0] }",
"item" : "function(d){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "20%"
},
......@@ -27,7 +27,7 @@
"title" : MWF.xApplication.Attendance.LP.employeeName,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.employeeName.split('@')[0] }",
"item" : "function(d){ return (d.employeeName || '').split('@')[0] }",
"name" : "employeeName",
"width" : "10%"
},
......
......@@ -3,7 +3,7 @@
"title": MWF.xApplication.Attendance.LP.schedule.unit,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.unitName.split('@')[0] }",
"item" : "function(d){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "11%"
},
......
......@@ -3,7 +3,7 @@
"title": MWF.xApplication.Attendance.LP.department,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.unitName.split('@')[0] }",
"item" : "function(d){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "17%"
},
......@@ -11,7 +11,7 @@
"title": MWF.xApplication.Attendance.LP.employeeName,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.employeeName.split('@')[0] }",
"item" : "function(d){ return (d.employeeName||'').split('@')[0] }",
"name" : "employeeName",
"width" : "13.5%"
},
......
......@@ -3,7 +3,7 @@
"title": MWF.xApplication.Attendance.LP.topUnitName,
"headStyles": "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.topUnitName.split('@')[0] }",
"item" : "function(d){ return (d.topUnitName||'').split('@')[0] }",
"name" : "topUnitName",
"width" : "15%"
},
......@@ -11,7 +11,7 @@
"title": MWF.xApplication.Attendance.LP.unitName,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function(d){ return d.unitName.split('@')[0] }",
"item" : "function(d){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "15%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.name,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.empName.split('@')[0] }",
"item" : "function( d ){ return (d.empName||'').split('@')[0] }",
"name" : "empName",
"width" : "6%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.unit,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.unitName.split('@')[0] }",
"item" : "function( d ){ return (d.unitName || '').split('@')[0] }",
"name" : "unitName",
"width" : "15%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.name,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.empName.split('@')[0] }",
"item" : "function( d ){ return (d.empName||'').split('@')[0] }",
"name" : "empName",
"defaultSort" : "asc",
"width" : "6%"
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.person,
"headStyles" : "normalThNode",
"contentStyles" : "normalTdNode",
"item" : "function( d ){ return d.employeeName.split('@')[0] }",
"item" : "function( d ){ return (d.employeeName||'').split('@')[0] }",
"name" : "employeeName",
"width" : "9%"
},
......
......@@ -3,7 +3,7 @@
"title": MWF.xApplication.Attendance.LP.name,
"headStyles": "normalThNode",
"contentStyles": "normalTdNode",
"item": "function( d ){ return d.o2User.split('@')[0] }",
"item": "function( d ){ return (d.o2User||'').split('@')[0] }",
"name": "o2User",
"width": "20%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.person,
"headStyles": "normalThNode",
"contentStyles": "normalTdNode",
"item": "function( d ){ return d.o2User.split('@')[0] }",
"item": "function( d ){ return (d.o2User||'').split('@')[0] }",
"name": "o2User",
"width": "9%"
},
......
......@@ -3,7 +3,7 @@
"title": MWF.xApplication.Attendance.LP.name,
"headStyles": "normalThNode",
"contentStyles": "normalTdNode",
"item": "function( d ){ return d.o2User.split('@')[0] }",
"item": "function( d ){ return (d.o2User||'').split('@')[0] }",
"name": "o2User",
"width": "20%"
},
......
......@@ -3,7 +3,7 @@
"title" : MWF.xApplication.Attendance.LP.person,
"headStyles": "normalThNode",
"contentStyles": "normalTdNode",
"item": "function( d ){ return d.o2User.split('@')[0] }",
"item": "function( d ){ return (d.o2User||'').split('@')[0] }",
"name": "o2User",
"width": "9%"
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册