【调度系统】广东民航医疗快线调度系统源代码
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
/* path to the stylesheets for the color picker */
var style_path = "resources/css/colors";
 
$(document).ready(function () {
    /* messages fade away when dismiss is clicked */
    $(".message > .dismiss > a").live("click", function (event) {
        var value = $(this).attr("href");
        var id = value.substring(value.indexOf('#') + 1);
 
        $("#" + id).fadeOut('slow', function () { });
 
        return false;
    });
 
    /* color picker */
    $("#colors-switcher > a").click(function () {
        var style = $("#color");
 
        style.attr("href", "" + style_path + "/" + $(this).attr("title").toLowerCase() + ".css");
 
        return false;
    });
 
    $("#menu h6 a").click(function () {
        var link = $(this);
        var value = link.attr("href");
        var id = value.substring(value.indexOf('#') + 1);
 
        var heading = $("#h-menu-" + id);
        var list = $("#menu-" + id);
 
        if (list.attr("class") == "closed") {
            heading.attr("class", "selected");
            list.attr("class", "opened");
        } else {
            heading.attr("class", "");
            list.attr("class", "closed");
        }
    });
 
    $("#menu li[class~=collapsible]").click(function () {
        var element = $(this);
 
        element.children("a:first-child").each(function () {
            var child = $(this);
 
            if (child.attr("class") == "plus") {
                child.attr("class", "minus");
            } else {
                child.attr("class", "plus");
            }
        });
 
        element.children("ul").each(function () {
            var child = $(this);
 
            if (child.attr("class") == "collapsed") {
                child.attr("class", "expanded");
            } else {
                child.attr("class", "collapsed");
            }
        });
    });
});