<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>新增</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/sel.html" /]
|
<script type="text/javascript">
|
$(document).ready(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("2","操作",
|
{},
|
{"width":40,"height":40},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
});
|
</script>
|
|
</head>
|
|
<body>
|
|
|
<div>
|
<form id="myform" action="${base}/uc/saveYjbx.html" method="post">
|
<table class="basicinfo2" >
|
<tr>
|
<th class="postop" >报修标题:</th>
|
<td><input name="bx_title" id="bx_title" class="general" type="text" ></td>
|
</tr>
|
<tr>
|
<th class="postop" >报修内容:</th>
|
<td colspan="3"><textarea id="bx_content" name="bx_content" class="general"></textarea></td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
|
</body>
|
<script type="text/javascript">
|
|
//点击事件
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
$("#myform").submit();
|
}
|
}
|
|
</script>
|
</html>
|