Commit 21e9e2a4 authored by lshan's avatar lshan

聊天管理操作时间修改

parent 4bbafc09
...@@ -2,11 +2,11 @@ import { column } from "@/types/column" ...@@ -2,11 +2,11 @@ import { column } from "@/types/column"
const columns:Array<column>= const columns:Array<column>=
[ [
{ {
title: '新增时间', title: '操作时间',
align:'center', align:'center',
dataIndex: 'created_at', dataIndex: 'update_at',
scopedSlots:{ scopedSlots:{
customRender :'created_at' customRender :'update_at'
} }
}, },
{ {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<p class=" text-2xl font-bold mb-5">聊天管理</p> <p class=" text-2xl font-bold mb-5">聊天管理</p>
<!-- timepicker --> <!-- timepicker -->
<span class=" font-semibold">新增时间:</span> <span class=" font-semibold">操作时间:</span>
<timerange class=" mr-3" <timerange class=" mr-3"
@getNewTime="getNewTime" @getNewTime="getNewTime"
:startTime="searchPageReqParams.startTime" :startTime="searchPageReqParams.startTime"
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</a-modal> </a-modal>
<!-- 列表 --> <!-- 列表 -->
<a-table :loading="loading" :columns="columns" :pagination="false" :data-source="list" :rowKey="record=>record.question" style=" text-align: center; margin-top:40px;" bordered> <a-table :loading="loading" :columns="columns" :pagination="false" :data-source="list" :rowKey="record=>record.question" style=" text-align: center; margin-top:40px;" bordered>
<template #created_at='text'> <template #update_at='text'>
{{text | formatDate}} {{text | formatDate}}
</template> </template>
<template #faq_status='text'> <template #faq_status='text'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment