fix: 部门禁用

This commit is contained in:
不胜舟
2023-06-21 19:43:33 +08:00
parent 90b6564ce6
commit 6cd58bbd9d
+1 -1
View File
@@ -61,7 +61,7 @@
</script> </script>
{% raw %} {% raw %}
<script type="text/html" id="dept-status"> <script type="text/html" id="dept-status">
<input type="checkbox" name="status" value="{{ d.deptId }}" lay-skin="switch" lay-text="启用|禁用" <input type="checkbox" name="status" value="{{ d.id }}" lay-skin="switch" lay-text="启用|禁用"
lay-filter="dept-enable" lay-filter="dept-enable"
{{# if(d.status==1){ }} checked {{# } }}> {{# if(d.status==1){ }} checked {{# } }}>
</script> </script>