1.调整设备管理分页列字段
main
liuhr 2 years ago
parent cc3c18764c
commit f9c01ec7e5

@ -427,6 +427,9 @@ export default class helper {
case 'Alarm':
textStatus = '报警';
break;
default:
textStatus = '';
break;
}
return textStatus;
};

@ -62,7 +62,8 @@
<q-td style="font-size: 16px;" key="state" :props="props">{{ helper.getEquipmentState(
props.row.state)
}}</q-td>
<q-td style="font-size: 16px;" key="activated" :props="props">{{ props.row.activated
<q-td style="font-size: 16px;" key="activated" :props="props">{{ props.row.activated ==
true ? '是' : '否'
}}</q-td>
<q-td style="font-size: 16px;" key="remark" :props="props">{{ props.row.remark }}</q-td>
<q-td key="action" :props="props" style="width: 100px">
@ -132,7 +133,6 @@ const columns = ref([
},
{ name: 'equipmentName', align: 'center', label: '设备名称', field: 'equipmentName', headerStyle: 'background-color: #5186ec;color: white;font-weight: bold;font-size:20px;' },
{ name: 'equipmentType', align: 'center', label: '设备类型', field: 'equipmentType', headerStyle: 'background-color: #5186ec;color: white;font-weight: bold;font-size:20px;' },
{ name: 'configType', align: 'center', label: '是否系统内置', field: 'configType', headerStyle: 'background-color: #5186ec;color: white;font-weight: bold;font-size:20px;' },
{ name: 'state', align: 'center', label: '设备状态', field: 'state', headerStyle: 'background-color: #5186ec;color: white;font-weight: bold;font-size:20px;' },
{ name: 'activated', align: 'center', label: '设备启停用', field: 'activated', headerStyle: 'background-color: #5186ec;color: white;font-weight: bold;font-size:20px;' },
{ name: 'remark', align: 'center', label: '备注', field: 'remark', headerStyle: 'background-color: #5186ec;color: white;font-weight: bold;font-size:20px;' },

Loading…
Cancel
Save