|
|
@ -28,7 +28,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-3 control-label is-required">单位:</label>
|
|
|
|
<label class="col-sm-3 control-label is-required">所属单位:</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group">
|
|
|
|
<input name="depart" onclick="selectDeptTree()" id="treeName" type="text" placeholder="请选择单位" class="form-control" >
|
|
|
|
<input name="depart" onclick="selectDeptTree()" id="treeName" type="text" placeholder="请选择单位" class="form-control" >
|
|
|
@ -106,6 +106,13 @@
|
|
|
|
minView: "month",
|
|
|
|
minView: "month",
|
|
|
|
autoclose: true
|
|
|
|
autoclose: true
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
|
|
|
var deptId = [[${addleave.deptId}]];
|
|
|
|
|
|
|
|
var deptName = [[${addleave.dept.deptName}]];
|
|
|
|
|
|
|
|
$("#treeId").val(deptId);
|
|
|
|
|
|
|
|
$("#treeName").val(deptName);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|