From 1f1e7a81d2e938159878d2d7ff43079df8f54240 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 01 三月 2024 15:29:33 +0800 Subject: [PATCH] 超限报警页面分页查询每页条数由10,20,30调整为30,50,100 --- src/views/mdc/base/EquipmentOperationParamsAlarm.vue | 37 ++++++++++++++++++++++++------------- 1 files changed, 24 insertions(+), 13 deletions(-) diff --git a/src/views/mdc/base/EquipmentOperationParamsAlarm.vue b/src/views/mdc/base/EquipmentOperationParamsAlarm.vue index dddc8ac..2366556 100644 --- a/src/views/mdc/base/EquipmentOperationParamsAlarm.vue +++ b/src/views/mdc/base/EquipmentOperationParamsAlarm.vue @@ -58,46 +58,57 @@ { title: '璁惧缂栧彿', align: 'center', - dataIndex: 'equipmentid', + dataIndex: 'equipmentId', width: 250 }, { title: '鎶ヨ鏃堕棿', align: 'center', - dataIndex: 'collecttime', + dataIndex: 'createTime', width: 250 }, { title: '璁惧畾鍊�', align: 'center', width: 250, - dataIndex: 'setvalue' + dataIndex: 'setValue' }, { title: '瀹為檯鍊�', align: 'center', width: 250, - dataIndex: 'realvalue' + dataIndex: 'realValue' }, - { - title: '鎶ヨ鍙�', - align: 'center', - width: 250, - dataIndex: 'alarmno' - }, + // { + // title: '鎶ヨ鍙�', + // align: 'center', + // width: 250, + // dataIndex: 'alarmno' + // }, { title: '鎶ヨ鍐呭', align: 'center', width: 250, - dataIndex: 'alarmcontent' + dataIndex: 'alarmContent' } ], url: { - list: '/mdc/equipmentBeilvAlarm/list' + list: '/mdc/mdcOverrunAlarm/list' + }, + ipagination:{ + current: 1, + pageSize: 30, + pageSizeOptions: ['30', '50', '100'], + showTotal: (total, range) => { + return range[0] + "-" + range[1] + " 鍏�" + total + "鏉�" + }, + showQuickJumper: true, + showSizeChanger: true, + total: 0 }, /* 鎺掑簭鍙傛暟 */ isorter: { - column: 'collecttime', + column: 'createTime', order: 'desc' } } -- Gitblit v1.9.3