<!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/webupload.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},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
|
|
$("#content").formValidator({onshow:"",onFocus:"处理内容不能为空"}).functionValidator({
|
fun:function(val,elem){
|
var text = content.isEmpty();
|
if(text) {
|
return "请输入处理内容";
|
}
|
return true;
|
}
|
});
|
|
})
|
</script>
|
|
<body class="end_task_body">
|
<div class="end_task">
|
<form id="myform" action="${base}/business/pages/releaseManage/addDealRecord.html" method="post">
|
<input type="hidden" value="${RequestParameters.orderId}" name="orderId">
|
<input type="hidden" value="${record.ID}" name="recordId">
|
<table>
|
<tr>
|
<th style="border-bottom:0px;">工单状态:</th>
|
<td id="solveWrap" style="border-bottom:0px;">
|
|
<p style="float:left;margin-right:10px;">
|
<input class="ropos" [#if record.STATE == 3]checked[/#if] name="qstate" type="radio" value="3"/><span>专家分析中</span>
|
</p>
|
<p style="float:left;margin-right:10px;">
|
<input class="ropos" [#if record.STATE == 4]checked[/#if] name="qstate" type="radio" value="4"/><span>已定位原因</span>
|
</p>
|
<p style="float:left;margin-right:10px;">
|
<input class="ropos" [#if record.STATE == 5]checked[/#if] name="qstate" type="radio" value="5"/><span>已有解决方案</span>
|
</p>
|
<p style="float:left;margin-right:10px;">
|
<input class="ropos" [#if record.STATE == 6]checked[/#if] name="qstate" type="radio" value="6"/><span>解决中</span>
|
</p>
|
<p style="float:left;margin-right:10px;">
|
<input class="ropos" [#if record.STATE == 7]checked[/#if] name="qstate" type="radio" value="7"/><span>问题观察中</span>
|
</p>
|
|
</tr>
|
<tr></tr>
|
|
</table>
|
<div class="edit_txt">
|
<div class="edit_con">
|
[@htmleditor simple="true" id="content" value="${record.CONTENT}"/]
|
<div id="contentTip" style="display:inline-block;"></div>
|
</div>
|
<div class="edit_btn clearfix">
|
<div class="upload_file" style="position:relative">
|
[@webupload id="files" multiple="true" extensions="*" fileList=record.files/]
|
</div>
|
</div>
|
</form>
|
</div>
|
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
$("#myform").submit();
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|