Authored by 鲁尚清

故障联调 背景色及表格默认显示条数更改

@@ -75,7 +75,7 @@ @@ -75,7 +75,7 @@
75 } 75 }
76 76
77 #faultDiagnosisIndex{ 77 #faultDiagnosisIndex{
78 - background-color: #F4F5FA; 78 + background-color: #FFFFFF;
79 padding-top: 1%; 79 padding-top: 1%;
80 height: 100%; 80 height: 100%;
81 } 81 }
@@ -321,14 +321,14 @@ @@ -321,14 +321,14 @@
321 margin: 15% 0 5% 4%; 321 margin: 15% 0 5% 4%;
322 } 322 }
323 .popup-bg .el-dialog__header{ 323 .popup-bg .el-dialog__header{
324 - background-color: #3B91FF; 324 + /*background-color: #3B91FF;*/
325 } 325 }
326 .popup-bg .el-dialog__title{ 326 .popup-bg .el-dialog__title{
327 - color:#FFFFFF; 327 + /*color:#FFFFFF;*/
328 328
329 } 329 }
330 .popup-bg .el-dialog__headerbtn .el-dialog__close{ 330 .popup-bg .el-dialog__headerbtn .el-dialog__close{
331 - color:#ffffff; 331 + /*color:#ffffff;*/
332 } 332 }
333 .popup-bg .el-dialog__body{ 333 .popup-bg .el-dialog__body{
334 padding:10px; 334 padding:10px;
@@ -359,7 +359,7 @@ @@ -359,7 +359,7 @@
359 } 359 }
360 360
361 .faultAddIndex{ 361 .faultAddIndex{
362 - background-color: #F4F5FA; 362 + background-color: #FFFFFF;
363 height:100%; 363 height:100%;
364 padding-top: 20px; 364 padding-top: 20px;
365 } 365 }
@@ -439,13 +439,13 @@ @@ -439,13 +439,13 @@
439 cursor: pointer; 439 cursor: pointer;
440 } 440 }
441 .table-height .el-table{ 441 .table-height .el-table{
442 - height:500px; 442 + /*height:500px;*/
443 } 443 }
444 .table-height-45 .el-table{ 444 .table-height-45 .el-table{
445 - height:450px; 445 + /*height:450px;*/
446 } 446 }
447 .height-600{ 447 .height-600{
448 - height:650px; 448 + /*height:650px;*/
449 } 449 }
450 .text-overflow{ 450 .text-overflow{
451 white-space: nowrap; 451 white-space: nowrap;
@@ -60,7 +60,7 @@ export default { @@ -60,7 +60,7 @@ export default {
60 let bizId=Vue.ref();//所属业务id 60 let bizId=Vue.ref();//所属业务id
61 let targetId=Vue.ref();//所属模块id 61 let targetId=Vue.ref();//所属模块id
62 let page=Vue.ref(1);//当前页 62 let page=Vue.ref(1);//当前页
63 - let pageSize=Vue.ref(5);//每页显示条数 63 + let pageSize=Vue.ref(10);//每页显示条数
64 let APMVisible=Vue.ref(false); 64 let APMVisible=Vue.ref(false);
65 let modleId=Vue.ref();//模块id 65 let modleId=Vue.ref();//模块id
66 let faultConfId=Vue.ref(); 66 let faultConfId=Vue.ref();
@@ -334,7 +334,7 @@ export default { @@ -334,7 +334,7 @@ export default {
334 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){ 334 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){
335 if(res && res.success){ 335 if(res && res.success){
336 that.targetId=res.map.configDetail.targetId; 336 that.targetId=res.map.configDetail.targetId;
337 - that.faultConfId=res.map.configDetail.faultConfId; 337 + that.faultConfId=res.map.configDetail.faultConfig.id;
338 338
339 that.APMVisible=false; 339 that.APMVisible=false;
340 340
@@ -54,7 +54,7 @@ export default { @@ -54,7 +54,7 @@ export default {
54 let networkMonitorList=Vue.ref([]); 54 let networkMonitorList=Vue.ref([]);
55 let isLoading=Vue.ref(false);//按钮加载中 55 let isLoading=Vue.ref(false);//按钮加载中
56 let page=Vue.ref(1);//当前页 56 let page=Vue.ref(1);//当前页
57 - let pageSize=Vue.ref(5);//每页显示条数 57 + let pageSize=Vue.ref(10);//每页显示条数
58 let modleId=Vue.ref();//模块id 58 let modleId=Vue.ref();//模块id
59 let faultConfId=Vue.ref(); 59 let faultConfId=Vue.ref();
60 let bizName=Vue.ref(); 60 let bizName=Vue.ref();
@@ -330,7 +330,7 @@ export default { @@ -330,7 +330,7 @@ export default {
330 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){ 330 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){
331 if(res && res.success){ 331 if(res && res.success){
332 that.targetId=res.map.configDetail.targetId; 332 that.targetId=res.map.configDetail.targetId;
333 - that.faultConfId=res.map.configDetail.faultConfId; 333 + that.faultConfId=res.map.configDetail.faultConfig.id;
334 334
335 // that.$global.showMsg('保存成功','success') 335 // that.$global.showMsg('保存成功','success')
336 // that.switchModel(); 336 // that.switchModel();
@@ -92,7 +92,7 @@ export default { @@ -92,7 +92,7 @@ export default {
92 let bizId=Vue.ref();//所属业务id 92 let bizId=Vue.ref();//所属业务id
93 let targetId=Vue.ref();//所属模块id 93 let targetId=Vue.ref();//所属模块id
94 let page=Vue.ref(1);//当前页 94 let page=Vue.ref(1);//当前页
95 - let pageSize=Vue.ref(8);//每页显示条数 95 + let pageSize=Vue.ref(10);//每页显示条数
96 //是否是详情页面 96 //是否是详情页面
97 let isDetail=Vue.ref(false); 97 let isDetail=Vue.ref(false);
98 98
@@ -804,7 +804,7 @@ export default { @@ -804,7 +804,7 @@ export default {
804 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){ 804 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){
805 if(res && res.success){ 805 if(res && res.success){
806 that.targetId=res.map.configDetail.targetId; 806 that.targetId=res.map.configDetail.targetId;
807 - that.faultConfId=res.map.configDetail.faultConfId; 807 + that.faultConfId=res.map.configDetail.faultConfig.id;
808 808
809 that.$global.showMsg('保存成功','success') 809 that.$global.showMsg('保存成功','success')
810 that.switchModel(); 810 that.switchModel();
@@ -914,7 +914,7 @@ export default { @@ -914,7 +914,7 @@ export default {
914 this.$http.post('/api-web/fault/conf/rule/saveOrUpdate',params,function (res){ 914 this.$http.post('/api-web/fault/conf/rule/saveOrUpdate',params,function (res){
915 if(res && res.success){ 915 if(res && res.success){
916 that.targetId=res.map.bFaultRule.targetId; 916 that.targetId=res.map.bFaultRule.targetId;
917 - that.faultConfId=res.map.bFaultRule.faultConfId; 917 + that.faultConfId=res.map.bFaultRule.faultConfig.id;
918 that.$global.showMsg('保存成功') 918 that.$global.showMsg('保存成功')
919 // that.alarmList=res.data; 919 // that.alarmList=res.data;
920 }else{ 920 }else{
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 </div> 33 </div>
34 <el-row v-if="!addSetLIstVisible" class="flex-div-start" style="margin: 20px 0 10px 4%;" > 34 <el-row v-if="!addSetLIstVisible" class="flex-div-start" style="margin: 20px 0 10px 4%;" >
35 <span>配置链路名称</span> 35 <span>配置链路名称</span>
36 - <el-input style="flex:1;margin-left:10px;" class="margin-right-10" v-model="linkName" placeholder="输入链路名称" /> 36 + <el-input style="flex:1;margin-left:10px;" maxlength="50" class="margin-right-10" v-model="linkName" placeholder="输入链路名称" />
37 37
38 </el-row> 38 </el-row>
39 <div class="context-body"> 39 <div class="context-body">
@@ -152,7 +152,7 @@ @@ -152,7 +152,7 @@
152 </el-row> 152 </el-row>
153 <el-row v-if="flag" class="flex-div-start" style="margin-bottom: 10px;margin-top: 10px;padding-top:10px;border-top:1px solid #ebeef5" > 153 <el-row v-if="flag" class="flex-div-start" style="margin-bottom: 10px;margin-top: 10px;padding-top:10px;border-top:1px solid #ebeef5" >
154 <span>节点名称</span> 154 <span>节点名称</span>
155 - <el-input style="flex:1;margin-left:10px;" class="margin-right-10" v-model="nodeName" placeholder="输入节点名称" /> 155 + <el-input style="flex:1;margin-left:10px;" class="margin-right-10" maxlength="50" v-model="nodeName" placeholder="输入节点名称" />
156 </el-row> 156 </el-row>
157 <el-row class="margin-bottom-50"> 157 <el-row class="margin-bottom-50">
158 <el-col :span="24" :class="[{'table-height':!flag},{'table-height-45':flag}]"> 158 <el-col :span="24" :class="[{'table-height':!flag},{'table-height-45':flag}]">
@@ -96,7 +96,7 @@ export default { @@ -96,7 +96,7 @@ export default {
96 //所有图标数据 96 //所有图标数据
97 let iconArr=Vue.ref([]); 97 let iconArr=Vue.ref([]);
98 let page=Vue.ref(1);//当前页 98 let page=Vue.ref(1);//当前页
99 - let pageSize=Vue.ref(5);//每页显示条数 99 + let pageSize=Vue.ref(10);//每页显示条数
100 let networkMonitorVisible=Vue.ref(false); 100 let networkMonitorVisible=Vue.ref(false);
101 let modleId=Vue.ref();//模块id 101 let modleId=Vue.ref();//模块id
102 let faultConfId=Vue.ref(); 102 let faultConfId=Vue.ref();
@@ -590,7 +590,7 @@ console.log("jdjdjdjdj",newValue) @@ -590,7 +590,7 @@ console.log("jdjdjdjdj",newValue)
590 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){ 590 this.$http.post('/api-web/fault/conf/detail/saveConfigDetail',params,function (res){
591 if(res && res.success){ 591 if(res && res.success){
592 that.targetId=res.map.configDetail.targetId; 592 that.targetId=res.map.configDetail.targetId;
593 - that.faultConfId=res.map.configDetail.faultConfId; 593 + that.faultConfId=res.map.configDetail.faultConfig.id;
594 594
595 // that.$global.showMsg('保存成功','success') 595 // that.$global.showMsg('保存成功','success')
596 that.networkMonitorVisible=false; 596 that.networkMonitorVisible=false;