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

添加大屏接口token参数

parent 94c22462
...@@ -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) {
......
...@@ -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) {
......
...@@ -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) {
......
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