|
|
@@ -124,7 +124,7 @@
|
|
|
<el-table-column label="行社名称" align="center" prop="secondOrgName" width="220"/>
|
|
|
<el-table-column label="所属机构" align="center" prop="orgName" width="220"/>
|
|
|
<el-table-column label="设备名称" align="center" prop="deviceName" width="220"/>
|
|
|
- <el-table-column label="设备类型" align="center" prop="deviceType" width="150"/>
|
|
|
+ <el-table-column label="设备类型" align="center" prop="deviceType" width="150"/>
|
|
|
<el-table-column label="告警状态" align="center" prop="stateText" width="150"/>
|
|
|
<el-table-column label="最近一次上报时间" align="center" prop="updateTime" width="220"/>
|
|
|
<el-table-column label="上报内容" align="center" prop="info" width="220" show-overflow-tooltip="showOverflowTooltip"/>
|
|
|
@@ -294,6 +294,14 @@ export default {
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
+ if (this.total==null || this.total===0){
|
|
|
+ this.$modal.alert("暂无可用数据导出");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (this.total>50000){
|
|
|
+ this.$modal.alert("导出数据超过5万条,请缩小查询范围后重试");
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.download(
|
|
|
"iot/sensor/export",
|
|
|
{
|