zhangdan 4 年之前
父節點
當前提交
7e55a17e67
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/equipmentManage/equipment/equipment.vue

+ 3 - 2
src/views/equipmentManage/equipment/equipment.vue

@@ -101,6 +101,7 @@
       :rowKey="(record) => record.id"
       :columns="columns"
       :data="loadData"
+      :scroll="{ x: 2080}"
       bordered>
       <!-- 设备状态 -->
       <template slot="onlineFlag" slot-scope="text, record">
@@ -176,11 +177,11 @@ export default {
       optionData: [],
       // 表头
       columns: [
-        { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
+        { title: '序号', dataIndex: 'no', width: 80, fixed: 'left', align: 'center' },
         { title: '网点名称', dataIndex: 'stationName', width: 200, align: 'center', customRender: text => { return text || '--' } },
         { title: '网点标签', dataIndex: 'labelName', width: 200, align: 'center', customRender: text => { return text || '--' } },
         { title: '地址', dataIndex: 'stationAddress', width: 200, align: 'center', customRender: text => { return text || '--' } },
-        { title: '设备编号', dataIndex: 'srcDeviceCode', width: 200, align: 'center' },
+        { title: '设备编号', dataIndex: 'srcDeviceCode', width: 300, align: 'center' },
         { title: '箱体类型', dataIndex: 'deviceTypeName', width: 200, align: 'center', customRender: text => { return text || '--' } },
         { title: '内置箱体数', dataIndex: 'boxNum', width: 200, align: 'center' },
         { title: '版本', dataIndex: 'boxVersion', width: 200, align: 'center' },