فهرست منبع

[26110601] 设备管理页表格列宽调整: 序号120/状态120/投运日期180, 其余列不限制宽度

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
taosj 7 ساعت پیش
والد
کامیت
3d3ea0ed78
1فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 9 9
      forecast-backend-vue/src/views/ufo/electricity/device/TurbineInfo.vue

+ 9 - 9
forecast-backend-vue/src/views/ufo/electricity/device/TurbineInfo.vue

@@ -136,24 +136,24 @@ const rules = {
 
 const columns = [
   {
-    title: '序号', width: 60, align: 'center',
+    title: '序号', width: 120, align: 'center',
     customRender: ({index}) => (pagination.current - 1) * pagination.pageSize + index + 1
   },
   {title: '设备名称', dataIndex: 'name'},
-  {title: '通道', dataIndex: 'channelName', width: 140},
-  {title: '所属场站', dataIndex: 'stationName', width: 160},
+  {title: '通道', dataIndex: 'channelName'},
+  {title: '所属场站', dataIndex: 'stationName'},
   {
-    title: '设备类型', dataIndex: 'tp', width: 100,
+    title: '设备类型', dataIndex: 'tp',
     customRender: ({text}) => (text === 'WEATHER' ? '气象设备' : text === 'AGVC' ? 'agvc设备' : text)
   },
-  {title: '品牌', dataIndex: 'brand', width: 110},
-  {title: '型号', dataIndex: 'model', width: 120},
-  {title: '序列号', dataIndex: 'serialNumber', width: 120},
+  {title: '品牌', dataIndex: 'brand'},
+  {title: '型号', dataIndex: 'model'},
+  {title: '序列号', dataIndex: 'serialNumber'},
   {
-    title: '状态', dataIndex: 'status', width: 80,
+    title: '状态', dataIndex: 'status', width: 120,
     customRender: ({text}) => (text === 'GOOD' ? '在线' : '离线')
   },
-  {title: '投运日期', dataIndex: 'installDate', width: 110}
+  {title: '投运日期', dataIndex: 'installDate', width: 180}
 ];
 
 const resetObject = (target, source = {}) => {