feat: 位置字段改名为机房,移动到ID列后面;优化列表列宽和截断

This commit is contained in:
cnbugs
2026-04-28 12:57:59 +08:00
parent bbbec77c63
commit cb057b431e
5 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class Asset(models.Model):
serial_number = models.CharField('序列号', max_length=100, blank=True, default='', db_index=True)
# 位置信息
location = models.CharField('设备位置', max_length=200, blank=True, default='', help_text='楼层/房间/区域')
location = models.CharField('机房', max_length=200, blank=True, default='', help_text='楼层/房间/区域')
cabinet = models.CharField('机柜', max_length=50, blank=True, default='')
cabinet_position = models.CharField('机柜位置', max_length=50, blank=True, default='', help_text='U位')