Browse Source

添加Vip权限用户

limengbo 3 years ago
parent
commit
7a785ac219
2 changed files with 17 additions and 4 deletions
  1. 1 1
      config/dev.env.js
  2. 16 3
      src/pages/skill/Skill.vue

+ 1 - 1
config/dev.env.js

@@ -15,7 +15,7 @@ module.exports = {
   BASE_API: '"http://resources.ai160.com/cms"',
   SKILL_API: '"https://baidu-audio-skill.ai160.com/audio"',
   ali_API: '"https://ali-audio-skill.ai160.com/audio"',
-  XYYF_API: '"http://xyyf-api.ai160.com"',
+  XYYF_API: '"http://asxx.efunbox.cn"',
   EFUN_API: '"http://ott80-api.ai160.com"',
   OPPO_API: '"http://xxtbfd-api.ai160.com"',
   BAIDU_API: '"http://bd-audioskill.efunbox.cn:81/audio"'

+ 16 - 3
src/pages/skill/Skill.vue

@@ -120,6 +120,22 @@
             prop="vipProportion"
             min-width="140px"
           ></el-table-column>
+          <el-table-column
+            label="VIP权限用户 | =V0"
+            align="right"
+            header-align="center"
+            :render-header="renderheader"
+            prop="vipCount"
+            min-width="140px"
+          ></el-table-column>
+          <el-table-column
+            label="VIP用户活跃率 | =UV1/V0"
+            align="right"
+            header-align="center"
+            :render-header="renderheader"
+            prop="aliveVipProportion"
+            min-width="140px"
+          ></el-table-column>
           <!-- <el-table-column
             label="VV"
             prop="vv"
@@ -308,9 +324,6 @@ export default {
       return formatDate(yesterday, 2);
     },
     channelChange(val) {
-      console.log(123123123)
-      console.log(123123,val)
-      console.log(this.skillParams)
       this.skillParams.skillId = "";
       this.$store.dispatch("getSkillList", val);
     },