|
|
@@ -8,24 +8,24 @@ from equipment.models import (IsolationPointFieldPoolInfo, IsolationPointInfo, I
|
8
|
8
|
|
9
|
9
|
|
10
|
10
|
class IsolationPointFieldPoolInfoAdmin(admin.ModelAdmin):
|
11
|
|
- list_display = ('field_type', 'field_key', 'field_name', 'field_options', 'status', 'updated_at', 'created_at')
|
|
11
|
+ list_display = ('field_type', 'field_key', 'field_name', 'field_options', 'status', 'created_at', 'updated_at')
|
12
|
12
|
|
13
|
13
|
|
14
|
14
|
class IsolationPointInfoAdmin(admin.ModelAdmin):
|
15
|
|
- list_display = ('point_id', 'point_name', 'point_fields', 'limit_scene_qrcode_url', 'status', 'updated_at', 'created_at')
|
|
15
|
+ list_display = ('point_id', 'point_name', 'point_fields', 'limit_scene_qrcode_url', 'status', 'created_at', 'updated_at')
|
16
|
16
|
|
17
|
17
|
|
18
|
18
|
class IsolationPointUserInfoAdmin(admin.ModelAdmin):
|
19
|
|
- list_display = ('point_id', 'user_id', 'fields', 'observed_days', 'chg_sta', 'temperature', 'last_submit_at', 'leave_at', 'status', 'updated_at', 'created_at')
|
|
19
|
+ list_display = ('point_id', 'user_id', 'fields', 'observed_days', 'chg_sta', 'temperature', 'last_submit_at', 'leave_at', 'status', 'created_at', 'updated_at')
|
20
|
20
|
|
21
|
21
|
|
22
|
22
|
class ThermometerEquipmentInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin):
|
23
|
|
- list_display = ('eqpt_id', 'point_id', 'macid', 'sn', 'active_status', 'active_at', 'ipui_pk', 'status', 'updated_at', 'created_at')
|
|
23
|
+ list_display = ('eqpt_id', 'point_id', 'macid', 'sn', 'active_status', 'active_at', 'ipui_pk', 'status', 'created_at', 'updated_at')
|
24
|
24
|
list_filter = ('point_id', 'status')
|
25
|
25
|
|
26
|
26
|
|
27
|
27
|
class ThermometerMeasureLogInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin):
|
28
|
|
- list_display = ('point_id', 'macid', 'sn', 'start_stamp', 'end_stamp', 'temperature_src', 'temperature', 'chg_sta', 'ignore_temperature', 'ignore_fever_temperature', 'status', 'updated_at', 'created_at')
|
|
28
|
+ list_display = ('point_id', 'macid', 'sn', 'start_stamp', 'end_stamp', 'temperature_src', 'temperature', 'chg_sta', 'ignore_temperature', 'ignore_fever_temperature', 'status', 'created_at', 'updated_at')
|
29
|
29
|
list_filter = ('point_id', 'temperature_src', 'chg_sta', 'ignore_temperature', 'ignore_fever_temperature', 'status')
|
30
|
30
|
|
31
|
31
|
|