|
@@ -81,12 +81,12 @@
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- {{ numFor(scope.row.fee) }}
|
|
|
|
|
|
+ {{ numFor(scope.row.fee, 2) }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" property="fee" label="环比">
|
|
<el-table-column align="center" property="fee" label="环比">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <svg
|
|
|
|
|
|
+ <svg
|
|
t="1646702687390"
|
|
t="1646702687390"
|
|
class="icon"
|
|
class="icon"
|
|
viewBox="0 0 1024 1024"
|
|
viewBox="0 0 1024 1024"
|
|
@@ -94,13 +94,15 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2028"
|
|
p-id="2028"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- hard_important_list[hard_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
hard_important_list[hard_important_act].proportionType
|
|
hard_important_list[hard_important_act].proportionType
|
|
- ] <
|
|
|
|
- 0"
|
|
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ hard_important_list[hard_important_act].proportionType
|
|
|
|
+ ] <
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
>
|
|
>
|
|
@@ -118,13 +120,15 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2299"
|
|
p-id="2299"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- hard_important_list[hard_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
hard_important_list[hard_important_act].proportionType
|
|
hard_important_list[hard_important_act].proportionType
|
|
- ] >
|
|
|
|
- 0"
|
|
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ hard_important_list[hard_important_act].proportionType
|
|
|
|
+ ] >
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
>
|
|
>
|
|
<path
|
|
<path
|
|
@@ -202,12 +206,12 @@
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- {{ numFor(scope.row.fee) }}
|
|
|
|
|
|
+ {{ numFor(scope.row.fee, 2) }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" property="fee" label="环比">
|
|
<el-table-column align="center" property="fee" label="环比">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <svg
|
|
|
|
|
|
+ <svg
|
|
t="1646702687390"
|
|
t="1646702687390"
|
|
class="icon"
|
|
class="icon"
|
|
viewBox="0 0 1024 1024"
|
|
viewBox="0 0 1024 1024"
|
|
@@ -215,13 +219,15 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2028"
|
|
p-id="2028"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- hard_important_list[hard_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
hard_important_list[hard_important_act].proportionType
|
|
hard_important_list[hard_important_act].proportionType
|
|
- ] <
|
|
|
|
- 0"
|
|
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ hard_important_list[hard_important_act].proportionType
|
|
|
|
+ ] <
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
>
|
|
>
|
|
@@ -239,13 +245,15 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2299"
|
|
p-id="2299"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- hard_important_list[hard_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
hard_important_list[hard_important_act].proportionType
|
|
hard_important_list[hard_important_act].proportionType
|
|
- ] >
|
|
|
|
- 0"
|
|
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ hard_important_list[hard_important_act].proportionType
|
|
|
|
+ ] >
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
>
|
|
>
|
|
<path
|
|
<path
|
|
@@ -296,36 +304,36 @@
|
|
property="name"
|
|
property="name"
|
|
label="栏目主名称"
|
|
label="栏目主名称"
|
|
/>
|
|
/>
|
|
- <el-table-column align="center" property="pinci">
|
|
|
|
|
|
+ <el-table-column align="center" property="timeSize">
|
|
<template #header>
|
|
<template #header>
|
|
<span
|
|
<span
|
|
:style="
|
|
:style="
|
|
- soft_important_list[soft_important_act].type === 1
|
|
|
|
|
|
+ soft_important_list[soft_important_act].type === 2
|
|
? 'color: red'
|
|
? 'color: red'
|
|
: ''
|
|
: ''
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- 频次(次)
|
|
|
|
|
|
+ 时长(秒)
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- {{ numFor(scope.row.pinci) }}
|
|
|
|
|
|
+ {{ numFor(scope.row.timeSize) }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" property="timeSize">
|
|
|
|
|
|
+ <el-table-column align="center" property="pinci">
|
|
<template #header>
|
|
<template #header>
|
|
<span
|
|
<span
|
|
:style="
|
|
:style="
|
|
- soft_important_list[soft_important_act].type === 2
|
|
|
|
|
|
+ soft_important_list[soft_important_act].type === 1
|
|
? 'color: red'
|
|
? 'color: red'
|
|
: ''
|
|
: ''
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- 时长(秒)
|
|
|
|
|
|
+ 频次(次)
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- {{ numFor(scope.row.timeSize) }}
|
|
|
|
|
|
+ {{ numFor(scope.row.pinci) }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" property="fee" label="环比">
|
|
<el-table-column align="center" property="fee" label="环比">
|
|
@@ -338,13 +346,17 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2028"
|
|
p-id="2028"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] <
|
|
|
|
- 0"
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] <
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
>
|
|
>
|
|
@@ -362,13 +374,17 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2299"
|
|
p-id="2299"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] >
|
|
|
|
- 0"
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] >
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
>
|
|
>
|
|
<path
|
|
<path
|
|
@@ -401,36 +417,36 @@
|
|
property="name"
|
|
property="name"
|
|
label="品牌名称"
|
|
label="品牌名称"
|
|
/>
|
|
/>
|
|
- <el-table-column align="center" property="pinci">
|
|
|
|
|
|
+ <el-table-column align="center" property="timeSize">
|
|
<template #header>
|
|
<template #header>
|
|
<span
|
|
<span
|
|
:style="
|
|
:style="
|
|
- soft_important_list[soft_important_act].type === 1
|
|
|
|
|
|
+ soft_important_list[soft_important_act].type === 2
|
|
? 'color: red'
|
|
? 'color: red'
|
|
: ''
|
|
: ''
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- 频次(次)
|
|
|
|
|
|
+ 时长(秒)
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- {{ numFor(scope.row.pinci) }}
|
|
|
|
|
|
+ {{ numFor(scope.row.timeSize) }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" property="timeSize">
|
|
|
|
|
|
+ <el-table-column align="center" property="pinci">
|
|
<template #header>
|
|
<template #header>
|
|
<span
|
|
<span
|
|
:style="
|
|
:style="
|
|
- soft_important_list[soft_important_act].type === 2
|
|
|
|
|
|
+ soft_important_list[soft_important_act].type === 1
|
|
? 'color: red'
|
|
? 'color: red'
|
|
: ''
|
|
: ''
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- 时长(秒)
|
|
|
|
|
|
+ 频次(次)
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- {{ numFor(scope.row.timeSize) }}
|
|
|
|
|
|
+ {{ numFor(scope.row.pinci) }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="环比">
|
|
<el-table-column align="center" label="环比">
|
|
@@ -443,13 +459,17 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2028"
|
|
p-id="2028"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] <
|
|
|
|
- 0"
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] <
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
>
|
|
>
|
|
@@ -467,13 +487,17 @@
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
p-id="2299"
|
|
p-id="2299"
|
|
width="20"
|
|
width="20"
|
|
- v-if="scope.row[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] -
|
|
|
|
- scope.row.compare[
|
|
|
|
- soft_important_list[this.soft_important_act].proportionType
|
|
|
|
- ] >
|
|
|
|
- 0"
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] -
|
|
|
|
+ scope.row.compare[
|
|
|
|
+ soft_important_list[this.soft_important_act]
|
|
|
|
+ .proportionType
|
|
|
|
+ ] >
|
|
|
|
+ 0
|
|
|
|
+ "
|
|
height="20"
|
|
height="20"
|
|
>
|
|
>
|
|
<path
|
|
<path
|
|
@@ -558,12 +582,13 @@ export default {
|
|
},
|
|
},
|
|
filter: {},
|
|
filter: {},
|
|
methods: {
|
|
methods: {
|
|
- numFor(num) {
|
|
|
|
|
|
+ numFor(num, ws) {
|
|
if (!num) return 0;
|
|
if (!num) return 0;
|
|
if (isNaN(num)) return 0;
|
|
if (isNaN(num)) return 0;
|
|
- // if (num >= 100000000) return ((num / 100000000).toFixed(2) -0 ) + "亿";
|
|
|
|
- // if (num >= 10000) return ((num / 10000).toFixed(2) -0) + "万";
|
|
|
|
- return Number(num).toFixed(2) -0;
|
|
|
|
|
|
+ // if (num >= 100000000) return ((num / 100000000).toFixed(2) -0 ) + "亿";
|
|
|
|
+ // if (num >= 10000) return ((num / 10000).toFixed(2) -0) + "万";
|
|
|
|
+ if (ws) return Number(num).toFixed(2);
|
|
|
|
+ return Number(num).toFixed(2) - 0;
|
|
},
|
|
},
|
|
init() {
|
|
init() {
|
|
this.getHard();
|
|
this.getHard();
|