Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/28b111d2f58ebb8b46cc7bb45d2c8ccd53ff3bd7?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
11 additions and
4 deletions
@ -28,10 +28,10 @@
< / 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" >
< span class = "input-group-addon" > < i class = "fa fa-search" > < / i > < / span >
< span class = "input-group-addon" > < i class = "fa fa-search" > < / i > < / span >
< / div >
< / div >
@ -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 >
@ -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" required onclick = "selectDeptTree()" id = "treeName" type = "text" placeholder = "请选择单位" class = "form-control" th:field = "*{depart}" >
< input name = "depart" required onclick = "selectDeptTree()" id = "treeName" type = "text" placeholder = "请选择单位" class = "form-control" th:field = "*{depart}" >
@ -106,7 +106,7 @@
},
},
{
{
field: 'depart',
field: 'depart',
title: '单位'
title: '所属 单位'
},
},
{
{
field: 'leavedate',
field: 'leavedate',