Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
national_museum_vod-H5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fubaole
national_museum_vod-H5
Commits
82ed59b9
Commit
82ed59b9
authored
May 24, 2021
by
乐宝呗666
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加大屏接口token参数
parent
94c22462
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
borderNums.vue
src/components/borderNums.vue
+2
-0
maps.vue
src/components/maps.vue
+1
-0
screen.vue
src/views/screen.vue
+5
-3
No files found.
src/components/borderNums.vue
View file @
82ed59b9
...
@@ -65,6 +65,8 @@ export default {
...
@@ -65,6 +65,8 @@ export default {
this
.
$shttp
({
this
.
$shttp
({
method
:
"post"
,
method
:
"post"
,
url
:
`tBoardStatistic/getBoardSurvey?areaCode=
${
this
.
areaCode
}
`
,
url
:
`tBoardStatistic/getBoardSurvey?areaCode=
${
this
.
areaCode
}
`
,
authType
:
this
.
backToken
,
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
status
==
200
)
{
if
(
res
.
status
==
200
)
{
...
...
src/components/maps.vue
View file @
82ed59b9
...
@@ -45,6 +45,7 @@ export default {
...
@@ -45,6 +45,7 @@ export default {
.
$shttp
({
.
$shttp
({
method
:
"post"
,
method
:
"post"
,
url
:
httpUrl
,
url
:
httpUrl
,
authType
:
_this
.
backToken
,
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
status
==
200
)
{
if
(
res
.
status
==
200
)
{
...
...
src/views/screen.vue
View file @
82ed59b9
...
@@ -98,16 +98,16 @@ export default {
...
@@ -98,16 +98,16 @@ export default {
},
},
// 接收柱状图传来的数据
// 接收柱状图传来的数据
itemClick
(
params
)
{
itemClick
(
params
)
{
let
type
=
""
;
//
let type = "";
// 互动
// 互动
if
(
params
.
type
==
"1"
)
{
if
(
params
.
type
==
"1"
)
{
type
=
"interact"
;
//
type = "interact";
this
.
dialogData
=
{
this
.
dialogData
=
{
data
:
this
.
interactEcharts
,
data
:
this
.
interactEcharts
,
list
:
this
.
interactList
,
list
:
this
.
interactList
,
};
};
}
else
if
(
params
.
type
==
"2"
)
{
}
else
if
(
params
.
type
==
"2"
)
{
type
=
"trend"
;
//
type = "trend";
// 趋势
// 趋势
this
.
dialogData
=
{
this
.
dialogData
=
{
data
:
this
.
trendEcharts
,
data
:
this
.
trendEcharts
,
...
@@ -147,6 +147,7 @@ export default {
...
@@ -147,6 +147,7 @@ export default {
.
$shttp
({
.
$shttp
({
method
:
"post"
,
method
:
"post"
,
url
:
httpUrl
,
url
:
httpUrl
,
authType
:
_this
.
backToken
,
},
},
requestparams
requestparams
)
)
...
@@ -179,6 +180,7 @@ export default {
...
@@ -179,6 +180,7 @@ export default {
.
$shttp
({
.
$shttp
({
method
:
"post"
,
method
:
"post"
,
url
:
`
${
httpUrl
}
`
,
url
:
`
${
httpUrl
}
`
,
authType
:
_this
.
backToken
,
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
status
==
200
)
{
if
(
res
.
status
==
200
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment