Showing
1 changed file
with
7 additions
and
6 deletions
@@ -48,7 +48,7 @@ export default { | @@ -48,7 +48,7 @@ export default { | ||
48 | 48 | ||
49 | store.dispatch('getFaultList', params).then((res) => { | 49 | store.dispatch('getFaultList', params).then((res) => { |
50 | if (res.data && res.success) { | 50 | if (res.data && res.success) { |
51 | - if(res.data.length > 0){ | 51 | + if (res.data.length > 0) { |
52 | dialTest.value = res.data[0]; | 52 | dialTest.value = res.data[0]; |
53 | let arr = []; | 53 | let arr = []; |
54 | for (var i = 1; i < res.data.length; i++) { | 54 | for (var i = 1; i < res.data.length; i++) { |
@@ -74,20 +74,21 @@ export default { | @@ -74,20 +74,21 @@ export default { | ||
74 | let param = [{ | 74 | let param = [{ |
75 | prop: 'resName', | 75 | prop: 'resName', |
76 | label: '资源名称', | 76 | label: '资源名称', |
77 | + width: 500 | ||
77 | }, { | 78 | }, { |
78 | prop: 'ip', | 79 | prop: 'ip', |
79 | label: 'IP地址', | 80 | label: 'IP地址', |
80 | - },{ | 81 | + }, { |
81 | prop: 'resTypeName', | 82 | prop: 'resTypeName', |
82 | label: '资源类型', | 83 | label: '资源类型', |
83 | - },{ | 84 | + }, { |
84 | prop: 'os', | 85 | prop: 'os', |
85 | label: '操作系统', | 86 | label: '操作系统', |
86 | - },{ | 87 | + }, { |
87 | prop: 'adminName', | 88 | prop: 'adminName', |
88 | label: '资源负责人', | 89 | label: '资源负责人', |
89 | }] | 90 | }] |
90 | - service.sendEventDiagnoseBusinessScenarios(emit, props.faultNo, props.targetType.toLocaleLowerCase(), param,'','诊断资源'); | 91 | + service.sendEventDiagnoseBusinessScenarios(emit, props.faultNo, props.targetType.toLocaleLowerCase(), param, '', '诊断资源'); |
91 | } | 92 | } |
92 | //诊断指标 | 93 | //诊断指标 |
93 | const openKpiList = () => { | 94 | const openKpiList = () => { |
@@ -96,7 +97,7 @@ export default { | @@ -96,7 +97,7 @@ export default { | ||
96 | 97 | ||
97 | //诊断项(正常、异常) | 98 | //诊断项(正常、异常) |
98 | const openDiagnosticItem = (type) => { | 99 | const openDiagnosticItem = (type) => { |
99 | - service.sendEventNormalDialog(emit, proxy.$global, props.faultNo, props.targetType.toLocaleLowerCase(), '',type); | 100 | + service.sendEventNormalDialog(emit, proxy.$global, props.faultNo, props.targetType.toLocaleLowerCase(), '', type); |
100 | } | 101 | } |
101 | 102 | ||
102 | // 挂载完 | 103 | // 挂载完 |
-
Please register or login to post a comment