This commit is contained in:
2024-01-16 22:17:23 +08:00
parent 2f9cde6ce4
commit 68e5dda2b8
4 changed files with 24 additions and 119 deletions

View File

@@ -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 {
}