ZhiYeJianKang/职业健康平台后端/target/dzzyb/webpage/modules/phoneBox/phoneBoxDetail.jsp
2025-02-20 15:25:59 +08:00

92 lines
2.5 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
<meta name="decorator" content="default"/>
<script type="text/javascript">
function doSubmit(){
//确定回调
var officeId = $("#officeId").val(); // 机构id
var name = $("#name").val(); // 电话盒子
var linkman = $("#linkman").val(); // 联系人姓名
var phone = $("#phone").val(); // 电话
if (officeId == "" || name == "" || linkman == "" || phone == "" ) {
layer.msg("还有未填项")
return false;
}else{
$("#inputForm").submit();
return true;
}
}
</script>
</head>
<body>
<form id="inputForm" action="${ctx }/phoneBox/save" method="post" class="form-horizontal">
</br>
<table class="table table-bordered table-condensed dataTables-example dataTable no-footer" >
<tbody >
<tr id = "node">
<td class="active" colspan="1" width="25%"><label class="pull-right"><font color="red">*</font> 节点:</label></td>
<td colspan="1" >
<sys:mytreeselect id="officeId" name="officeId" value="" labelName="" labelValue=""
title="机构" url="/sys/office/treeData" cssClass=" form-control input-sm" allowClear="true"/>
</td>
</tr>
<tr>
<td class="active " colspan="1" width="25%"><label class="pull-right"><font color="red">*</font> 电话盒子:</label></td>
<td colspan="1" >
<input id='name' name = "name" type='text' class='form-control input-sm' style='margin-top:1px' value = ""/>
</td>
</tr>
<tr>
<td class="active" active" colspan="1" width="25%"><label class="pull-right"><font color="red">*</font> 联系人</label></td>
<td colspan="1" >
<input id='linkman' name = "linkman" type='text' class='form-control input-sm' style='margin-top:1px' value = ""/>
</td>
</tr>
<tr>
<td class=" active" colspan="1" width="25%"><label class="pull-right"><font color="red">*</font> 电话:</label></td>
<td class="" colspan="1" >
<input id='phone' name = "phone" type='text' class='form-control input-sm' style='margin-top:1px' value = ""/>
</td>
</tr>
<tr>
<td class=" active" colspan="1" width="25%"><label class="pull-right"><font color="red">*</font> 备注:</label></td>
<td class="" colspan="1" >
<input id='remarks' name = "remarks" type='text' class='form-control input-sm' style='margin-top:1px' value = ""/>
</td>
</tr>
</tbody>
</table>
</form>
</body>
</html>