Commit 82ed59b9 authored by 乐宝呗666's avatar 乐宝呗666

添加大屏接口token参数

parent 94c22462
......@@ -65,6 +65,8 @@ export default {
this.$shttp({
method: "post",
url: `tBoardStatistic/getBoardSurvey?areaCode=${this.areaCode}`,
authType: this.backToken,
})
.then((res) => {
if (res.status == 200) {
......
......@@ -45,6 +45,7 @@ export default {
.$shttp({
method: "post",
url: httpUrl,
authType: _this.backToken,
})
.then((res) => {
if (res.status == 200) {
......
......@@ -98,16 +98,16 @@ export default {
},
// 接收柱状图传来的数据
itemClick(params) {
let type = "";
// let type = "";
// 互动
if (params.type == "1") {
type = "interact";
// type = "interact";
this.dialogData = {
data: this.interactEcharts,
list: this.interactList,
};
} else if (params.type == "2") {
type = "trend";
// type = "trend";
// 趋势
this.dialogData = {
data: this.trendEcharts,
......@@ -147,6 +147,7 @@ export default {
.$shttp ({
method: "post",
url: httpUrl,
authType: _this.backToken,
},
requestparams
)
......@@ -179,6 +180,7 @@ export default {
.$shttp ({
method: "post",
url: `${httpUrl}`,
authType: _this.backToken,
})
.then((res) => {
if (res.status == 200) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment