Commit a92950bb by 李伟康

提交代码

1 parent ca7806e5
......@@ -18,8 +18,6 @@
to continue.</strong>
</noscript>
<div id="app"></div>
<script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script src="//open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
<!-- 使用CDN加速的JS文件,配置在vue.config.js下 -->
<% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
......
......@@ -125,7 +125,6 @@ const tabs = [
key: 'publiccus'
}
]
let tabHead = ['前5品牌', '后5品牌']
import { changeMixin } from '@/mixins'
import * as echarts from 'echarts'
export default {
......@@ -134,7 +133,7 @@ export default {
data () {
return {
tabs,
tabHead,
tabHead: [],
tabType: 'total',
tabIndex: 0,
delayTimer: 3000,
......@@ -182,8 +181,10 @@ export default {
getOverallbase (queryItem) {
const params = {
queryItem,
queryTime: this.getCurrentDate(),
queryTime: this.getCurrentDate()
}
this.tabHead = this.isGroup ? ['前5品牌', '后5品牌'] : ['前5门店', '后5门店']
this.api.overview[this.isGroup ? 'getBrandOverallbase' : 'getMerchantOverallbase'](params).then(({ code, data }) => {
if (code == 0) {
let [dataList] = data.dataList
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!