"];
function getLogLink(data)
{
return "{% trans "employee" %}";
}
function strOfData(data)
{
return data[0]+" "+data[1];
}
function ActionHint(action, aName)
{
if(aName=="{% trans "delete" %}")
return ", \n{% trans "The operation will also remove these department-affiliated employee data" %}"
return ""
}
function delAllHint()
{
return "{% trans "Convinced that you want to delete all units" %}?\n{% trans "The operation will also remove these department-affiliated personnel data" %}!";
}
$(function(){
setTimeout(function() {
$("#delete_data").attr("title", "{% trans "Delete the following departments will delete all the staff information" %}");
},600);
$("#id_show_style").html('{% trans "Style:"%}{% trans "List style" %}'
+'{% trans "Tree style" %} ')
})
{% endblock %}
{% block rowdata %}
{% for item in latest_item_list %}
[{{item.DeptID}}, "{{ item.DeptName }}", "{{ item.Parent }}", getLogLink]{%if not forloop.last%},{%endif%}
{% endfor %}
{% endblock %}