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
daac14c2
Commit
daac14c2
authored
Sep 12, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聊天记录组件 更新 支持时间分段
团队概况 修复 平均业绩小数点不正确的问题
parent
de675b9e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
145 additions
and
121 deletions
+145
-121
ChatRecord.vue
src/components/framework/ChatRecord.vue
+141
-117
hourDialog.vue
src/components/team/hourDialog.vue
+3
-3
index.vue
src/components/team/index.vue
+1
-1
No files found.
src/components/framework/ChatRecord.vue
View file @
daac14c2
This diff is collapsed.
Click to expand it.
src/components/team/hourDialog.vue
View file @
daac14c2
...
...
@@ -83,7 +83,7 @@
<!--
<el-button
size=
"small"
v-if=
"scope.row.chat_count > 0"
>
聊天记录
</el-button>
-->
<chat-record
v-if=
"scope.row.chat_count > 0"
:friend-id=
"scope.row.friend_id"
:
start-at=
"dialogObj.start
_at"
></chat-record>
:friend-id=
"scope.row.friend_id"
:
chat-start-at=
"scope.row.chat_start_at"
:chat-end-at=
"scope.row.chat_end
_at"
></chat-record>
<phone-record
v-if=
"scope.row.phone_source_file"
:src=
"scope.row.phone_source_file"
></phone-record>
...
...
@@ -143,8 +143,8 @@
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<chat-record
v-if=
"
dialog.search.type == '0'
"
:friend-id=
"scope.row.friend_id"
:
start-at=
"dialogObj.start
_at"
></chat-record>
v-if=
"
scope.row.chat_count > 0
"
:friend-id=
"scope.row.friend_id"
:
chat-start-at=
"scope.row.chat_start_at"
:chat-end-at=
"scope.row.chat_end
_at"
></chat-record>
<phone-record
v-if=
"dialog.search.type == '1' && scope.row.source_file"
:src=
"scope.row.source_file"
></phone-record>
...
...
src/components/team/index.vue
View file @
daac14c2
...
...
@@ -277,7 +277,7 @@
}
,
transRate
(
child
,
mother
)
{
if
(
mother
)
{
return
`${Math.floor(child * 100
) / mother
}
%`
return
`${Math.floor(child * 100
0 / mother)/10
}
%`
}
else
{
return
'-'
}
...
...
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