【调度系统】广东民航医疗快线调度系统源代码
wanglizhong
2025-06-16 ae5b0a8c63979351028215b8fe8cdf4b0766c272
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
//显示下拉菜单
function JS_DownMenu(MenuID){
  if (document.getElementById(MenuID+"_container").className!="select-container select-container-show-list"){
    var allcontainer = document.getElementsByName("DownMenu_container");
    var allarrow = document.getElementsByName("DownMenu_arrow");
    var alllist = document.getElementsByName("DownMenu_list");
       for(var i=0;i<allcontainer.length;i++){
          allcontainer[i].className="select-container";
          allarrow[i].className="arrow";
          alllist[i].style.display="none";
       }
    document.getElementById(MenuID+"_container").className="select-container select-container-show-list";
    document.getElementById(MenuID+"_arrow").className="arrow arrow-up";
    document.getElementById(MenuID+"_list").style.display="block";
    //document.getElementById("DownMenuTime").style.display="none";
  }
  else {
    document.getElementById(MenuID+"_container").className="select-container";
    document.getElementById(MenuID+"_arrow").className="arrow";
    document.getElementById(MenuID+"_list").style.display="none";
  }
}
//指针移动到下拉菜单
function JS_DownMenuMouseover(MenuID,z){
  var allitemspan = document.getElementsByName("DownMenu_"+MenuID);
   for(var i=0;i<allitemspan.length;i++){
      allitemspan[i].className="list-option";  
   }
   allitemspan[z].className="list-option option";
}
//表列转跳
function JS_DownMenuJump(URL,OldID,MenuID,id){
    URL=URL.replace(MenuID+"="+OldID,MenuID+"="+id);
    window.location.href=URL;
}
//多选表列转跳
function JS_DownMultiMenuJump(URL,OldID,MenuID){
    var xID=document.getElementsByName("MultiMenu_"+MenuID);
    var id="0";
    for (var i=1;i<xID.length;i++)
    {
        if (xID[i].checked==1)
        {
            id=id+","+xID[i].value
        };
    }
    URL=URL.replace(MenuID+"="+OldID,MenuID+"="+id);
    window.location.href=URL;
}
 
//打开时间窗口
function JS_DateMenu()
{
DownMenuTime.style.display="block";
}
//关闭时间窗口
function JS_DateMenuClose()
{
DownMenuTime.style.display="none";
}
//按时间段查询
function JS_OrdDateJump(URL,OldDateStart,OldDateEnd)
{
    
DownMenuTime.style.display="none";
DateStart=document.getElementById("DateStart").value;
DateEnd=document.getElementById("DateEnd").value;
if (URL.indexOf("DateStart=")>=0)
{
    URL=URL.replace("DateStart="+OldDateStart,"DateStart="+DateStart);
}
else
{
    URL=URL+"&DateStart="+DateStart;
}
if (URL.indexOf("DateEnd=")>=0)
{
    URL=URL.replace("DateEnd="+OldDateEnd,"DateEnd="+DateEnd);
}
else
{
    URL=URL+"&DateEnd="+DateEnd;
}
window.location.href=URL;
}
 
//表列转跳2
function JS_DownMenuJump2(MenuID,id,MenuName){
    document.getElementById("Menu_"+MenuID).value=id;
    document.getElementById(MenuID+"_span").innerHTML=MenuName;
    JS_DownMenu(MenuID);
}
//多选表列转跳2
function JS_DownMultiMenuJump2(MenuID,MenuName){
    var xID=document.getElementsByName("MultiMenu_"+MenuID);
    document.getElementById(MenuID+"_span").innerHTML=MenuName+":未选择";
    var id="0";
    for (var i=1;i<xID.length;i++)
    {
        if (xID[i].checked==1)
        {
            id=id+","+xID[i].value
            document.getElementById(MenuID+"_span").innerHTML=MenuName+":多选";
        };
    }
    document.getElementById("Menu_"+MenuID).value=id;
    JS_DownMenu(MenuID);
}
//时间类表列转跳2
function JS_OrdDateJump2(){
    var OrdDateStart=document.getElementById("OrdDateStart").value;
    var OrdDateEnd=document.getElementById("OrdDateEnd").value;
    document.getElementById("Menu_OrdDateType").value=0;
    document.getElementById("Menu_OrdDateStart").value=OrdDateStart;
    document.getElementById("Menu_OrdDateEnd").value=OrdDateEnd;
    document.getElementById("OrdDateType_span").innerHTML="期间:"+OrdDateStart+"至"+OrdDateEnd;
    OrdDateTypeCreate.style.display="none";
    //JS_OrdDateType();
}
//自定义时间转跳2
function JS_OrdDateTypeJump2(id,MenuName){
    document.getElementById("Menu_OrdDateType").value=id;
    document.getElementById("Menu_OrdDateStart").value="";
    document.getElementById("Menu_OrdDateEnd").value="";
    document.getElementById("OrdDateType_span").innerHTML=MenuName;
    JS_OrdDateType();
}
 
//时间表列转跳2
function JS_OrdClassTypeJump2(id,MenuName){
    //var searchTXT=document.getElementById("searchTXT").value;
    window.location.href='?<?php echo $page_URL_noDate?>&OrdClassList='+id;
}