【调度系统】广东民航医疗快线调度系统源代码
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
/* this function styles inputs with the type file. It basically replaces browse or choose with a custom button */
(function ($) {
    $.fn.file = function (options) {
        var settings = {
            width: 250
        };
 
        if (options) {
            $.extend(settings, options);
        }
 
        this.each(function () {
            var self = this;
 
            var wrapper = $("<a>").attr("class", "ui-state-hover");
 
            var filename = $('<input class="file">').addClass($(self).attr("class")).css({
                "display": "inline",
                "width": settings.width + "px"
            });
 
            $(self).before(filename);
            $(self).wrap(wrapper);
 
            $(self).css({
                "position": "relative",
                "height": settings.image_height + "px",
                "width": settings.width + "px",
                "display": "inline",
                "cursor": "pointer",
                "opacity": "0.0"
            });
 
            if ($.browser.mozilla) {
                if (/Win/.test(navigator.platform)) {
                    $(self).css("margin-left", "-142px");
                } else {
                    $(self).css("margin-left", "-168px");
                };
            } else {
                $(self).css("margin-left", settings.image_width - settings.width + "px");
            };
 
            $(self).bind("change", function () {
                filename.val($(self).val());
            });
        });
 
        return this;
    };
})(jQuery);
 
$(document).ready(function () {
    $("input.focus, textarea.focus").focus(function () {
        if (this.value == this.defaultValue) {
            this.value = "";
        }
        else {
            this.select();
        }
    });
 
    $("input.focus, textarea.focus").blur(function () {
        if ($.trim(this.value) == "") {
            this.value = (this.defaultValue ? this.defaultValue : "");
        }
    });
 
    /* date picker */
    $(".date").datepicker({
        /* showOn: 'both',
        buttonImage: 'resources/images/ui/calendar.png',
        buttonImageOnly: true  */
    });
 
 
    /* select styling */
    $(".select1").selectmenu({
        style: 'dropdown',
        icons: [
            { find: '.locked', icon: 'ui-icon-locked' },
            { find: '.unlocked', icon: 'ui-icon-unlocked' },
            { find: '.folder-open', icon: 'ui-icon-folder-open' }
        ]
    });
 
    /* file input styling */
    $("input[type=file]").file({
        image_height: 28,
        image_width: 28,
        width: 200
    });
 
    /* tinymce (text editor) */
    $("textarea.editor").tinymce({
        script_url: "resources/scripts/tiny_mce/tiny_mce.js",
        mode: "textareas",
        theme: "advanced",
        theme_advanced_buttons1: "newdocument,separator,bold,italic,underline,strikethrough,separator,justifyleft, justifycenter,justifyright,justifyfull,separator,cut,copy,paste,pastetext,pasteword,separator,help",
        theme_advanced_buttons2: "bullist,numlist,separator,outdent,indent,blockquote,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code,separator,forecolor,backcolor",
        theme_advanced_buttons3: "",
        theme_advanced_buttons4: "",
        theme_advanced_toolbar_location: "top",
        theme_advanced_toolbar_align: "left"
    });
 
    /* button styling */
    $("input:submit, input:reset, input:button").button();
});