Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-content
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 38cf6027
authored
Jul 26, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加日期过滤
1 parent
9f2fdbdf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
src/views/ChatLibrary/iusseDetail.vue
src/views/ChatLibrary/iusseDetail.vue
View file @
38cf602
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
{
{
label
:
'更新时间'
,
label
:
'更新时间'
,
width
:
210
,
width
:
210
,
prop
:
'chatTime'
prop
:
'chatTime'
// formatter: cellVal => {
// formatter: cellVal => {
// return dayjs(cellVal.chatTime).format('YYYY-MM-DD HH:mm')
// return dayjs(cellVal.chatTime).format('YYYY-MM-DD HH:mm')
// }
// }
...
@@ -98,11 +98,7 @@ export default {
...
@@ -98,11 +98,7 @@ export default {
},
},
]
]
},
},
beforeRangePickerOptions
:
{
beforeRangePickerOptions
:
{},
disabledDate
(
date
)
{
return
date
>
new
Date
()
}
},
staffDetail
:
{
staffDetail
:
{
staffName
:
''
,
staffName
:
''
,
merchantName
:
''
,
merchantName
:
''
,
...
@@ -125,6 +121,19 @@ export default {
...
@@ -125,6 +121,19 @@ export default {
staffUuid
:
this
.
$route
.
query
.
id
staffUuid
:
this
.
$route
.
query
.
id
})
})
this
.
staffDetail
=
res
||
{}
this
.
staffDetail
=
res
||
{}
this
.
beforeRangePickerOptions
=
{
disabledDate
(
date
)
{
let
disabled
=
true
try
{
res
.
dateList
.
map
(
e
=>
{
if
(
dayjs
(
date
).
format
(
'YYYY-MM-DD'
)
==
e
)
throw
false
})
}
catch
(
error
)
{
disabled
=
false
}
return
disabled
}
}
}
}
}
}
}
}
...
@@ -206,5 +215,4 @@ export default {
...
@@ -206,5 +215,4 @@ export default {
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment