style: 调整时间字段宽度

This commit is contained in:
TsMask
2025-04-28 14:48:54 +08:00
parent 55f5734d7b
commit 600ee94ed9
30 changed files with 65 additions and 47 deletions

View File

@@ -130,7 +130,7 @@ let tableColumns = ref<ColumnsType>([
title: t('views.system.config.createTime'),
dataIndex: 'createTime',
align: 'center',
width: 150,
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);

View File

@@ -108,7 +108,7 @@ let tableColumns: ColumnsType = [
title: t('views.system.dept.createTime'),
dataIndex: 'createTime',
align: 'center',
width: 150,
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);

View File

@@ -180,7 +180,7 @@ let tableColumns: ColumnsType = [
title: t('views.system.dictData.createTime'),
dataIndex: 'createTime',
align: 'left',
width: 150,
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);

View File

@@ -128,7 +128,7 @@ let tableColumns: ColumnsType = [
title: t('views.system.dict.createTime'),
dataIndex: 'createTime',
align: 'center',
width: 150,
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);

View File

@@ -140,8 +140,8 @@ let tableColumns: ColumnsType = [
{
title: t('views.system.log.login.loginTime'),
dataIndex: 'loginTime',
align: 'center',
width: 200,
align: 'left',
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);

View File

@@ -162,8 +162,8 @@ let tableColumns: ColumnsType = [
{
title: t('views.system.log.operate.operDate'),
dataIndex: 'operTime',
align: 'center',
width: 150,
align: 'left',
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);

View File

@@ -158,8 +158,8 @@ let tableColumns: ColumnsType = [
{
title: t('views.system.menu.createTime'),
dataIndex: 'createTime',
align: 'center',
width: 150,
align: 'left',
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);

View File

@@ -117,8 +117,8 @@ let tableColumns: ColumnsType = [
{
title: t('views.system.post.createTime'),
dataIndex: 'createTime',
align: 'center',
width: 150,
align: 'left',
width: 250,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);