<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ include file="/WEB-INF/jspf/common.jspf" %>
<html>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>编码录入</title>
    <link rel="stylesheet" href="${path}/static/bootstrap-3.3.7/bower_components/bootstrap/dist/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="${path}/static/js/toastr.min.css" type="text/css">
    <link href="${path}/static/select2/select2.css" rel="stylesheet">
    <link rel="stylesheet" href="${path}/static/bootstrap-3.3.7/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css"/>
    <link rel="shortcut icon" href="${path}/static/js/favicon.ico">
    <script type="text/javascript" src="${path}/static/js/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="${path}/static/bootstrap-3.3.7/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${path}/static/js/toastr.min.js"></script>
    <script src="${path}/static/select2/select.js"></script>
    <!-- datepicker -->
    <script type="text/javascript" src="${path}/static/bootstrap-3.3.7/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
    <style>
        table{
            border-collapse:collapse;
            border-spacing:0;
            border-left:1px solid #888;
            border-top:1px solid #888;
            background:#fff;
        }
        th,td{
            border-right:1px solid #888;
            border-bottom:1px solid #888;
            padding:5px 15px;
            text-align: center;
        }
        th{
            font-weight:bold;
            background:#fff;
            font-size: 14px;
        }
        td{
            font-size:12px;
            height: 30px;
        }

        .pointerTd{
            cursor:pointer
        }
        input{
            width: 100%;
            border:none;
            border-radius:0;
            box-shadow: 0px 0px 0px 0px;
            color:blue;
            text-align:center;
        }
        input::-webkit-input-placeholder { /* WebKit browsers */
            color: blue;
        }

        input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
            color: blue;
        }

        input::-moz-placeholder { /* Mozilla Firefox 19+ */
            color: blue;
        }

        input:-ms-input-placeholder { /* Internet Explorer 10+ */
            color: blue;
        }
        .notRigheBorder{
            border-right: 0px;
            text-align: right;
        }
        .td1{
            font-weight: bold;
        }
        .left{
            float:left;
        }
        .spanClass{
            padding-top:5px;
        }
        .input{
            width: 80px;
        }
        .input1{
            width:30px;
        }
        .saveProvincialDiv{
            text-align: center;
        }
        .loading {
            width: 160px;
            height: 56px;
            position: absolute;
            top: 50%;
            left: 50%;
            line-height: 56px;
            color: #fff;
            padding-left: 60px;
            font-size: 15px;
            background: #000;
            opacity: 0.7;
            z-index: 9999;
            -moz-border-radius: 20px;
            -webkit-border-radius: 20px;
            border-radius: 20px;
            filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
        }
    </style>
    <script type="text/javascript">
        var path = "${path}"
    </script>
</head>
<body style="width:100%;height:100%;overflow: scroll">
<div id="myModal" class="modal fade" data-keyboard="false"
     data-backdrop="static" data-role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div id="loading" class="loading">加载中。。。</div>
</div>
<input type="hidden" id="patientId" value="${patientId}">
<form id="form1">
    <div>
        <table id="table1" style="margin-top: 20px;width: 100%">
            <tr>
                <th width='37%' height='30px' rowspan="2" colspan="2" align="center">出院诊断</th>
                <th width='12%' height='30px' rowspan="2" align="center">疾病编码</th>
                <th width='48%' height='30px' colspan="4" align="center">入院病情</th>
                <th width='3%' rowspan="2" height='30px'></th>
            </tr>
            <tr>
                <th width='12%' height='30px'>有</th>
                <th width='12%' height='30px'>临床未确定</th>
                <th width='12%' height='30px'>情况不明</th>
                <th width='12%' height='30px'>无</th>
            </tr>
            <input type="hidden" id="diagsLength" value="${fn:length(diags)}">
            <c:choose>
                <c:when test="${fn:length(diags) == 0}">
                    <tr>
                        <input type="hidden" name="diagNo">
                        <input type="hidden" name="trIndex" value="1">
                        <td class="notRigheBorder"><span style="font-weight: bold">主要诊断:</span></td>
                        <td>
                            <input type="text" id="diag_name1" onkeyup="getDiagNameContents('diag_name1')" onfocus="getDiagNameContents('diag_name1')" onblur="clearContent('diag_name1')" maxlength="100" name="diagName">
                            <div id="diag_name1Div">
                                <table id="diag_name1Content_table" bgcolor="#FFFAFA" border="0"
                                       cellspacing="0" cellpadding="0">
                                    <tbody id="diag_name1Content"> </tbody>
                                </table>
                            </div>
                        </td>
                        <td>
                            <input type="text" id="diag_code1" onkeyup="getDiagCodeContents('diag_code1')" onfocus="getDiagCodeContents('diag_code1')" onblur="clearContent('diag_code1')" maxlength="16" name="diagCode">
                            <div id="diag_code1Div">
                                <table id="diag_code1Content_table" bgcolor="#FFFAFA" border="0"
                                       cellspacing="0" cellpadding="0">
                                    <tbody id="diag_code1Content"> </tbody>
                                </table>
                            </div>
                        </td>
                        <td><input type="checkbox" onclick="checkBoxCheck(this)" value="1" name="checkbox1"></td>
                        <td><input type="checkbox" onclick="checkBoxCheck(this)" value="2" name="checkbox1"></td>
                        <td><input type="checkbox" onclick="checkBoxCheck(this)" value="3" name="checkbox1"></td>
                        <td><input type="checkbox" onclick="checkBoxCheck(this)" value="4" name="checkbox1"></td>
                        <td></td>
                    </tr>
                </c:when>
                <c:otherwise>
                    <c:forEach items="${diags}" var="diag" varStatus="diagIndex">
                        <tr>
                            <input type="hidden" name="diagNo" value="${diag.diagNo}">
                            <input type="hidden" name="trIndex" value="${diagIndex.index+1}">
                            <c:choose>
                                <c:when test="${diag.diagNo == 1}">
                                    <td class="notRigheBorder"><span style="font-weight: bold">主要诊断:</span></td>
                                </c:when>
                                <c:otherwise>
                                    <td class="notRigheBorder"><span style="font-weight: bold">其他诊断:</span></td>
                                </c:otherwise>
                            </c:choose>
                            <td>
                                <input type="text" id="diag_name${diagIndex.index+1}" onkeyup="getDiagNameContents('diag_name${diagIndex.index+1}')" onfocus="getDiagNameContents('diag_name${diagIndex.index+1}')" onblur="clearContent('diag_name${diagIndex.index+1}')" maxlength="100" name="diagName" value="${diag.diagName}">
                                <div id="diag_name${diagIndex.index+1}Div">
                                    <table id="diag_name${diagIndex.index+1}Content_table" bgcolor="#FFFAFA" border="0"
                                           cellspacing="0" cellpadding="0">
                                        <tbody id="diag_name${diagIndex.index+1}Content"> </tbody>
                                    </table>
                                </div>
                            </td>
                            <td>
                                <input type="text" id="diag_code${diagIndex.index+1}" onkeyup="getDiagCodeContents('diag_code${diagIndex.index+1}')" onfocus="getDiagCodeContents('diag_code${diagIndex.index+1}')" onblur="clearContent('diag_code${diagIndex.index+1}')" maxlength="16" name="diagCode" value="${diag.diagCode}">
                                <div id="diag_code${diagIndex.index+1}Div">
                                    <table id="diag_code${diagIndex.index+1}Content_table" bgcolor="#FFFAFA" border="0"
                                           cellspacing="0" cellpadding="0">
                                        <tbody id="diag_code${diagIndex.index+1}Content"> </tbody>
                                    </table>
                                </div>
                            </td>
                            <td><input type="checkbox" onclick="checkBoxCheck(this)" value="1" name="checkbox${diagIndex.index+1}" <c:if test="${diag.inhospstat == 1}">checked</c:if>></td>
                            <td><input type="checkbox" onclick="checkBoxCheck(this)" value="2" name="checkbox${diagIndex.index+1}" <c:if test="${diag.inhospstat == 2}">checked</c:if>></td>
                            <td><input type="checkbox" onclick="checkBoxCheck(this)" value="3" name="checkbox${diagIndex.index+1}" <c:if test="${diag.inhospstat == 3}">checked</c:if>></td>
                            <td><input type="checkbox" onclick="checkBoxCheck(this)" value="4" name="checkbox${diagIndex.index+1}" <c:if test="${diag.inhospstat == 4}">checked</c:if>></td>
                            <!--是否显示删除按钮 其他诊断才显示按钮-->
                            <c:choose>
                                <c:when test="${diag.diagNo == 1}">
                                    <td></td>
                                </c:when>
                                <c:otherwise>
                                    <td align="center" class="pointerTd" onclick="deletetr(this)"><span class="glyphicon glyphicon-remove"></span></td>
                                </c:otherwise>
                            </c:choose>
                        </tr>
                    </c:forEach>
                </c:otherwise>
            </c:choose>
            <%--<tr>
                <input type="hidden" name="diagNo">
                <input type="hidden" name="trIndex" value="1">
                <td class="notRigheBorder"><span style="font-weight: bold">主要诊断:</span></td>
                <td>
                    <input type="text" id="diag_name" onkeyup="getDiagNameContents('diag_name')" onfocus="getDiagNameContents('diag_name')" onblur="clearContent('diag_name')" maxlength="100" name="diagName">
                    <div id="diag_nameDiv">
                        <table id="diag_nameContent_table" bgcolor="#FFFAFA" border="0"
                               cellspacing="0" cellpadding="0">
                            <tbody id="diag_nameContent"> </tbody>
                        </table>
                    </div>
                </td>
                <td>
                    <input type="text" id="diag_code" onkeyup="getDiagCodeContents('diag_code')" onfocus="getDiagCodeContents('diag_code')" onblur="clearContent('diag_code')" maxlength="16" name="diagCode">
                    <div id="diag_codeDiv">
                        <table id="diag_codeContent_table" bgcolor="#FFFAFA" border="0"
                               cellspacing="0" cellpadding="0">
                            <tbody id="diag_codeContent"> </tbody>
                        </table>
                    </div>
                </td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="1" name="checkbox1"></td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="2" name="checkbox1"></td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="3" name="checkbox1"></td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="4" name="checkbox1"></td>
                <td></td>
            </tr>
            <tr>
                <input type="hidden" name="diagNo">
                <input type="hidden" name="trIndex" value="2">
                <td class="notRigheBorder otherDiag"><span style="font-weight: bold">其他诊断:</span></td>
                <td>
                    <input type="text" id="diag_name1" onkeyup="getDiagNameContents('diag_name1')" onfocus="getDiagNameContents('diag_name1')" onblur="clearContent('diag_name1')" maxlength="100" name="diagName">
                    <div id="diag_name1Div">
                        <table id="diag_name1Content_table" bgcolor="#FFFAFA" border="0"
                               cellspacing="0" cellpadding="0">
                            <tbody id="diag_name1Content"> </tbody>
                        </table>
                    </div>
                </td>
                <td>
                    <input type="text" id="diag_code1" onkeyup="getDiagCodeContents('diag_code1')" onfocus="getDiagCodeContents('diag_code1')" onblur="clearContent('diag_code1')" maxlength="16" name="diagCode">
                    <div id="diag_code1Div">
                        <table id="diag_code1Content_table" bgcolor="#FFFAFA" border="0"
                               cellspacing="0" cellpadding="0">
                            <tbody id="diag_code1Content"> </tbody>
                        </table>
                    </div>
                </td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="1" name="checkbox2"></td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="2" name="checkbox2"></td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="3" name="checkbox2"></td>
                <td><input type="checkbox" onclick="checkBoxCheck(this)" value="4" name="checkbox2"></td>
                <td></td>
            </tr>--%>
        </table>
        <table width="100%">
            <tr class="pointerTd" onclick="addtr()">
                <td align="center" style="height: 20px"><span class="glyphicon glyphicon-plus"></span></td>
            </tr>
        </table>
    </div>
    <div class="button_area_absolute">
        <table width="100%">
            <tr>
                <td align=center><button type="button" class="btn btn-sm btn-primary" onclick="saveDiag()">保存</button></td>
            </tr>
        </table>
    </div>
</form>

<form id="form2">
    <div>
        <table id="table2" style="margin-top: 50px">
            <input type="hidden" id="opersLength" value="${fn:length(operates)}">
            <tr>
                <th width='9%' height='30px' rowspan="2"  align="center">手术及操作日期</th>
                <th width='10%' height='30px' rowspan="2"  align="center">手术及操作编码</th>
                <th width='19%' height='30px' rowspan="2" align="center">手术及操作名称</th>
                <th width='8%' height='30px' rowspan="2" align="center">手术级别</th>
                <th width='21%' height='30px' colspan="3" align="center">手术及操作医师</th>
                <th width='8%' height='30px' rowspan="2" align="center">切口/愈合</th>
                <th width='8%' height='30px' rowspan="2" align="center">择期手术</th>
                <th width='11%' height='30px' rowspan="2" align="center">麻醉方式</th>
                <th width='11%' height='30px' rowspan="2" align="center">麻醉医师</th>
                <th width='1%' rowspan="2" height='30px'></th>
            </tr>
            <tr>
                <th width='7%' height='30px'>术者</th>
                <th width='7%' height='30px'>Ⅰ助</th>
                <th width='7%' height='30px'>Ⅱ助</th>
            </tr>
            <c:choose>
                <c:when test="${fn:length(operates) == 0}">
                   <tr>
                       <input type="hidden" name="operNos">
                        <td><input type="text" class="date" name="operDate"></td>
                        <td>
                            <input type="text"  id="operate_code1" onkeyup="getOperateCodeContents('operate_code1')" onfocus="getOperateCodeContents('operate_code1')" onblur="clearContent('operate_code1')" maxlength="16" name="operCode">
                            <div id="operate_code1Div">
                                <table id="operate_code1Content_table" bgcolor="#FFFAFA" border="0"
                                       cellspacing="0" cellpadding="0">
                                    <tbody id="operate_code1Content"> </tbody>
                                </table>
                            </div>
                        </td>
                        <td>
                            <input type="text"  id="operate_name1" onkeyup="getOperateNameContents('operate_name1')" onfocus="getOperateNameContents('operate_name1')" onblur="clearContent('operate_name1')" maxlength="100" name="operName">
                            <div id="operate_name1Div">
                                <table id="operate_name1Content_table" bgcolor="#FFFAFA" border="0"
                                       cellspacing="0" cellpadding="0">
                                    <tbody id="operate_name1Content"> </tbody>
                                </table>
                            </div>
                        </td>
                        <td>
                            <select class="operateClasses form-control input-sm" name="operateClasses" id="operateClasses">
                                <option value="">请选择</option>
                                <c:forEach items="${operateClasses}" var="operateClasse">
                                    <option value="${operateClasse.code}">${operateClasse.name}</option>
                                </c:forEach>
                            </select>
                        </td>
                        <td><input type="text" name="operators" maxlength="16"></td>
                        <td><input type="text" name="assistant1s" maxlength="16"></td>
                        <td><input type="text" name="assistant2s" maxlength="16"></td>
                        <td>
                            <!--切口/愈合-->
                            <select class="form-control input-sm" name="cuts" id="cuts">
                                <option value="">请选择</option>
                                <c:forEach items="${cutHealGrades}" var="cutHealGrade">
                                    <option value="${cutHealGrade.code}">${cutHealGrade.name}</option>
                                </c:forEach>
                            </select>
                        </td>
                        <td>
                            <!--是否手术-->
                            <select class="form-control input-sm" name="chossurgs" id="chossurgs">
                                <option value="">请选择</option>
                                <c:forEach items="${whether}" var="whether">
                                    <option value="${whether.code}">${whether.name}</option>
                                </c:forEach>
                            </select>
                        </td>
                        <td>
                            <!--麻醉方式-->
                            <select class="form-control input-sm" name="anaesthesiaTypes" id="anaesthesiaTypes">
                                <option value="">请选择</option>
                                <c:forEach items="${anaesthesias}" var="anaesthesia">
                                    <option value="${anaesthesia.code}">${anaesthesia.name}</option>
                                </c:forEach>
                            </select>
                        </td>
                        <td><input type="text" name="anaesthesiaNames" maxlength="16"></td>
                        <td></td>
                    </tr>
                </c:when>
                <c:otherwise>
                    <c:forEach items="${operates}" var="operate" varStatus="operateIndex">
                        <tr>
                            <input type="hidden" name="operNos" value="${operate.operateNo}">
                            <td><input type="text" class="date" name="operDate" value="<fmt:formatDate value="${operate.operateDate}" pattern="yyyy-MM-dd"/>"></td>
                            <td>
                                <input type="text"  id="operate_code${operateIndex.index+1}" onkeyup="getOperateCodeContents('operate_code${operateIndex.index+1}')" onfocus="getOperateCodeContents('operate_code${operateIndex.index+1}')" onblur="clearContent('operate_code${operateIndex.index+1}')" maxlength="16" name="operCode" value="${operate.operateCode}">
                                <div id="operate_code${operateIndex.index+1}Div">
                                    <table id="operate_code${operateIndex.index+1}Content_table" bgcolor="#FFFAFA" border="0"
                                           cellspacing="0" cellpadding="0">
                                        <tbody id="operate_code${operateIndex.index+1}Content"> </tbody>
                                    </table>
                                </div>
                            </td>
                            <td>
                                <input type="text"  id="operate_name${operateIndex.index+1}" onkeyup="getOperateNameContents('operate_name${operateIndex.index+1}')" onfocus="getOperateNameContents('operate_name${operateIndex.index+1}')" onblur="clearContent('operate_name${operateIndex.index+1}')" maxlength="100" name="operName" value="${operate.operateName}">
                                <div id="operate_name${operateIndex.index+1}Div">
                                    <table id="operate_name${operateIndex.index+1}Content_table" bgcolor="#FFFAFA" border="0"
                                           cellspacing="0" cellpadding="0">
                                        <tbody id="operate_name${operateIndex.index+1}Content"> </tbody>
                                    </table>
                                </div>
                            </td>
                            <td>
                                <select class="operateClasses form-control input-sm" name="operateClasses" <c:if test="${operateIndex.index == 0}">id="operateClasses"</c:if>>
                                    <option value="">请选择</option>
                                    <c:forEach items="${operateClasses}" var="operateClasse">
                                        <option value="${operateClasse.code}" <c:if test="${operateClasse.code == operate.operateClass}">selected</c:if>>${operateClasse.name}</option>
                                    </c:forEach>
                                </select>
                            </td>
                            <td><input type="text" name="operators" value="${operate.operator}" maxlength="16"></td>
                            <td><input type="text" name="assistant1s" value="${operate.assistant1}" maxlength="16"></td>
                            <td><input type="text" name="assistant2s" value="${operate.assistant2}" maxlength="16"></td>
                            <td>
                                <!--切口/愈合-->
                                <select class="form-control input-sm" name="cuts" <c:if test="${operateIndex.index == 0}">id="cuts"</c:if>>
                                    <option value="">请选择</option>
                                    <c:forEach items="${cutHealGrades}" var="cutHealGrade">
                                        <option value="${cutHealGrade.code}" <c:if test="${cutHealGrade.code == operate.cut}">selected</c:if>>${cutHealGrade.name}</option>
                                    </c:forEach>
                                </select>
                            </td>
                            <td>
                                <!--是否手术-->
                                <select class="form-control input-sm" name="chossurgs" <c:if test="${operateIndex.index == 0}">id="chossurgs"</c:if>>
                                    <option value="">请选择</option>
                                    <c:forEach items="${whether}" var="whether">
                                        <option value="${whether.code}" <c:if test="${whether.code == operate.chossurg}">selected</c:if>>${whether.name}</option>
                                    </c:forEach>
                                </select>
                            </td>
                            <td>
                                <!--麻醉方式-->
                                <select class="form-control input-sm" name="anaesthesiaTypes" <c:if test="${operateIndex.index == 0}">id="anaesthesiaTypes"</c:if>>
                                    <option value="">请选择</option>
                                    <c:forEach items="${anaesthesias}" var="anaesthesia">
                                        <option value="${anaesthesia.code}" <c:if test="${anaesthesia.code == operate.anaesthesiaType}">selected</c:if>>${anaesthesia.name}</option>
                                    </c:forEach>
                                </select>
                            </td>
                            <td><input type="text" name="anaesthesiaNames" value="${operate.anaesthesiaName}" maxlength="16"></td>
                            <!--是否显示删除按钮 其他诊断才显示按钮-->
                            <c:choose>
                                <c:when test="${operate.operateNo == 1}">
                                    <td></td>
                                </c:when>
                                <c:otherwise>
                                    <td align="center" class="pointerTd" onclick="deletetr(this)"><span class="glyphicon glyphicon-remove"></span></td>
                                </c:otherwise>
                            </c:choose>
                        </tr>
                    </c:forEach>
                </c:otherwise>
            </c:choose>
        </table>
        <table width="100%">
            <tr class="pointerTd" onclick="addtr1()">
                <td align="center" style="height: 20px"><span class="glyphicon glyphicon-plus"></span></td>
            </tr>
        </table>
    </div>
    <div class="button_area_absolute">
        <table width="100%">
            <tr>
                <td align=center><button type="button" class="btn btn-sm btn-primary" onclick="saveOper()">保存</button></td>
            </tr>
        </table>
    </div>
</form>

<!--肿瘤-->
<form id="form3">
    <input type="hidden" name="patientId" value="${patientId}">
    <div>
        <table id="table3" style="margin-top: 20px;width: 100%">
            <tr>
                <td class="td1" colspan="6">
                    <span class="spanClass left">肿瘤分期类型</span>
                    <select class="form-control input-sm left" style="width:80px" id="stagesType" name="tumorStagingType">
                        <option value="">请选择</option>
                        <option value="T">T</option>
                        <option value="N">N</option>
                        <option value="M">M</option>
                    </select>
                    <span class="spanClass left">分期</span>
                </td>
            </tr>
            <tr>
                <td class="td1" colspan="6">
                    <span class="spanClass left">I.放疗  &nbsp;方式:</span>
                    <select class="form-control input-sm left" style="width:100px" id="radiotherapyType" name="radiotherapyType"></select>
                    <span class="spanClass left">程式:</span>
                    <select class="form-control input-sm left" style="width:100px" id="radiotherapyProgram" name="radiotherapyProgram"></select>
                    <span class="spanClass left">装置:</span>
                    <select class="form-control input-sm left" style="width:100px" id="radiotherapyDevice" name="radiotherapyDevice"></select>
                </td>
            </tr>
            <tr id="block">
                <%--<td colspan="6" id="radiotherapy1">
                    <span class="left">1.原发灶(首次、复次)剂量：</span>
                    <input class="left input1" maxlength="16" name="primaryTumorDose" id="primaryTumorDose"/>
                    <span class="left">CY/</span>
                    <input class="left input1" type="number" min="1" maxlength="16" name="primaryTumorTimes" id="primaryTumorTimes"/>
                    <span class="left">次/</span>
                    <input class="left input1" maxlength="16" name="primaryTumorDay" id="primaryTumorDay"/>
                    <span class="left">天；起止日期</span>
                    <input class="left date input" name="primaryTumorStarttime" id="primaryTumorStarttime"/>
                    <span class="left">至</span>
                    <input class="left date input" name="primaryTumorEndtime" id="primaryTumorEndtime"/>
                </td>--%>
            </tr>
            <%--<tr>
                <td colspan="6" id="radiotherapy2" style="display: none">
                    <span class="left">2.区域淋巴结(首次、复次)剂量：</span>
                    <input class="left input1" maxlength="16" name="radiotherapyDos"/>
                    <span class="left">CY/</span>
                    <input class="left input1" type="number" min="1" maxlength="16" name="times"/>
                    <span class="left">次/</span>
                    <input class="left input1" maxlength="16" name="days"/>
                    <span class="left">天；起止日期</span>
                    <input class="left date input" name="startDate"/>
                    <span class="left">至</span>
                    <input class="left date input" name="endDate"/>
                </td>
            </tr>
            <tr>
                <td colspan="6" id="radiotherapy3" style="display: none">
                    <span class="left">3.转移灶剂量：</span>
                    <input class="left input1" maxlength="16" name="radiotherapyDos"/>
                    <span class="left">CY/</span>
                    <input class="left input1" type="number" min="1" maxlength="16" name="times"/>
                    <span class="left">次/</span>
                    <input class="left input1" maxlength="16" name="days"/>
                    <span class="left">天；起止日期</span>
                    <input class="left date input" name="startDate"/>
                    <span class="left">至</span>
                    <input class="left date input" name="endDate"/>
                </td>
            </tr>--%>
            <tr>
                <td class="td1" colspan="6">
                    <div style="width: 100%">
                        <span class="spanClass left">II.化疗 方式:</span>
                        <select class="form-control input-sm left" style="width:100px" id="chemotherapyType" name="chemotherapyType"></select>
                    </div>
                    <div style="width: 100%">
                        <span class="spanClass left">方法:</span>
                        <select class="form-control input-sm left" style="width:100px" id="chemotherapyMethod" name="chemotherapyMethod"></select>
                    </div>
                </td>
            </tr>
            <tr>
                <th>开始日期</th>
                <th>结束日期</th>
                <th>药物名称(剂量)</th>
                <th>疗程</th>
                <th>疗效(消失、显效、稳定、进展、未定)</th>
                <th></th>
            </tr>
        </table>
        <input type="hidden" id="startTimes" name="startTimes"/>
        <input type="hidden" id="endTimes" name="endTimes"/>
        <input type="hidden" id="drugNameAndDoses" name="drugNameAndDoses"/>
        <input type="hidden" id="treatmentCourses" name="treatmentCourses"/>
        <input type="hidden" id="curativeEffects" name="curativeEffects"/>
        <table width="100%">
            <tr class="pointerTd" onclick="addtr2()">
                <td align="center" style="height: 20px"><span class="glyphicon glyphicon-plus"></span></td>
            </tr>
        </table>
    </div>
    <div class="button_area_absolute">
        <table width="100%">
            <tr>
                <td align=center><button type="button" class="btn btn-sm btn-primary" onclick="saveTumour()">保存</button></td>
            </tr>
        </table>
    </div>
</form>
<div class="saveProvincialDiv">
    <button type="button" class="btn btn-sm btn-danger" onclick="saveProvincial()">提交省厅</button>
</div>
<script type="text/javascript" src="${path}/static/js/commom.js"></script>
<script type="text/javascript" src="${path}/static/js/recordManage/commomSearch/codeTable.js"></script>
<script type="text/javascript" src="${path}/static/js/recordManage/commomSearch/inputSearchCommom.js"></script>
</body>
</html>