Authored by wangtao

故障诊断调整

@@ -15,6 +15,7 @@ export default { @@ -15,6 +15,7 @@ export default {
15 }, 15 },
16 computed: {}, 16 computed: {},
17 setup(props) { 17 setup(props) {
  18 + debugger
18 const {proxy} = Vue.getCurrentInstance(); 19 const {proxy} = Vue.getCurrentInstance();
19 // let networkMonitorList = Vue.ref([{ 20 // let networkMonitorList = Vue.ref([{
20 // linkName:'链路1', 21 // linkName:'链路1',
@@ -81,11 +81,9 @@ export default { @@ -81,11 +81,9 @@ export default {
81 }] 81 }]
82 }); 82 });
83 83
84 -  
85 // 获取故障编号 84 // 获取故障编号
86 faultDetailDetailInfo.value.faultNo = proxy.$global.getQueryVariable('faultNo') 85 faultDetailDetailInfo.value.faultNo = proxy.$global.getQueryVariable('faultNo')
87 -  
88 - 86 + faultDetailDetailInfo.value.configId = proxy.$global.getQueryVariable('configId')
89 87
90 /** 88 /**
91 * 设置弹框信息 89 * 设置弹框信息
@@ -150,9 +150,10 @@ export default { @@ -150,9 +150,10 @@ export default {
150 label: '故障主体', 150 label: '故障主体',
151 width: 150, 151 width: 150,
152 click: function (row) { 152 click: function (row) {
153 - let title = `${row.faultBody}${row.faultNo})诊断报告`;; 153 + let title = `${row.faultBody}${row.faultNo})诊断报告`;
  154 + let configId = row.faultconfid;
154 // 设置相信信息 155 // 设置相信信息
155 - proxy.$global.openBlankWindow(`/vue3/index.html#/fault/result/faultDetail?faultNo=${row.faultNo}&faultTitle=${title}`) 156 + proxy.$global.openBlankWindow(`/vue3/index.html#/fault/result/faultDetail?faultNo=${row.faultNo}&faultTitle=${title}&configId=${configId}`)
156 }, 157 },
157 render: function (row) { 158 render: function (row) {
158 return `<span style="text-decoration: underline;color: blue;">${row.faultBody}</span>` 159 return `<span style="text-decoration: underline;color: blue;">${row.faultBody}</span>`