qushaowei
2024-01-15 017886be8a6c07ccaaf6300b8c7652ddbd41d734
src/views/mdc/base/EquipmentList.vue
@@ -64,6 +64,7 @@
        bordered
        size="middle"
        rowKey="id"
        :scroll="{x:'max-content',y:465}"
        :columns="columns"
        :dataSource="dataSource"
        :pagination="ipagination"
@@ -180,25 +181,25 @@
            title: '设备编号',
            align: "center",
            dataIndex: 'equipmentId',
            width: 120,
            width: 200,
            // sorter: true
          },
          {
            title: '设备名称',
            align: "center",
            width: 150,
            width: 200,
            dataIndex: 'equipmentName',
          },
          {
            title: '车间',
            align: "center",
            width: 180,
            width: 200,
            dataIndex: 'productionName'
          },
          {
            title: '设备类型',
            align: "center",
            width: 120,
            width: 200,
            dataIndex: 'equipmentType',
            // scopedSlots: {customRender: "avatarslot"}
          },
@@ -206,33 +207,33 @@
          {
            title: '驱动类型',
            align: "center",
            width: 80,
            width: 200,
            dataIndex: 'driveType',
            // sorter: true
          },
          {
            title: '机床IP',
            align: "center",
            width: 100,
            width: 200,
            dataIndex: 'equipmentIp'
          },
          {
            title: '设备功率',
            align: "center",
            width: 100,
            width: 200,
            dataIndex: 'devicePower'
          },
          {
            title: '部门',
            align: "center",
            width: 180,
            width: 200,
            dataIndex: 'orgCodeTxt'
          },
          {
            title: '系统版本',
            align: "center",
            width: 80,
            width: 200,
            dataIndex: 'systemVersion'
          },
          {
@@ -240,7 +241,8 @@
            dataIndex: 'action',
            scopedSlots: {customRender: 'action'},
            align: "center",
            width: 120
            width: 150,
            fixed:'right'
          }
        ],
@@ -290,25 +292,25 @@
                  title: '设备编号',
                  align: "center",
                  dataIndex: 'equipmentId',
                  width: 120,
                  width: 200,
                  // sorter: true
                },
                {
                  title: '设备名称',
                  align: "center",
                  width: 150,
                  width: 200,
                  dataIndex: 'equipmentName',
                },
                {
                  title: '车间',
                  align: "center",
                  width: 180,
                  width: 200,
                  dataIndex: 'productionName'
                },
                {
                  title: '设备类型',
                  align: "center",
                  width: 120,
                  width: 200,
                  dataIndex: 'equipmentType',
                  // scopedSlots: {customRender: "avatarslot"}
                },
@@ -316,33 +318,33 @@
                {
                  title: '驱动类型',
                  align: "center",
                  width: 80,
                  width: 200,
                  dataIndex: 'driveType',
                  // sorter: true
                },
                {
                  title: '机床IP',
                  align: "center",
                  width: 100,
                  width: 200,
                  dataIndex: 'equipmentIp'
                },
                {
                  title: '设备功率',
                  align: "center",
                  width: 100,
                  width: 200,
                  dataIndex: 'devicePower'
                },
                // {
                //   title: '部门',
                //   align: "center",
                //   width: 180,
                //   width: 200,
                //   dataIndex: 'orgCodeTxt'
                // },
                {
                  title: '系统版本',
                  align: "center",
                  width: 80,
                  width: 200,
                  dataIndex: 'systemVersion'
                },
                {
@@ -350,7 +352,8 @@
                  dataIndex: 'action',
                  scopedSlots: {customRender: 'action'},
                  align: "center",
                  width: 120
                  width: 150,
                  fixed:'right'
                }
              ]
@@ -370,25 +373,25 @@
                  title: '设备编号',
                  align: "center",
                  dataIndex: 'equipmentId',
                  width: 120,
                  width: 200,
                  // sorter: true
                },
                {
                  title: '设备名称',
                  align: "center",
                  width: 150,
                  width: 200,
                  dataIndex: 'equipmentName',
                },
                {
                  title: '车间',
                  align: "center",
                  width: 180,
                  width: 200,
                  dataIndex: 'productionName'
                },
                {
                  title: '设备类型',
                  align: "center",
                  width: 120,
                  width: 200,
                  dataIndex: 'equipmentType',
                  // scopedSlots: {customRender: "avatarslot"}
                },
@@ -396,33 +399,33 @@
                {
                  title: '驱动类型',
                  align: "center",
                  width: 80,
                  width: 200,
                  dataIndex: 'driveType',
                  // sorter: true
                },
                {
                  title: '机床IP',
                  align: "center",
                  width: 100,
                  width: 200,
                  dataIndex: 'equipmentIp'
                },
                {
                  title: '设备功率',
                  align: "center",
                  width: 100,
                  width: 200,
                  dataIndex: 'devicePower'
                },
                {
                  title: '部门',
                  align: "center",
                  width: 180,
                  width: 200,
                  dataIndex: 'orgCodeTxt'
                },
                {
                  title: '系统版本',
                  align: "center",
                  width: 80,
                  width: 200,
                  dataIndex: 'systemVersion'
                },
                {
@@ -430,7 +433,8 @@
                  dataIndex: 'action',
                  scopedSlots: {customRender: 'action'},
                  align: "center",
                  width: 120
                  width: 150,
                  fixed:'right'
                }
              ]