style: 调整时间字段宽度
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user