<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>问题挂起</title>
|
|
|
</head>
|
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/HtmlEditor.html" /]
|
[#include "/component/newupload.html" /]
|
|
<script type="text/javascript">
|
$(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("1","操作",
|
{},
|
{"width":40,"height":40,"noclose":true},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
|
|
$("#content").formValidator({empty:false,onFocus:"请输入备注!"}).inputValidator({min:2,max:50,onError:"备注为1-25个汉字!"});
|
|
})
|
</script>
|
|
<body class="end_task_body">
|
<div class="end_task">
|
<form id="myform" action="" method="post">
|
<table>
|
<tr>
|
<th style="border-bottom:0px;width:100px;">挂起原因:</th>
|
<td id="solveWrap" style="border-bottom:0px;">
|
[#if ways?? && ways?size>0]
|
[#list ways as re]
|
<p style="float:left;margin-right:10px;">
|
<input class="ropos" [#if re_index==0]checked[/#if] name="solveWay" type="radio" value="${re.DATAKEY}"/><span>${re.DATAVALUE}</span>
|
</p>
|
[/#list]
|
<input type="hidden" name="solveWayName" id="solveWayName" >
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
<th><label class="required" >备注:</label></th>
|
<td>
|
<textarea class="general" style="width:80%;" id="content" name="content"></textarea>
|
<div id="contentTip" style="display:inline-block;"></div>
|
</td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
var solveWayName = $(":radio:checked").next("span").text();
|
$("#solveWayName").val(solveWayName);
|
if(btnID == "btnSure"+dialogID){
|
$("#myform").submit();
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|