Authored by 王涛

Merge branch 'master-500-dev-xwx' into 'master-500-dev'

网卡上行速率弹框名称存在null优化



See merge request !449
@@ -1315,7 +1315,11 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele @@ -1315,7 +1315,11 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
1315 trend: true, 1315 trend: true,
1316 name: (kpiNames&&kpiNames.length>0)?kpiNames[v.componentIndex]:kpiName + ' ' + data.series[v.componentIndex].name //当传入多个kpiName,则将对应kpiId的kpiName获取传入的性能曲线页面 1316 name: (kpiNames&&kpiNames.length>0)?kpiNames[v.componentIndex]:kpiName + ' ' + data.series[v.componentIndex].name //当传入多个kpiName,则将对应kpiId的kpiName获取传入的性能曲线页面
1317 }; 1317 };
1318 - common.openLineChart(kpiName + ' ' + data.series[v.componentIndex].name, params); 1318 + var seriesName= data.series[v.componentIndex].name;
  1319 + if (data.series[v.componentIndex].name == null ||data.series[v.componentIndex].name == undefined){
  1320 + seriesName = '';
  1321 + }
  1322 + common.openLineChart(kpiName + ' ' + seriesName, params);
1319 }); 1323 });
1320 }); 1324 });
1321 }, 1325 },
@@ -550,7 +550,7 @@ export default { @@ -550,7 +550,7 @@ export default {
550 params.docNo = "user"; 550 params.docNo = "user";
551 params.type = "user"; 551 params.type = "user";
552 } 552 }
553 - if (params.name.length>15){ 553 + if (params.name.length>50){
554 proxy.$global.showMsg("文件名称超长!", "warning"); 554 proxy.$global.showMsg("文件名称超长!", "warning");
555 return; 555 return;
556 } 556 }
@@ -784,7 +784,7 @@ export default { @@ -784,7 +784,7 @@ export default {
784 proxy.$global.showMsg("文件名称不能为空!", "warning"); 784 proxy.$global.showMsg("文件名称不能为空!", "warning");
785 return; 785 return;
786 } 786 }
787 - if(item.fileName.length>15){ 787 + if(item.fileName.length>50){
788 proxy.$global.showMsg("文件名称超长!", "warning"); 788 proxy.$global.showMsg("文件名称超长!", "warning");
789 return; 789 return;
790 } 790 }