mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-28 11:25:42 +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
|
@property
|
||||||
def spec_items(self):
|
def spec_items(self):
|
||||||
fields = self.ticket._meta.local_fields + self.ticket._meta.local_many_to_many
|
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]
|
item_names = [field.name for field in fields if field.name not in excludes]
|
||||||
return self._get_fields_items(item_names)
|
return self._get_fields_items(item_names)
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body>
|
<body>
|
||||||
<p> {{ approve_info }}</p>
|
<p> {{ approve_info }}</p>
|
||||||
|
{% if content %}
|
||||||
<br>
|
<br>
|
||||||
<div style="width:100%; overflow-x:scroll;">
|
<div style="width:100%; overflow-x:scroll;">
|
||||||
<table style="width:1000px; text-align:left">
|
<table style="width:1000px; text-align:left">
|
||||||
@ -20,5 +21,6 @@
|
|||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user