Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a92950bb
authored
Jul 01, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交代码
1 parent
ca7806e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
public/index.html
src/components/ViewTabs.vue
public/index.html
View file @
a92950b
...
...
@@ -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>
...
...
src/components/ViewTabs.vue
View file @
a92950b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment