<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>健康检查</title>
|
|
</head>
|
|
<body class="fullscreen">
|
|
[#include "/business/pages/include/static.html" /]
|
[#include "/business/pages/include/header.html" /]
|
[#include "/component/flowInfo.html" /]
|
|
<div class="fs_navpath">
|
<h3>当前位置</h3>
|
<span></span>
|
<a href="${base}/business/pages/health/myHealthList.html">健康检查 </a>
|
<span></span>
|
<em>人员指派</em>
|
</div>
|
|
<div class="fs_navtitle" id="fsNavtitle">
|
<div class="fs_navtitle_con">
|
<h2>人员指派</h2>
|
<div class="fsnt_btn">
|
<a id="fb_submit" class="fb_submit"><span>提交</span></a>
|
<a class="mainbtn close" href="javascript:closeWorkFlow()"><span>关闭工单</span></a>
|
</div>
|
</div>
|
</div>
|
<div class="fs_main clearfix">
|
<div class="fsm_left nopadding" id="fsmLeft">
|
<div class="deal_switch">
|
<div class="dls_btn" id="dlsBtn">
|
<a class="basicinfo focus"><span><em>基本信息</em></span></a>
|
<a class="dealrem"><span><em>处理记录</em></span></a>
|
<a class="relaorder"><span><em>关联工单</em></span></a>
|
<a class="filedoc"><span><em>文档附件</em></span></a>
|
<!--<a class="flowchart"><span><em>流程图</em></span></a>-->
|
<a class="flowrecord"><span><em>流转记录</em></span></a>
|
</div>
|
</div>
|
<div class="deal_switch_wrap">
|
<!-- 基本信息 -->
|
<div class="deal_switch_con iframecon" style="display:block;">
|
<iframe name="baseInfo" id="baseInfo" src="${base}/business/pages/health/dispatchHealthInfo.html?flowId=${RequestParameters.flowId}&orderId=${RequestParameters.orderId}&nodeId=${RequestParameters.nodeId}" frameborder="0" width="100%" height="800px"></iframe>
|
</div>
|
|
<!-- 处理记录 -->
|
<div class="deal_switch_con iframecon" style="display:none;">
|
<iframe src="${base}/business/pages/incident/dealRecord.html?flowId=${RequestParameters.flowId}&folderId=${Constants.GG_FOLDERS_JKJCFOLDERS}" width="100%" height="600px" id="recordIframe"></iframe>
|
</div>
|
|
<!-- 关联工单 -->
|
<div class="deal_switch_con iframecon" style="display:none;">
|
<iframe src="${base}/business/pages/incident/orders.html?flowId=${RequestParameters.flowId}" width="100%" height="600px" id="orderIframe"></iframe>
|
</div>
|
|
<!-- 文档附件 -->
|
<div class="deal_switch_con iframecon" style="display:none;">
|
<iframe src="${base}/business/pages/incident/files.html?flowId=${RequestParameters.flowId}&folderId=${Constants.GG_FOLDERS_JKJCFOLDERS}" width="100%" height="600px" id="fileIframe"></iframe>
|
</div>
|
|
<!-- 流程图 -->
|
<!--<div class="deal_switch_con" style="display:none;">流程图</div> -->
|
|
<!-- 流转记录 -->
|
<div class="deal_switch_con iframecon" style="display:none;">
|
<iframe src="${base}/business/pages/incident/lcRecord.html?flowId=${RequestParameters.flowId}" width="100%" height="600px" id="lzIframe"></iframe>
|
</div>
|
</div>
|
</div>
|
[@flowInfo orderFlowInfo = orderFlowInfo/]
|
|
|
</div>
|
<script type="text/javascript">
|
|
|
//响应方法
|
function answer() {
|
window.top.openDialog("3","工单响应",
|
{},
|
{"width":50,"height":50,"noclose":true},
|
[{btnId:"btnSure3", btnName:"确定", btnStyle:"bluebtn"}],"${base}/business/pages/health/nodeAnswer.html?nodeId=${RequestParameters.nodeId}&flowId=${RequestParameters.flowId}");
|
}
|
|
//关闭工单
|
function closeWorkFlow(orderId,nodeId){
|
var orderId = '${RequestParameters.orderId}';
|
var nodeId = '${RequestParameters.nodeId}';
|
var flowId = '${RequestParameters.flowId}';
|
window.top.openDialog("0","关闭工单",
|
{},
|
{"width":"55","height":"40"},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/health/closeWorkFlow.html?flowId="+flowId+"&orderId="+orderId+"&nodeId="+nodeId);
|
}
|
|
|
$(function() {
|
var isAnswer = '${isAnswer}';
|
if(isAnswer=="true"){
|
answer();
|
}
|
//iframe页签点击事件
|
$("#dlsBtn>a").click(function() {
|
var index = $("#dlsBtn>a").index(this);
|
$("#dlsBtn>a").removeClass("focus");
|
$(this).addClass("focus");
|
|
var $dom = $("div.deal_switch_con:eq("+index+")");
|
$("div.deal_switch_con").hide();
|
$dom.show();
|
})
|
|
|
//提交按钮点击事件
|
$("#fb_submit").click(function(){
|
var w=window.top.document.getElementById("baseInfo").contentWindow.document;
|
var $w=$(w);
|
var contacts_name=$w.find("#contacts_name").val();
|
var contacts_tel=$w.find("#contacts_tel").val();
|
var plan_time=$w.find("#plan_time").val();
|
if(contacts_name==""){
|
window.top.popupTips("请填写联系人");
|
return;
|
}
|
if($.util.isEmpty(contacts_tel)) {
|
window.top.popupTips("联系方式不能为空");
|
return;
|
}
|
if(!$.util.isMobile(contacts_tel) && !$.util.isTelphone(contacts_tel)) {
|
window.top.popupTips("联系方式格式不正确");
|
return;
|
}
|
if(plan_time==""){
|
window.top.popupTips("请选择巡检执行日期");
|
return;
|
}
|
window.top.openDialog("0","申请审批",
|
{},
|
{"width":"60","height":"60"},
|
[{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/health/dispatchCommit.html?projectId=${orderFlowInfo.PROJECT_ID}");
|
|
});
|
})
|
|
</script>
|
|
|
[#include "/business/pages/include/footer.html" /]
|
</body>
|
</html>
|