提交代码
This commit is contained in:
parent
5f14fd9a96
commit
baf0e5e483
|
@ -23,7 +23,7 @@
|
|||
<el-table-column prop="respondedTime" label="Response Time" show-overflow-tooltip sortable>
|
||||
<template #default="scope">
|
||||
<!-- 格式化去除时分秒 -->
|
||||
{{ dateFormat(scope.row.disasterTime) }}
|
||||
{{ dateFormat(scope.row.respondTime) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="adminName" label="Admin" show-overflow-tooltip ></el-table-column>
|
||||
|
@ -141,6 +141,9 @@ const remove = (row) => {
|
|||
|
||||
//时间处理
|
||||
const dateFormat = (date) => {
|
||||
if (date==""||date==null){
|
||||
return ""
|
||||
}
|
||||
return useDateFormat(date, 'YYYY-MM-DD').value;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue