From 3b1dbefd89779e4258bd6d60ba4108b3e5e45b94 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 15 Apr 2024 10:59:50 +0800 Subject: [PATCH] =?UTF-8?q?bug#1101=E6=88=BF=E5=B1=8B=E7=94=BB=E5=83=8F?= =?UTF-8?q?=E4=B8=AD=E5=85=B3=E7=B3=BB=E5=9B=BE=E8=B0=B1=E4=B8=AD=E5=85=B3?= =?UTF-8?q?=E7=B3=BB=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/portrayal/house/cpts/graph.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/modules/portrayal/house/cpts/graph.vue b/src/views/modules/portrayal/house/cpts/graph.vue index bae685bd7..9fe382d51 100644 --- a/src/views/modules/portrayal/house/cpts/graph.vue +++ b/src/views/modules/portrayal/house/cpts/graph.vue @@ -81,7 +81,7 @@ export default { let lineList = data.map((item, index) => ({ 'from': 'N1', 'to': `N${index + 1}`, - 'text':item.type ==1?'未知':data[index].houseHolderRel || '未知', + 'text':item.resiHouseRel ===null?'未知':item.resiHouseRel ==='0'?'自住':item.resiHouseRel === '1'?'出租':'未知', 'isHideArrow': true, 'color': item.houseHolderRel === '父亲' ? '#3876f2' : (item.houseHolderRel === '母亲' || item.houseHolderRel === '祖父母' ? '#ff9696' : (item.houseHolderRel === '女儿' ? '#ffd5d5' : '#3876f2')), 'fontColor': item.houseHolderRel === '父亲' ? '#3876f2' : (item.houseHolderRel === '母亲' || item.houseHolderRel === '祖父母' ? '#ff9696' : (item.houseHolderRel === '女儿' ? '#ffd5d5' : '#3876f2'))