Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
21e9e2a4
Commit
21e9e2a4
authored
Oct 20, 2021
by
lshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聊天管理操作时间修改
parent
4bbafc09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
chatColumns.ts
src/const/columns/chatColumns.ts
+3
-3
index.vue
src/views/Root/Chat/index.vue
+2
-2
No files found.
src/const/columns/chatColumns.ts
View file @
21e9e2a4
...
@@ -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'
}
}
},
},
{
{
...
...
src/views/Root/Chat/index.vue
View file @
21e9e2a4
...
@@ -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'
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment