!1 修改root部门时sql会报错, 原因是edit页面没把ancestors传回来
Merge pull request !1 from 贪吃的猛犸象/N/A
This commit is contained in:
commit
ea693a6297
|
|
@ -7,6 +7,7 @@
|
||||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
<form class="form-horizontal m" id="form-dept-edit" th:object="${dept}">
|
<form class="form-horizontal m" id="form-dept-edit" th:object="${dept}">
|
||||||
<input name="deptId" type="hidden" th:field="*{deptId}" />
|
<input name="deptId" type="hidden" th:field="*{deptId}" />
|
||||||
|
<input name="ancestors" type="hidden" th:field="*{ancestors}" />
|
||||||
<input id="treeId" name="parentId" type="hidden" th:field="*{parentId}" />
|
<input id="treeId" name="parentId" type="hidden" th:field="*{parentId}" />
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-3 control-label">上级部门:</label>
|
<label class="col-sm-3 control-label">上级部门:</label>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue