123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Listc.aspx.cs" Inherits="Com.Jpsoft.Hospital.Web.Module.ExamineInfo.SORIS.Listc" %>
- <%@ Register Assembly="ZqWebControlLibrary" Namespace="FrameWork.WebControls" TagPrefix="cc1" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- <link type="text/css" rel="Stylesheet" href="<%=Page.ResolveClientUrl("~/") %>Css/main.css" />
- <script src='<%=Page.ResolveClientUrl("~/js/My97DatePicker/WdatePicker.js") %>' type="text/javascript"></script>
- <script src='<%=Page.ResolveClientUrl("~/js/jquery.js") %>' type="text/javascript"></script>
- <script>
- $(function () {
- $("#pro").css("display", "none");
- $("#tip").css("height", "0px");
- Warning();
- setInterval("Warning()", 6000);
- });
- function Warning() {
- $.ajax({
- url: "../../Proxy/Get.ashx",
- type: "GET",
- data: {
- rad: Math.random()
- },
- success: function (count) {
- if (count > 0) {
- $("#divContext").html(" 有 <font color='red'>" + count + "</font> 条投诉待处理!");
- start();
- }
- }
- });
- }
- function Procee(uid, name) {
- $("#pro").css("display", "");
- $("#txtUID").val(uid);
- $("#txtName").text(name);
- }
- var handle;
- function start() {
- var obj = document.getElementById("tip");
- var play = document.getElementById("player");
- if (parseInt(obj.style.height) == 0 || obj.style.height == "") {
- obj.style.display = "block";
- play.controls.play();
- // $("#player1").attr("src", "08022913363013.wav");
- handle = setInterval("changeH('up')", 10);
- } else {
- play.controls.stop();
- // $("#player1").attr("src", "");
- handle = setInterval("changeH('down')", 10);
- }
- }
- function changeH(str) {
- var obj = document.getElementById("tip");
- if (str == "up") {
- if (parseInt(obj.style.height) > 120)
- clearInterval(handle);
- else
- obj.style.height = (parseInt(obj.style.height) + 8).toString() + "px";
- }
- if (str == "down") {
- if (parseInt(obj.style.height) < 5) {
- clearInterval(handle);
- obj.style.display = "none";
- }
- else
- obj.style.height = (parseInt(obj.style.height) - 8).toString() + "px";
- }
- }
- function showwin() {
- document.getElementsByTagName("html")[0].style.overflow = "hidden";
- start();
- document.getElementById("shadow").style.display = "block";
- document.getElementById("detail").style.display = "block";
- }
- function recover() {
- document.getElementsByTagName("html")[0].style.overflow = "auto";
- document.getElementById("shadow").style.display = "none";
- document.getElementById("detail").style.display = "none";
- }
- </script>
- <style>
- #tip
- {
- position: absolute;
- right: 0px;
- bottom: 0px;
- height: 0px;
- width: 180px;
- border: 1px solid #CCCCCC;
- background-color: #eeeeee;
- padding: 1px;
- overflow: hidden;
- font-size: 12px;
- z-index: 10000;
- }
- #tip p
- {
- padding: 6px;
- }
- #tip h1, #detail h1
- {
- font-size: 14px;
- height: 25px;
- line-height: 25px;
- background-color: #0066CC;
- color: #FFFFFF;
- padding: 0px 3px 0px 3px;
- filter: Alpha(Opacity=100);
- }
- #tip h1 a, #detail h1 a
- {
- float: right;
- text-decoration: none;
- color: #FFFFFF;
- }
- #shadow
- {
- position: absolute;
- width: 100%;
- height: 100%;
- background-color: #000000;
- z-index: 11;
- filter: Alpha(Opacity=70);
- display: none;
- overflow: hidden;
- }
- #detail
- {
- width: 500px;
- height: 200px;
- border: 3px double #ccc;
- background-color: #FFFFFF;
- position: absolute;
- z-index: 30;
- left: 30%;
- top: 30%;
- }
- </style>
- <script>
- function chkAllBox() {
- var f = document.forms['operate'];
- var ischecked = f.checkall.checked;
- for (var i = 0; i < f.elements.length; i++) {
- if (f.elements[i].type.toLowerCase() == "checkbox") {
- f.elements[i].checked = ischecked;
- }
- }
- }
- function ChooseAll() {
- //alert("ChooseAll");
- var cbs = document.getElementsByName("imagebox");
- for (var i = 0; i < cbs.length; i++) {
- cbs[i].checked = true;
- }
- }
- function UnChoose() {
- var cbs = document.getElementsByName("imagebox");
- for (var i = 0; i < cbs.length; i++) {
- cbs[i].checked = !cbs[i].checked;
- }
- }
- function DeleteChoose(curpage) {
- var cbs = document.getElementsByName("imagebox");
- var ids = "";
- var chooseid = "";
- for (var i = 0; i < cbs.length; i++) {
- if (cbs[i].checked == true) {
- chooseid = chooseid + "," + cbs[i].value;
- }
- }
- ids = chooseid.substring(1);
- //alert(ids);
- if (ids == "") {
- alert("未选择任意项!");
- }
- else {
- if (confirm("是否删除选择项?")) {
- document.location = "?CMD=Deletes&LCurPage=" + curpage + "&ids=" + ids;
- }
- }
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div id="main">
- <div class="main_title">
- <div class="mainborder1">
- </div>
- <div class="mainborder3">
- </div>
- <div class="mainborder2">
- <div class="pagetitle">
- <div style="float: left">
- 医德医风>>批评</div>
- <div style="float: right">
- <!--<a href="Insert.aspx" style="text-align: right">新增</a>-->
- </div>
- </div>
- </div>
- </div>
- <div class="main_body">
- <table border="0" cellpadding="0" cellspacing="1" width="100%">
- <tr>
- <td>
- <%-- <table border="0" cellpadding="0" cellspacing="1" width="100%">
- <tr>
- <td width="200px" align="right">
- 时间:
- </td>
- <td width="30%">
- <asp:TextBox runat="server" ID="txtDate1" onclick="WdatePicker();"></asp:TextBox>
- 至<asp:TextBox runat="server" ID="txtDate2" onclick="WdatePicker();"></asp:TextBox>
- </td>
- <td>
- <asp:Button ID="Button1" runat="server" Text="查询" CssClass="BtnNormal" OnClick="Button1_Click" />
- </td>
- </tr>
- </table>--%>
- </td>
- </tr>
- <tr>
- <td>
- <input id="Button2" type="button" class="BtnNormal" value="全选" onclick="ChooseAll()" />
- <input id="Button3" type="button" class="BtnNormal" value="反选" onclick="UnChoose()" />
- <input id="Button4" type="button" class="BtnNormal" value="删除选择项" onclick="DeleteChoose(<%=AspNetPager1.CurrentPageIndex%>)" /><br />
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" SkinID="gvskin">
- <Columns>
- <asp:TemplateField>
- <ItemTemplate>
- <input id="Checkbox1" name="imagebox" style="border: 0px;" value='<%#Eval("UID") %>'
- type="checkbox" />
- </ItemTemplate>
- <ItemStyle HorizontalAlign="Center" />
- </asp:TemplateField>
- <asp:BoundField DataField="UID" HeaderText="编号" />
- <asp:BoundField DataField="Zyh" HeaderText="住院号" />
- <asp:BoundField DataField="Mzh" HeaderText="门诊卡号" />
- <asp:BoundField DataField="Ygh" HeaderText="员工号" />
- <asp:TemplateField HeaderText="姓名">
- <ItemTemplate>
- <asp:Label ID="Labe31" runat="server" Text='<%# GetName(Eval("Zyh"),Eval("Mzh"),Eval("Ygh")) %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="Complaintime" HeaderText="时间" />
- <asp:BoundField DataField="Complainphone" HeaderText="电话" />
- <asp:BoundField DataField="TypeName" HeaderText="类别" />
- <asp:BoundField DataField="ygdm" HeaderText="员工工号" />
- <asp:BoundField DataField="ygxm" HeaderText="员工姓名" />
- <asp:BoundField DataField="ksmc" HeaderText="科室" />
- <asp:TemplateField HeaderText="是否处理">
- <ItemTemplate>
- <asp:Label ID="Label1" runat="server" Text='<%# GetBoolCN(Eval("Isprocess")) %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:TemplateField HeaderText="处理">
- <ItemTemplate>
- <div onclick='Procee(<%#Eval("UID") %>,"<%#Eval("ygxm") %>")' style="cursor: pointer">
- 处理</div>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
- <cc1:AspNetPager ID="AspNetPager1" runat="server" PageSize="18" OnPageChanged="AspNetPager1_PageChanged">
- </cc1:AspNetPager>
- </td>
- </tr>
- <tr id="pro">
- <td>
- <br />
- <br />
- <br />
- <asp:TextBox ID="txtUID" Style="display: none" runat="server"></asp:TextBox>
- 投诉
- <asp:Label runat="server" Text="" ID="txtName"></asp:Label>
- 的意见:<br />
- <asp:TextBox runat="server" ID="txtContext" TextMode="MultiLine" Width="60%" Height="80"></asp:TextBox>
- <br />
- <asp:CheckBox ID="cbxZBY" runat="server" Text="转表扬" /><br />
- 联系人:<asp:TextBox runat="server" ID="txtLinkman"></asp:TextBox>
- <br />
- 联系时间:<asp:TextBox runat="server" ID="txtLinktime" onclick="WdatePicker();"></asp:TextBox>
- <asp:Button runat="server" Text="处理" OnClick="Unnamed1_Click" />
- </td>
- </tr>
- </table>
- </div>
- <div class="main_foot">
- <div class="mainborder4">
- </div>
- <div class="mainborder6">
- </div>
- <div class="mainborder5">
- </div>
- </div>
- </div>
- <div id="shadow">
- </div>
- <div id="tip" onclick="start()">
- <h1>
- <a href="javascript:void(0)" onclick="start()">×</a>提醒</h1>
- <div style="display: block;">
- <object id="player" height="266" width="360" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
- style="display: none">
- <param name="AutoStart" value="0">
- <!--是否自动播放;0则不自动播放-->
- <param name="Balance" value="0">
- <!--调整左右声道平衡,同上面旧播放器代码-->
- <param name="enabled" value="-1">
- <!--播放器是否可人为控制;0是人为不能控件-->
- <param name="EnableContextMenu" value="-1">
- <!--是否启用上下文菜单-->
- <param name="url" value="08022913363013.wav">
- <!--播放的文件地址-->
- <param name="PlayCount" value="100000">
- <!--播放次数控制,为整数-->
- <param name="rate" value="1">
- <!--播放速率控制,1为正常,允许小数,1.0-2.0-->
- <param name="currentPosition" value="0">
- <!--控件设置:当前位置-->
- <param name="currentMarker" value="0">
- <!--控件设置:当前标记-->
- <param name="defaultFrame" value="">
- <!--显示默认框架-->
- <param name="invokeURLs" value="0">
- <!--脚本命令设置:是否调用URL-->
- <param name="baseURL" value="">
- <!--脚本命令设置:被调用的URL-->
- <param name="stretchToFit" value="0">
- <!--是否按比例伸展-->
- <param name="volume" value="50">
- <!--默认声音大小0%-100%,50则为50%-->
- <param name="mute" value="0">
- <!--是否静音-->
- <param name="uiMode" value="Full">
- <!--播放器显示模式:Full显示全部;mini最简化;None不显示播放控制,只显示视频窗口;invisible全部不显示-->
- <param name="windowlessVideo" value="0">
- <!--如果是0可以允许全屏,否则只能在窗口中查看-->
- <param name="fullScreen" value="0">
- <!--开始播放是否自动全屏-->
- <param name="enableErrorDialogs" value="-1">
- <!--是否启用错误提示报告-->
- <param name="SAMIStyle" value>
- <!--SAMI样式-->
- <param name="SAMILang" value>
- <!--SAMI语言-->
- <param name="SAMIFilename" value>
- <!--字幕ID-->
- </object>
- <div id="divContext" style="margin-left: 10px;">
- </div>
- </div>
- </div>
- </form>
- </body>
- </html>
|