ソースを参照

init

newStyle
wangxiaohua 3年前
コミット
4f515ffa49
3個のファイルの変更40行の追加3行の削除
  1. +16
    -1
      src/views/Statistics/ConsultantBrand.vue
  2. +17
    -1
      src/views/Statistics/ReceptionStatistical.vue
  3. +7
    -1
      src/views/Statistics/trend.vue

+ 16
- 1
src/views/Statistics/ConsultantBrand.vue ファイルの表示

@@ -88,6 +88,9 @@
<el-table-column prop="deptName" label="归属团队" align="center">
</el-table-column>
<el-table-column prop="activeCustomer" label="接待量" align="center">
<template slot-scope="{ row }">
{{ row.activeCustomer }}次
</template>
</el-table-column>
<el-table-column
v-if="tabFlag == 1"
@@ -95,6 +98,9 @@
label="违禁接待次数"
align="center"
>
<template slot-scope="{ row }">
{{ row.prohibitedCustomer }}次
</template>
</el-table-column>
<el-table-column
v-if="tabFlag == 1"
@@ -102,6 +108,9 @@
label="违禁接待占比"
align="center"
>
<template slot-scope="{ row }">
{{ row.prohibitedZb }}%
</template>
</el-table-column>
<el-table-column
v-if="tabFlag == 0"
@@ -110,7 +119,7 @@
align="center"
>
<template slot-scope="{ row }">
{{ Math.floor(row.sumDuration / 60) }}
{{ Math.floor(row.sumDuration / 60) }}分钟
</template>
</el-table-column>
<el-table-column
@@ -119,6 +128,9 @@
label="销讲执行率"
align="center"
>
<template slot-scope="{row}">
{{row.fraction}}%
</template>
</el-table-column>
<el-table-column
v-for="(item, idx) in tablist"
@@ -127,6 +139,9 @@
:label="item.label"
align="center"
>
<template slot-scope="{row}">
{{row[item.props]}}%
</template>
</el-table-column>
</el-table>
<div style="display: flex; justify-content: flex-end; margin-top: 10px">


+ 17
- 1
src/views/Statistics/ReceptionStatistical.vue ファイルの表示

@@ -109,10 +109,17 @@
</template>
</el-table-column>
<el-table-column prop="receptionCount" label="接待量" align="center">
<template slot-scope="{row}">
{{row.receptionCount}}次
</template>
</el-table-column>
<el-table-column prop="accountNum" label="接待顾问" align="center">

</el-table-column>
<el-table-column prop="activeCustomer" label="有效接待" align="center">
<template slot-scope="{row}">
{{row.activeCustomer}}次
</template>
</el-table-column>
<el-table-column
prop="prohibitedCustomer"
@@ -122,7 +129,7 @@
</el-table-column>
<el-table-column prop="sumDuration" label="接待时长(分)" align="center">
<template slot-scope="{ row }">
{{ Math.floor(row.sumDuration / 60) }}
{{ Math.floor(row.sumDuration / 60) }}分钟
</template>
</el-table-column>
<el-table-column
@@ -130,8 +137,14 @@
label="违禁接待占比"
align="center"
>
<template slot-scope="{row}">
{{row.prohibitedZb}}%
</template>
</el-table-column>
<el-table-column prop="fraction" label="平均执行率" align="center">
<template slot-scope="{row}">
{{row.fraction}}%
</template>
</el-table-column>
<el-table-column
v-for="(item, idx) in tablist"
@@ -140,6 +153,9 @@
:label="item.label"
align="center"
>
<template slot-scope="{row}">
{{row[item.props]}}%
</template>
</el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">


+ 7
- 1
src/views/Statistics/trend.vue ファイルの表示

@@ -335,14 +335,20 @@
<el-table-column prop="time" label="时间" align="center">
</el-table-column>
<el-table-column prop="data1" label="时段一" align="center">
<template slot-scope="{row}">
{{row.data1}}%
</template>
</el-table-column>
<el-table-column prop="data2" label="时段二" align="center">
<template slot-scope="{row}">
{{row.data2}}%
</template>
</el-table-column>
<el-table-column prop="data3" label="变化" align="center">
<template slot-scope="scope">
<span
:style="scope.row.data3 >= 0 ? 'color:green;' : 'color:red;'"
>{{ scope.row.data3 }}</span
>{{ scope.row.data3 }}%</span
>
</template>
</el-table-column>


読み込み中…
キャンセル
保存