mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-28 03:21:12 +00:00
fix: 修复工单火狐浏览器上页面展示 (#8753)
Co-authored-by: feng626 <1304903146@qq.com>
This commit is contained in:
parent
2f8a07e665
commit
4cad5affec
@ -87,7 +87,7 @@ class BaseTicketMessage(UserMessage):
|
||||
@property
|
||||
def spec_items(self):
|
||||
fields = self.ticket._meta.local_fields + self.ticket._meta.local_many_to_many
|
||||
excludes = ['ticket_ptr']
|
||||
excludes = ['ticket_ptr', 'flow']
|
||||
item_names = [field.name for field in fields if field.name not in excludes]
|
||||
return self._get_fields_items(item_names)
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
<html lang="en">
|
||||
<body>
|
||||
<p> {{ approve_info }}</p>
|
||||
{% if content %}
|
||||
<br>
|
||||
<div style="width:100%; overflow-x:scroll;">
|
||||
<table style="width:1000px; text-align:left">
|
||||
@ -20,5 +21,6 @@
|
||||
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user