<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>填写解决方法</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/HtmlEditor.html" /]
|
[#include "/component/webupload.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("0","操作",
|
{},
|
{"width":40,"height":40},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
|
|
return true;
|
}});
|
|
|
$("#change_note").formValidator({onshow:"变更需求说明不能为空",onFocus:"变更需求说明不能为空"}).functionValidator({
|
fun:function(val,elem){
|
var text = resolve.isEmpty();
|
if(text) {
|
return "请输入变更需求说明";
|
}
|
return true;
|
}
|
});
|
|
$("#resolve").formValidator({onshow:"实施方案总结不能为空",onFocus:"实施方案总结不能为空"}).functionValidator({
|
fun:function(val,elem){
|
var text = resolve.isEmpty();
|
if(text) {
|
return "请输入实施方案总结";
|
}
|
return true;
|
}
|
});
|
|
|
});
|
|
|
</script>
|
|
</head>
|
|
<body class="end_task_body">
|
<div class="end_task">
|
<form id="myform" action="" method="post">
|
<table>
|
<tr>
|
<th style="border-bottom:0px;">解决方式:</th>
|
<td id="solveWrap" style="border-bottom:0px;">
|
[#if ways?? && ways?size>0]
|
[#list ways as way]
|
<p style="float:left;margin-right:10px;">
|
<input class="ropos" [#if way_index == 0]checked[/#if] name="solveWay" type="radio" value="${way.DATAKEY}"/><span>${way.DATAVALUE}</span>
|
</p>
|
[/#list]
|
<input type="hidden" name="solveWayName" id="solveWayName" >
|
[/#if]
|
</tr>
|
|
<tr><th>变更需求说明:</th><td>
|
[@htmleditor id="change_note" simple="true" class="general" height="200px;" /]
|
<div id="change_noteTip" style="display:inline-block;"></div>
|
</td></tr>
|
|
<tr><th>实施方案总结:</th><td>
|
[@htmleditor id="resolve" simple="true" class="general" height="200px;" /]
|
<div id="resolveTip" style="display:inline-block;"></div>
|
</td></tr>
|
|
</table>
|
<div class="edit_txt">
|
<div class="edit_btn clearfix">
|
<div class="upload_file" style="position:relative">
|
[@webupload id="files" multiple="true" extensions="*" /]
|
</div>
|
</div>
|
</div>
|
</form>
|
</div>
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
var solveWayName = $(":radio:checked").parent().next("span").text();
|
$("#solveWayName").val(solveWayName);
|
if(btnID == "btnSure"+dialogID){
|
$("#myform").submit();
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|