review 营销活动

This commit is contained in:
YunaiV committed 2023-06-24 18:53:57 +08:00
1 parent fa71d3e7dd
commit 5d613e69b3
9 files changed
+45 -23

No files matched your search

+15
View File
@@ -149,6 +149,21 @@ export const dateFormatter = (row, column, cellValue) => {
return formatDate(cellValue)
}
/**
* element plus 的时间 Formatter 实现,使用 YYYY-MM-DD 格式
*
* @param row 行数据
* @param column 字段
* @param cellValue 字段值
*/
// @ts-ignore
export const dateFormatter2 = (row, column, cellValue) => {
if (!cellValue) {
return
}
return formatDate(cellValue, 'YYYY-MM-DD')
}
/**
* 设置起始日期,时间为00:00:00
* @param param 传入日期