Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
218ff2ac
Commit
218ff2ac
authored
Dec 16, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 服务质量数据调整
parent
03e074a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mine.vue
src/pages/index/mine.vue
+1
-1
index.vue
src/pages/mine/portrait/index.vue
+5
-5
No files found.
src/pages/index/mine.vue
View file @
218ff2ac
...
...
@@ -133,7 +133,7 @@
},
{
pathName
:
'portrait/index'
,
title
:
'
订单数据
'
,
title
:
'
服务质量
'
,
value
:
''
,
icon
:
'dingdanshuju.png'
,
imageStyle
:
'width:32rpx;height:32rpx'
...
...
src/pages/mine/portrait/index.vue
View file @
218ff2ac
...
...
@@ -45,7 +45,7 @@
</view>
</view>
<view
class=
"top_desc"
>
<
!--
<
view
class=
"top_desc"
>
<view
class=
"text-gray"
>
综合评分
</view>
<view
class=
"remaining"
>
{{
info
.
score
}}
</view>
<view
class=
"u-flex head_block"
>
...
...
@@ -62,7 +62,7 @@
<text
class=
"income"
>
{{
info
.
totalTodoCont
}}
</text>
</view>
</view>
</view>
</view>
-->
<!-- 服务时效 -->
<view
class=
"view_block"
>
...
...
@@ -84,7 +84,7 @@ export default {
},
data
()
{
return
{
title
:
'
订单数据
'
,
//标题
title
:
'
服务质量
'
,
//标题
showDataTime
:
'today'
,
//选中的时间
tabCur
:
0
,
//标签头下标
topBar
:
17
,
//导航高
...
...
@@ -173,7 +173,7 @@ export default {
this
.
$u
.
api
.
getWorkerData
().
then
(
res
=>
{
const
data
=
res
.
data
||
{}
if
(
data
)
{
const
score
=
(
20
*
data
.
takeRate
)
+
(
20
*
data
.
auditRate
)
+
(
20
*
data
.
checkRate
)
+
(
20
*
data
.
take
Rate
)
+
(
20
*
(
data
.
totalFinishCount
/
data
.
totalAllocateCount
))
const
score
=
(
20
*
data
.
takeRate
)
+
(
20
*
data
.
auditRate
)
+
(
20
*
data
.
checkRate
)
+
(
20
*
data
.
app
Rate
)
+
(
20
*
(
data
.
totalFinishCount
/
data
.
totalAllocateCount
))
const
info
=
{
totalAllocateCount
:
data
.
totalAllocateCount
,
totalFinishCount
:
data
.
totalFinishCount
,
...
...
@@ -182,7 +182,7 @@ export default {
auditRate
:
parseInt
(
data
.
auditRate
*
100
),
checkRate
:
parseInt
(
data
.
checkRate
*
100
),
takeRate
:
parseInt
(
data
.
takeRate
*
100
),
score
:
parseInt
(
score
)
||
0
score
:
score
?
score
.
toFixed
(
2
)
:
0
}
// 基础数据
this
.
CircleData
=
[
...
...
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