Browse Source

提交

newStyle
wangshuai 2 years ago
parent
commit
7f7cc681e3
3 changed files with 17 additions and 16 deletions
  1. +1
    -0
      package.json
  2. +1
    -1
      src/main.js
  3. +15
    -15
      src/page/wel.vue

+ 1
- 0
package.json View File

@@ -22,6 +22,7 @@
"classlist-polyfill": "^1.2.0",
"clipboard": "^2.0.4",
"codemirror": "^5.53.2",
"core-js": "^2.6.12",
"crypto-js": "^3.1.9-1",
"echarts": "^4.2.1",
"element-ui": "2.12.0",


+ 1
- 1
src/main.js View File

@@ -22,7 +22,7 @@ import api from './api'


import AudioPlayer from '@liripeng/vue-audio-player'
import '@liripeng/vue-audio-player/lib/vue-audio-player.css'
// import '@liripeng/vue-audio-player/lib/vue-audio-player.css'


// 插件 json 展示


+ 15
- 15
src/page/wel.vue View File

@@ -36,43 +36,43 @@
class="pagechen"
@click="toDetail('/ReceivingRecords/index', '', '接待记录')"
>
<div class="pageboxtitle1">平均接待时长(分钟)</div>
<div class="pageboxtitle1">平均执行率(%)</div>
<div class="pageboxtitle2">
<div class="span1">{{ cardlist.datalist.avgDuration || 0 }}</div>
<div class="span1">{{ cardlist.datalist.fraction || 0 }}</div>
<div class="span2">
<span class="span2-1">
环比:{{ cardlist.sequential.avgDuration || 0 }}</span
环比:{{ cardlist.sequential.fraction || 0 }}</span
>
<span class="span2-2" v-if="cardlist.liftlist.avgDuration > 0">
<span class="span2-2" v-if="cardlist.liftlist.fraction > 0">
<i class="el-icon-top" style="color: red"></i>
{{ cardlist.liftlist.avgDuration || 0 }}
{{ cardlist.liftlist.fraction || 0 }}%
</span>
<span class="span2-3" v-if="cardlist.liftlist.avgDuration < 0">
<span class="span2-3" v-if="cardlist.liftlist.fraction < 0">
<i class="el-icon-bottom" style="color: #25ceba"></i>
{{ cardlist.liftlist.avgDuration || 0 }}
{{ cardlist.liftlist.fraction || 0 }}%
</span>
</div>
</div>
</div>
<div
class="pagechen"
@click="toDetail('/ReceivingRecords/index', '', '接待记录')"
>
<div class="pageboxtitle1">平均执行率(%)</div>
<div class="pageboxtitle1">平均接待时长(分钟)</div>
<div class="pageboxtitle2">
<div class="span1">{{ cardlist.datalist.fraction || 0 }}</div>
<div class="span1">{{ cardlist.datalist.avgDuration || 0 }}</div>
<div class="span2">
<span class="span2-1">
环比:{{ cardlist.sequential.fraction || 0 }}</span
环比:{{ cardlist.sequential.avgDuration || 0 }}</span
>
<span class="span2-2" v-if="cardlist.liftlist.fraction > 0">
<span class="span2-2" v-if="cardlist.liftlist.avgDuration > 0">
<i class="el-icon-top" style="color: red"></i>
{{ cardlist.liftlist.fraction || 0 }}%
{{ cardlist.liftlist.avgDuration || 0 }}
</span>
<span class="span2-3" v-if="cardlist.liftlist.fraction < 0">
<span class="span2-3" v-if="cardlist.liftlist.avgDuration < 0">
<i class="el-icon-bottom" style="color: #25ceba"></i>
{{ cardlist.liftlist.fraction || 0 }}%
{{ cardlist.liftlist.avgDuration || 0 }}
</span>
</div>
</div>


Loading…
Cancel
Save