.
This commit is contained in:
@@ -314,21 +314,18 @@
|
||||
let v = bean[colFmt["col"]]
|
||||
if (colFmt.inType == "DICT") {
|
||||
// 取字典值返回
|
||||
}
|
||||
else if (colFmt.inType == "INPUT_DAY") {
|
||||
|
||||
}
|
||||
else if (colFmt.inType == "INPUT_TIME") {
|
||||
} else if (colFmt.inType == "INPUT_DAY") {
|
||||
return red.timeFmt(new Date(v), 'yyyy-MM-dd')
|
||||
} else if (colFmt.inType == "INPUT_TIME") {
|
||||
// 时间戳格式化
|
||||
return red.timeFmt(new Date(v))
|
||||
}
|
||||
else if (colFmt.inType == "INPUT_FUNC") {
|
||||
|
||||
}
|
||||
else if (colFmt.inType == "FILE" && v) {
|
||||
} else if (colFmt.inType == "INPUT_FUNC") {
|
||||
return eval(colFmt.inExt)
|
||||
} else if (colFmt.inType == "FUNC") {
|
||||
return funDept(bean, v)
|
||||
} else if (colFmt.inType == "FILE" && v) {
|
||||
return '<a href="{0}" target="_blank">查看</a>'.format(v)
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user