切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王勇
5 years ago
提交
7d3f8e3145dbf958c8aab1f570dbd8f907603c38
1 个父辈
0dc53ec8
航班号与航班日期,不能同时为空
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
14 行增加
和
14 行删除
src/views/dataAnalysis/ExitAnalysis.vue
src/views/dataAnalysis/ExitAnalysis.vue
查看文件 @
7d3f8e3
...
...
@@ -132,8 +132,8 @@
getExitDataAnalysis(_this.queryInfo).catch(error => {
// _this.$message.info("即将结束!请您稍候");
});
}
,
},
/**
* 下载excel
*/
...
...
@@ -159,8 +159,8 @@
this.$message.error(error.toString());
});
}
,
},
down() {
// 创建a标签
const link = document.createElement('a');
...
...
@@ -172,8 +172,8 @@
document.body.appendChild(link);
// 自执行点击事件
link.click()
}
,
},
/**
* 生成excel
*/
...
...
@@ -189,8 +189,8 @@
}).catch(error => {
this.$message.error(error.toString());
});
}
,
},
socket_onmessage: function (e) {
console.log("从websocket接收到新的消息-->>" + e.data);
//this.message = this.message + e.data + "\n";
...
...
@@ -211,19 +211,19 @@
this.socketResponse.socketTotalNum !== 0 && this.socketResponse.socketCurrentNum !== 0) {
this.generateExcel();
}
}
,
},
socket_onopen: function (e) {
console.log("websocket->>链接已链接");
}
,
},
/**
* 重写日期函数格式化日期
*/
dataFormat(time) {
return `${time.getFullYear()}-${time.getMonth() + 1 >= 10 ? (time.getMonth() + 1) : '0' + (time.getMonth() + 1)}-${time.getDate() >= 10 ? time.getDate() : '0' + time.getDate()} ${time.getHours() >= 10 ? time.getHours() : '0' + time.getHours()}:${time.getMinutes() >= 10 ? time.getMinutes() : '0' + time.getMinutes()}:${time.getSeconds() >= 10 ? time.getSeconds() : '0' + time.getSeconds()}`;
}
,
},
/**
* 将小数转换成百分比
* @param point
...
...
请
注册
或
登录
后发表评论