zhuxinbo пре 5 година
родитељ
комит
49337e53a5

+ 0 - 263
src/views/modules/Statistics/allDetail.vue

@@ -1,263 +0,0 @@
-<style></style>
-<template>
-  <div class="admin-detail">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card style="width:100%;">
-          <a-table
-            :columns="columns"
-            :dataSource="dataList"
-            bordered
-            :loading="loading"
-            size="middle"
-            :pagination="false"
-          >
-            <span slot-scope="text" slot="url">
-              <video class="video" :src="text" controls="controls" style="height:200px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </span>
-            <span slot="videoRoleCode" slot-scope="text">
-              {{ text | roleName }}
-            </span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ChartCard from '@/components/ChartCard'
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-import MiniArea from '@/components/chart/MiniArea'
-import MiniBar from '@/components/chart/MiniBar'
-import MiniProgress from '@/components/chart/MiniProgress'
-import RankList from '@/components/chart/RankList'
-import Bar from '@/components/chart/Bar'
-import LineChartMultid from '@/components/chart/LineChartMultid'
-import HeadInfo from '@/components/tools/HeadInfo.vue'
-
-import Trend from '@/components/Trend'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const barData = []
-for (let i = 0; i < 12; i += 1) {
-  barData.push({
-    x: `${i + 1}月`,
-    y: Math.floor(Math.random() * 1000) + 200
-  })
-}
-
-const columns = [
-  {
-    title: '视频',
-    dataIndex: 'url',
-    key: 'url',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'url'
-    },
-    width: 200
-  },
-  {
-    title: '素材名称',
-    dataIndex: 'materialName',
-    key: 'materialName',
-    align: 'center'
-  },
-  {
-    title: '本职角色',
-    dataIndex: 'originRoleName',
-    key: 'originRoleName',
-    align: 'center'
-  },
-  {
-    title: '担任角色',
-    dataIndex: 'videoRoleCode',
-    key: 'videoRoleCode',
-    scopedSlots: {
-      customRender: 'videoRoleCode'
-    },
-    align: 'center'
-  },
-  {
-    title: '设计师',
-    dataIndex: 'realname',
-    key: 'realname',
-    align: 'center'
-  }
-]
-// 账户名、项目名、优化师姓名、当季消耗、授权名称
-const columnsYou = [
-  {
-    title: '账户',
-    dataIndex: 'advertiserName',
-    key: 'advertiserName',
-    align: 'center'
-  },
-  {
-    title: '项目',
-    dataIndex: 'projectName',
-    key: 'projectName',
-    align: 'center'
-  },
-  {
-    title: '优化师',
-    dataIndex: 'userName',
-    key: 'userName',
-    align: 'center'
-  },
-  {
-    title: '当季消耗',
-    dataIndex: 'totalCost',
-    key: 'totalCost',
-    align: 'center'
-  },
-  {
-    title: '授权名称',
-    dataIndex: 'authName',
-    key: 'authName',
-    align: 'center'
-  }
-]
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      title: '工作台',
-      loginfo: {},
-      barData,
-      visitInfo: [],
-      visitFields: ['ip', 'visit'],
-      loading: false,
-      rankList: [],
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: []
-    }
-  },
-  methods: {
-    ...mapGetters(['nickname', 'avatar', 'userInfo'])
-  },
-  filters: {
-    roleName: function(value) {
-      var status = {
-        clip: '剪辑',
-        shot: '拍摄',
-        plan: '策划',
-        plane: '平面'
-      }
-      return status[value]
-    }
-  },
-  created() {
-    var userId = localStorage.getItem('detailUserId')
-    var appType = localStorage.getItem('appType') == 'kuaishou' ? 2 : 1
-    var type = localStorage.getItem('roleData')
-    var weekDate = localStorage.getItem('weekDate').split('~')
-    var typeAll = localStorage.getItem('typeAll')
-    if (typeAll == 'all') {
-      this.columns = columns
-      postAction('/ctop/performance2/getVideoList', {
-        startDate: weekDate[0],
-        endDate: weekDate[1],
-        userId: userId,
-        appType: appType
-      }).then(res => {
-        if (res.success) {
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.$message.error(res.message)
-        }
-      })
-    } else {
-      if (type == 1) {
-        this.columns = columns
-        postAction('/ctop/performance2/getWeekEffiVideoList', {
-          startDate: weekDate[0],
-          endDate: weekDate[1],
-          userId: userId,
-          appType: appType
-        }).then(res => {
-          if (res.success) {
-            this.dataList = res.result.map((item, index) => {
-              return {
-                ...item,
-                key: index
-              }
-            })
-          } else {
-            this.$message.error(res.message)
-          }
-        })
-      } else if (type == 2) {
-        this.columns = columnsYou
-        if (appType == 2) {
-          postAction('/ctop/performance2/getKuaiShouYouhuaAccountsList', {
-            startDate: weekDate[0],
-            endDate: weekDate[1],
-            userId: userId,
-            appType: appType
-          }).then(res => {
-            if (res.success) {
-              this.dataList = res.result.map((item, index) => {
-                return {
-                  ...item,
-                  key: index
-                }
-              })
-            } else {
-              this.$message.error(res.message)
-            }
-          })
-        } else {
-          postAction('/ctop/performance2/getToutiaoYouhuaAccountsList', {
-            startDate: weekDate[0],
-            endDate: weekDate[1],
-            userId: userId,
-            appType: appType
-          }).then(res => {
-            if (res.success) {
-              this.dataList = res.result.map((item, index) => {
-                return {
-                  ...item,
-                  key: index
-                }
-              })
-            } else {
-              this.$message.error(res.message)
-            }
-          })
-        }
-      }
-    }
-  }
-}
-</script>

+ 0 - 420
src/views/modules/Statistics/allStatistics.vue

@@ -1,420 +0,0 @@
-<style>
-.admin-info .ant-list-item-content {
-  display: flex;
-  justify-content: space-around;
-}
-
-.admin-info .ant-table-middle tr.ant-table-expanded-row td > .ant-table-wrapper {
-  margin: -12px -9px -13px;
-}
-</style>
-<template>
-  <div class="admin-info">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card
-          style="width:100%;"
-          :tabList="tabListNoTitle"
-          :activeTabKey="noTitleKey"
-          @tabChange="key => onTabChange(key, 'noTitleKey')"
-        >
-          角色选择:
-          <a-select
-            style="width:300px;margin-bottom:30px"
-            placeholder="请选择角色类型"
-            v-model="type"
-            @change="clearData"
-          >
-            <a-select-option :value="1">设计</a-select-option>
-            <a-select-option :value="2">优化</a-select-option>
-          </a-select>
-          时段选择:
-          <a-month-picker placeholder="选择月份" :disabledDate="disabledDate" @change="getTimeData" v-model="mouth" />
-          <a-select style="width:300px;margin-bottom:30px" placeholder="选择时段" v-model="dateRange">
-            <a-select-option :value="item" v-for="(item, index) of options" :key="index">{{ item }}</a-select-option>
-          </a-select>
-          <a-button type="primary" style="margin-left:10px" @click="addUser">搜索</a-button>
-          <a-table :columns="columns" :dataSource="dataList" bordered :loading="loading" size="middle">
-            <span slot-scope="text" slot="videoUrl">
-              <video class="video" :src="text" controls="controls" style="height:200px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </span>
-            <span slot="action" slot-scope="text, record">
-              <div v-if="type == 1">
-                <a :disabled="record.effiVideoCount == 0" @click="toDetail(record, 'effi')">有效视频详情</a>
-                <a-divider type="vertical" />
-                <a :disabled="record.videoCount == 0" @click="toDetail(record, 'all')">总视频详情</a>
-              </div>
-              <div v-else>
-                <a :disabled="record.effiVideoCount == 0" @click="toDetail(record, 'effi')">查看详情</a>
-              </div>
-            </span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ChartCard from '@/components/ChartCard'
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-import MiniArea from '@/components/chart/MiniArea'
-import MiniBar from '@/components/chart/MiniBar'
-import MiniProgress from '@/components/chart/MiniProgress'
-import RankList from '@/components/chart/RankList'
-import Bar from '@/components/chart/Bar'
-import LineChartMultid from '@/components/chart/LineChartMultid'
-import HeadInfo from '@/components/tools/HeadInfo.vue'
-
-import Trend from '@/components/Trend'
-
-import moment from 'moment'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const barData = []
-for (let i = 0; i < 12; i += 1) {
-  barData.push({
-    x: `${i + 1}月`,
-    y: Math.floor(Math.random() * 1000) + 200
-  })
-}
-
-const columns = [
-  {
-    title: '姓名',
-    dataIndex: 'realname',
-    key: 'realname',
-    align: 'center',
-    width: 200
-  },
-  {
-    title: '角色',
-    dataIndex: 'roleName',
-    key: 'roleName',
-    align: 'center'
-  },
-  {
-    title: '有效视频数量',
-    dataIndex: 'effiVideoCount',
-    key: 'effiVideoCount',
-    align: 'center'
-  },
-  {
-    title: '总视频数量',
-    dataIndex: 'videoCount',
-    key: 'videoCount',
-    align: 'center'
-  },
-  {
-    title: '消耗',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center'
-  },
-  {
-    title: '操作',
-    dataIndex: 'action',
-    key: 'action',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'action'
-    }
-  }
-]
-const columnsYou = [
-  {
-    title: '姓名',
-    dataIndex: 'realname',
-    key: 'realname',
-    align: 'center',
-    width: 200
-  },
-  {
-    title: '角色',
-    dataIndex: 'roleName',
-    key: 'roleName',
-    align: 'center'
-  },
-  {
-    title: '总消耗',
-    dataIndex: 'cost',
-    key: 'effiVideoCount',
-    align: 'center'
-  },
-  {
-    title: '操作',
-    dataIndex: 'action',
-    key: 'action',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'action'
-    }
-  }
-]
-
-Date.prototype.format = function(fmt) {
-  var o = {
-    'M+': this.getMonth() + 1, //月份
-    'd+': this.getDate(), //日
-    'h+': this.getHours(), //小时
-    'm+': this.getMinutes(), //分
-    's+': this.getSeconds(), //秒
-    'q+': Math.floor((this.getMonth() + 3) / 3), //季度
-    S: this.getMilliseconds() //毫秒
-  }
-  if (/(y+)/.test(fmt)) {
-    fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
-  }
-  for (var k in o) {
-    if (new RegExp('(' + k + ')').test(fmt)) {
-      fmt = fmt.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ('00' + o[k]).substr(('' + o[k]).length))
-    }
-  }
-  return fmt
-}
-
-function allWeeks(now_month) {
-  let week_array = []
-  let today = new Date(Date.parse(now_month))
-  let year = today.getFullYear()
-  let month = today.getMonth()
-  let i = 0
-
-  let start = new Date(year, month, 1) // 得到当月第一天
-  let end = new Date(year, month + 1, 0) // 得到当月最后一天
-  let start_day = start.getDay() // 当月第一天是周几
-  console.log(start.format('yyyy-MM-dd'), end.format('yyyy-MM-dd')) // 每月的起始日期
-  switch (start_day) {
-    case 0:
-      i = 0 - 1
-      break
-    case 1:
-      i = 0 - 2
-      break
-    case 2:
-      i = 0 - 3
-      break
-    case 3:
-      i = 0 - 4
-      break
-    case 4:
-      i = 0 - 5
-      break
-    case 5:
-      i = 1
-      break
-    case 6:
-      i = 0
-      break
-  }
-
-  while (new Date(year, month, i + 6) <= end) {
-    week_array.push([new Date(year, month, i).format('yyyy-MM-dd'), new Date(year, month, i + 6).format('yyyy-MM-dd')])
-    i += 7
-  }
-  return week_array
-}
-
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      type: 1,
-      title: '工作台',
-      loginfo: {},
-      barData,
-      visitInfo: [],
-      visitFields: ['ip', 'visit'],
-      loading: false,
-      rankList: [],
-      options: [],
-      dateRange: null,
-      mouth: null,
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: []
-    }
-  },
-  methods: {
-    disabledDate(current) {
-      // Can not select days before today and today
-      return current && current > moment().endOf('day')
-    },
-    ...mapGetters(['nickname', 'avatar', 'userInfo']),
-    clearData() {
-      this.dataList = []
-    },
-    getTimeData(data) {
-      this.dateRange = ''
-      this.options = []
-      this.dataList = []
-      if (data) {
-        var getDate = new Date(data).format('yyyy-MM')
-        this.timeData(getDate)
-      }
-    },
-    timeData(data) {
-      var options = allWeeks(data)
-      console.log(options)
-      this.options = []
-      for (let i = 0; i < options.length; i++) {
-        this.options.push(options[i][0] + '~' + options[i][1])
-      }
-    },
-    addUser() {
-      if (this.noTitleKey == 'kuaishou') {
-        if (this.type == 1) {
-          this.columns = columns
-          this.getKuaishouList()
-        } else if (this.type == 2) {
-          this.columns = columnsYou
-          this.getKuaishouYouHuaList()
-        }
-      } else if (this.noTitleKey == 'toutiao') {
-        if (this.type == 1) {
-          this.columns = columns
-          this.getToutiaoList()
-        } else if (this.type == 2) {
-          this.columns = columnsYou
-          this.getToutiaoYouHuaList()
-        }
-      }
-    },
-    onTabChange(key, type) {
-      console.log(key, type)
-      this.type = 1
-      this.dateRange = null
-      this.mouth = null
-      this.options = []
-      this.dataList = []
-      this.columns = columns
-      this[type] = key
-    },
-    toDetail(item, typeAll) {
-      localStorage.setItem('detailUserId', item.userId)
-      localStorage.setItem('appType', this.noTitleKey)
-      localStorage.setItem('roleData', this.type)
-      localStorage.setItem('weekDate', this.dateRange)
-      localStorage.setItem('typeAll', typeAll)
-      this.$router.replace({
-        path: '/Statistics/allDetail'
-      })
-    },
-    getKuaishouList() {
-      this.loading = true
-      var params = {}
-      var dateRange = this.dateRange.split('~')
-      params.startDate = dateRange[0]
-      params.endDate = dateRange[1]
-      postAction('/ctop/performance2/kuaishouWeekReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-
-    getToutiaoList() {
-      this.loading = true
-      var params = {}
-      var dateRange = this.dateRange.split('~')
-      params.startDate = dateRange[0]
-      params.endDate = dateRange[1]
-      postAction('/ctop/performance2/toutiaoWeekReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-    getKuaishouYouHuaList() {
-      this.loading = true
-      var params = {}
-      var dateRange = this.dateRange.split('~')
-      params.startDate = dateRange[0]
-      params.endDate = dateRange[1]
-      postAction('/ctop/performance2/kuaishouYouhuaWeekReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-    getToutiaoYouHuaList() {
-      this.loading = true
-      var params = {}
-      var dateRange = this.dateRange.split('~')
-      params.startDate = dateRange[0]
-      params.endDate = dateRange[1]
-      postAction('/ctop/performance2/toutiaoYouhuaWeekReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    }
-  },
-  created() {
-    //   this.getKuaishouList()
-  }
-}
-</script>

+ 0 - 208
src/views/modules/Statistics/projectDetail.vue

@@ -1,208 +0,0 @@
-<style></style>
-<template>
-  <div class="admin-detail">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card style="width:100%;">
-          <a-table
-            :columns="columns"
-            :dataSource="dataList"
-            bordered
-            :loading="loading"
-            size="middle"
-            :pagination="false"
-          >
-            <span slot-scope="text" slot="mediaId">
-              {{ text == 1 ? '头条' : '快手' }}
-            </span>
-            <span slot="quarter" slot-scope="text, record">
-              {{ record.year + '年第' + record.quarter + '季度' }}
-            </span>
-            <span slot="startDate" slot-scope="text, record">
-              {{ record.startDate + '~' + record.endDate }}
-            </span>
-            <span slot="action" slot-scope="text, record">
-              <a :disabled="record.cost == 0 || record.cost == null" @click="toDetail(record)">查看详情</a>
-            </span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ChartCard from '@/components/ChartCard'
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-import MiniArea from '@/components/chart/MiniArea'
-import MiniBar from '@/components/chart/MiniBar'
-import MiniProgress from '@/components/chart/MiniProgress'
-import RankList from '@/components/chart/RankList'
-import Bar from '@/components/chart/Bar'
-import LineChartMultid from '@/components/chart/LineChartMultid'
-import HeadInfo from '@/components/tools/HeadInfo.vue'
-
-import Trend from '@/components/Trend'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const barData = []
-for (let i = 0; i < 12; i += 1) {
-  barData.push({
-    x: `${i + 1}月`,
-    y: Math.floor(Math.random() * 1000) + 200
-  })
-}
-
-const columns = [
-  {
-    title: '项目名称',
-    dataIndex: 'projectName',
-    key: 'projectName',
-    align: 'center'
-  },
-  {
-    title: '账户id',
-    dataIndex: 'accountId',
-    key: 'accountId',
-    align: 'center'
-  },
-  {
-    title: '账户运营',
-    dataIndex: 'userName',
-    key: 'userName',
-    align: 'center'
-  },
-  {
-    title: '广告主名称',
-    dataIndex: 'advertiserName',
-    key: 'advertiserName',
-    align: 'center'
-  },
-  {
-    title: '授权名称',
-    dataIndex: 'authName',
-    key: 'authName',
-    align: 'center'
-  },
-  {
-    title: '季度消耗',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center'
-  },
-  {
-    title: '媒体类型',
-    dataIndex: 'mediaId',
-    key: 'mediaId',
-    align: 'center',
-    scopedSlots: { customRender: 'mediaId' }
-  },
-  {
-    title: '绩效年度',
-    dataIndex: 'quarter',
-    key: 'quarter',
-    align: 'center',
-    scopedSlots: { customRender: 'quarter' }
-  },
-  {
-    title: '运营所属时间段',
-    dataIndex: 'startDate',
-    key: 'startDate',
-    align: 'center',
-    scopedSlots: { customRender: 'startDate' }
-  },
-  {
-    title: '视频详情',
-    dataIndex: 'action',
-    key: 'action',
-    align: 'center',
-    scopedSlots: { customRender: 'action' }
-  }
-]
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      title: '工作台',
-      loginfo: {},
-      barData,
-      visitInfo: [],
-      visitFields: ['ip', 'visit'],
-      loading: false,
-      rankList: [],
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: []
-    }
-  },
-  methods: {
-    ...mapGetters(['nickname', 'avatar', 'userInfo']),
-    toDetail(item) {
-      localStorage.setItem('videoAccountId', item.accountId)
-      localStorage.setItem('videoAppType', item.mediaId)
-      localStorage.setItem('videoYear', item.year)
-      localStorage.setItem('videoQuarter', item.quarter)
-
-      this.$router.replace({
-        path: '/Statistics/projectVideo'
-      })
-    }
-  },
-  filters: {
-    roleName: function(value) {
-      var status = {
-        clip: '剪辑',
-        shot: '拍摄',
-        plan: '策划',
-        plane: '平面'
-      }
-      return status[value]
-    }
-  },
-  created() {
-    var userId = localStorage.getItem('projectStatisticsId')
-    var appType = localStorage.getItem('projectAppType') == 'kuaishou' ? 2 : 1
-    var type = localStorage.getItem('projectYear')
-    var weekDate = localStorage.getItem('projectQuarter')
-
-    postAction('/ctop/performance2/getQuarterAccountDetail', {
-      year: type,
-      quarter: weekDate,
-      appType: appType,
-      projectId: userId
-    }).then(res => {
-      if (res.success) {
-        this.dataList = res.result.map((item, index) => {
-          return {
-            ...item,
-            key: index
-          }
-        })
-      } else {
-        this.$message.error(res.message)
-      }
-    })
-  }
-}
-</script>

+ 0 - 216
src/views/modules/Statistics/projectStatistics.vue

@@ -1,216 +0,0 @@
-<style>
-.admin-info .ant-list-item-content {
-  display: flex;
-  justify-content: space-around;
-}
-
-.admin-info .ant-table-middle tr.ant-table-expanded-row td > .ant-table-wrapper {
-  margin: -12px -9px -13px;
-}
-</style>
-<template>
-  <div class="admin-info">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card
-          style="width:100%;"
-          :tabList="tabListNoTitle"
-          :activeTabKey="noTitleKey"
-          @tabChange="key => onTabChange(key, 'noTitleKey')"
-        >
-          季度选择:
-          <a-select style="width:100px;margin-bottom:30px" placeholder="选择年" v-model="year">
-            <a-select-option :value="item" v-for="item of options" :key="item">{{ item }}</a-select-option>
-          </a-select>
-          <a-select style="width:100px;margin-bottom:30px" placeholder="选择季度" v-model="dateRange">
-            <a-select-option :value="item" v-for="item of 4" :key="item">{{ item }}</a-select-option>
-          </a-select>
-          <a-button type="primary" style="margin-left:10px" @click="addUser">搜索</a-button>
-          <a-table :columns="columns" :dataSource="dataList" bordered :loading="loading" size="middle">
-            <span slot-scope="text" slot="videoUrl">
-              <video class="video" :src="text" controls="controls" style="height:200px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </span>
-            <span slot="action" slot-scope="text, record">
-              <a :disabled="record.totalCost == 0 || record.totalCost == null" @click="toDetail(record)">查看详情</a>
-            </span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ChartCard from '@/components/ChartCard'
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-import MiniArea from '@/components/chart/MiniArea'
-import MiniBar from '@/components/chart/MiniBar'
-import MiniProgress from '@/components/chart/MiniProgress'
-import RankList from '@/components/chart/RankList'
-import Bar from '@/components/chart/Bar'
-import LineChartMultid from '@/components/chart/LineChartMultid'
-import HeadInfo from '@/components/tools/HeadInfo.vue'
-
-import Trend from '@/components/Trend'
-
-import moment from 'moment'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const barData = []
-for (let i = 0; i < 12; i += 1) {
-  barData.push({
-    x: `${i + 1}月`,
-    y: Math.floor(Math.random() * 1000) + 200
-  })
-}
-
-const columns = [
-  {
-    title: '项目名称',
-    dataIndex: 'projectName',
-    key: 'projectName',
-    align: 'center'
-  },
-  {
-    title: '广告主名称',
-    dataIndex: 'advertiserName',
-    key: 'advertiserName',
-    align: 'center'
-  },
-  {
-    title: '运营负责人',
-    dataIndex: 'responsibleName',
-    key: 'responsibleName',
-    align: 'center'
-  },
-  {
-    title: '设计负责人',
-    dataIndex: 'designResponsibleName',
-    key: 'designResponsibleName',
-    align: 'center'
-  },
-  {
-    title: '总消耗',
-    dataIndex: 'totalCost',
-    key: 'totalCost',
-    align: 'center'
-  },
-  {
-    title: '操作',
-    dataIndex: 'action',
-    key: 'action',
-    align: 'center',
-    scopedSlots: { customRender: 'action' }
-  }
-]
-
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      type: 1,
-      title: '工作台',
-      loginfo: {},
-      barData,
-      visitInfo: [],
-      visitFields: ['ip', 'visit'],
-      loading: false,
-      rankList: [],
-      options: [],
-      dateRange: null,
-      year: new Date().getFullYear(),
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: []
-    }
-  },
-  methods: {
-    disabledDate(current) {
-      // Can not select days before today and today
-      return current && current > moment().endOf('day')
-    },
-    ...mapGetters(['nickname', 'avatar', 'userInfo']),
-    clearData() {
-      this.dataList = []
-    },
-    addUser() {
-      this.loading = true
-      this.getKuaishouList()
-    },
-    onTabChange(key, type) {
-      console.log(key, type)
-      this.type = 1
-      this.dateRange = null
-      this.year = '2020'
-      this.options = []
-      this.dataList = []
-      this.columns = columns
-      this[type] = key
-    },
-    toDetail(item) {
-      // {"year":2020,"quarter":1,"appType":2,"projectId":47}
-      localStorage.setItem('projectStatisticsId', item.projectId)
-      localStorage.setItem('projectAppType', this.noTitleKey)
-      localStorage.setItem('projectYear', this.year)
-      localStorage.setItem('projectQuarter', this.dateRange)
-
-      this.$router.replace({
-        path: '/Statistics/projectDetail'
-      })
-    },
-    getKuaishouList() {
-      var params = {}
-      params.year = this.year
-      params.quarter = this.dateRange
-      params.appType = this.noTitleKey == 'kuaishou' ? 2 : 1
-      postAction('/ctop/performance2/getProjcetListByMediaType', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    }
-  },
-  created() {
-    //   this.getKuaishouList()
-    var myDate = new Date()
-    var startYear = myDate.getFullYear() - 5 //起始年份
-    var endYear = myDate.getFullYear() + 5 //结束年份
-    for (var i = startYear; i <= endYear; i++) {
-      this.options.push(i)
-    }
-  }
-}
-</script>

+ 0 - 230
src/views/modules/Statistics/projectVideo.vue

@@ -1,230 +0,0 @@
-<style></style>
-<template>
-  <div class="admin-detail">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card style="width:100%;">
-          <h3 style="margin:20px 0">当前账户总消耗为:{{ sumAll }}</h3>
-
-          <a-table
-            :columns="columns"
-            :dataSource="dataList"
-            bordered
-            :loading="loading"
-            size="middle"
-            :pagination="true"
-          >
-            <span slot-scope="text" slot="creativeUrl">
-              <video class="video" :src="text" controls="controls" style="height:200px" v-if="text">
-                您的浏览器不支持 video 标签。
-              </video>
-              <div v-else>
-                暂无视频
-              </div>
-            </span>
-            <span slot="shot" slot-scope="text">{{ text ? text : '-' }}</span>
-            <span slot="plan" slot-scope="text">{{ text ? text : '-' }}</span>
-            <span slot="plane" slot-scope="text">{{ text ? text : '-' }}</span>
-            <span slot="clip" slot-scope="text">{{ text ? text : '-' }}</span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ChartCard from '@/components/ChartCard'
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-import MiniArea from '@/components/chart/MiniArea'
-import MiniBar from '@/components/chart/MiniBar'
-import MiniProgress from '@/components/chart/MiniProgress'
-import RankList from '@/components/chart/RankList'
-import Bar from '@/components/chart/Bar'
-import LineChartMultid from '@/components/chart/LineChartMultid'
-import HeadInfo from '@/components/tools/HeadInfo.vue'
-
-import Trend from '@/components/Trend'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const barData = []
-for (let i = 0; i < 12; i += 1) {
-  barData.push({
-    x: `${i + 1}月`,
-    y: Math.floor(Math.random() * 1000) + 200
-  })
-}
-
-const columns = [
-  {
-    title: '视频',
-    dataIndex: 'creativeUrl',
-    key: 'creativeUrl',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'creativeUrl'
-    },
-    width: 200
-  },
-  {
-    title: '账户消耗',
-    dataIndex: 'charge',
-    key: 'charge',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'charge'
-    }
-  },
-  {
-    title: '拍摄',
-    dataIndex: 'shot',
-    key: 'shot',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'shot'
-    }
-  },
-  {
-    title: '编导',
-    dataIndex: 'plan',
-    key: 'plan',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'plan'
-    }
-  },
-  {
-    title: '平面',
-    dataIndex: 'plane',
-    key: 'plane',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'plane'
-    }
-  },
-  {
-    title: '剪辑',
-    dataIndex: 'clip',
-    key: 'clip',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'clip'
-    }
-  }
-]
-function sum(arr) {
-  var len = arr.length
-  if (len == 0) {
-    return 0
-  } else if (len == 1) {
-    return arr[0]
-  } else {
-    return arr[0] + sum(arr.slice(1))
-  }
-}
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      title: '工作台',
-      loginfo: {},
-      barData,
-      visitInfo: [],
-      visitFields: ['ip', 'visit'],
-      loading: false,
-      rankList: [],
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: [],
-      sumAll: null
-    }
-  },
-  methods: {
-    ...mapGetters(['nickname', 'avatar', 'userInfo'])
-  },
-  filters: {
-    roleName: function(value) {
-      var status = {
-        clip: '剪辑',
-        shot: '拍摄',
-        plan: '策划',
-        plane: '平面'
-      }
-      return status[value]
-    }
-  },
-  created() {
-    var userId = localStorage.getItem('videoAccountId')
-    var appType = localStorage.getItem('videoAppType')
-    //  == 'kuaishou' ? 2 : 1
-    var type = localStorage.getItem('videoYear')
-    var weekDate = localStorage.getItem('videoQuarter')
-    if (appType == '2') {
-      // /ctop/performance2/getKuaishouQuarterVideoInfoByAccountId
-      postAction('/ctop/performance2/getKuaishouQuarterVideoInfoByAccountId', {
-        year: type,
-        quarter: weekDate,
-        accountId: userId
-      }).then(res => {
-        if (res.success) {
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-
-          var sumAll = this.dataList.map(item => {
-            return item.charge
-          })
-          this.sumAll = sum(sumAll)
-        } else {
-          this.$message.error(res.message)
-        }
-      })
-    } else {
-      postAction('/ctop/performance2/getToutiaoQuarterVideoInfoByAccountId', {
-        year: type,
-        quarter: weekDate,
-        accountId: userId
-      }).then(res => {
-        if (res.success) {
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-          var sumAll = this.dataList.map(item => {
-            return item.charge
-          })
-          this.sumAll = sum(sumAll)
-        } else {
-          this.$message.error(res.message)
-        }
-      })
-    }
-  }
-}
-</script>

+ 0 - 209
src/views/modules/Statistics/quarterDetail.vue

@@ -1,209 +0,0 @@
-<style></style>
-<template>
-  <div class="admin-detail">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card style="width:100%;">
-
-          <a-table :columns="columns" :dataSource="dataList" bordered :loading="loading" size="middle"
-            :pagination="true">
-
-            <span slot="startDate" slot-scope="text,record"> {{ record.startDate + '~' + record.endDate }}</span>
-
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-  import ChartCard from '@/components/ChartCard'
-  import ACol from 'ant-design-vue/es/grid/Col'
-  import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-  import MiniArea from '@/components/chart/MiniArea'
-  import MiniBar from '@/components/chart/MiniBar'
-  import MiniProgress from '@/components/chart/MiniProgress'
-  import RankList from '@/components/chart/RankList'
-  import Bar from '@/components/chart/Bar'
-  import LineChartMultid from '@/components/chart/LineChartMultid'
-  import HeadInfo from '@/components/tools/HeadInfo.vue'
-
-  import Trend from '@/components/Trend'
-
-  import {
-    getAction,
-    postAction
-  } from '@/api/manage'
-  import {
-    mapGetters
-  } from 'vuex'
-
-  import qs from 'qs'
-
-  const barData = []
-  for (let i = 0; i < 12; i += 1) {
-    barData.push({
-      x: `${i + 1}月`,
-      y: Math.floor(Math.random() * 1000) + 200
-    })
-  }
-  // "realname": "兰兰",
-  //             "authName": "拉活-RTA(lan)",
-  //             "advertiserName": "支付宝(中国)网络技术有限公司",
-  //             "projectName": "支付宝-拉活"
-  const columns = [{
-      title: '项目名称',
-      dataIndex: 'projectName',
-      key: 'projectName',
-      align: 'center',
-      scopedSlots: {
-        customRender: 'projectName'
-      }
-    },
-    {
-      title: '授权名称',
-      dataIndex: 'authName',
-      key: 'authName',
-      align: 'center',
-      scopedSlots: {
-        customRender: 'authName'
-      }
-    },
-    {
-      title: '账户id',
-      dataIndex: 'accountId',
-      key: 'accountId',
-      align: 'center',
-      scopedSlots: {
-        customRender: 'accountId'
-      }
-    },
-    {
-      title: '广告主名称',
-      dataIndex: 'advertiserName',
-      key: 'advertiserName',
-      align: 'center',
-      scopedSlots: {
-        customRender: 'advertiserName'
-      }
-    },
-    {
-      title: '运营',
-      dataIndex: 'realname',
-      key: 'realname',
-      align: 'center',
-      scopedSlots: {
-        customRender: 'realname'
-      }
-    },
-    {
-      title: '消耗',
-      dataIndex: 'cost',
-      key: 'cost',
-      align: 'center',
-      scopedSlots: {
-        customRender: 'cost'
-      }
-    },
-    {
-      title: '所属时间段',
-      dataIndex: 'startDate',
-      key: 'startDate',
-      align: 'center',
-      scopedSlots: {
-        customRender: 'startDate'
-      }
-    }
-  ]
-
-  function sum(arr) {
-    var len = arr.length
-    if (len == 0) {
-      return 0
-    } else if (len == 1) {
-      return arr[0]
-    } else {
-      return arr[0] + sum(arr.slice(1))
-    }
-  }
-  export default {
-    name: 'admin-info',
-    components: {
-      ATooltip,
-      ACol
-    },
-
-    data: function () {
-      return {
-        title: '工作台',
-        loginfo: {},
-        barData,
-        visitInfo: [],
-        visitFields: ['ip', 'visit'],
-        loading: false,
-        rankList: [],
-        tabListNoTitle: [{
-            key: 'kuaishou',
-            tab: '快手'
-          },
-          {
-            key: 'toutiao',
-            tab: '头条'
-          }
-        ],
-        noTitleKey: 'kuaishou',
-        a: '',
-        columns: columns,
-        dataList: [],
-        sumAll: null
-      }
-    },
-    methods: {
-      ...mapGetters(['nickname', 'avatar', 'userInfo'])
-    },
-    filters: {
-      roleName: function (value) {
-        var status = {
-          clip: '剪辑',
-          shot: '拍摄',
-          plan: '策划',
-          plane: '平面'
-        }
-        return status[value]
-      }
-    },
-    created() {
-      var userId = localStorage.getItem('quarterUserId')
-      var appType = localStorage.getItem('quarterAppType') == 'kuaishou' ? 2 : 1
-      var type = localStorage.getItem('quarterYear')
-      var weekDate = localStorage.getItem('quarterNow')
-
-
-      //   localStorage.setItem('quarterUserId', item.userId)
-      //   localStorage.setItem('quarterAppType', this.noTitleKey)
-      //   localStorage.setItem('quarterYear', this.year)
-      //   localStorage.setItem('quarterNow', this.dateRange)
-      //   this.$router.replace({
-      //     path: '/Statistics/quarterDetail'
-      //   })
-      postAction('/ctop/performance2/getYunyingQuarterDetailByUserId', {
-        "year": type,
-        "quarter": weekDate,
-        "userId": userId,
-        "appType": appType
-      }).then(res => {
-        if (res.success) {
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.$message.error(res.message)
-        }
-      })
-    }
-  }
-</script>

+ 0 - 339
src/views/modules/Statistics/quarterStatistics.vue

@@ -1,339 +0,0 @@
-<style>
-.admin-info .ant-list-item-content {
-  display: flex;
-  justify-content: space-around;
-}
-
-.admin-info .ant-table-middle tr.ant-table-expanded-row td > .ant-table-wrapper {
-  margin: -12px -9px -13px;
-}
-</style>
-<template>
-  <div class="admin-info">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card
-          style="width:100%;"
-          :tabList="tabListNoTitle"
-          :activeTabKey="noTitleKey"
-          @tabChange="key => onTabChange(key, 'noTitleKey')"
-        >
-          角色选择:
-          <a-select
-            style="width:300px;margin-bottom:30px"
-            placeholder="请选择角色类型"
-            v-model="type"
-            @change="clearData"
-          >
-            <a-select-option :value="1">设计</a-select-option>
-            <a-select-option :value="2">优化</a-select-option>
-          </a-select>
-          季度选择:
-          <a-select style="width:100px;margin-bottom:30px" placeholder="选择年" v-model="year">
-            <a-select-option :value="item" v-for="item of options" :key="item">{{ item }}</a-select-option>
-          </a-select>
-          <a-select style="width:100px;margin-bottom:30px" placeholder="选择季度" v-model="dateRange">
-            <a-select-option :value="item" v-for="item of 4" :key="item">{{ item }}</a-select-option>
-          </a-select>
-          <a-button type="primary" style="margin-left:10px" @click="addUser">搜索</a-button>
-          <a-table :columns="columns" :dataSource="dataList" bordered :loading="loading" size="middle">
-            <span slot-scope="text" slot="videoUrl">
-              <video class="video" :src="text" controls="controls" style="height:200px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </span>
-            <span slot="action" slot-scope="text, record">
-              <a @click="toDetail(record)">查看详情</a>
-            </span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ChartCard from '@/components/ChartCard'
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-import MiniArea from '@/components/chart/MiniArea'
-import MiniBar from '@/components/chart/MiniBar'
-import MiniProgress from '@/components/chart/MiniProgress'
-import RankList from '@/components/chart/RankList'
-import Bar from '@/components/chart/Bar'
-import LineChartMultid from '@/components/chart/LineChartMultid'
-import HeadInfo from '@/components/tools/HeadInfo.vue'
-
-import Trend from '@/components/Trend'
-
-import moment from 'moment'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const barData = []
-for (let i = 0; i < 12; i += 1) {
-  barData.push({
-    x: `${i + 1}月`,
-    y: Math.floor(Math.random() * 1000) + 200
-  })
-}
-
-const columns = [
-  {
-    title: '姓名',
-    dataIndex: 'realname',
-    key: 'realname',
-    align: 'center',
-    width: 200
-  },
-  {
-    title: '角色',
-    dataIndex: 'roleName',
-    key: 'roleName',
-    align: 'center'
-  },
-  {
-    title: '有效视频数量',
-    dataIndex: 'effiVideoCount',
-    key: 'effiVideoCount',
-    align: 'center'
-  },
-  {
-    title: '总视频数量',
-    dataIndex: 'videoCount',
-    key: 'videoCount',
-    align: 'center'
-  },
-  {
-    title: '消耗',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center'
-  }
-  // {
-  //   title: '操作',
-  //   dataIndex: 'action',
-  //   key: 'action',
-  //   align: 'center',
-  //   scopedSlots: {
-  //     customRender: 'action'
-  //   },
-  // },
-]
-const columnsYou = [
-  {
-    title: '姓名',
-    dataIndex: 'realname',
-    key: 'realname',
-    align: 'center',
-    width: 200
-  },
-  {
-    title: '角色',
-    dataIndex: 'roleName',
-    key: 'roleName',
-    align: 'center'
-  },
-  {
-    title: '总消耗',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center'
-  },
-  {
-    title: '绩效',
-    dataIndex: 'effiRate',
-    key: 'effiRate',
-    align: 'center'
-  },
-  {
-    title: '操作',
-    dataIndex: 'action',
-    key: 'action',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'action'
-    }
-  }
-]
-
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      type: 1,
-      title: '工作台',
-      loginfo: {},
-      barData,
-      visitInfo: [],
-      visitFields: ['ip', 'visit'],
-      loading: false,
-      rankList: [],
-      options: [],
-      dateRange: null,
-      year: new Date().getFullYear(),
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: []
-    }
-  },
-  methods: {
-    disabledDate(current) {
-      // Can not select days before today and today
-      return current && current > moment().endOf('day')
-    },
-    ...mapGetters(['nickname', 'avatar', 'userInfo']),
-    clearData() {
-      this.dataList = []
-    },
-    addUser() {
-      this.loading = true
-      if (this.noTitleKey == 'kuaishou') {
-        if (this.type == 1) {
-          this.columns = columns
-          this.getKuaishouList()
-        } else if (this.type == 2) {
-          this.columns = columnsYou
-          this.getKuaishouYouHuaList()
-        }
-      } else if (this.noTitleKey == 'toutiao') {
-        if (this.type == 1) {
-          this.columns = columns
-          this.getToutiaoList()
-        } else if (this.type == 2) {
-          this.columns = columnsYou
-          this.getToutiaoYouHuaList()
-        }
-      }
-    },
-    onTabChange(key, type) {
-      console.log(key, type)
-      this.type = 1
-      this.dateRange = null
-      this.year = '2020'
-      this.options = []
-      this.dataList = []
-      this.columns = columns
-      this[type] = key
-    },
-    toDetail(item) {
-      localStorage.setItem('quarterUserId', item.userId)
-      localStorage.setItem('quarterAppType', this.noTitleKey)
-      localStorage.setItem('quarterYear', this.year)
-      localStorage.setItem('quarterNow', this.dateRange)
-      this.$router.replace({
-        path: '/Statistics/quarterDetail'
-      })
-    },
-    getKuaishouList() {
-      var params = {}
-      params.year = this.year
-      params.quarter = this.dateRange
-      postAction('/ctop/performance2/kuaishouQuarterReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-
-    getToutiaoList() {
-      var params = {}
-      params.year = this.year
-      params.quarter = this.dateRange
-      postAction('/ctop/performance2/toutiaoQuarterReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-    getKuaishouYouHuaList() {
-      var params = {}
-      params.year = this.year
-      params.quarter = this.dateRange
-      postAction('/ctop/performance2/kuaishouYouhuaQuarterReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-    getToutiaoYouHuaList() {
-      var params = {}
-      params.year = this.year
-      params.quarter = this.dateRange
-      postAction('/ctop/performance2/toutiaoYouhuaQuarterReport', params).then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    }
-  },
-  created() {
-    //   this.getKuaishouList()
-    var myDate = new Date()
-    var startYear = myDate.getFullYear() - 5 //起始年份
-    var endYear = myDate.getFullYear() + 5 //结束年份
-    for (var i = startYear; i <= endYear; i++) {
-      this.options.push(i)
-    }
-  }
-}
-</script>

+ 0 - 571
src/views/modules/Statistics/toutiaoAccount.vue

@@ -1,571 +0,0 @@
-<style lang="scss" scoped>
-.search-bar {
-  display: flex;
-  align-items: center;
-}
-
-.search-box p {
-  display: inline-block;
-  border: 1px solid #f2f2f2;
-  border-radius: 5px;
-  margin-right: 10px;
-  padding: 5px 10px;
-  cursor: pointer;
-}
-</style>
-<style>
-.search-box .ant-card-body {
-  padding: 5px 15px;
-}
-
-.ant-modal-wrap .yincang .ant-modal-content .ant-modal-footer {
-  display: none !important;
-}
-
-.yincang .ant-col-6 p {
-  text-align: left;
-  color: red;
-  font-size: 16px;
-  font-weight: 500;
-}
-
-.ant-table-thead div {
-  font-weight: 700;
-}
-
-.tool-tip {
-  position: absolute;
-  top: 65px;
-  right: 10px;
-}
-
-th div {
-  white-space: nowrap;
-}
-</style>
-<template>
-  <div class="data-account-statistics">
-    <a-row class="image-list-heading vm-panel">
-      <div class="panel-heading" style="display:flex;justify-content: space-between;">
-        {{ title }}
-        <a-button @click="dianji">进入素材报表</a-button>
-      </div>
-      <a-row type="flex" align="middle" justify="space-between" class="panel-body">
-        <div class="search-bar" style="width:100%">
-          <span>账户选择:</span>
-          <treeselect :appId.sync="appId" request="1" />
-          <a-button type="primary" style="margin:10px" @click="addUser">搜索</a-button>
-          <a-button type="primary" style="margin:10px" @click="getDataResetAll">重置</a-button>
-        </div>
-      </a-row>
-      <a-row>
-        <a-col :span="24">
-          <a-card :bordered="false" class="search-box">
-            <time-check @getAdd="getAdd" :startValue.sync="startValue" :timeList="timeList" ref="timeCheck">
-            </time-check>
-          </a-card>
-        </a-col>
-      </a-row>
-    </a-row>
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card style="width:100%;">
-          <a-table
-            :columns="columns"
-            :dataSource="data"
-            bordered
-            id="outTable"
-            :pagination="ipagination"
-            size="middle"
-            :customRow="rowClick"
-            :loading="loading"
-            :scroll="{ x: 2000 }"
-          >
-            <div slot="videoUrl" slot-scope="url">
-              <video class="video" :src="url" controls="controls" style="height:200px;width:112.5px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </div>
-            <!-- <span slot="photoClickRatio" slot-scope="photoClickRatio">{{ photoClickRatio | getBo }}</span>
-            <span slot="actionRatio" slot-scope="actionRatio">{{ actionRatio | getBo }}</span>
-            <span slot="impression1kCost" slot-scope="impression1kCost">{{ impression1kCost | toFixtwo }}</span>
-            <span slot="photoClickCost" slot-scope="photoClickCost">{{ photoClickCost | toFixtwo }}</span>
-            <span slot="actionCost" slot-scope="actionCost">{{ actionCost | toFixtwo }}</span>
-            <span slot="conversionPrice" slot-scope="conversionPrice">{{ conversionPrice | toFixtwo }}</span> -->
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-    <!-- <ratio-modal ref="ratio" /> -->
-  </div>
-</template>
-
-<script>
-import ARow from 'ant-design-vue/es/grid/Row'
-import ACol from 'ant-design-vue/es/grid/Col'
-import countTo from 'vue-count-to'
-import moment from 'moment'
-import { getMaterialReportByAccount } from '@api/statistics'
-import { getAction, postAction, postFile, downFile, downFilePost, deleteAction } from '@/api/manage'
-import axios from 'axios'
-import lifting from './components/lifting'
-import timeCheck from './components/timeCheck'
-import ratioModal from './components/ratioModal'
-import { mapGetters } from 'vuex'
-
-import { JeecgListMixin } from '@/mixins/ipagination'
-
-// import the component
-import Treeselect from './components/Treeselect.vue'
-
-var length = 0
-var active = 1
-
-const columns = [
-  {
-    title: '视频',
-    dataIndex: 'videoUrl',
-    key: 'videoUrl',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'videoUrl'
-    }
-  },
-  {
-    title: '花费',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center',
-    sorter: (a, b) => a.cost - b.cost
-  },
-  {
-    title: '展示量',
-    dataIndex: 'showNum',
-    key: 'showNum',
-    align: 'center',
-    sorter: (a, b) => a.showNum - b.showNum
-  },
-  {
-    title: '点击量',
-    dataIndex: 'click',
-    key: 'click',
-    align: 'center',
-    sorter: (a, b) => a.click - b.click
-  },
-  {
-    title: '转化量',
-    dataIndex: 'convertNum',
-    key: 'convertNum',
-    align: 'center',
-    sorter: (a, b) => a.convertNum - b.convertNum
-  },
-  {
-    title: '应用下载-激活',
-    dataIndex: 'active',
-    key: 'active',
-    align: 'center',
-    sorter: (a, b) => a.active - b.active
-  },
-  {
-    title: '应用下载-安卓下载完成',
-    dataIndex: 'downloadFinish',
-    key: 'downloadFinish',
-    align: 'center',
-    sorter: (a, b) => a.downloadFinish - b.downloadFinish
-  },
-  {
-    title: '应用下载-点击安装数',
-    dataIndex: 'clickInstall',
-    key: 'clickInstall',
-    align: 'center',
-    sorter: (a, b) => a.clickInstall - b.clickInstall
-  },
-  {
-    title: '应用下载-付费',
-    dataIndex: 'inAppPay',
-    key: 'inAppPay',
-    align: 'center',
-    sorter: (a, b) => a.inAppPay - b.inAppPay
-  },
-  {
-    title: '总播放',
-    dataIndex: 'totalPlay',
-    key: 'totalPlay',
-    align: 'center',
-    sorter: (a, b) => a.totalPlay - b.totalPlay
-  },
-  {
-    title: '有效播放',
-    dataIndex: 'validPlay',
-    key: 'validPlay',
-    align: 'center',
-    sorter: (a, b) => a.validPlay - b.validPlay
-  },
-  {
-    title: 'wifi播放',
-    dataIndex: 'wifiPlay',
-    key: 'wifiPlay',
-    align: 'center',
-    sorter: (a, b) => a.wifiPlay - b.wifiPlay
-  },
-  {
-    title: '播放100%进度总数',
-    dataIndex: 'play100FeedBreak',
-    key: 'play100FeedBreak',
-    align: 'center',
-    sorter: (a, b) => a.play100FeedBreak - b.play100FeedBreak
-  },
-  {
-    title: '播放75%进度总数',
-    dataIndex: 'play75FeedBreak',
-    key: 'play75FeedBreak',
-    align: 'center',
-    sorter: (a, b) => a.play75FeedBreak - b.play75FeedBreak
-  },
-  {
-    title: '评论数',
-    dataIndex: 'comment',
-    key: 'comment',
-    align: 'center',
-    sorter: (a, b) => a.comment - b.comment
-  },
-  {
-    title: '平均次留数',
-    dataIndex: 'nextDayOpen',
-    key: 'nextDayOpen',
-    align: 'center',
-    sorter: (a, b) => a.nextDayOpen - b.nextDayOpen
-  },
-  {
-    title: '平均次留率(%)',
-    dataIndex: 'nextDayOpenRate',
-    key: 'nextDayOpenRate',
-    align: 'center',
-    sorter: (a, b) => a.nextDayOpenRate - b.nextDayOpenRate
-  },
-  {
-    title: '平均次留成本(元)',
-    dataIndex: 'nextDayOpenCost',
-    key: 'nextDayOpenCost',
-    align: 'center',
-    sorter: (a, b) => a.nextDayOpenCost - b.nextDayOpenCost
-  }
-]
-const columnsDetail = [
-  {
-    title: '日期',
-    dataIndex: 'statDate',
-    key: 'statDate',
-    align: 'center'
-  },
-  {
-    title: '花费',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center'
-  },
-  {
-    title: '封面曝光数',
-    dataIndex: 'photoShow',
-    key: 'photoShow',
-    align: 'center'
-  },
-  {
-    title: '封面点击数',
-    dataIndex: 'photoClick',
-    key: 'photoClick',
-    align: 'center'
-  },
-  {
-    title: '素材曝光数',
-    dataIndex: 'aclick',
-    key: 'aclick',
-    align: 'center'
-  },
-  {
-    title: '行为数',
-    dataIndex: 'bclick',
-    key: 'bclick',
-    align: 'center'
-  },
-  {
-    title: '封面点击率',
-    dataIndex: 'photoClickRatio',
-    key: 'photoClickRatio',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'photoClickRatio'
-    }
-  },
-  {
-    title: '行为率',
-    dataIndex: 'actionRatio',
-    key: 'actionRatio',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'actionRatio'
-    }
-  },
-
-  {
-    title: '均千次封面曝光花费(元)',
-    dataIndex: 'impression1kCost',
-    key: 'impression1kCost',
-    scopedSlots: {
-      customRender: 'impression1kCost'
-    },
-    align: 'center'
-  },
-  {
-    title: '平均封面点击单价(元)',
-    dataIndex: 'photoClickCost',
-    key: 'photoClickCost',
-    scopedSlots: {
-      customRender: 'photoClickCost'
-    },
-    align: 'center'
-  },
-  {
-    title: '平均行为单价(元)',
-    dataIndex: 'actionCost',
-    key: 'actionCost',
-    scopedSlots: {
-      customRender: 'actionCost'
-    },
-    align: 'center'
-  },
-  {
-    title: '转化数',
-    dataIndex: 'conversions',
-    key: 'conversions',
-    align: 'center'
-  },
-  {
-    title: '转化单价(元)',
-    dataIndex: 'conversionPrice',
-    key: 'conversionPrice',
-    scopedSlots: {
-      customRender: 'conversionPrice'
-    },
-    align: 'center'
-  }
-]
-export default {
-  name: 'data-display-statistics',
-  components: {
-    ACol,
-    ARow,
-    countTo,
-    lifting,
-    timeCheck,
-    ratioModal,
-    Treeselect
-  },
-  mixins: [JeecgListMixin],
-  data: function() {
-    return {
-      title: '头条账户素材报表',
-      show: true,
-      timeList: [
-        { label: '今天', value: 1, show: true },
-        { label: '昨天', value: 2, show: true },
-        { label: '近一周', value: 3, show: true },
-        { label: '近十五天', value: 4, show: true },
-        { label: '近一月', value: 5, show: true },
-        { label: '近三月', value: 6, show: true },
-        { label: '近半年', value: 7, show: true },
-        { label: '近一年', value: 8, show: true }
-      ],
-      active: 1,
-      data: [],
-      columns,
-      columnsDetail,
-      list: [],
-      appId: [],
-      startValue: [],
-      allValue: [],
-      loading: false,
-      rowClick: record => ({
-        // 事件
-        on: {
-          click: () => {
-            // 点击改行时要做的事情
-            // this.detail = record
-            // this.visible = true
-            // this.getMineList(record.signature)
-            // this.$refs.ratio.getMineList(record, this.active)
-          }
-        }
-      })
-    }
-  },
-  filters: {
-    formatDate: function(value) {
-      let date = new Date(value)
-      let y = date.getFullYear()
-      let MM = date.getMonth() + 1
-      MM = MM < 10 ? '0' + MM : MM
-      let d = date.getDate()
-      d = d < 10 ? '0' + d : d
-      let h = date.getHours()
-      h = h < 10 ? '0' + h : h
-      let m = date.getMinutes()
-      m = m < 10 ? '0' + m : m
-      let s = date.getSeconds()
-      s = s < 10 ? '0' + s : s
-      return y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s
-    },
-    toFixtwo: function(value) {
-      if (value) {
-        return value.toFixed(2)
-      } else {
-        return 0.0
-      }
-    },
-    getBo: function(value) {
-      if (value) {
-        return (value * 100).toFixed(2) + '%'
-      } else {
-        return '0.00%'
-      }
-    }
-  },
-  methods: {
-    moment,
-    ...mapGetters(['nickname', 'avatar', 'userInfo']),
-    disabledDate(current) {
-      return current && current > moment().endOf('day')
-    },
-    handleChange(value) {
-      console.log(value)
-      //   this.appId = value
-    },
-    getElseData(value) {
-      this.getStatistics()
-    },
-    handleBlur() {
-      console.log('blur')
-    },
-    getDataReset() {
-      this.addUser()
-    },
-    getDataResetAll() {
-      this.active = 1
-      this.allValue = []
-      this.appId = []
-      this.data = []
-    },
-    getCompanyReport(type) {
-      this.ipagination.current = 1
-      this.loading = true
-      var date = new Date()
-      var params = {}
-      params.userId = this.userInfo().id
-      params.accountIds = JSON.stringify(this.appId)
-      switch (type) {
-        case 1:
-          params.startDate = moment(new Date()).format('YYYY-MM-DD')
-          params.endDate = moment(new Date()).format('YYYY-MM-DD')
-          break
-        case 2:
-          params.startDate = this.$getDay(-1)
-          params.endDate = this.$getDay(-1)
-          break
-        case 3:
-          params.startDate = this.$getDay(-7)
-          params.endDate = this.$getDay(-1)
-          break
-        case 4:
-          params.startDate = this.$getDay(-15)
-          params.endDate = this.$getDay(-1)
-          break
-        case 5:
-          params.startDate = this.$getDay(-30)
-          params.endDate = this.$getDay(-1)
-          break
-        case 6:
-          params.startDate = this.$getDay(-90)
-          params.endDate = this.$getDay(-1)
-          break
-        case 7:
-          params.startDate = this.$getDay(-180)
-          params.endDate = this.$getDay(-1)
-          break
-        case 8:
-          params.startDate = this.$getDay(-365)
-          params.endDate = this.$getDay(-1)
-          break
-        case 9:
-          params.startDate = moment(this.startValue[0]._d).format('YYYY-MM-DD')
-          params.endDate = moment(this.startValue[1]._d).format('YYYY-MM-DD')
-          break
-      }
-
-      postAction('/ctop/bytedanceCreativeDailyReport/bytedanceCreativeAccountReportList', params).then(res => {
-        if (res.success) {
-          if (res.result.length > 0) {
-            this.data = res.result.map((item, index) => {
-              return {
-                ...item,
-                key: index
-              }
-            })
-            this.ipagination.total = res.result.length
-          } else {
-            this.$message.error('选择的账户无数据')
-          }
-          this.loading = false
-        } else {
-          this.$message.error(res.message)
-          this.loading = false
-        }
-      })
-    },
-    addUser() {
-      if (this.appId.length > 0) {
-        this.loading = true
-        this.getCompanyReport(this.active)
-      } else {
-        this.$message.error('请选择账户以及时间')
-        return
-      }
-    },
-    getStatistics() {
-      var params = {}
-      params.accountIds = JSON.stringify(this.appId)
-      params.type = this.active
-      params.statHour = this.statHour
-      params.discount = this.discount
-      if (this.active == 9) {
-        params.startDate = this.allValue[0]
-        params.endDate = this.allValue[1]
-      }
-      this.data = []
-    },
-    getAdd(checked) {
-      if (checked == 9) {
-        if (this.startValue.length > 0 && this.startValue[0]) {
-          this.allValue[0] = moment(this.startValue[0]._d).format('YYYY-MM-DD')
-          this.allValue[1] = moment(this.startValue[1]._d).format('YYYY-MM-DD')
-        }
-      } else {
-        this.startValue = []
-        this.allValue = []
-      }
-      this.active = checked
-      active = checked
-      this.ipagination.current = 1
-    },
-    dianji() {
-      this.$router.replace({
-        path: '/Statistics/toutiaoMaterialStatistics'
-      })
-    }
-  },
-  watch: {},
-  distoryed() {},
-  mounted: function() {
-    this.$nextTick(() => {})
-  }
-}
-</script>

+ 0 - 582
src/views/modules/Statistics/toutiaoMaterialStatistics.vue

@@ -1,582 +0,0 @@
-<style lang="scss" scoped>
-.search-bar {
-  display: flex;
-  align-items: center;
-}
-
-.search-box p {
-  display: inline-block;
-  border: 1px solid #f2f2f2;
-  border-radius: 5px;
-  margin-right: 10px;
-  padding: 5px 10px;
-  cursor: pointer;
-}
-</style>
-<style>
-/* .data-display-statistics .ant-card-body {
-  padding: 0 15px;
-} */
-.toutiao-material-statistics .search-box .ant-card-body {
-  display: flex;
-}
-
-.data-display-statistics .ant-col-6 {
-  margin: 10px 0;
-}
-
-.data-display-statistics .ant-col-6 .ant-card-body {
-  display: flex;
-  justify-content: center;
-}
-
-.data-display-statistics .ant-col-6 p,
-.data-display-statistics .ant-col-6 span {
-  text-align: center;
-  line-height: 40px;
-  font-size: 30px;
-  font-weight: 600;
-  color: red;
-  margin: 0;
-}
-
-.search-box .ant-card-body {
-  padding: 5px 15px;
-}
-
-.data-display-statistics .ant-col-6 .ant-card-body .styleElse {
-  line-height: 60px;
-  height: 40px;
-  font-size: 16px;
-  font-weight: 400;
-  margin-left: 10px;
-}
-
-.ant-modal-wrap .yincang .ant-modal-content .ant-modal-footer {
-  display: none !important;
-}
-
-.yincang .ant-col-6 p {
-  text-align: left;
-  color: red;
-  font-size: 16px;
-  font-weight: 500;
-}
-
-.ant-table-thead div {
-  font-weight: 700;
-}
-
-.tool-tip {
-  position: absolute;
-  top: 65px;
-  right: 10px;
-}
-
-.ant-table-thead tr th {
-  background: none;
-}
-
-/* th div {
-  white-space: nowrap;
-} */
-</style>
-<template>
-  <div class="toutiao-material-statistics">
-    <a-row class="image-list-heading vm-panel">
-      <div class="panel-heading" style="display:flex;justify-content: space-between;">
-        {{ title }}
-        <a-button @click="dianji">进入账户报表</a-button>
-      </div>
-      <a-row>
-        <a-col :span="24">
-          <a-card :bordered="false" class="search-box" style="display:flex">
-            <p
-              :style="active == item.value ? 'color:cornflowerblue;background:#f2f2f2' : ''"
-              v-for="(item, index) of timeList"
-              :key="index"
-              @click="getAdd(item.value)"
-            >
-              {{ item.label }}
-            </p>
-            <a-range-picker
-              style="width:400px"
-              :disabledDate="disabledDate"
-              :showTime="{
-                hideDisabledOptions: true
-              }"
-              format="YYYY-MM-DD"
-              v-model="startValue"
-              @ok="getAdd(9)"
-            />
-            <a-button type="primary" style="margin-left:10px" @click="getCompanyReport(active)">搜索</a-button>
-            <a-button type="primary" style="margin-left:10px" @click="getDataResetAll">重置</a-button>
-          </a-card>
-        </a-col>
-      </a-row>
-    </a-row>
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card style="width:100%;">
-          <a-table
-            :columns="columns"
-            :dataSource="data"
-            bordered
-            id="outTable"
-            :pagination="ipagination"
-            size="middle"
-            :customRow="rowClick"
-            :loading="loading"
-            :scroll="{ x: 2000 }"
-          >
-            <div slot="videoUrl" slot-scope="videoUrl">
-              <video @click.stop class="video" :src="videoUrl" controls="controls" style="height:200px;width:112.5px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </div>
-            <!-- <span slot="photoClickRatio" slot-scope="photoClickRatio">{{ photoClickRatio | getBo }}</span>
-            <span slot="actionRatio" slot-scope="actionRatio">{{ actionRatio | getBo }}</span>
-            <span slot="impression1kCost" slot-scope="impression1kCost">{{ impression1kCost | toFixtwo }}</span>
-            <span slot="photoClickCost" slot-scope="photoClickCost">{{ photoClickCost | toFixtwo }}</span>
-            <span slot="actionCost" slot-scope="actionCost">{{ actionCost | toFixtwo }}</span>
-            <span slot="conversionPrice" slot-scope="conversionPrice">{{ conversionPrice | toFixtwo }}</span> -->
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-
-    <!-- <ratio-modal ref="ratio" /> -->
-  </div>
-</template>
-
-<script>
-import ARow from 'ant-design-vue/es/grid/Row'
-import ACol from 'ant-design-vue/es/grid/Col'
-import moment from 'moment'
-import { getKuaiShouMaterialMarket, getKuaiShouChainRatio } from '@api/statistics'
-
-import { getAction, postAction, postFile, downFile, downFilePost, deleteAction } from '@/api/manage'
-import axios from 'axios'
-import { mapGetters } from 'vuex'
-import { stopOtherVideo, closeAllVideoFun } from '@/utils/videoControl' // 停止除当前外的其他视频播放,及停止所有视频播放的方法
-
-import timeCheck from './components/timeCheck'
-import ratioModal from './components/ratioModal'
-
-import { JeecgListMixin } from '@/mixins/ipagination'
-
-var length = 0
-var active = 1
-const columns = [
-  {
-    title: '视频',
-    dataIndex: 'videoUrl',
-    key: 'videoUrl',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'videoUrl'
-    }
-  },
-  {
-    title: '花费',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center',
-    sorter: (a, b) => a.cost - b.cost
-  },
-  {
-    title: '展示量',
-    dataIndex: 'showNum',
-    key: 'showNum',
-    align: 'center',
-    sorter: (a, b) => a.showNum - b.showNum
-  },
-  {
-    title: '点击量',
-    dataIndex: 'click',
-    key: 'click',
-    align: 'center',
-    sorter: (a, b) => a.click - b.click
-  },
-  {
-    title: '转化量',
-    dataIndex: 'convertNum',
-    key: 'convertNum',
-    align: 'center',
-    sorter: (a, b) => a.convertNum - b.convertNum
-  },
-  {
-    title: '应用下载-激活',
-    dataIndex: 'active',
-    key: 'active',
-    align: 'center',
-    sorter: (a, b) => a.active - b.active
-  },
-  {
-    title: '应用下载-安卓下载完成',
-    dataIndex: 'downloadFinish',
-    key: 'downloadFinish',
-    align: 'center',
-    sorter: (a, b) => a.downloadFinish - b.downloadFinish
-  },
-  {
-    title: '应用下载-点击安装数',
-    dataIndex: 'clickInstall',
-    key: 'clickInstall',
-    align: 'center',
-    sorter: (a, b) => a.clickInstall - b.clickInstall
-  },
-  {
-    title: '应用下载-付费',
-    dataIndex: 'inAppPay',
-    key: 'inAppPay',
-    align: 'center',
-    sorter: (a, b) => a.inAppPay - b.inAppPay
-  },
-  {
-    title: '总播放',
-    dataIndex: 'totalPlay',
-    key: 'totalPlay',
-    align: 'center',
-    sorter: (a, b) => a.totalPlay - b.totalPlay
-  },
-  {
-    title: '有效播放',
-    dataIndex: 'validPlay',
-    key: 'validPlay',
-    align: 'center',
-    sorter: (a, b) => a.validPlay - b.validPlay
-  },
-  {
-    title: 'wifi播放',
-    dataIndex: 'wifiPlay',
-    key: 'wifiPlay',
-    align: 'center',
-    sorter: (a, b) => a.wifiPlay - b.wifiPlay
-  },
-  {
-    title: '播放100%进度总数',
-    dataIndex: 'play100FeedBreak',
-    key: 'play100FeedBreak',
-    align: 'center',
-    sorter: (a, b) => a.play100FeedBreak - b.play100FeedBreak
-  },
-  {
-    title: '播放75%进度总数',
-    dataIndex: 'play75FeedBreak',
-    key: 'play75FeedBreak',
-    align: 'center',
-    sorter: (a, b) => a.play75FeedBreak - b.play75FeedBreak
-  },
-  {
-    title: '评论数',
-    dataIndex: 'comment',
-    key: 'comment',
-    align: 'center',
-    sorter: (a, b) => a.comment - b.comment
-  },
-  {
-    title: '平均次留数',
-    dataIndex: 'nextDayOpen',
-    key: 'nextDayOpen',
-    align: 'center',
-    sorter: (a, b) => a.nextDayOpen - b.nextDayOpen
-  },
-  {
-    title: '平均次留率(%)',
-    dataIndex: 'nextDayOpenRate',
-    key: 'nextDayOpenRate',
-    align: 'center',
-    sorter: (a, b) => a.nextDayOpenRate - b.nextDayOpenRate
-  },
-  {
-    title: '平均次留成本(元)',
-    dataIndex: 'nextDayOpenCost',
-    key: 'nextDayOpenCost',
-    align: 'center',
-    sorter: (a, b) => a.nextDayOpenCost - b.nextDayOpenCost
-  }
-]
-const columnsDetail = [
-  {
-    title: '日期',
-    dataIndex: 'statDate',
-    key: 'statDate',
-    align: 'center'
-  },
-  {
-    title: '花费',
-    dataIndex: 'cost',
-    key: 'cost',
-    align: 'center'
-  },
-  {
-    title: '封面曝光数',
-    dataIndex: 'photoShow',
-    key: 'photoShow',
-    align: 'center'
-  },
-  {
-    title: '封面点击数',
-    dataIndex: 'photoClick',
-    key: 'photoClick',
-    align: 'center'
-  },
-  {
-    title: '素材曝光数',
-    dataIndex: 'aclick',
-    key: 'aclick',
-    align: 'center'
-  },
-  {
-    title: '行为数',
-    dataIndex: 'bclick',
-    key: 'bclick',
-    align: 'center'
-  },
-  {
-    title: '封面点击率',
-    dataIndex: 'photoClickRatio',
-    key: 'photoClickRatio',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'photoClickRatio'
-    }
-  },
-  {
-    title: '行为率',
-    dataIndex: 'actionRatio',
-    key: 'actionRatio',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'actionRatio'
-    }
-  },
-
-  {
-    title: '均千次封面曝光花费(元)',
-    dataIndex: 'impression1kCost',
-    key: 'impression1kCost',
-    scopedSlots: {
-      customRender: 'impression1kCost'
-    },
-    align: 'center'
-  },
-  {
-    title: '平均封面点击单价(元)',
-    dataIndex: 'photoClickCost',
-    key: 'photoClickCost',
-    scopedSlots: {
-      customRender: 'photoClickCost'
-    },
-    align: 'center'
-  },
-  {
-    title: '平均行为单价(元)',
-    dataIndex: 'actionCost',
-    key: 'actionCost',
-    scopedSlots: {
-      customRender: 'actionCost'
-    },
-    align: 'center'
-  },
-  {
-    title: '转化数',
-    dataIndex: 'conversions',
-    key: 'conversions',
-    align: 'center'
-  },
-  {
-    title: '转化单价(元)',
-    dataIndex: 'conversionPrice',
-    key: 'conversionPrice',
-    scopedSlots: {
-      customRender: 'conversionPrice'
-    },
-    align: 'center'
-  }
-]
-export default {
-  name: 'data-display-statistics',
-  components: {
-    ACol,
-    ARow,
-    timeCheck,
-    ratioModal
-  },
-  mixins: [JeecgListMixin],
-  data: function() {
-    return {
-      title: '头条素材大盘报表',
-      columns,
-      columnsDetail,
-      data: [],
-      active: 1,
-      pagin: 1,
-      allValue: [],
-      startValue: [],
-      visible: false,
-      showVideo: false,
-      detail: null,
-      dataDetail: [],
-      dataYestodayDetail: [],
-      dataChainRatio: [],
-      loading: false,
-      timeList: [
-        { label: '今天', value: 1, show: true },
-        { label: '昨天', value: 2, show: true },
-        { label: '近一周', value: 3, show: true },
-        { label: '近十五天', value: 4, show: true },
-        { label: '近一月', value: 5, show: true },
-        { label: '近三月', value: 6, show: true },
-        { label: '近半年', value: 7, show: true },
-        { label: '近一年', value: 8, show: true }
-      ],
-      rowClick: record => ({
-        // 事件
-        on: {
-          click: () => {
-            // 点击改行时要做的事情
-            // this.detail = record
-            // this.visible = true
-            // this.getMineList(record.signature)
-            //   this.$refs.ratio.getMineList(record, this.active)
-          }
-        }
-      })
-    }
-  },
-  filters: {
-    formatDate: function(value) {
-      let date = new Date(value)
-      let y = date.getFullYear()
-      let MM = date.getMonth() + 1
-      MM = MM < 10 ? '0' + MM : MM
-      let d = date.getDate()
-      d = d < 10 ? '0' + d : d
-      let h = date.getHours()
-      h = h < 10 ? '0' + h : h
-      let m = date.getMinutes()
-      m = m < 10 ? '0' + m : m
-      let s = date.getSeconds()
-      s = s < 10 ? '0' + s : s
-      return y + '-' + MM + '-' + d + ' ' + h + ':' + m + ':' + s
-    },
-    toFixtwo: function(value) {
-      if (value) {
-        return value.toFixed(2)
-      } else {
-        return 0.0
-      }
-    },
-    getBo: function(value) {
-      if (value) {
-        return (value * 100).toFixed(2) + '%'
-      } else {
-        return '0.00%'
-      }
-    }
-  },
-  methods: {
-    handleOk() {
-      this.visible = false
-    },
-    ...mapGetters(['nickname', 'avatar', 'userInfo']),
-    moment,
-    disabledDate(current) {
-      return current && current > moment().endOf('day')
-    },
-    getAdd(checked) {
-      // /report/kuaishouReportDailyAgentSum/companyReport
-      if (checked != 9) {
-        this.startValue = []
-      }
-      this.active = checked
-      //   this.getCompanyReport(checked)
-    },
-    getCompanyReport(type) {
-      this.ipagination.current = 1
-      this.loading = true
-      var date = new Date()
-      var params = {}
-      params.userId = this.userInfo().id
-      switch (type) {
-        case 1:
-          params.startDate = moment(new Date()).format('YYYY-MM-DD')
-          params.endDate = moment(new Date()).format('YYYY-MM-DD')
-          break
-        case 2:
-          params.startDate = this.$getDay(-1)
-          params.endDate = this.$getDay(-1)
-          break
-        case 3:
-          params.startDate = this.$getDay(-7)
-          params.endDate = this.$getDay(-1)
-          break
-        case 4:
-          params.startDate = this.$getDay(-15)
-          params.endDate = this.$getDay(-1)
-          break
-        case 5:
-          params.startDate = this.$getDay(-30)
-          params.endDate = this.$getDay(-1)
-          break
-        case 6:
-          params.startDate = this.$getDay(-90)
-          params.endDate = this.$getDay(-1)
-          break
-        case 7:
-          params.startDate = this.$getDay(-180)
-          params.endDate = this.$getDay(-1)
-          break
-        case 8:
-          params.startDate = this.$getDay(-365)
-          params.endDate = this.$getDay(-1)
-          break
-        case 9:
-          params.startDate = moment(this.startValue[0]._d).format('YYYY-MM-DD')
-          params.endDate = moment(this.startValue[1]._d).format('YYYY-MM-DD')
-          break
-      }
-      this.params = params
-      postAction('/ctop/bytedanceCreativeDailyReport/bytedanceCreativeDailyReportList', params).then(res => {
-        if (res.success) {
-          this.data = res.result.map((item, index) => {
-            return {
-              key: index,
-              ...item
-            }
-          })
-          this.loading = false
-          this.ipagination.total = res.result.length
-        } else {
-          this.$message.error(res.message)
-          this.loading = false
-        }
-      })
-    },
-    getDataResetAll() {
-      this.startValue = []
-      this.allValue = []
-      this.getCompanyReport(1)
-      this.active = 1
-      this.data = []
-    },
-    dianji() {
-      this.$router.replace({
-        path: '/Statistics/toutiaoAccountMaterStatistics'
-      })
-    }
-  },
-  watch: {},
-  distoryed() {},
-  updated() {
-    stopOtherVideo()
-  },
-  mounted: function() {
-    this.$nextTick(() => {
-      this.getCompanyReport(1)
-    })
-  }
-}
-</script>

+ 0 - 195
src/views/modules/achievements/adminDetail.vue

@@ -1,195 +0,0 @@
-<style></style>
-<template>
-  <div class="admin-detail">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card style="width:100%;">
-          <a-table
-            :columns="columns"
-            :dataSource="dataList"
-            bordered
-            :loading="loading"
-            size="middle"
-            :pagination="false"
-          >
-            <span slot-scope="text" slot="url">
-              <video class="video" :src="text" controls="controls" style="height:200px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const columns = [
-  {
-    title: '视频',
-    dataIndex: 'url',
-    key: 'url',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'url'
-    },
-    width: 200
-  },
-  {
-    title: '素材名称',
-    dataIndex: 'materialName',
-    key: 'materialName',
-    align: 'center'
-  },
-  {
-    title: '水印素材名称',
-    dataIndex: 'watermarkMaterialName',
-    key: 'watermarkMaterialName',
-    align: 'center'
-  },
-  {
-    title: 'md5',
-    dataIndex: 'code',
-    key: 'code',
-    align: 'center'
-  }
-]
-// 账户名、项目名、优化师姓名、当季消耗、授权名称
-const columnsYou = [
-  {
-    title: '账户',
-    dataIndex: 'advertiserName',
-    key: 'advertiserName',
-    align: 'center'
-  },
-  {
-    title: '项目',
-    dataIndex: 'projectName',
-    key: 'projectName',
-    align: 'center'
-  },
-  {
-    title: '优化师',
-    dataIndex: 'userName',
-    key: 'userName',
-    align: 'center'
-  },
-  {
-    title: '当季消耗',
-    dataIndex: 'totalCost',
-    key: 'totalCost',
-    align: 'center'
-  },
-  {
-    title: '授权名称',
-    dataIndex: 'authName',
-    key: 'authName',
-    align: 'center'
-  }
-]
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      title: '工作台',
-      loading: false,
-      rankList: [],
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: []
-    }
-  },
-  methods: {
-    ...mapGetters(['nickname', 'avatar', 'userInfo'])
-  },
-  created() {
-    var userId = localStorage.getItem('detailUserId')
-    var appType = localStorage.getItem('appType') == 'kuaishou' ? 2 : 1
-    var type = localStorage.getItem('roleData')
-    if (type == 1) {
-      this.columns = columns
-      postAction('/ctop/performance2/getEffiVideoList', {
-        year: '',
-        quarter: '',
-        userId: userId,
-        appType: appType
-      }).then(res => {
-        if (res.success) {
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.$message.error(res.message)
-        }
-      })
-    } else if (type == 2) {
-      this.columns = columnsYou
-      if (appType == 2) {
-        postAction('/ctop/performance2/getKuaiShouYouhuaAccountsList', {
-          startDate: '',
-          endDate: '',
-          userId: userId,
-          appType: appType
-        }).then(res => {
-          if (res.success) {
-            this.dataList = res.result.map((item, index) => {
-              return {
-                ...item,
-                key: index
-              }
-            })
-          } else {
-            this.$message.error(res.message)
-          }
-        })
-      } else {
-        postAction('/ctop/performance2/getToutiaoYouhuaAccountsList', {
-          startDate: '',
-          endDate: '',
-          userId: userId,
-          appType: appType
-        }).then(res => {
-          if (res.success) {
-            this.dataList = res.result.map((item, index) => {
-              return {
-                ...item,
-                key: index
-              }
-            })
-          } else {
-            this.$message.error(res.message)
-          }
-        })
-      }
-    }
-  }
-}
-</script>

+ 0 - 280
src/views/modules/achievements/adminInfo.vue

@@ -1,280 +0,0 @@
-<style>
-.admin-info .ant-list-item-content {
-  display: flex;
-  justify-content: space-around;
-}
-
-.admin-info .ant-table-middle tr.ant-table-expanded-row td > .ant-table-wrapper {
-  margin: -12px -9px -13px;
-}
-</style>
-<template>
-  <div class="admin-info">
-    <a-row :gutter="10" style="margin-top:10px">
-      <a-col :span="24">
-        <a-card
-          style="width:100%;"
-          :tabList="tabListNoTitle"
-          :activeTabKey="noTitleKey"
-          @tabChange="key => onTabChange(key, 'noTitleKey')"
-        >
-          角色选择:
-          <a-select
-            style="width:300px;margin-bottom:30px"
-            placeholder="请选择角色类型"
-            v-model="type"
-            @change="getData"
-          >
-            <a-select-option :value="1">设计</a-select-option>
-            <a-select-option :value="2">优化</a-select-option>
-          </a-select>
-          <a-button type="primary" style="margin-left:10px" @click="addUser">搜索</a-button>
-          <a-table :columns="columns" :dataSource="dataList" bordered :loading="loading" size="middle">
-            <span slot-scope="text" slot="videoUrl">
-              <video class="video" :src="text" controls="controls" style="height:200px">
-                您的浏览器不支持 video 标签。
-              </video>
-            </span>
-            <span slot="action" slot-scope="text, record">
-              <a :disabled="record.effiVideoCount == 0" @click="toDetail(record)">查看详情</a>
-            </span>
-          </a-table>
-        </a-card>
-      </a-col>
-    </a-row>
-  </div>
-</template>
-
-<script>
-import ACol from 'ant-design-vue/es/grid/Col'
-import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
-
-import { getAction, postAction } from '@/api/manage'
-import { mapGetters } from 'vuex'
-
-import qs from 'qs'
-
-const columns = [
-  {
-    title: '姓名',
-    dataIndex: 'realname',
-    key: 'realname',
-    align: 'center',
-    width: 200
-  },
-  {
-    title: '角色',
-    dataIndex: 'roleName',
-    key: 'roleName',
-    align: 'center'
-  },
-  {
-    title: '有效视频数量',
-    dataIndex: 'effiVideoCount',
-    key: 'effiVideoCount',
-    align: 'center'
-  },
-  {
-    title: '总视频数量',
-    dataIndex: 'videoCount',
-    key: 'videoCount',
-    align: 'center'
-  },
-  //   {
-  //     title: '消耗',
-  //     dataIndex: 'cost',
-  //     key: 'cost',
-  //     align: 'center'
-  //   },
-  {
-    title: '操作',
-    dataIndex: 'action',
-    key: 'action',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'action'
-    }
-  }
-]
-const columnsYou = [
-  {
-    title: '姓名',
-    dataIndex: 'realname',
-    key: 'realname',
-    align: 'center',
-    width: 200
-  },
-  {
-    title: '角色',
-    dataIndex: 'roleName',
-    key: 'roleName',
-    align: 'center'
-  },
-  {
-    title: '总消耗',
-    dataIndex: 'cost',
-    key: 'effiVideoCount',
-    align: 'center'
-  },
-  {
-    title: '操作',
-    dataIndex: 'action',
-    key: 'action',
-    align: 'center',
-    scopedSlots: {
-      customRender: 'action'
-    }
-  }
-]
-
-export default {
-  name: 'admin-info',
-  components: {
-    ATooltip,
-    ACol
-  },
-
-  data: function() {
-    return {
-      type: 1,
-      title: '工作台',
-      loading: false,
-      rankList: [],
-      tabListNoTitle: [
-        {
-          key: 'kuaishou',
-          tab: '快手'
-        },
-        {
-          key: 'toutiao',
-          tab: '头条'
-        }
-      ],
-      noTitleKey: 'kuaishou',
-      a: '',
-      columns: columns,
-      dataList: []
-    }
-  },
-  methods: {
-    ...mapGetters(['nickname', 'avatar', 'userInfo']),
-    addUser() {
-      this.loading = true
-      if (this.noTitleKey == 'kuaishou') {
-        if (this.type == 1) {
-          this.columns = columns
-          this.getKuaishouList()
-        } else if (this.type == 2) {
-          this.columns = columnsYou
-          this.getKuaishouYouHuaList()
-        }
-      } else if (this.noTitleKey == 'toutiao') {
-        if (this.type == 1) {
-          this.columns = columns
-          this.getToutiaoList()
-        } else if (this.type == 2) {
-          this.columns = columnsYou
-          this.getToutiaoYouHuaList()
-        }
-      }
-    },
-    getData(data) {
-      this.dataList = []
-      this.loading = false
-    },
-    onTabChange(key, type) {
-      console.log(key, type)
-      this.type = 1
-      this.columns = columns
-      this[type] = key
-      this.dataList = []
-      this.loading = false
-      // if (key == 'kuaishou') {
-      //   this.getKuaishouList()
-      // } else if (key == 'toutiao') {
-      //   this.getToutiaoList()
-      // }
-    },
-    toDetail(item) {
-      localStorage.setItem('detailUserId', item.userId)
-      localStorage.setItem('appType', this.noTitleKey)
-      localStorage.setItem('roleData', this.type)
-      this.$router.replace({
-        path: '/achievements/adminDetail'
-      })
-    },
-    getKuaishouList() {
-      postAction('/ctop/performance2/kuaishouPerformanceInfoNow', '').then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-
-    getToutiaoList() {
-      postAction('/ctop/performance2/toutiaoPerformanceInfoNow', '').then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-    getKuaishouYouHuaList() {
-      postAction('/ctop/performance2/kuaishouYouhuaPerformanceInfoNow', '').then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    },
-    getToutiaoYouHuaList() {
-      postAction('/ctop/performance2/toutiaoYouhuaPerformanceInfoNow', '').then(res => {
-        console.log(res)
-        if (res.success) {
-          this.loading = false
-          this.dataList = res.result.map((item, index) => {
-            return {
-              ...item,
-              key: index
-            }
-          })
-        } else {
-          this.loading = false
-          this.$message.error(res.message)
-        }
-      })
-    }
-  },
-  created() {
-    //   this.getKuaishouList()
-  }
-}
-</script>

+ 11 - 4
src/views/modules/onlineTraining/onlineTrainingList.vue

@@ -92,7 +92,7 @@
           <a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="二级目录">
             <!-- <a-input placeholder="请填写二级目录"
               v-decorator="['titleAll', { rules: [{ required: true, message: '二级目录必填' }]  }]" /> -->
-            <a-select mode="tags" v-model="oneList" placeholder="请填写二级目录" @change="handleChange">
+            <a-select mode="tags" v-model="oneList" placeholder="请填写二级目录" @change="handleChange" autoClearSearchValue>
               <a-select-option v-for="(item,index) in titleList" :key="index" :value="item.value">
                 {{item.label}}
               </a-select-option>
@@ -284,6 +284,9 @@
       setOssDir(e) {
         this.dirVideo = 'online/' + this.getData('title') + '/' + this.getData('topic')
       },
+      setOssDirElse() {
+        this.dirVideo = 'online/' + this.oneList[0] + '/' + this.getData('topicAll')
+      },
       addList() {
         this.addImageVisible = true
         this.loadingImage = false
@@ -303,7 +306,10 @@
       },
       handleChange(value) {
         console.log(value)
-        this.oneList = value.pop()
+        if (value.length == 2) {
+          this.oneList = [value.pop()]
+        }
+
       },
       handleOkImage(e) {
         this.loadingImage = true
@@ -323,7 +329,7 @@
                 ...values,
                 ossFileUrl: 'https:' + this.fileUrl,
                 fileType: 1,
-                title: this.oneList,
+                title: this.oneList[0],
                 topic: values.topicAll
               }
             }
@@ -349,9 +355,10 @@
         if (this.typeUpload == '1') {
           this.dirVideo = 'online/' + this.getData('title') + '/' + this.getData('topic')
         } else {
-          this.dirVideo = 'online/' + this.getData('titleAll') + '/' + this.getData('topicAll')
+          this.dirVideo = 'online/' + this.oneList[0] + '/' + this.getData('topicAll')
         }
         var that = this
+        console.log(this.dirVideo)
         return new Promise(function (resolve, reject) {
 
           if (that.dirVideo.split('/').length == 3) {

+ 2 - 2
vue.config.js

@@ -64,13 +64,13 @@ module.exports = {
          }
        },*/
       '/jeecg-boot': {
-        // target: 'http://39.97.120.42:8080', //请求本地 需要jeecg-boot后台项目  生产环境
+        target: 'http://39.97.120.42:8080', //请求本地 需要jeecg-boot后台项目  生产环境
         // target: 'http://39.106.184.70:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.1.13:8080', //请求本地 需要jeecg-boot后台项目  蒙蒙
         // target: 'http://192.168.1.90:8080', //请求本地 需要jeecg-boot后台项目  英豪
         // target: 'http://192.168.1.103:8080', //请求本地 需要jeecg-boot后台项目
         // target: 'http://192.168.2.115:8080', //请求本地 需要jeecg-boot后台项目  祚云
-        target: 'http://192.168.1.127:8080', //请求本地 需要jeecg-boot后台项目  孙震
+        // target: 'http://192.168.1.127:8080', //请求本地 需要jeecg-boot后台项目  孙震
         ws: false,
         changeOrigin: true
       },