【调度系统】广东民航医疗快线调度系统源代码
hzj
2025-07-09 678e0c321125e7b43f28875a661481f9bd358b06
feat(派单系统): 添加针对转运组的敏感信息隐藏功能
1个文件已添加
2个文件已修改
258 ■■■■ 已修改文件
Report_DispatchDetailed.php 195 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
camepay @ 9b8a71 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
m_DispatchOrder.gds 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Report_DispatchDetailed.php
@@ -347,201 +347,6 @@
                                </div>
                            </li>
                            <li>
                                <div class="search">
                                <div id="Date_container" class="select-container" style="overflow: hidden;cursor:pointer" onclick="JS_OrdDateType()">
                                     <span class="select-content" style="width: 46px;" id="OrdDateType_span">期间:<?php echo $OrdDateTypeName?></span><span class="arrow" id="Date_arrow"></span>
                                </div>
                                <div id="Date_list" class="select-list scroll-pane" style="overflow: hidden; position: absolute; background-color: white; width: 65px; display: none;background-position: initial initial; background-repeat: initial initial;margin-left: 35px;">
                                    <div class="jspContainer" style="width: 63px;">
                                        <div style="padding: 0px; top: 0px; width: 63px;">
                                        <?php for($i=0;$i<count($OrdDateTypes);$i++) {?>
                                          <span title="<?php echo $OrdDateTypes[$i][1]?>" onmouseover="JS_OrdDateTypeMouseover('OrdDateType_<?php echo $OrdDateTypes[$i][0]?>')" onclick="JS_OrdDateTypeJump2('<?php echo $OrdDateTypes[$i][0]?>','期间:<?php echo $OrdDateTypes[$i][1]?>')" id="OrdDateType_<?php echo $OrdDateTypes[$i][0]?>" class="list-option<?php if ($OrdDateTypes[$i][0]==$OrdDateType){echo " option";}?>"><?php echo $OrdDateTypes[$i][1]?></span>
                                        <?php }?>
                                        <span title="自定义" onmouseover="JS_OrdDateTypeMouseover('OrdDateType_0')" onclick="JS_OrdDateTypeCreateOpen()" id="OrdDateType_0" name="OrdDateType" class="list-option">自定义</span>
                                        </div>
                                    </div>
                                </div>
                                </div>
                            </li>
                            <div class="search">
                            <form action="?" method="post">
                                <div class="input">
                                    <input name="orderby" id="Menu_orderby" type="hidden" value="<?php echo $orderby?>">
                                    <input name="OrdClassType" id="Menu_OrdClassType" type="hidden" value="<?php echo $OrdClassType?>">
                                    <input name="OrdType" id="Menu_OrdType" type="hidden" value="<?php echo $OrdType?>">
                                    <input name="OrderLevel" id="Menu_OrderLevel" type="hidden" value="<?php echo $OrderLevel?>">
                                    <input name="UnitNameID" id="Menu_UnitNameID" type="hidden" value="<?php echo $UnitNameID?>">
                                    <input name="CoopUnitID" id="Menu_CoopUnitID" type="hidden" value="<?php echo $CoopUnitID?>">
                                    <input name="OrdDateType" id="Menu_OrdDateType" type="hidden" value="<?php echo $OrdDateType?>">
                                    <input name="OrdDateStart" id="Menu_OrdDateStart" type="hidden" value="<?php echo $OrdDateStart?>">
                                    <input name="OrdDateEnd" id="Menu_OrdDateEnd" type="hidden" value="<?php echo $OrdDateEnd?>">
                                    <input type="text" id="searchTXT" name="searchTXT" value="<?php echo $searchTXT?>" />
                                </div>
                                <div class="button">
                                    <input type="submit" name="submit" value="搜索" />
                                </div>
                            </form>
                            </div>
                        </ul>
                    </div>
                    <div class="dialogJ  dialogJfix dialogJshadow" id="OrdDateTypeCreate" style="width: 440px;right: 80px; top: 150px;height:80px ;display:none;">
                        <div class="dialogJtitle">
                            <a href="javascript:JS_OrdDateTypeCreateClose();" class="dialogJclose" title="关闭本窗口">&nbsp;</a>
                            <span class="dialogJtxt" id="EditPhotoTXT">请选择时间段</span>
                        </div>
                        <div class="dialogJcontent" style="margin-left: 5px;margin-right:5px;">
                            <div class="input" style="float:left;margin-top: 10px;margin-left: 5px;" id="two-inputs">
                                期间:
                                <input type="text" id="OrdDateStart" name="OrdDateStart" class="date" style="width:138px;" value="<?php echo $OrdDateStart?>">
                                至
                                <input type="text" id="OrdDateEnd" name="OrdDateEnd" class="date" style="width:138px;" value="<?php echo $OrdDateEnd?>">
                            </div>
                            <div class="input" style="float:left;margin-top: 5px;margin-left: 5px;"><input type="button" class="dialogJbtn first-child" onclick="JS_OrdDateJump2()" value="查询"></div>
                        </div>
                    </div>
                    <!--时间选择js  liang------------->
                    <link rel="stylesheet" href="css/daterangepicker.css">
                    <script src="js/jquery-1.12.3.min.js"></script>
                    <script src="js/moment.min.js"></script>
                    <script src="js/jquery.daterangepicker.js"></script>
                    <script>
                            $(function()
                        {
                            $('#two-inputs').dateRangePicker(
                            {
                                separator : ' to ',
                                getValue: function()
                                {
                                    if ($('#OrdDateStart').val() && $('#OrdDateEnd').val() )
                                        return $('#OrdDateStart').val() + ' to ' + $('#OrdDateEnd').val();
                                    else
                                        return '';
                                },
                                setValue: function(s,s1,s2)
                                {
                                    $('#OrdDateStart').val(s1);
                                    $('#OrdDateEnd').val(s2);
                                }
                            });
                        });
                    </script>
                <!--时间选择js  liang------------->
                    <script type="text/javascript">
                        //时间表列显示下拉菜单
                        function JS_OrdDateType(){
                          if (Date_container.className!="select-container select-container-show-list"){
                            Date_container.className="select-container select-container-show-list";
                            Date_arrow.className="arrow arrow-up";
                            Date_list.style.display="block";
                            //OrdClass_container.className="select-container";
                            //OrdClass_arrow.className="arrow";
                            //OrdClass_list.style.display="none";
                            //OrdDateTypeCreate.style.display="none";
                          }
                          else {
                            Date_container.className="select-container";
                            Date_arrow.className="arrow";
                            Date_list.style.display="none";
                          }
                        }
                        //时间表列指针移动到下拉菜单
                        function JS_OrdDateTypeMouseover(id){
                          var d=document.getElementById(id);
                          <?php for($i=0;$i<count($OrdDateTypes);$i++) {?>
                          document.getElementById("OrdDateType_<?php echo $OrdDateTypes[$i][0]?>").className="list-option";
                          <?php }?>
                          document.getElementById("OrdDateType_0").className="list-option";
                          d.className="list-option option";
                        }
                        //自定义时间-打开窗口
                        function JS_OrdDateTypeCreateOpen()
                        {
                            JS_OrdDateType();
                            OrdDateTypeCreate.style.display="block";
                        }
                        //自定义时间-关闭窗口
                        function JS_OrdDateTypeCreateClose()
                        {
                            JS_OrdDateType();
                            OrdDateTypeCreate.style.display="none";
                        }
                        //自定义时间-确定时间
                        function JS_OrdDateTypeCreateSave()
                        {
                        document.getElementById('ServiceOrdTraStreet').value=document.getElementById('Duration').value;
                        document.getElementById('ServiceOrdTraEnd').value=document.getElementById('ServiceOrdTraEnd').value;
                        document.getElementById('ServiceOrdTraStreetCoo').value=results.sw.point.lng + ','+ results.sw.point.lat; //起点坐标
                        document.getElementById('ServiceOrdTraEndCoo').value=results.Lu.point.lng + ','+ results.Lu.point.lat; //起点坐标
                        }
                        //时间类表列转跳
                        function JS_OrdDateJump(id){
                            var OrdDateStart=document.getElementById("OrdDateStart").value;
                            var OrdDateEnd=document.getElementById("OrdDateEnd").value;
                            //var searchTXT=document.getElementById("searchTXT").value;
                            window.location.href='?<?php echo $page_URL_noDate?>&OrdDateType=0&OrdDateStart='+OrdDateStart+'&OrdDateEnd='+OrdDateEnd;
                        }
                        //自定义时间转跳
                        function JS_OrdDateTypeJump(id){
                            //var searchTXT=document.getElementById("searchTXT").value;
                            window.location.href='?<?php echo $page_URL_noDate?>&OrdDateType='+id;
                        }
                        //时间表列转跳
                        function JS_OrdClassTypeJump(id){
                            //var searchTXT=document.getElementById("searchTXT").value;
                            window.location.href='?<?php echo $page_URL_noDate?>&OrdClassList='+id;
                        }
                    </script>
                    <!-- end box / title -->
            <?php //数据读取
            $is_CSV=0; ?>
            <?php require 'Report_DispatchDetailed_Data.php';?>
                    <?php require '/inc/SystemMessages.php';?>
                    <div class="table" style="overflow:auto">
                        <table>
                            <?php if ($SystemMessageType!="2"){ ?>
                            <thead>
                                <tr style="white-space: nowrap;">
                                    <?php
                                    for($x=0;$x<$FormArrayX;$x++) {
                                      if ($x==$FormArrayX-1){
                                          $classHtml=" class=\"last\"";
                                      }
                                      elseif ($x==0){
                                          $classHtml=" class=\"selected\"";
                                      }else{
                                          $classHtml="";
                                      }
                                      echo "<th$classHtml>".$FormArray[0][$x]."</th>";
                                    }
                                    ?>
                                </tr>
                            </thead>
                            <tbody>
                            <?php
                            for($y=1;$y<count($FormArray);$y++) {
                                echo "<tr style=\"white-space: nowrap;\">";
                                for($x=0;$x<count($FormArray[$y]);$x++) {
                                    if ($x==count($FormArray[$y])-1){
                                      $classHtml=" class=\"category category2 last\"";
                                    }
                                    elseif ($x==0){
                                      $classHtml=" class=\"selected\"";
                                    }else{
                                      $classHtml=" class=\"category category2\"";
                                    }
                                    echo "<td$classHtml>".$FormArray[$y][$x]."</td>";
                                }
                            }
                            ?>
                            <?php }?>
                            <?php
                            $classHtml="";
                            for($j=$y;$j<=20;$j++) {
                                echo "<tr>";
camepay
New file
@@ -0,0 +1 @@
Subproject commit 9b8a7157bb9c401de973a4107f74ff3e723ec156
m_DispatchOrder.gds
@@ -145,6 +145,14 @@
    End If
    rs.close()
'查看预计派单时间
sql="select DispatchOrd.*, ServiceOrder.ServiceOrdEstimatedOrderDate from DispatchOrd inner join ServiceOrder on DispatchOrd.ServiceOrdIDDt = ServiceOrder.ServiceOrdID where DispatchOrdID="&DispatchOrdID
rs.open sql,objConn,1,1
If not rs.Eof Then
    ServiceOrdEstimatedOrderDate = rs("ServiceOrdEstimatedOrderDate")
End If
rs.close()
    '领队情况
    isCarUpdate="0"
    sql="select DispatchOrd_Entourage.id,EntourageOAid,EntourageLead,OA_weixinUserID,EntourageState,EntourageState_Time,OA_Name,OA_weixinAvatar,vtext from DispatchOrd_Entourage,OA_User,dictionary where vtitle='DispatchOrdEntourage' and  EntourageID=vID and OA_User_ID=EntourageOAid and EntourageState<>4 and DispatchOrdIDDt="&DispatchOrdID
@@ -544,7 +552,18 @@
            <div class="os_shopname" style="color: #F13F11;" onclick="lbs_distance('<%=PtOutHospName%>','<%=address%>')"><%If PtOutHospName="" Then%>途经<%else%>转出地址<%End If%>:<%=DispatchOrdTraViaTXT%>
            <div class="os_weight" style="right: 15px;transform: translateY(35%);"><img src="/resources/images/lbs-red.png" width="20" height="20" border="0"></div>
            </div>
            <%If (ServiceOrdPtServices<>"" Or (ServiceOrdPtServicesID<>0 And ServiceOrdPtServicesID<>22)) And CInt(session("adminID"))=CInt(EntourageLeadID) Then %><div class="os_shopname" style="color: #F13F11;">转出床位:<%=HospitalDepartment(ServiceOrdPtServicesID)%>&nbsp;&nbsp;<%=ServiceOrdPtServices%></div><%End if%>
            <%If (ServiceOrdPtServices<>"" Or (ServiceOrdPtServicesID<>0 And ServiceOrdPtServicesID<>22)) Then %>
    <%If DispatchOrdClass = "SA" And (Now() < ServiceOrdEstimatedOrderDate) Then %>
        <div class="os_shopname" style="color: #F13F11;">
            转出床位:【隐】
        </div>
    <%ElseIf CInt(session("adminID"))=CInt(EntourageLeadID) Then %>
        <div class="os_shopname" style="color: #F13F11;">
            转出床位:<%=HospitalDepartment(ServiceOrdPtServicesID)%>&nbsp;&nbsp;<%=ServiceOrdPtServices%>
        </div>
    <%End If%>
<%End If%>
            <div class="os_shopname"></div>
        <%End if%>
@@ -582,7 +601,18 @@
            <div class="os_shopname" style="color: #009900;" onclick="lbs_distance('<%=DispatchOrdTraEnd%>','<%=address%>')"><%If PtInHospName="" Then%>目的地<%else%>转入地址<%End If%>:<%=DispatchOrdTraEnd%>
            <div class="os_weight" style="right: 15px;transform: translateY(35%);"><img src="/resources/images/lbs-green.png" width="20" height="20" border="0"></div>
            </div>
            <%If (ServiceOrdPtInServices<>"" Or (ServiceOrdPtInServicesID<>0 And ServiceOrdPtInServicesID<>22)) And CInt(session("adminID"))=CInt(EntourageLeadID) Then %><div class="os_shopname" style="color: #009900;">转入床位:<%=HospitalDepartment(ServiceOrdPtInServicesID)%>&nbsp;&nbsp;<%=ServiceOrdPtInServices%></div><%End if%>
            <%If (ServiceOrdPtInServices<>"" Or (ServiceOrdPtInServicesID<>0 And ServiceOrdPtInServicesID<>22)) Then %>
    <%If DispatchOrdClass = "SA" And (Now() < ServiceOrdEstimatedOrderDate) Then %>
        <div class="os_shopname" style="color: #009900;">
            转入床位:【隐】
        </div>
    <%ElseIf CInt(session("adminID"))=CInt(EntourageLeadID) Then %>
        <div class="os_shopname" style="color: #009900;">
            转入床位:<%=HospitalDepartment(ServiceOrdPtInServicesID)%>&nbsp;&nbsp;<%=ServiceOrdPtInServices%>
        </div>
    <%End If%>
<%End If%>
            <div class="os_shopname"></div>
        <%Else%>
        <div class="os_shopname" style="color: #009900;">目的地:<a onclick="lbs_distance('<%=DispatchOrdTraEnd%>','<%=DispatchOrdTraEnd%>')" style="color: #009900;"><%=DispatchOrdTraEnd%></a></div>
@@ -678,7 +708,6 @@
            <%End If%>
        <%End if%>
        <%If ServiceOrdTraDistance<>"" And ServiceOrdTraDistance<>"0" And ServiceOrdTraDistance<>"0公里" then%><div class="os_shopname">预估距离:<%=ServiceOrdTraDistance%></div><%End if%>
    <%If OrderLevel<>1 Or isDepartment("020111")=1 Or PowerOrderLevel=1 Or (DispatchOrdID="" And NEWOrder<>"") Then%>
            <%
            '敏感信息处理
@@ -714,8 +743,12 @@
            <div class="os_shopname">介绍人:<%=UnitIntroducer(ServiceOrdIntroducer,"UnitName")%></div>
            <%End If%>
            
            <%'联系人方式
            If CInt(session("adminID"))=CInt(EntourageLeadID) Or (DispatchOrdID="" And NEWOrder<>"") then%>
 If DispatchOrdClass = "SA" And (Now() < ServiceOrdEstimatedOrderDate) Then %>
  <div class="os_shopname">联系人:隐&nbsp;&nbsp;&nbsp;&nbsp;与患者关系:隐</div>
  <div class="os_shopname">联系电话:隐</div>
<% ElseIf (CInt(session("adminID"))=CInt(EntourageLeadID) Or (DispatchOrdID="" And NEWOrder<>"")) Then %>
            <%If DispatchOrdID<>"" Then%><div class="os_shopname"></div><%End If%>
            <div class="os_shopname">联系人:<%=DispatchOrdCoName%><%If ServiceOrdCoTies<>"" Then%>&nbsp;&nbsp;&nbsp;&nbsp;与患者关系:<%=ServiceOrdCoTies%><%End if%></div>
            <div class="os_shopname">联系电话:<a href="tel://<%=DispatchOrdCoPhone%>"><%=DispatchOrdCoPhone%></a></div>
@@ -723,8 +756,19 @@
            <%'相关受理单详情
            If ServiceOrdID<>"" then%>
                <%If DispatchOrdClass = "SA" And (Now() < ServiceOrdEstimatedOrderDate) Then%>
    <div class="os_shopname">患者姓名:隐</div>
<div class="os_shopname">
年龄:隐&nbsp;&nbsp;
性别:隐&nbsp;&nbsp;
体重(KG):隐&nbsp;&nbsp;
国籍:隐
</div>
<%Else%>
                <%If ServiceOrdPtName<>"" Then%><div class="os_shopname">患者姓名:<%=ServiceOrdPtName%></div><%End if%>
                <%If ServiceOrdPtAge<>"" Or ServiceOrdPtSex<>"" Or ServiceOrdPtNat<>"" Or ServiceOrdPtKG<>"" Then%><div class="os_shopname"><%If ServiceOrdPtAge<>"" then%>年龄:<%=ServiceOrdPtAge%>&nbsp;&nbsp;<%End if%><%If ServiceOrdPtSex<>"" then%>性别:<%=ServiceOrdPtSex%>&nbsp;&nbsp;<%End if%><%If ServiceOrdPtKG<>"" then%>体重(KG):<%=ServiceOrdPtKG%>&nbsp;&nbsp;<%End if%><%If ServiceOrdPtNat<>"" then%>国籍:<%=ServiceOrdPtNat%><%End if%></div><%End if%>
<%End If%>
                <%If DispatchOrdID<>"" Then%><div class="os_shopname"></div><%End If%>
                <%
                sql="select icd_id,icd_name from ServiceOrder_ICD,ICD10 where icd_id=id and ServiceOrdIDDt="&ServiceOrdID&" order by idDt"
@@ -739,7 +783,15 @@
                loop
                rs.close()
                 %>
                <%If ServiceOrdPtDiagnosis<>"" Or OrdICD_name<>"" Then%><div class="os_shopname">诊断:<%=OrdICD_name%><%=ServiceOrdPtDiagnosis%></div><%End if%>
                <%If ServiceOrdPtDiagnosis<>"" Or OrdICD_name<>"" Then%>
  <div class="os_shopname">
    <%If DispatchOrdState >=4 Then%>
      诊断:<%=OrdICD_name%><%=ServiceOrdPtDiagnosis%>
    <%Else%>
      诊断:隐
    <%End If%>
  </div>
<%End if%>
                <div class="os_shopname" style="float: left;">
                <%
                sql="select ConditionID,vOrder2,vtext from ServiceOrd_Condition,dictionary where vtitle='Condition' and ConditionID=vID and ServiceOrdCoID="&ServiceOrdID&" order by vOrder,vID"