...
|
...
|
@@ -48,7 +48,7 @@ export default { |
|
|
|
|
|
store.dispatch('getFaultList', params).then((res) => {
|
|
|
if (res.data && res.success) {
|
|
|
if(res.data.length > 0){
|
|
|
if (res.data.length > 0) {
|
|
|
dialTest.value = res.data[0];
|
|
|
let arr = [];
|
|
|
for (var i = 1; i < res.data.length; i++) {
|
...
|
...
|
@@ -74,20 +74,21 @@ export default { |
|
|
let param = [{
|
|
|
prop: 'resName',
|
|
|
label: '资源名称',
|
|
|
width: 500
|
|
|
}, {
|
|
|
prop: 'ip',
|
|
|
label: 'IP地址',
|
|
|
},{
|
|
|
}, {
|
|
|
prop: 'resTypeName',
|
|
|
label: '资源类型',
|
|
|
},{
|
|
|
}, {
|
|
|
prop: 'os',
|
|
|
label: '操作系统',
|
|
|
},{
|
|
|
}, {
|
|
|
prop: 'adminName',
|
|
|
label: '资源负责人',
|
|
|
}]
|
|
|
service.sendEventDiagnoseBusinessScenarios(emit, props.faultNo, props.targetType.toLocaleLowerCase(), param,'','诊断资源');
|
|
|
service.sendEventDiagnoseBusinessScenarios(emit, props.faultNo, props.targetType.toLocaleLowerCase(), param, '', '诊断资源');
|
|
|
}
|
|
|
//诊断指标
|
|
|
const openKpiList = () => {
|
...
|
...
|
@@ -96,7 +97,7 @@ export default { |
|
|
|
|
|
//诊断项(正常、异常)
|
|
|
const openDiagnosticItem = (type) => {
|
|
|
service.sendEventNormalDialog(emit, proxy.$global, props.faultNo, props.targetType.toLocaleLowerCase(), '',type);
|
|
|
service.sendEventNormalDialog(emit, proxy.$global, props.faultNo, props.targetType.toLocaleLowerCase(), '', type);
|
|
|
}
|
|
|
|
|
|
// 挂载完
|
...
|
...
|
|