Authored by xwx

故障诊断基础资源诊断指标优化

@@ -129,7 +129,7 @@ export default { @@ -129,7 +129,7 @@ export default {
129 } 129 }
130 //诊断指标 130 //诊断指标
131 const openKpiList = () => { 131 const openKpiList = () => {
132 - service.sendEventDiagnoseKpiList(props.parentEmit, faultNo,targetType); 132 + service.sendEventDiagnoseKpiList(props.parentEmit, faultNo,targetType,resClass);
133 } 133 }
134 134
135 //诊断项(正常、异常) 135 //诊断项(正常、异常)
@@ -479,7 +479,7 @@ const faultEvent = () => { @@ -479,7 +479,7 @@ const faultEvent = () => {
479 * @param targetType 诊断类型 479 * @param targetType 诊断类型
480 * @param columns 数组,表格列对象 480 * @param columns 数组,表格列对象
481 */ 481 */
482 - const sendEventDiagnoseKpiList = (emit, faultNo, targetType) => { 482 + const sendEventDiagnoseKpiList = (emit, faultNo, targetType,resClass) => {
483 483
484 var obj = { 484 var obj = {
485 title: '诊断指标', 485 title: '诊断指标',
@@ -507,7 +507,7 @@ const faultEvent = () => { @@ -507,7 +507,7 @@ const faultEvent = () => {
507 data: '', 507 data: '',
508 } 508 }
509 509
510 - store.dispatch('getFaultKpiList', {faultNo: faultNo, targetType: targetType}).then((res) => { 510 + store.dispatch('getFaultKpiList', {faultNo: faultNo, targetType: targetType,resClass:resClass}).then((res) => {
511 if (res && res.success) { 511 if (res && res.success) {
512 obj.data = res.data; 512 obj.data = res.data;
513 emit('openDialog', 'more', {}, obj); 513 emit('openDialog', 'more', {}, obj);