<!DOCTYPE html>
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
<head>
|
<th:block th:include="include :: header('修改数据来源')" />
|
</head>
|
<body class="white-bg">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<form class="form-horizontal m" id="form-source-edit" th:object="${dataSource}">
|
<input name="ids" th:field="*{ids}" type="hidden">
|
<div class="form-group">
|
<label class="col-sm-3 control-label">数据来源:</label>
|
<div class="col-sm-8">
|
<input name="dataSource" th:field="*{dataSource}" class="form-control" type="text">
|
</div>
|
</div>
|
<!-- <div class="form-group"> -->
|
<!-- <label class="col-sm-3 control-label">平台密钥:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <input name="secretKey" th:field="*{secretKey}" class="form-control" type="text">-->
|
<!-- </div>-->
|
<!-- </div>-->
|
</form>
|
</div>
|
<th:block th:include="include :: footer" />
|
<script type="text/javascript">
|
var prefix = ctx + "geo/source";
|
$("#form-source-edit").validate({
|
focusCleanup: true
|
});
|
|
function submitHandler() {
|
if ($.validate.form()) {
|
$.operate.save(prefix + "/edit", $('#form-source-edit').serialize());
|
}
|
}
|
</script>
|
</body>
|
</html>
|