fix : 修改所有工单时间格式

This commit is contained in:
2024-09-28 20:39:21 +08:00
parent 75917c2e5b
commit f0fd5c543d
3 changed files with 44 additions and 26 deletions

View File

@@ -81,10 +81,10 @@ const searchConfig = reactive([
component: 'el-input',
},
{
label: '创建日期',
label: '创建时间',
prop: 'createdTime',
props: {
placeholder: '请选择',
placeholder: '请选择创建时间',
type: 'datetime',
clearable: true,
checkStrictly: true,
@@ -96,18 +96,22 @@ const searchConfig = reactive([
label: '处理时间',
prop: 'processedTime',
props: {
placeholder: '请选择',
placeholder: '请选择处理时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}, {
label: '完成时间',
prop: 'completionTime',
props: {
placeholder: '请选择',
placeholder: '请选择完成时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}

View File

@@ -82,30 +82,37 @@ const searchConfig = reactive([
component: 'el-input',
},
{
label: '创建日期',
prop: 'createTime',
label: '创建时间',
prop: 'createdTime',
props: {
placeholder: '请选择',
placeholder: '请选择创建时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}, {
},
{
label: '处理时间',
prop: 'processedTime',
props: {
placeholder: '请选择',
placeholder: '请选择处理时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}, {
label: '完成时间',
prop: 'completionTime',
props: {
placeholder: '请选择',
placeholder: '请选择完成时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}
@@ -177,7 +184,7 @@ const tableConfig = reactive({
align: 'center'
},
{
prop: 'createTime',
prop: 'createdTime',
label: '创建时间',
align: 'center',
width: 200

View File

@@ -72,30 +72,37 @@ const searchConfig = reactive([
component: 'el-input',
},
{
label: '创建日期',
prop: 'createTime',
label: '创建时间',
prop: 'createdTime',
props: {
placeholder: '请选择',
placeholder: '请选择创建时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}, {
},
{
label: '处理时间',
prop: 'processedTime',
props: {
placeholder: '请选择',
placeholder: '请选择处理时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}, {
label: '完成时间',
prop: 'completionTime',
props: {
placeholder: '请选择',
placeholder: '请选择完成时间',
type: 'datetime',
clearable: true,
checkStrictly: true
checkStrictly: true,
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
component: 'el-date-picker',
}
@@ -167,7 +174,7 @@ const tableConfig = reactive({
align: 'center'
},
{
prop: 'createTime',
prop: 'createdTime',
label: '创建时间',
align: 'center',
width: 200