zhuzhuanzhuan
2024-03-01 1f1e7a81d2e938159878d2d7ff43079df8f54240
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'
        }
      }