Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
78eaced8
Commit
78eaced8
authored
Aug 28, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
088df43a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
customer.vue
src/components/teacherDetail/customer.vue
+2
-4
replayed.vue
src/components/teacherDetail/replayed.vue
+0
-1
No files found.
src/components/teacherDetail/customer.vue
View file @
78eaced8
...
...
@@ -324,7 +324,7 @@
dialogTable
:
false
,
infoText
:
''
,
infoShow
:
''
,
realTime
:
''
realTime
:
new
Date
().
getFullYear
()
+
'-'
+
(
new
Date
().
getMonth
()
+
1
)
+
'-'
+
new
Date
().
getDate
()
}
},
mounted
()
{
...
...
@@ -375,8 +375,6 @@
* 聊天记录
*/
dialogTableClick
(
friendId
)
{
if
(
this
.
realTime
==
''
)
this
.
realTime
=
new
Date
().
getFullYear
()
+
'-'
+
(
new
Date
().
getMonth
()
+
1
)
+
'-'
+
new
Date
().
getDate
()
// 时间
console
.
log
(
this
.
realTime
)
getChatrecordApi
(
friendId
,
{
start_at
:
this
.
realTime
}).
then
(
res
=>
{
if
(
res
.
length
>
0
)
{
this
.
dialogTable
=
true
...
...
@@ -517,7 +515,7 @@
if
(
infoShow
===
2
)
{
chatCount
.
push
(
minCountTotal
)
chatCountTwo
.
push
(
minCountTotalOne
);
chatCountThree
.
push
(
minCountTotal
On
e
);
chatCountThree
.
push
(
minCountTotal
Thre
e
);
}
}
else
if
(
infoShow
===
4
){
res
.
time
.
unshift
(
' '
);
...
...
src/components/teacherDetail/replayed.vue
View file @
78eaced8
...
...
@@ -130,7 +130,6 @@
getData
()
{
this
.
infoLoading
=
true
;
getVisitcalendarApi
(
this
.
customerO
.
id
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
infoLoading
=
false
;
let
infoTimeData
=
[]
Object
.
keys
(
res
.
weekday
).
map
((
item
,
index
)
=>
{
...
...
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