...
|
...
|
@@ -299,22 +299,24 @@ export default { |
|
|
getEchartData(val) {
|
|
|
const data = this.queryEchartsData(val);
|
|
|
data.then(res => {
|
|
|
if(this.optionsData.dynamicData.contextData.isMore){
|
|
|
console.log("all")
|
|
|
this.listAll=res;
|
|
|
this.loadingAll = false;
|
|
|
if (this.listAll && this.listAll.length > 0) {
|
|
|
this.totalAll = this.listAll[0].lineCount;
|
|
|
}
|
|
|
}else{
|
|
|
// if(this.optionsData.dynamicData.contextData.isMore){
|
|
|
// console.log("all")
|
|
|
// this.listAll=res;
|
|
|
// this.loadingAll = false;
|
|
|
// this.loading = false;
|
|
|
// if (this.listAll && this.listAll.length > 0) {
|
|
|
// this.totalAll = this.listAll[0].lineCount;
|
|
|
// }
|
|
|
// }else{
|
|
|
console.log("111")
|
|
|
|
|
|
this.list = res;
|
|
|
this.loading = false;
|
|
|
this.loadingAll = false;
|
|
|
if (this.list && this.list.length > 0) {
|
|
|
this.total = this.list[0].lineCount;
|
|
|
}
|
|
|
}
|
|
|
// }
|
|
|
|
|
|
|
|
|
this.hackResetFun();
|
...
|
...
|
@@ -400,34 +402,36 @@ export default { |
|
|
let serviceTop = 44;
|
|
|
|
|
|
let hotelTop = 344;
|
|
|
if(e.target.scrollTop){
|
|
|
if (e.target.scrollTop > 44 && e.target.scrollTop < 344) {
|
|
|
|
|
|
if (e.target.scrollTop > 44 && e.target.scrollTop < 344) {
|
|
|
this.selectNum = 0;
|
|
|
}
|
|
|
|
|
|
this.selectNum = 0;
|
|
|
}
|
|
|
if (e.target.scrollTop > 344) {
|
|
|
|
|
|
if (e.target.scrollTop > 344) {
|
|
|
this.selectNum = 1;
|
|
|
|
|
|
this.selectNum = 1;
|
|
|
}
|
|
|
let scrollHeight=e.target.documentElement.scrollTop;
|
|
|
|
|
|
}
|
|
|
let scrollHeight=e.target.documentElement.scrollTop;
|
|
|
if (self != top) {
|
|
|
//嵌入到监控系统iframe中弹框位置样式
|
|
|
if(scrollHeight<600){
|
|
|
// this.marginStyle+="margin-top:"+(110)+'px;';
|
|
|
|
|
|
if (self != top) {
|
|
|
//嵌入到监控系统iframe中弹框位置样式
|
|
|
if(scrollHeight<600){
|
|
|
// this.marginStyle+="margin-top:"+(110)+'px;';
|
|
|
}else{
|
|
|
// this.marginStyle+="margin-top:"+(230)+'px;';
|
|
|
|
|
|
}else{
|
|
|
// this.marginStyle+="margin-top:"+(230)+'px;';
|
|
|
}
|
|
|
this.marginStyle+="top:"+(scrollHeight+60)+'px;';
|
|
|
|
|
|
}else{
|
|
|
//ajreport中弹框位置样式
|
|
|
this.marginStyle+="top:"+(scrollHeight)+'px;';
|
|
|
}
|
|
|
this.marginStyle+="top:"+(scrollHeight+60)+'px;';
|
|
|
|
|
|
}else{
|
|
|
//ajreport中弹框位置样式
|
|
|
this.marginStyle+="top:"+(scrollHeight)+'px;';
|
|
|
}
|
|
|
|
|
|
},
|
|
|
//打开详情页
|
|
|
goTrend(item, itemChildKey) {
|
...
|
...
|
@@ -453,7 +457,6 @@ export default { |
|
|
let limit = 30;
|
|
|
let page = parseInt(this.currentPage - 1) * limit;
|
|
|
//改变参数值-月季度年,重新加载动态数据--待测
|
|
|
console.log("&&&&&&&&&",page,limit)
|
|
|
this.optionsData.dynamicData.contextData.page = page;
|
|
|
this.optionsData.dynamicData.contextData.limit = 30;
|
|
|
this.optionsData.dynamicData.contextData.isMore = true;
|
...
|
...
|
|