From 7a2cc7fd7fa51b5cc110a586aa05426595a10213 Mon Sep 17 00:00:00 2001 From: gier123 <782830164@qq.com> Date: Thu, 1 Mar 2018 15:16:17 +0800 Subject: [PATCH] =?UTF-8?q?#361=20=E4=BC=98=E5=85=88executor=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BAip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- saturn-console-web/src/pages/job_detail/job_setting.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/saturn-console-web/src/pages/job_detail/job_setting.vue b/saturn-console-web/src/pages/job_detail/job_setting.vue index e604c5fb0..44a8c41c6 100644 --- a/saturn-console-web/src/pages/job_detail/job_setting.vue +++ b/saturn-console-web/src/pages/job_detail/job_setting.vue @@ -332,6 +332,7 @@ export default { if (jobInfoData.preferListProvided) { this.preferListProvidedArray = jobInfoData.preferListProvided.map((obj) => { const rObj = {}; + rObj.ip = obj.ip; rObj.executorName = obj.executorName; rObj.noTraffic = obj.noTraffic; rObj.type = obj.type; @@ -343,7 +344,7 @@ export default { rObj.executorDes = `${rObj.executorName}(离线无流量)`; break; case 'ONLINE': - rObj.executorDes = `${rObj.executorName}(在线无流量)`; + rObj.executorDes = `${rObj.executorName}(在线无流量 ${rObj.ip})`; break; case 'DELETED': rObj.executorDes = `${rObj.executorName}(已删除)`; @@ -357,7 +358,7 @@ export default { rObj.executorDes = `${rObj.executorName}(离线)`; break; case 'ONLINE': - rObj.executorDes = `${rObj.executorName}(在线)`; + rObj.executorDes = `${rObj.executorName}(在线 ${rObj.ip})`; break; case 'DELETED': rObj.executorDes = `${rObj.executorName}(已删除)`;