review 营销活动

(cherry picked from commit 5d613e69b3)
This commit is contained in:
YunaiV
2023-06-24 18:53:57 +08:00
committed by shizhong
parent 70c2fe409c
commit a22eea8e90
9 changed files with 45 additions and 23 deletions

View File

@ -196,6 +196,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 传入日期