{% for c in object.column %}{% if c.can_search and c.dic_type and c.form_type == 'select' %}
{% elif c.can_search and c.search_type == 'range' and c.form_type == 'date'%}
{{c.date_range_filter_list.search_item|safe}}
{% elif c.can_search and c.search_type == 'range' and c.form_type == 'time'%}
{{c.date_range_filter_list.search_item|safe}}
{% elif c.can_search and c.form_type == 'date'%}
{% elif c.can_search and c.form_type == 'time'%}
{% elif c.can_search and c.search_type == 'range' and c.form_type in input_range_form_type %}
{{c.input_range_filter_list.search_item|safe}}
{% elif c.can_search and c.dic_type %}
{% elif c.can_search %}
{% endif %}{% endfor %}
查询
重置
新增
删除
导出
{% for c in object.column %}{% if c.list_display_custom %}
{{c.list_display_custom | safe}}
{% elif c.field_type == 'ForeignKey' or c.field_type == 'OneToOneField' or c.field_type == 'ManyToManyField' %}
{% templatetag openvariable %} scope.row.{{c.field_name}}_lyautocode_name {% templatetag closevariable %}
{% elif c.form_type == 'picture-single' %}
{% elif c.form_type == 'picture-upload' %}
{% elif c.form_type == 'file-upload' %}
{% templatetag openvariable %} !!scope.row.{{c.field_name}}?scope.row.{{c.field_name}}.split(',').length:0 {% templatetag closevariable %}个
{% elif c.field_type == 'BooleanField' and c.dic_type %}
{% templatetag openvariable %} item.label {% templatetag closevariable %}
{% templatetag openvariable %} item.label {% templatetag closevariable %}
{% elif c.dic_type and c.form_type == 'checkbox' %}
{% templatetag openvariable %} item.label {% templatetag closevariable %}|
{% elif c.dic_type %}
{% templatetag openvariable %} item.label {% templatetag closevariable %}
{% else %}
{% endif %}{% endfor %}
详情
编辑
删除
{% for c in object.column %}
{% if c.form_type == 'password' %}
{% elif c.form_type == 'textarea' %}
{% elif c.form_type == 'input' %}
{% elif c.form_type == 'number' %}
{% elif c.form_type == 'switch' %}
{% elif c.field_type == 'ForeignKey' and ForeignKeyList|length > 0 %}
{% elif c.field_type == 'OneToOneField' and ForeignKeyList|length > 0 %}
{% elif c.field_type == 'ManyToManyField' and ForeignKeyList|length > 0 %}
{% elif c.form_type == 'select' %}
{% elif c.form_type == 'radio' %}
{% templatetag openvariable %} rditem.label {% templatetag closevariable %}
{% elif c.form_type == 'checkbox' %}
{% templatetag openvariable %} option.label {% templatetag closevariable %}
{% elif c.form_type == 'date' %}
{% elif c.form_type == 'date-range' %}
{% elif c.form_type == 'time' %}
{% elif c.form_type == 'time-range' %}
{% elif c.form_type == 'picture-single' %}
{% elif c.form_type == 'picture-upload' %}
{% elif c.form_type == 'file-upload' %}
拖拽文件到这 或 点击上传
{% elif c.form_type == 'rich-text' %}
{% endif %}
{% endfor %}
取消
确定