zhaowei
9 天以前 008245cbe95c63a80f9a255378a5ffbe25d15085
src/views/mdc/base/AlarmManager.vue
@@ -50,6 +50,7 @@
                :data-source="driveTypeList"
                placeholder="请选择控制系统类型"
                :filter-option="filterOption"
                :allowClear="true"
              />
            </a-form-item>
          </a-col>
@@ -230,6 +231,18 @@
    data() {
      return {
        description: '报警号管理界面',
        /* 分页参数 */
        ipagination:{
          current: 1,
          pageSize: 30,
          pageSizeOptions: ['30', '50', '100'],
          showTotal: (total, range) => {
            return range[0] + "-" + range[1] + " 共" + total + "条"
          },
          showQuickJumper: true,
          showSizeChanger: true,
          total: 0
        },
        // 表头
        columns: [
          {
@@ -284,7 +297,7 @@
          // },
          {
            dataIndex:'isUse_dictText',
            title: '是否过滤',
            title: '是否启用',
            align: "center",
            width:380
           // dictCode:'alarm_is_use'
@@ -338,7 +351,7 @@
        fieldList.push({ type: 'string', value: 'alarmCode', text: '报警号', dictCode: '' })
        fieldList.push({ type: 'string', value: 'alarmDescription', text: '报警内容', dictCode: '' })
        fieldList.push({ type: 'int', value: 'driveType', text: '设备驱动类型', dictCode: '' })
        fieldList.push({ type: 'switch', value: 'isUse', text: '是否过滤' })
        fieldList.push({ type: 'switch', value: 'isUse', text: '是否启用' })
        this.superFieldList = fieldList
      },